Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 24-Dec-2021 | - | ||||
README.SWITCH | H A D | 24-Dec-2021 | 1.9 KiB | 72 | 58 | |
switch-main.cpp | H A D | 24-Dec-2021 | 1.6 KiB | 58 | 21 | |
switch.cpp | H A D | 24-Dec-2021 | 7.1 KiB | 195 | 140 | |
switch.h | H A D | 24-Dec-2021 | 1.6 KiB | 45 | 17 | |
switch.mk | H A D | 24-Dec-2021 | 1.1 KiB | 31 | 26 |
README.SWITCH
1ScummVM-Switch README 2============================================================================== 3 4Installation 5============ 6 - The latest daily version of ScummVM for Switch is [here](https://buildbot.scummvm.org/snapshots/master/switch-master-latest.zip) (needs to be unzipped). 7 - Copy the scummvm folder to your SD card into the folder /switch/ so that you have a folder `/switch/scummvm` with `scummvm.nro` and other folders inside. 8 - Launch ScummVM using your favorite method to launch homebrew on the Switch 9 10Notes 11===== 12 - This README may be outdated, for more up-to-date instructions and notes see 13 the Switch Port Wiki: https://wiki.scummvm.org/index.php/Nintendo_Switch 14 15Building the source code 16======================== 17This port of ScummVM to the Switch is based on SDL2. It uses the open source SDK provided by devkitPro. 18 19To build ScummVM for Switch: 20 21 - Obtain the ScummVM source code (https://github.com/scummvm/scummvm) 22 23 - Install the development tools for Switch following the official instructions (https://devkitpro.org/wiki/Getting_Started) 24 25 - Install libraries via 26``` 27sudo dkp-pacman -S \ 28switch-sdl2 \ 29switch-libmad \ 30switch-libogg \ 31switch-libvorbis \ 32switch-flac \ 33switch-libtheora \ 34switch-libpng \ 35switch-libjpeg-turbo \ 36switch-zlib \ 37switch-freetype \ 38switch-sdl2_net \ 39switch-curl \ 40switch-libtimidity \ 41switch-pkg-config 42``` 43 44 - Optional: To enable fluidsynth support, download and install the unofficial fluidsynth-lite switch port via 45``` 46git clone https://github.com/rsn8887/fluidsynth-lite 47cd fluidsynth-lite 48make -f Makefile.nx 49make -f Makefile.nx install 50``` 51 52 - Create a subdirectory somewhere outside the source folder for your ScummVM build and cd into it 53 54 - Execute the command 55``` 56../scummvm/configure --host=switch 57``` 58 59 - Execute the command 60``` 61make scummvm_switch.zip 62``` 63 64Port Authors 65============ 66cpasjuste 67rsn8887 68 69Thanks 70====== 71[devkitPro](https://devkitpro.org devkitPro) and [Switchbrew](https://switchbrew.org/) teams 72