chiaki/switch
2025-06-09 12:20:27 +02:00
..
borealis@eae1371831 Update and fix CI 2022-03-26 18:33:15 +01:00
include Refresh switch to build again 2025-06-09 12:20:27 +02:00
res Update Switch Metadata and Icons 2021-01-12 13:35:40 +01:00
src Refresh switch to build again 2025-06-09 12:20:27 +02:00
CMakeLists.txt Refresh switch to build again 2025-06-09 12:20:27 +02: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 Update dependencies and fix CI 2022-09-24 15:18:53 +02: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-podman-build-chiaki.sh

tools

Push to homebrew Netloader

# where X.X.X.X is the IP of your switch
bash scripts/switch/push-podman-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