Add Nintendo Switch Borealis GUI (#349)

This commit is contained in:
H0neyBadger 2020-10-25 10:51:49 +01:00 committed by GitHub
commit f7c83e8416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 3470 additions and 124 deletions

64
switch/README.md Normal file
View file

@ -0,0 +1,64 @@
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 container image
---------------------
```
bash scripts/switch/build-docker-image.sh
```
Run container
-------------
from the project's [root folder](../)
```
docker run -it --rm \
-v "$(pwd):/build" \
-p 28771:28771 \
chiaki-switch
```
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
scripts/switch/push-docker-build-chiaki.sh 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: PS4-XXX (PS4 local name)
# name from PS4 Settings > System > system information
[PS4-XXX]
# required: lan PS4 IP address
# IP from PS4 Settings > System > system information
host_ip = X.X.X.X
# required: sony oline id (login)
psn_online_id = ps4_online_id
# required (PS4>7.0 Only): https://github.com/thestr4ng3r/chiaki#obtaining-your-psn-accountid
psn_account_id = ps4_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
```