Krock d486891a4d Move updater documentation to README.md 3 rokov pred
..
README.md d486891a4d Move updater documentation to README.md 3 rokov pred
update_gi.sh d486891a4d Move updater documentation to README.md 3 rokov pred

README.md

Game update script

Description

This script automates following steps:

  1. Check for game updates
  2. Download the game files
  3. Revert any previously applied patches
  4. Install or update the game files
  5. Apply the newest patch

If you prefer a graphical updater, check out paimon-launcher.

Requirements

This script requires following applications:

  • Either aria2c, wget or curl (file download)
  • xdelta3 (patch script)

Usage instructions

The script must be executed from the wanted game installation directory using either relative or absolute paths to execute update_gi.sh.

If errors occur after updating the game files, re-run the patch scripts manually.

New installation

Installs the newest game version to an empty directory.

Syntax:

bash "/path/to/GI-on-Linux/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/"

bash "/path/to/GI-on-Linux/updater/update_gi.sh" install

Update installation

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:

bash "/path/to/GI-on-Linux/updater/update_gi.sh"

Example:

# Update game located in HOME
cd "$HOME/Genshin Impact Game/"
bash "/path/to/GI-on-Linux/updater/update_gi.sh"