Installer syndicate-wars-gog

files:
- game: N/A:Please select the GOG.com Windows installer
game:
  config_file: $GAMEDIR/dosboxSWARS.conf
  main_file: $GAMEDIR/dosboxSWARS_single.conf
installer:
- task:
    description: Creating Wine prefix
    name: wine.create_prefix
    prefix: $GAMEDIR
- task:
    args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'
    description: Installing ...
    executable: game
    name: wine.wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR
    src: $GAMEDIR/drive_c/game
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c
- move:
    dst: $CACHE
    src: $GAMEDIR/dosdevices
- execute:
    args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosboxSWARS_single.conf
    file: /bin/sed
- execute:
    args: -i 's|..\swars\game.ins|swars/game.ins|g' $GAMEDIR/dosboxSWARS_single.conf
    file: /bin/sed
- move:
    dst: $CACHE
    src: $GAMEDIR/DOSBOX
description: null
game_slug: syndicate-wars
gogslug: syndicate_wars
humblestoreid: ''
installer_slug: syndicate-wars-gog
name: Syndicate Wars
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Please select the GOG.com Windows installer
  game:
    config_file: $GAMEDIR/dosboxSWARS.conf
    main_file: $GAMEDIR/dosboxSWARS_single.conf
  installer:
  - task:
      description: Creating Wine prefix
      name: wine.create_prefix
      prefix: $GAMEDIR
  - task:
      args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'
      description: Installing ...
      executable: game
      name: wine.wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR
      src: $GAMEDIR/drive_c/game
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c
  - move:
      dst: $CACHE
      src: $GAMEDIR/dosdevices
  - execute:
      args: -i 's|mount C ".."|mount C "."|g' $GAMEDIR/dosboxSWARS_single.conf
      file: /bin/sed
  - execute:
      args: -i 's|..\swars\game.ins|swars/game.ins|g' $GAMEDIR/dosboxSWARS_single.conf
      file: /bin/sed
  - move:
      dst: $CACHE
      src: $GAMEDIR/DOSBOX
slug: syndicate-wars-gog
steamid: null
version: GOG
year: 1996
{
  "game_slug": "syndicate-wars",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "Syndicate Wars",
  "year": 1996,
  "steamid": null,
  "gogslug": "syndicate_wars",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "syndicate-wars-gog",
  "installer_slug": "syndicate-wars-gog",
  "script": {
    "files": [
      {
        "game": "N/A:Please select the GOG.com Windows installer"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosboxSWARS.conf",
      "main_file": "$GAMEDIR/dosboxSWARS_single.conf"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "wine.create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES '/DIR=C:/game'",
          "description": "Installing ...",
          "executable": "game",
          "name": "wine.wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/drive_c/game"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/dosdevices"
        }
      },
      {
        "execute": {
          "args": "-i 's|mount C \"..\"|mount C \".\"|g' $GAMEDIR/dosboxSWARS_single.conf",
          "file": "/bin/sed"
        }
      },
      {
        "execute": {
          "args": "-i 's|..\\swars\\game.ins|swars/game.ins|g' $GAMEDIR/dosboxSWARS_single.conf",
          "file": "/bin/sed"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/DOSBOX"
        }
      }
    ]
  }
}
Back to game