|
|
hace 2 años | |
|---|---|---|
| .. | ||
| HDiffPatch | hace 2 años | |
| README.md | hace 2 años | |
| check_integrity.sh | hace 2 años | |
| lutris_packaging.py | hace 2 años | |
| perform_update.sh | hace 2 años | |
| update_gi.sh | hace 2 años | |
This documents the script update_gi.sh.
The other scripts have a short explanation in their file content.
This script automates following steps:
If you prefer a graphical updater, check out:
This script requires following applications:
bash (update and patch script)jq (JSON parsing)aria2c, wget, curl or axel (file download)xdelta3 (patch script)The current working directory (pwd) specifies the update or installation path.
Example + syntax:
cd "/path/to/game/directory/"
bash "/path/to/dawn/updater/update_gi.sh" [OPTIONS ...]
List of OPTIONS:
--help: Shows a short help textinstall: Switches from the "update" to "installation" mode
nodelete: Keeps the downloaded archives after the installation or update.predownload: Checks and downloads pre-download-game archives
predownload option.If errors occur after updating the game files, re-run the patch scripts manually.
Use the install command line option to install the newest game version to
an empty directory.
Example:
# Create a new directory in HOME (~) for the installation
mkdir -p "$HOME/Genshin Impact Game"
cd "$HOME/Genshin Impact Game/"
bash "/path/to/dawn/updater/update_gi.sh" install
Updates the game in the working directory to the newest version.
Important: If the official launcher was used for the installation, ensure that the
current working directory (pwd) contains GenshinImpact.exe but not launcher.exe.
Example:
# Update game located in HOME
cd "$HOME/Genshin Impact Game/"
bash "/path/to/dawn/updater/update_gi.sh"
For advanced users: perform_update.sh can be used to manually apply downloaded archives