Fix switch README info and nxlink push script

This commit is contained in:
h0neybadger 2021-01-02 13:23:14 +01:00
commit d4dc0ffee1
2 changed files with 8 additions and 22 deletions

View file

@ -3,8 +3,10 @@
cd "`dirname $(readlink -f ${0})`/../.." cd "`dirname $(readlink -f ${0})`/../.."
docker run \ docker run \
-v "`pwd`:/build/chiaki" \ -v "`pwd`:/build/chiaki" \
-p 28771:28771 -ti \ -w "/build/chiaki" \
chiaki-switch \ -ti -p 28771:28771 \
-c "/opt/devkitpro/tools/bin/nxlink -a $@ -s /build/chiaki/build_switch/switch/chiaki.nro" --entrypoint /opt/devkitpro/tools/bin/nxlink \
thestr4ng3r/chiaki-build-switch \
"$@" -s /build/chiaki/build_switch/switch/chiaki.nro

View file

@ -4,22 +4,6 @@ this project requires the devkitpro toolchain.
you can use your personal computer to install devkitpro you can use your personal computer to install devkitpro
but the easiest way is to use the following container. 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 Build Project
------------- -------------
``` ```
@ -31,7 +15,7 @@ tools
Push to homebrew Netloader Push to homebrew Netloader
``` ```
# where X.X.X.X is the IP of your switch # where X.X.X.X is the IP of your switch
scripts/switch/push-docker-build-chiaki.sh 192.168.0.200 bash scripts/switch/push-docker-build-chiaki.sh -a 192.168.0.200
``` ```
Troubleshoot Troubleshoot
@ -52,7 +36,7 @@ this file contains sensitive data. (do not share this file)
[PS*-***] [PS*-***]
# required: lan PlayStation IP address # required: lan PlayStation IP address
# IP from Settings > System > system information # IP from Settings > System > system information
host_ip = *.*.*.* host_addr = *.*.*.*
# required: sony oline id (login) # required: sony oline id (login)
psn_online_id = ps_online_id 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 # required (PS4>7.0 Only): https://git.sr.ht/~thestr4ng3r/chiaki/tree/master/item/README.md#obtaining-your-psn-accountid