Installer swat-4-gold-edition-gog

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:
- setup: N/A:Please select the GOG installer
- sba:
    filename: SWAT4SBA_v180.exe
    referer: https://www.moddb.com/games/swat-4/downloads/swat-4-server-browser-alternative
    url: https://www.moddb.com/downloads/start/78621/all
game:
  exe: drive_c/GOG Games/SWAT 4/Content/System/Swat4.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /NOCANCEL /SP- /SUPPRESSMSGBOXES
    description: Installing the Game
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: sba
    name: wineexec
    prefix: $GAMEDIR
wine:
  version: ge-protonified-4.9-x86_64
{
  "wine": {
    "version": "ge-protonified-4.9-x86_64"
  },
  "files": [
    {
      "setup": "N/A:Please select the GOG installer"
    },
    {
      "sba": {
        "url": "https://www.moddb.com/downloads/start/78621/all",
        "filename": "SWAT4SBA_v180.exe",
        "referer": "https://www.moddb.com/games/swat-4/downloads/swat-4-server-browser-alternative"
      }
    }
  ],
  "installer": [
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "description": "Installing the Game",
        "args": "/NOCANCEL /SP- /SUPPRESSMSGBOXES",
        "name": "wineexec",
        "executable": "setup",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "executable": "sba",
        "name": "wineexec"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "exe": "drive_c/GOG Games/SWAT 4/Content/System/Swat4.exe"
  }
}
Back to game