Installer gog-galaxy-change-me1

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- galaxy: 'N/A: Select GOG Galaxy 2.0 installer downloaded from https://www.gogalaxy.com/en/'
game:
  arch: win64
  args: /runWithoutUpdating /deelevated
  exe: drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    executable: galaxy
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Setting wine version to xp for Crysis.exe
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Crysis.exe
    prefix: $GAMEDIR
    value: winxp64
- task:
    arch: win64
    description: Setting wine version to xp for Crysis64.exe
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Crysis64.exe
    prefix: $GAMEDIR
    value: winxp64
- task:
    arch: win64
    description: Setting ddraw to native for FALLOUT2.EXE (sfall)
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\FALLOUT2.EXE\DllOverrides
    prefix: $GAMEDIR
    value: native
- task:
    arch: win64
    description: Setting ddraw to native for FALLOUTW.exe (sfall)
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\FALLOUTW.exe\DllOverrides
    prefix: $GAMEDIR
    value: native
- task:
    arch: win64
    description: Setting dbghelp to native,builtin for Vampire.exe (Vampire The Masquerade
      - Bloodlines)
    key: dbghelp
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Vampire.exe\DllOverrides
    prefix: $GAMEDIR
    value: native,builtin
- task:
    arch: win64
    description: Setting winegstreamer to null for Game.exe (Mafia 1)
    key: winegstreamer
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Game.exe\DllOverrides
    prefix: $GAMEDIR
    value: null
- task:
    app: corefonts vcrun6 d3dcompiler_43 d3dcompiler_47 d3dx9 d3dx10_43 win7
    arch: win64
    description: Installing needed libraries
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: compiler
    PROTON_FSHACK_INTEGER_SCALING: '0'
    STAGING_SHARED_MEMORY: '1'
    WINEFSYNC: '1'
    WINE_LARGE_ADDRESS_AWARE: '1'
  restore_gamma: true
wine:
  dxvk: true
  esync: true
  version: lutris-4.21-x86_64
{
  "game": {
    "arch": "win64",
    "exe": "drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe",
    "prefix": "$GAMEDIR",
    "args": "/runWithoutUpdating /deelevated"
  },
  "wine": {
    "version": "lutris-4.21-x86_64",
    "esync": true,
    "dxvk": true
  },
  "files": [
    {
      "galaxy": "N/A: Select GOG Galaxy 2.0 installer downloaded from https://www.gogalaxy.com/en/"
    }
  ],
  "installer": [
    {
      "task": {
        "arch": "win64",
        "prefix": "$GAMEDIR",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "arch": "win64",
        "executable": "galaxy",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "value": "winxp64",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Crysis.exe",
        "description": "Setting wine version to xp for Crysis.exe",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "Version"
      }
    },
    {
      "task": {
        "value": "winxp64",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Crysis64.exe",
        "description": "Setting wine version to xp for Crysis64.exe",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "Version"
      }
    },
    {
      "task": {
        "value": "native",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\FALLOUT2.EXE\\DllOverrides",
        "description": "Setting ddraw to native for FALLOUT2.EXE (sfall)",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "ddraw"
      }
    },
    {
      "task": {
        "value": "native",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\FALLOUTW.exe\\DllOverrides",
        "description": "Setting ddraw to native for FALLOUTW.exe (sfall)",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "ddraw"
      }
    },
    {
      "task": {
        "value": "native,builtin",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Vampire.exe\\DllOverrides",
        "description": "Setting dbghelp to native,builtin for Vampire.exe (Vampire The Masquerade - Bloodlines)",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "dbghelp"
      }
    },
    {
      "task": {
        "value": null,
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Game.exe\\DllOverrides",
        "description": "Setting winegstreamer to null for Game.exe (Mafia 1)",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "winegstreamer"
      }
    },
    {
      "task": {
        "arch": "win64",
        "app": "corefonts vcrun6 d3dcompiler_43 d3dcompiler_47 d3dx9 d3dx10_43 win7",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "description": "Installing needed libraries"
      }
    },
    {
      "task": {
        "arch": "win64",
        "prefix": "$GAMEDIR",
        "name": "winekill"
      }
    }
  ],
  "system": {
    "env": {
      "WINEFSYNC": "1",
      "WINE_LARGE_ADDRESS_AWARE": "1",
      "DXVK_HUD": "compiler",
      "PROTON_FSHACK_INTEGER_SCALING": "0",
      "STAGING_SHARED_MEMORY": "1"
    },
    "restore_gamma": true
  }
}
Back to game