User:Gelthor/Multiple versions

From Turing Complete
Revision as of 16:08, 10 September 2025 by Gelthor (talk | contribs) (Initial draft using Powershell on Windows)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
wip
wip

This page descibes the early access verion 2.0.16 apha. It may not be completely correct for the the current stable version, nor the latest unstable version. Help us update it, and you get a cookie.

Save folders are not compatible between version, for example opening a 2.0.16 save in version 0.1059 will trash the save folder making it unplayable in either version. So you need some way to have multiple save folders if you want to switch between versions.

Windows

Copy stable

In a powershell terminal set the following variables, you'll need to adjust to suit your exact setup.

$VERSION = "0.1059"
$EXE_DIR = "E:\games\Turing Complete\v${VERSION}"
$STEAM_DIR = "E:\games\steam\steamapps\common\Turing Complete"

Then copy the binaries and the save folder to the new locations.

$env:XDG_DATA_HOME = "${env:APPDATA}\TC\v${VERSION}"
mkdir -p "${env:XDG_DATA_HOME}\Godot\app_userdata\"
cp "${env:APPDATA}\Godot\app_userdata\Turing Complete" "${env:APPDATA}\Roaming\TC\v${VERSION}\Godot\app_userdata\"
mkdir -p "$EXE_DIR"
cp "$STEAM_DIR\*" "${EXE_DIR}\"

Create a new file tc_0.1059.ps1 and paste in

# Adjust these two varaibles as needed.
$VERSION = "0.1059"
$EXE_DIR = "E:\games\Turing Complete\v${VERSION}"

# Save folder location
$env:XDG_DATA_HOME = "${env:APPDATA}\TC\v${VERSION}"
$TC_EXE = "${EXE_DIR}\Turing Complete.exe"
cd "${EXE_DIR}"
& "$TC_EXE"

Install alpha

Disable Steam Cloud sync.

In Steam switch to the beta branch save_breaker. Wait for the new version to download and install.

Install Windows terminal

Install Windows Terminal (WT), this correctly displays the game's error messages.

In WT settings create a new profile called TC.

  • Set Advanced -> Profile termination behaviour: Close only when program exists successfully.
  • Optional: Set an icon

Copy save_breaker

In a powershell terminal set the following variables, you'll need to adjust to suit your exact setup.

$VERSION = "2.0.16"
$EXE_DIR = "E:\games\Turing Complete\v${VERSION}"
$STEAM_DIR = "E:\games\steam\steamapps\common\Turing Complete"

Then copy the binaries and the save folder to the new locations.

$env:XDG_DATA_HOME = "${env:APPDATA}\TC\v${VERSION}"
mkdir -p "${env:XDG_DATA_HOME}\Godot\app_userdata\"
cp "${env:APPDATA}\Godot\app_userdata\Turing Complete" "${env:APPDATA}\Roaming\TC\v${VERSION}\Godot\app_userdata\"
mkdir -p "$EXE_DIR"
cp "$STEAM_DIR\*" "${EXE_DIR}\"

Create a new file tc_2.0.16.ps1 and paste in

# Adjust these two varaibles as needed.
$VERSION = "2.0.16"
$EXE_DIR = "E:\games\Turing Complete\v${VERSION}"

# Save folder location
$env:XDG_DATA_HOME = "${env:APPDATA}\TC\v${VERSION}"
$TC_EXE = "${EXE_DIR}\Turing Complete.exe"

cd "${EXE_DIR}"
wt -p TC "$TC_EXE"

Linux

The Linux version also support the XDG_DATA_HOME environment variable, so the above Windows procedure can be adapted in to e.g. a bash script.

MacOS

Todo: Does TC on Mac support the XDG_DATA_HOME environment variable?