mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-03-12 05:25:23 -07:00
* nanopb 0.4.6.4 with PB_C99_STATIC_ASSERT to avoid depending on C11 * OpenSSL 1.1.1q on windows * Switched from docker to podman in CI * Appdir in appimage build container is now in /build/appdir to fix "Invalid cross-device link" errors in linuxdeploy when appdir is in mount * Use python protobuf==3.19.5 in bionic image, which still supports python 3.6, and on windows where nanopb otherwise has issues * Purge nanopb_pb2.py to force regeneration of it for possibly different python protobuf versions in subsequent builds * FreeBSD needs py39 packages now
49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
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)
|
|
```ini
|
|
# 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
|
|
```
|