Installer need-for-speed-carbon-dvd

files:
- patch:
    filename: nfsc_ce_v1.4_uk.zip
    referer: https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/
    url: https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/?do=download&r=4101&confirm=1&t=1&csrfKey=8772f972aa502c4d829c25a392604e23
- 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: nfsc.exe
- task:
    description: Installing "Need for Speed - Carbon - Collector's Edition (Europe)"...Do
      not start the game at the end of install, just exit.
    executable: $DISC/AutoRun.exe
    name: wineexec
- extract:
    dst: $CACHE
    file: patch
- task:
    description: Updating "Need for Speed - Carbon - Collector's Edition (Europe)"...
    executable: $CACHE/nfsc_patch1.4_collectors_englishuk.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: Need for Speed - Carbon - Collector's Edition (Europe)
game_slug: need-for-speed-carbon
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-carbon-dvd
name: 'Need for Speed: Carbon'
notes: "- v1.4 patch\r\n- widescreenfix\r\nNo crack included"
runner: wine
script:
  files:
  - patch:
      filename: nfsc_ce_v1.4_uk.zip
      referer: https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/
      url: https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/?do=download&r=4101&confirm=1&t=1&csrfKey=8772f972aa502c4d829c25a392604e23
  - 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: nfsc.exe
  - task:
      description: Installing "Need for Speed - Carbon - Collector's Edition (Europe)"...Do
        not start the game at the end of install, just exit.
      executable: $DISC/AutoRun.exe
      name: wineexec
  - extract:
      dst: $CACHE
      file: patch
  - task:
      description: Updating "Need for Speed - Carbon - Collector's Edition (Europe)"...
      executable: $CACHE/nfsc_patch1.4_collectors_englishuk.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
steamid: null
version: DVD
year: 2006
{
  "game_slug": "need-for-speed-carbon",
  "version": "DVD",
  "description": "Need for Speed - Carbon - Collector's Edition (Europe)",
  "notes": "- v1.4 patch\r\n- widescreenfix\r\nNo crack included",
  "name": "Need for Speed: Carbon",
  "year": 2006,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-carbon-dvd",
  "installer_slug": "need-for-speed-carbon-dvd",
  "script": {
    "files": [
      {
        "patch": {
          "filename": "nfsc_ce_v1.4_uk.zip",
          "referer": "https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/",
          "url": "https://community.pcgamingwiki.com/files/file/1067-need-for-speed-carbon-patches/?do=download&r=4101&confirm=1&t=1&csrfKey=8772f972aa502c4d829c25a392604e23"
        }
      },
      {
        "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": "nfsc.exe"
        }
      },
      {
        "task": {
          "description": "Installing \"Need for Speed - Carbon - Collector's Edition (Europe)\"...Do not start the game at the end of install, just exit.",
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "patch"
        }
      },
      {
        "task": {
          "description": "Updating \"Need for Speed - Carbon - Collector's Edition (Europe)\"...",
          "executable": "$CACHE/nfsc_patch1.4_collectors_englishuk.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