Installer syndicate-plus-gogcom

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:
- game: N/A:Please select the GOG.com Windows installer
game:
  config_file: $GAMEDIR/dosboxSyndicate.conf
  main_file: $GAMEDIR/dosboxSyndicate_single.conf
gogid: syndicate
installer:
- task:
    description: Creating Wine prefix
    name: wine.create_prefix
    prefix: $GAMEDIR
- task:
    key: winemenubuilder.exe
    name: wine.set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'
    description: Installing ...
    executable: game
    name: wine.wineexec
    prefix: $GAMEDIR
- execute:
    args: -c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'
    description: cleaning...
    file: /bin/sh
    terminal: false
- execute:
    args: -c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'
    description: cleaning...
    file: /bin/sh
    terminal: false
- execute:
    args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosboxSyndicate_single.conf
    file: /bin/sed
    terminal: false
- execute:
    args: -c 'rm -rf $GAMEDIR/DOSBOX'
    file: /bin/sh
    terminal: false
{
  "files": [
    {
      "game": "N/A:Please select the GOG.com Windows installer"
    }
  ],
  "gogid": "syndicate",
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "prefix": "$GAMEDIR",
        "name": "wine.create_prefix"
      }
    },
    {
      "task": {
        "key": "winemenubuilder.exe",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "name": "wine.set_regedit",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": ""
      }
    },
    {
      "task": {
        "description": "Installing ...",
        "args": "/VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'",
        "name": "wine.wineexec",
        "executable": "game",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "description": "cleaning...",
        "args": "-c 'mv $GAMEDIR/drive_c/game/* $GAMEDIR'",
        "file": "/bin/sh",
        "terminal": false
      }
    },
    {
      "execute": {
        "description": "cleaning...",
        "args": "-c 'rm -rf $GAMEDIR/drive_c $GAMEDIR/dosdevices $GAMEDIR/*.reg'",
        "file": "/bin/sh",
        "terminal": false
      }
    },
    {
      "execute": {
        "args": "-i 's|mount C \"..\"|mount C \".\"|g' $GAMEDIR/dosboxSyndicate_single.conf",
        "file": "/bin/sed",
        "terminal": false
      }
    },
    {
      "execute": {
        "args": "-c 'rm -rf $GAMEDIR/DOSBOX'",
        "file": "/bin/sh",
        "terminal": false
      }
    }
  ],
  "game": {
    "main_file": "$GAMEDIR/dosboxSyndicate_single.conf",
    "config_file": "$GAMEDIR/dosboxSyndicate.conf"
  }
}
Back to game