Installer flatout-2-dvd

game:
  exe: drive_c/Program Files (x86)/Empire Interactive/FlatOut2/FlatOut2.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: setup.exe
- task:
    app: d3dx9_30
    description: Installing DirectX 9
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Running setup of the game. Just proceed and keep all settings at
      their defaults
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: sed -i "s/gamespy.com/openspy.net/g" ./drive_c/Program\ Files\ \(x86\)/Empire\
      Interactive/FlatOut2/FlatOut2.exe
    description: Patching game binary to enable OpenSpy Multiplayer
- execute:
    command: sed -i "s/flatout2pc/flatout2zp/" ./drive_c/Program\ Files\ \(x86\)/Empire\
      Interactive/FlatOut2/FlatOut2.exe
    description: Patching game id to Steam version
description: Sets up the DVD version including multiplayer on OpenSpy
game_slug: flatout-2
gogslug: flatout_2
humblestoreid: ''
installer_slug: flatout-2-dvd
name: FlatOut 2
notes: ''
runner: wine
script:
  game:
    exe: drive_c/Program Files (x86)/Empire Interactive/FlatOut2/FlatOut2.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: setup.exe
  - task:
      app: d3dx9_30
      description: Installing DirectX 9
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Running setup of the game. Just proceed and keep all settings at
        their defaults
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: sed -i "s/gamespy.com/openspy.net/g" ./drive_c/Program\ Files\ \(x86\)/Empire\
        Interactive/FlatOut2/FlatOut2.exe
      description: Patching game binary to enable OpenSpy Multiplayer
  - execute:
      command: sed -i "s/flatout2pc/flatout2zp/" ./drive_c/Program\ Files\ \(x86\)/Empire\
        Interactive/FlatOut2/FlatOut2.exe
      description: Patching game id to Steam version
slug: flatout-2-dvd
steamid: 2990
version: DVD
year: 2006
{
  "game_slug": "flatout-2",
  "version": "DVD",
  "description": "Sets up the DVD version including multiplayer on OpenSpy",
  "notes": "",
  "name": "FlatOut 2",
  "year": 2006,
  "steamid": 2990,
  "gogslug": "flatout_2",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "flatout-2-dvd",
  "installer_slug": "flatout-2-dvd",
  "script": {
    "game": {
      "exe": "drive_c/Program Files (x86)/Empire Interactive/FlatOut2/FlatOut2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "app": "d3dx9_30",
          "description": "Installing DirectX 9",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Running setup of the game. Just proceed and keep all settings at their defaults",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "sed -i \"s/gamespy.com/openspy.net/g\" ./drive_c/Program\\ Files\\ \\(x86\\)/Empire\\ Interactive/FlatOut2/FlatOut2.exe",
          "description": "Patching game binary to enable OpenSpy Multiplayer"
        }
      },
      {
        "execute": {
          "command": "sed -i \"s/flatout2pc/flatout2zp/\" ./drive_c/Program\\ Files\\ \\(x86\\)/Empire\\ Interactive/FlatOut2/FlatOut2.exe",
          "description": "Patching game id to Steam version"
        }
      }
    ]
  }
}
Back to game