taisei/switch
Alice D a05cc2ed46
Switch CI test builds (#299)
* Squashing Switch CI commits.

add switch CI test build

make consistent with other PR

pre-emptive PR changes

* fix merge issue

* use emsdk env var for folder paths (since i'm already in there)

* remove stray comment
2021-05-29 00:40:56 +03:00
..
crossfile.sh Switch CI test builds (#299) 2021-05-29 00:40:56 +03:00
icon.jpg resize switch icon 2019-09-28 21:31:23 +03:00
meson.build Switch homebrew port (#173) 2019-08-02 21:38:33 +03:00
README.md switch: add note about required dkp packages (#176) 2019-09-12 18:51:36 +03:00

Taisei Switch Port

Installation

Grabbing Binaries

Download the latest release, and extract the archive in the /switch folder on your SD Card. Then, run the game from the hbmenu using hbl.

WARNING: This will crash if executed from an applet such as the Photo/Library applet, be sure to launch it from hbmenu on top of the game of your choice, which can be done by holding R over any installed title on latest Atmosphère, with default settings.

Build dependencies

For building, you need the devkitA64 from devkitPro setup, along with switch portlibs and libnx. Documentation to setup that can be found here.

You will need the following packages/group installed from devkitPro pacman: switch-dev switch-portlibs devkitpro-pkgbuild-helpers switch-pkg-config

Other dependencies common to the main targets include:

* meson >= 0.45.0 (build system; >=0.48.0 recommended)
* Python >= 3.5
* ninja
* glslc
* spirv-cross

Compiling from source

Run one of the following commands from the project root:

mkdir -p ./build/nx
./switch/crossfile.sh > ./build/nx/crossfile.txt
meson --cross-file="./build/nx/crossfile.txt" . ./build/nx
ninja -C ./build/nx

Note: You can optionally set a custom prefix and ninja install NRO and assets into that folder.