Installer swat-4-gold-edition-gog-w-elite-force-mo

files:
- setup: N/A:Please select the GOG installer
- elite_force:
    filename: swat-elite-force-v7.zip
    url: https://www.moddb.com/mods/swat-elite-force/downloads/swat-elite-force-v7
- patcher:
    filename: mp-patcher
    url: https://gist.github.com/RiderExMachina/a885de9a35c40f45f95bc61901fd86f4/raw/d5c4af7a7a159e979af7a2c2fe627e9d6b763135/swat-4-mp-patcher.sh
game:
  exe: drive_c/GOG Games/SWAT 4/ContentExpansion/System/Swat4X.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/SWAT 4/SEF/System
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /NOCANCEL /SP- /SUPPRESSMSGBOXES
    description: Installing the Game
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/SWAT 4/SEF
    file: elite_force
- move:
    dst: $GAMEDIR/swat-4-multiplayer-patcher.sh
    src: patcher
- chmodx: $GAMEDIR/swat-4-multiplayer-patcher.sh
- execute:
    command: $GAMEDIR/swat-4-multiplayer-patcher.sh
description: This installs the Elite Force version 7 mod to the base game, as well
  as the Multiplayer patches.
game_slug: swat-4-gold-edition
gogslug: swat_4_gold_edition
humblestoreid: ''
installer_slug: swat-4-gold-edition-gog-w-elite-force-mo
name: 'SWAT 4: Gold Edition'
notes: ''
runner: wine
script:
  files:
  - setup: N/A:Please select the GOG installer
  - elite_force:
      filename: swat-elite-force-v7.zip
      url: https://www.moddb.com/mods/swat-elite-force/downloads/swat-elite-force-v7
  - patcher:
      filename: mp-patcher
      url: https://gist.github.com/RiderExMachina/a885de9a35c40f45f95bc61901fd86f4/raw/d5c4af7a7a159e979af7a2c2fe627e9d6b763135/swat-4-mp-patcher.sh
  game:
    exe: drive_c/GOG Games/SWAT 4/ContentExpansion/System/Swat4X.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/SWAT 4/SEF/System
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /NOCANCEL /SP- /SUPPRESSMSGBOXES
      description: Installing the Game
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/SWAT 4/SEF
      file: elite_force
  - move:
      dst: $GAMEDIR/swat-4-multiplayer-patcher.sh
      src: patcher
  - chmodx: $GAMEDIR/swat-4-multiplayer-patcher.sh
  - execute:
      command: $GAMEDIR/swat-4-multiplayer-patcher.sh
slug: swat-4-gold-edition-gog-w-elite-force-mo
steamid: null
version: GOG w/ Elite Force Mod + MP Fix
year: 2005
{
  "game_slug": "swat-4-gold-edition",
  "version": "GOG w/ Elite Force Mod + MP Fix",
  "description": "This installs the Elite Force version 7 mod to the base game, as well as the Multiplayer patches.",
  "notes": "",
  "name": "SWAT 4: Gold Edition",
  "year": 2005,
  "steamid": null,
  "gogslug": "swat_4_gold_edition",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "swat-4-gold-edition-gog-w-elite-force-mo",
  "installer_slug": "swat-4-gold-edition-gog-w-elite-force-mo",
  "script": {
    "files": [
      {
        "setup": "N/A:Please select the GOG installer"
      },
      {
        "elite_force": {
          "filename": "swat-elite-force-v7.zip",
          "url": "https://www.moddb.com/mods/swat-elite-force/downloads/swat-elite-force-v7"
        }
      },
      {
        "patcher": {
          "filename": "mp-patcher",
          "url": "https://gist.github.com/RiderExMachina/a885de9a35c40f45f95bc61901fd86f4/raw/d5c4af7a7a159e979af7a2c2fe627e9d6b763135/swat-4-mp-patcher.sh"
        }
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/SWAT 4/ContentExpansion/System/Swat4X.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/GOG Games/SWAT 4/SEF/System"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/NOCANCEL /SP- /SUPPRESSMSGBOXES",
          "description": "Installing the Game",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/SWAT 4/SEF",
          "file": "elite_force"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/swat-4-multiplayer-patcher.sh",
          "src": "patcher"
        }
      },
      {
        "chmodx": "$GAMEDIR/swat-4-multiplayer-patcher.sh"
      },
      {
        "execute": {
          "command": "$GAMEDIR/swat-4-multiplayer-patcher.sh"
        }
      }
    ]
  }
}
Back to game