SURVARIUM 0.26g - LINUX

For the Wine scripts, install Bash, curl, Winetricks (with cabextract), and
Wine 11.0+ with modern WoW64 support.
Tested: Wine 11.8 Staging WoW64. Use wine and wineserver from the same
installation. A Vulkan-capable graphics driver is required for DXVK.
For GE-Proton11-7, see GE-PROTON below.

If the script asks for ntsync, run sudo modprobe ntsync, then try again.
To load it automatically at boot:

    echo ntsync | sudo tee /etc/modules-load.d/ntsync.conf

START

Unpack the Skhid archive into an empty folder with about 10 GB free, then run:

    bash Skhid.sh launcher

The launcher downloads the game and updates; press PLAY when ready.
For an existing game, apply the complete archive over its folder.
To play directly without checking for updates, run bash Skhid.sh, or run
bash play_skhid.sh from game/binaries/x86.

First launch creates a Wine prefix and installs DXVK, Wine Gecko and the font
Calibri (a 27 MB download, which the game's text needs) silently. Later
launches reuse them. Settings: ~/.config/skhid/user.cfg (or
$XDG_CONFIG_HOME/skhid/user.cfg).
Select an English keyboard layout before starting to avoid text-input issues.
For VPN setup, see VPN.txt; split tunnelling must cover Wine.

GE-PROTON

GE-Proton11-7 with PROTON_USE_WOW64=1 was tested successfully through
mounting all game resource archives, using a fresh prefix.

Set this environment variable in the launcher that runs Proton (for example,
UMU), before it starts Proton:

    PROTON_USE_WOW64=1

This is a Proton setting, not a game command-line argument. With GE-Proton11-7's
default mode, the same game and resource files reproduced a "Cannot mount
resources.db.patch_..." memory error. Enabling modern WoW64 fixed resource
mounting without lowering the game's memory budgets or replacing patch files.
Simply creating a win64 prefix is not the same as enabling this mode.

IF IT FAILS

The script refuses old Wine versions and non-modern-WoW64 setups. If switching
from older Wine or seeing a white launcher panel, close both, then rename
game/binaries/x86/wineprefix to an unused backup name and launch again.
Settings stored outside the prefix survive its recreation.

For a memory error, check Wine and the prefix first; do not lower the memory
budgets in the script. Report skhid-wine.log and, for update failures,
the newest updater_skhid.<date>.log, both in game/logs.

For a crash a developer asked to investigate, start with full-memory dumps:

    SKHID_CRASH_DUMP=full bash Skhid.sh launcher

At the end it lists the crash files (a .dmp of 1-3 GB and its .txt report).
