Krock 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 minggu lalu
..
HDiffPatch 7c07954fad Update script: Add HDiffPatch support 3 tahun lalu
legacy 11bf633777 Update script: replace update_gi.sh with updater.py 3 minggu lalu
.gitignore 11bf633777 Update script: replace update_gi.sh with updater.py 3 minggu lalu
README.md 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 minggu lalu
check_integrity.sh 4d18fa7dad Script improvements: Faster check and predownload option 2 tahun lalu
find_surplus_binaries.sh 77e0e487c9 Improve the error 31-4302 troubleshooting steps 1 tahun lalu
manifest.proto 11bf633777 Update script: replace update_gi.sh with updater.py 3 minggu lalu
manifest_ldiff.proto 11bf633777 Update script: replace update_gi.sh with updater.py 3 minggu lalu
requirements.txt 11bf633777 Update script: replace update_gi.sh with updater.py 3 minggu lalu
sophon_api.py 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 minggu lalu
updater.py 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 minggu lalu

README.md

Game installation and updating

Pick an application from the list below that suits your preferences. Each of them is capable of installing and updating the game. Additional features such as automated patching might or might not be included.


Update script (sophon chunk/diff)

Setup

1. Python requirements

Python 3.8 or newer is required (zstandard library)

pip install -r requirements.txt

2. Generate manifest_pb2.py

  1. Required system package
    • Ubuntu/Debian: protobuf-compiler
  2. Generate
    • $ protoc --python_out=. manifest.proto
    • $ protoc --python_out=. manifest_ldiff.proto

Usage

Show command-line options / help dialogue

python updater.py -h

Game update (example)

python updater.py --update /install/destination/path

New game install (example)

python updater.py --install RELTYPE --select-languages "en,ja,ko,zh" /install/destination/path

Game repair (example)

python updater.py --repair reliable /install/destination/path

For development purposes:

python updater.py <install/update> --dry-run --disallow-download

Developer notes

See sophon_api.py heading