diff options
author | rsn8887 | 2019-05-07 13:52:25 -0500 |
---|---|---|
committer | Filippos Karapetis | 2019-05-12 11:59:44 +0300 |
commit | 875bc0b1c21aac75e55947ff421f2a8cc9f36c29 (patch) | |
tree | 7dffcf984466dd6cac118220a6f3ac795b56bafd /backends/platform/sdl/switch/README.SWITCH | |
parent | 488bbb267a4a96db51794d424131817a8afc50c6 (diff) | |
download | scummvm-rg350-875bc0b1c21aac75e55947ff421f2a8cc9f36c29.tar.gz scummvm-rg350-875bc0b1c21aac75e55947ff421f2a8cc9f36c29.tar.bz2 scummvm-rg350-875bc0b1c21aac75e55947ff421f2a8cc9f36c29.zip |
Switch: fix build, add build instructions, avoid using delete()
Diffstat (limited to 'backends/platform/sdl/switch/README.SWITCH')
-rw-r--r-- | backends/platform/sdl/switch/README.SWITCH | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/backends/platform/sdl/switch/README.SWITCH b/backends/platform/sdl/switch/README.SWITCH new file mode 100644 index 0000000000..c19cd80fe5 --- /dev/null +++ b/backends/platform/sdl/switch/README.SWITCH @@ -0,0 +1,41 @@ +ScummVM-Switch README +============================================================================== + +Installation +============ + - Copy the relevant game datafiles to your sd card (location doesn't matter). + - Install ScummVM like any other homebrew. + - After installation you should have a file `/switch/scummvm/scummvm.nro` + - Run ScummVM and use the launcher to add games and run them. + - Press the plus key to return to the launcher and play another game. + +Notes +===== + - This README may be outdated, for more up-to-date instructions and notes see + the Switch Port Wiki: https://wiki.scummvm.org/index.php/Nintendo_Switch + +Building the source code +======================== +To build ScummVM for Switch: + +- Obtain the ScummVM source code from https://github.com/scummvm/scummvm + +- Install devkitPro for Switch (https://switchbrew.org/wiki/Setting_up_Development_Environment) + +- Ensure your $DEVKITPRO variable is set via `export DEVKITPRO="/opt/devkitpro"` + +- Ensure your $DEVKITA64 variable is set via `export DEVKITA64="/opt/devkitpro/devkitA64"` + +- Ensure devkitPro binaries are in your path via `export PATH="$DEVKITA64/bin:$DEVKITPRO/tools/bin:$PATH"` + +- Install libraries via `sudo -E dkp-pacman -S switch-portlibs` (or just `pacman -S switch-portlibs`) + +- Create a subdirectory somewhere outside the source folder for your ScummVM build and cd into it + +- Execute the command `configure --host=switch` + +- Execute the command `make scummvm_switch.zip` + +Port Authors +============ +cpasjuste |