Krock 4ac295a273 Maintenance work on scripts 3 dni temu
..
HDiffPatch 7c07954fad Update script: Add HDiffPatch support 3 lat temu
legacy 11bf633777 Update script: replace update_gi.sh with updater.py 2 miesięcy temu
.gitignore 11bf633777 Update script: replace update_gi.sh with updater.py 2 miesięcy temu
README.md 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 miesięcy temu
check_integrity.sh 4d18fa7dad Script improvements: Faster check and predownload option 2 lat temu
find_surplus_binaries.sh 4ac295a273 Maintenance work on scripts 3 dni temu
manifest.proto 11bf633777 Update script: replace update_gi.sh with updater.py 2 miesięcy temu
manifest_ldiff.proto 5886d1ebba Update script: Add more comments, make --testing more helpful 1 miesiąc temu
requirements.txt 11bf633777 Update script: replace update_gi.sh with updater.py 2 miesięcy temu
sophon_api.py a69514b197 Update script: Use 'GAMEDIR/ldiff' and update comments 1 miesiąc temu
updater.py 5c3266ed2a Update script: ready for use. replace --no-dry-run with --dry-run 2 miesięcy temu

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