I want to use this move feature to use a preinstalled game folder as the installation medium and apply all the published installer settings. But I can’t know how a game_id is made or know what it is, dst I easy to understand. I would want to reuse the GOG Galaxy prefix “~/Games/gog-galaxy” to keep saves on the cloud by running that launcher
$GAMEDIR: Absolute path where the game is installed. This set at installation
$CACHE: Temporary cache used to manipulate game files and deleted at the end of the installation.
Moving files and directories
Move files or directories by using the
move requires two parameters:
src (the source file or folder) and
dst (the destination folder).
src parameter can either be a
file ID or a path relative to game dir. If the parameter value is not found in the list of file ids, then it must be prefixed by either
$GAMEDIR to move a file or directory from the download cache or the game’s install dir, respectively.
dst parameter should be prefixed by either
$HOME to move files to path relative to the game dir or the current user’s home
If the source is a
file ID , it will be updated with the new destination path. It can then be used in the following commands to access the moved file.
move command cannot overwrite files.
So the script should look like this, I think. Not creating Wine prefix. I would make a GOG installer for 32 bit if W 1 and 2 don’t run in 64 bit:
dst: $GAMEDIR/drive_c/Program Files (x86)/GOG Galaxy /Games/
exe: drive_c/GOG Games/The Witcher Enhanced Edition/launcher.exe