Installer need-for-speed-most-wanted-dvd-rom

files:
- patch13: https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe
- widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip
game:
  arch: win64
  exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: 0compressed.zip
- task:
    executable: $DISC/AutoRun.exe
    name: wineexec
- task:
    executable: patch13
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
    file: widescreen
- write_config:
    data:
      MAIN:
        ResX: $RESOLUTION_WIDTH
        ResY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
- execute:
    command: find "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most
      Wanted/" \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {}
      + \)
wine:
  overrides:
    dinput8: n,b
description: PC Installer w/ ThirteenAG Widescreen Fix & Official Patch 1.3
game_slug: need-for-speed-most-wanted
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-most-wanted-dvd-rom
name: 'Need for Speed: Most Wanted'
notes: Installs the vanilla game, the official patch 1.3 and ThirteenAG's widescreen
  fix.
runner: wine
script:
  files:
  - patch13: https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe
  - widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: 0compressed.zip
  - task:
      executable: $DISC/AutoRun.exe
      name: wineexec
  - task:
      executable: patch13
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
      file: widescreen
  - write_config:
      data:
        MAIN:
          ResX: $RESOLUTION_WIDTH
          ResY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
  - execute:
      command: find "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed
        Most Wanted/" \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod
        644 {} + \)
  wine:
    overrides:
      dinput8: n,b
slug: need-for-speed-most-wanted-dvd-rom
steamid: null
version: DVD-ROM
year: 2005
{
  "game_slug": "need-for-speed-most-wanted",
  "version": "DVD-ROM",
  "description": "PC Installer w/ ThirteenAG Widescreen Fix & Official Patch 1.3",
  "notes": "Installs the vanilla game, the official patch 1.3 and ThirteenAG's widescreen fix.",
  "name": "Need for Speed: Most Wanted",
  "year": 2005,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-most-wanted-dvd-rom",
  "installer_slug": "need-for-speed-most-wanted-dvd-rom",
  "script": {
    "files": [
      {
        "patch13": "https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe"
      },
      {
        "widescreen": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "0compressed.zip"
        }
      },
      {
        "task": {
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "executable": "patch13",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/",
          "file": "widescreen"
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "ResX": "$RESOLUTION_WIDTH",
              "ResY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini"
        }
      },
      {
        "execute": {
          "command": "find \"$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/\" \\( -type d -exec chmod 755 {} + \\) -o \\( -type f -exec chmod 644 {} + \\)"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game