Installer need-for-speed-carbon-dvd-rom

files:
- mod: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsc/NFSCarbon.WidescreenFix.zip
game:
  exe: drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon/NFSC.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: 0compressed.zip
- task:
    description: Installing "Need for Speed - Carbon (North America)"...Do not start
      the game at the end of install, just exit.
    executable: $DISC/AutoRun.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon
    file: mod
wine:
  overrides:
    dinput8: n,b
description: Collector's Edition DVD Installer (Patch 1.2, NA)
game_slug: need-for-speed-carbon
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-carbon-dvd-rom
name: 'Need for Speed: Carbon'
notes: "Installs the base game (1.2) and ThirteenAG's widescreen fix.\r\n\r\n*This\
  \ installer is for those who have the North American version of the game which ships\
  \ with patch 1.2 by default. No additional patches are installed apart from the\
  \ widescreen fix."
runner: wine
script:
  files:
  - mod: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsc/NFSCarbon.WidescreenFix.zip
  game:
    exe: drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon/NFSC.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: 0compressed.zip
  - task:
      description: Installing "Need for Speed - Carbon (North America)"...Do not start
        the game at the end of install, just exit.
      executable: $DISC/AutoRun.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon
      file: mod
  wine:
    overrides:
      dinput8: n,b
slug: need-for-speed-carbon-dvd-rom
steamid: null
version: DVD-ROM
year: 2006
{
  "game_slug": "need-for-speed-carbon",
  "version": "DVD-ROM",
  "description": "Collector's Edition DVD Installer (Patch 1.2, NA)",
  "notes": "Installs the base game (1.2) and ThirteenAG's widescreen fix.\r\n\r\n*This installer is for those who have the North American version of the game which ships with patch 1.2 by default. No additional patches are installed apart from the widescreen fix.",
  "name": "Need for Speed: Carbon",
  "year": 2006,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-carbon-dvd-rom",
  "installer_slug": "need-for-speed-carbon-dvd-rom",
  "script": {
    "files": [
      {
        "mod": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsc/NFSCarbon.WidescreenFix.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon/NFSC.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "0compressed.zip"
        }
      },
      {
        "task": {
          "description": "Installing \"Need for Speed - Carbon (North America)\"...Do not start the game at the end of install, just exit.",
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need for Speed Carbon",
          "file": "mod"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game