Installer battlefield-bad-company-2-dvd

game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/Battlefield Bad Company 2/BFBC2Updater.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: Setup.exe
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win7
    arch: win32
    description: Changing to Windows 7
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx9
    arch: win32
    description: Installing d3dx9
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2005
    arch: win32
    description: Installing VisualC++ Runtime vcrun2005
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2008
    arch: win32
    description: Installing VisualC++ Runtime vcrun2008
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2010
    arch: win32
    description: Installing VisualC++ Runtime vcrun2010
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: $DISC/Autorun.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    key: wined3d
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
    prefix: $GAMEDIR
    value: wined3d-csmt.dll
- write_config:
    file: $GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini
    key: bBackgroundMouse
    section: Controls
    value: '1'
- write_config:
    file: $GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini
    key: DxVersion
    section: Graphics
    value: 9
description: BFBC2 installer using the DVD iso.
game_slug: battlefield-bad-company-2
gogslug: ''
humblestoreid: ''
installer_slug: battlefield-bad-company-2-dvd
name: 'Battlefield: Bad Company 2'
notes: ''
runner: wine
script:
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/Battlefield Bad Company 2/BFBC2Updater.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: Setup.exe
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win7
      arch: win32
      description: Changing to Windows 7
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: d3dx9
      arch: win32
      description: Installing d3dx9
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun2005
      arch: win32
      description: Installing VisualC++ Runtime vcrun2005
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun2008
      arch: win32
      description: Installing VisualC++ Runtime vcrun2008
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun2010
      arch: win32
      description: Installing VisualC++ Runtime vcrun2010
      name: winetricks
      prefix: $GAMEDIR
  - task:
      executable: $DISC/Autorun.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      key: wined3d
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
      prefix: $GAMEDIR
      value: wined3d-csmt.dll
  - write_config:
      file: $GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini
      key: bBackgroundMouse
      section: Controls
      value: '1'
  - write_config:
      file: $GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini
      key: DxVersion
      section: Graphics
      value: 9
slug: battlefield-bad-company-2-dvd
steamid: 24960
version: DVD
year: 2010
{
  "game_slug": "battlefield-bad-company-2",
  "version": "DVD",
  "description": "BFBC2 installer using the DVD iso.",
  "notes": "",
  "name": "Battlefield: Bad Company 2",
  "year": 2010,
  "steamid": 24960,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "battlefield-bad-company-2-dvd",
  "installer_slug": "battlefield-bad-company-2-dvd",
  "script": {
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Electronic Arts/Battlefield Bad Company 2/BFBC2Updater.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "Setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "arch": "win32",
          "description": "Changing to Windows 7",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dx9",
          "arch": "win32",
          "description": "Installing d3dx9",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2005",
          "arch": "win32",
          "description": "Installing VisualC++ Runtime vcrun2005",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2008",
          "arch": "win32",
          "description": "Installing VisualC++ Runtime vcrun2008",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2010",
          "arch": "win32",
          "description": "Installing VisualC++ Runtime vcrun2010",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "$DISC/Autorun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "key": "wined3d",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects",
          "prefix": "$GAMEDIR",
          "value": "wined3d-csmt.dll"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini",
          "key": "bBackgroundMouse",
          "section": "Controls",
          "value": "1"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/users/$USER/My Documents/BFBC2/settings.ini",
          "key": "DxVersion",
          "section": "Graphics",
          "value": 9
        }
      }
    ]
  }
}
Back to game