Krock 6088c8b451 Update script: Fix detection for >1 voiceover packs | 2 anni fa | |
---|---|---|
.. | ||
HDiffPatch | 2 anni fa | |
README.md | 2 anni fa | |
perform_update.sh | 2 anni fa | |
update_gi.sh | 2 anni fa |
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 script must be executed from the wanted game installation directory
using either relative or absolute paths to execute update_gi.sh
.
By default, the downloaded archives are deleted after installation.
To disable this behaviour, append the nodelete
argument.
sh "/path/to/dawn/updater/update_gi.sh" install nodelete
If errors occur after updating the game files, re-run the patch scripts manually.
Installs the newest game version to an empty directory.
Syntax:
sh "/path/to/dawn/updater/update_gi.sh" install
Example:
# Install game to a new directory in HOME (~)
mkdir -p "$HOME/Genshin Impact Game"
cd "$HOME/Genshin Impact Game/"
sh "/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 working directory contains GenshinImpact.exe
but not launcher.exe
.
Syntax:
sh "/path/to/dawn/updater/update_gi.sh"
Example:
# Update game located in HOME
cd "$HOME/Genshin Impact Game/"
sh "/path/to/dawn/updater/update_gi.sh"