Installer need-for-speed-high-stakes-cd-modern-patch

files:
- mpatch: https://veg.by/files/nfs4/nfs4_modern_patch.7z
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfs4.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER
installer:
- input_menu:
    description: 'Please select your version:'
    id: GAMEVER
    options:
    - Need For Speed High Stakes: 'Need for Speed: High Stakes'
    - Need For Speed Road Challenge: 'Need for Speed: Road Challenge'
    preselect: Need For Speed High Stakes
- insert-disc:
    requires: AUTORUN.EXE
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win98
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: $DISC/AUTORUN.EXE
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER
    file: mpatch
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Menus
    src: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/data/menus
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Audio/Music
    src: $DISC/data/audio/music
description: CD version with Modern Patch
game_slug: need-for-speed-high-stakes
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-high-stakes-cd-modern-patch
name: 'Need for Speed: High Stakes'
notes: ''
runner: wine
script:
  files:
  - mpatch: https://veg.by/files/nfs4/nfs4_modern_patch.7z
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfs4.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER
  installer:
  - input_menu:
      description: 'Please select your version:'
      id: GAMEVER
      options:
      - Need For Speed High Stakes: 'Need for Speed: High Stakes'
      - Need For Speed Road Challenge: 'Need for Speed: Road Challenge'
      preselect: Need For Speed High Stakes
  - insert-disc:
      requires: AUTORUN.EXE
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win98
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      executable: $DISC/AUTORUN.EXE
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER
      file: mpatch
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Menus
      src: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/data/menus
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Audio/Music
      src: $DISC/data/audio/music
slug: need-for-speed-high-stakes-cd-modern-patch
steamid: null
version: CD + Modern Patch
year: 1999
{
  "game_slug": "need-for-speed-high-stakes",
  "version": "CD + Modern Patch",
  "description": "CD version with Modern Patch",
  "notes": "",
  "name": "Need for Speed: High Stakes",
  "year": 1999,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-high-stakes-cd-modern-patch",
  "installer_slug": "need-for-speed-high-stakes-cd-modern-patch",
  "script": {
    "files": [
      {
        "mpatch": "https://veg.by/files/nfs4/nfs4_modern_patch.7z"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfs4.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Please select your version:",
          "id": "GAMEVER",
          "options": [
            {
              "Need For Speed High Stakes": "Need for Speed: High Stakes"
            },
            {
              "Need For Speed Road Challenge": "Need for Speed: Road Challenge"
            }
          ],
          "preselect": "Need For Speed High Stakes"
        }
      },
      {
        "insert-disc": {
          "requires": "AUTORUN.EXE"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win98",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "$DISC/AUTORUN.EXE",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER",
          "file": "mpatch"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Menus",
          "src": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/data/menus"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/Data/Audio/Music",
          "src": "$DISC/data/audio/music"
        }
      }
    ]
  }
}
Back to game