chiaki/switch
2021-01-12 13:35:40 +01:00
..
borealis@cbdc1b6531 Use borealis keyboard for the nintendo switch 2021-01-04 23:07:16 +01:00
include Fix some Double Free and uninitialized Memory in Switch 2021-01-12 12:59:04 +01:00
res Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
src Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
CMakeLists.txt Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
nro_icon.jpg Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
nro_icon.png Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
README.md Fix switch README info and nxlink push script 2021-01-02 13:23:14 +01:00

Nintendo Switch build instructions

this project requires the devkitpro toolchain. you can use your personal computer to install devkitpro but the easiest way is to use the following container.

Build Project

bash scripts/switch/run-docker-build-chiaki.sh

tools

Push to homebrew Netloader

# where X.X.X.X is the IP of your switch
bash scripts/switch/push-docker-build-chiaki.sh -a 192.168.0.200

Troubleshoot

# replace 0xCCB5C with the backtrace adress (PC - Backtrace Start Address)
aarch64-none-elf-addr2line \
	-e ./build_switch/switch/chiaki \
	-f -p -C -a 0xCCB5C

Chiaki config file

The chiaki.conf is generated by the application. this file contains sensitive data. (do not share this file)

# required: PS*-*** (PS4/PS5 local name)
# name from Settings > System > system information
[PS*-***]
# required: lan PlayStation IP address
# IP from Settings > System > system information
host_addr = *.*.*.*
# required: sony oline id (login)
psn_online_id = ps_online_id
# required (PS4>7.0 Only): https://git.sr.ht/~thestr4ng3r/chiaki/tree/master/item/README.md#obtaining-your-psn-accountid
psn_account_id = ps_base64_account_id
# optional(default 60): remote play fps (must be 30 or 60)
video_fps = 60
# optional(default 720p): remote play resolution (must be 720p, 540p or 360p)
video_resolution = 720p