Difference between revisions of "Nintendo Switch"
Jump to navigation
Jump to search
(Removed duplicate information and added a link to the new docs. Added a “Developer information” section and moved the “Building from source” information here.) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== About == | |||
{{PortFeatures| | {{PortFeatures| | ||
name=Nintendo Switch| | name=Nintendo Switch| | ||
backend=switch| | version={{StableVersion}}| | ||
backend=switch + sdl| | |||
status=Maintained| | status=Maintained| | ||
mp3=yes| | mp3=yes| | ||
Line 11: | Line 13: | ||
16bits=yes| | 16bits=yes| | ||
buildbot=yes| | buildbot=yes| | ||
firstversion=| | firstversion=2.1.0| | ||
maintainer=cpasjuste, [[User:rsn8887|rsn8887]]| | maintainer=cpasjuste, [[User:rsn8887|rsn8887]]| | ||
packager=cpasjuste, [[User:rsn8887|rsn8887]]| | packager=cpasjuste, [[User:rsn8887|rsn8887]]| | ||
Line 17: | Line 19: | ||
icon=switch| | icon=switch| | ||
forum=24| | forum=24| | ||
notes= | notes=| | ||
agi=yes| | agi=yes| | ||
Line 43: | Line 45: | ||
}} | }} | ||
ScummVM has been ported to the [[Nintendo]] Switch | ScummVM has been ported to the [[Nintendo]] Switch. | ||
For more information, including how to install and use ScummVM, see the [https://docs.scummvm.org/en/latest/other_platforms/nintendo_switch.html Nintendo Switch page] in the [https://docs.scummvm.org/ user documentation]. | |||
== | == Developer information == | ||
== | === Building from source === | ||
This port of ScummVM to the Switch is based on SDL2. It uses the open source SDK provided by devkitPro. | This port of ScummVM to the Switch is based on SDL2. It uses the open source SDK provided by devkitPro. | ||
Line 94: | Line 79: | ||
switch-libtimidity \ | switch-libtimidity \ | ||
switch-pkg-config | switch-pkg-config | ||
</syntaxhighlight> | |||
* Optional: To enable fluidsynth support, download and install the unofficial fluidsynth-lite switch port via | |||
<syntaxhighlight lang="bash"> | |||
git clone https://github.com/rsn8887/fluidsynth-lite | |||
cd fluidsynth-lite | |||
make -f Makefile.nx | |||
sudo -E make -f Makefile.nx install | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 100: | Line 93: | ||
* Execute the command (once a curl-config script exists for devkitA64, the --disable-libcurl could be omitted) | * Execute the command (once a curl-config script exists for devkitA64, the --disable-libcurl could be omitted) | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
../scummvm/configure --host=switch | ../scummvm/configure --host=switch | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 108: | Line 101: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= | == Thanks == | ||
= | |||
* [https://devkitpro.org devkitPro] and [https://switchbrew.org/ Switchbrew] teams | * [https://devkitpro.org devkitPro] and [https://switchbrew.org/ Switchbrew] teams |
Latest revision as of 21:27, 14 January 2021
About
Nintendo Switch Port | |
Latest Released Version | 2.8.1 |
Supported Audio Options | MP3, OGG, FLAC, Uncompressed |
Additional Webpage(s) | None |
Maintainer(s) | cpasjuste, rsn8887 |
Packager(s) | cpasjuste, rsn8887 |
Forum | Port Forum |
Status | Maintained |
First Official Version | 2.1.0 |
ScummVM has been ported to the Nintendo Switch.
For more information, including how to install and use ScummVM, see the Nintendo Switch page in the user documentation.
Developer information
Building from source
This port of ScummVM to the Switch is based on SDL2. It uses the open source SDK provided by devkitPro.
To build ScummVM for Switch:
- Obtain the ScummVM source code (https://github.com/scummvm/scummvm)
- Install the development tools for Switch following the official instructions (https://devkitpro.org/wiki/Getting_Started)
- Update package database and install libraries (see here for an updated list)
sudo dkp-pacman -Sy
sudo dkp-pacman -S \
switch-sdl2 \
switch-libmad \
switch-libogg \
switch-libvorbis \
switch-flac \
switch-libtheora \
switch-libpng \
switch-libjpeg-turbo \
switch-zlib \
switch-freetype \
switch-sdl2_net \
switch-curl \
switch-libtimidity \
switch-pkg-config
- Optional: To enable fluidsynth support, download and install the unofficial fluidsynth-lite switch port via
git clone https://github.com/rsn8887/fluidsynth-lite
cd fluidsynth-lite
make -f Makefile.nx
sudo -E make -f Makefile.nx install
- Create a subdirectory somewhere outside the source folder for your ScummVM build and cd into it
- Execute the command (once a curl-config script exists for devkitA64, the --disable-libcurl could be omitted)
../scummvm/configure --host=switch
- Execute the command
make scummvm_switch.zip
Thanks
- devkitPro and Switchbrew teams