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

game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfshs.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
description: 'Installation script for installing Need for Speed: High Stakes (also
  known as Need for Speed Road Challenge).'
game_slug: need-for-speed-high-stakes
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-high-stakes-cd
name: 'Need for Speed: High Stakes'
notes: "Script tested with Need For Speed: Road Challenge (which is the same as High\
  \ Stakes, apart from name). Notes:\r\n\r\n- The executable location and working\
  \ directory will be determined according to your version selection. Please make\
  \ sure you've selected the right version.\r\n- Copy protection stops Wine from launching\
  \ the game correctly, but the game works fine after patching the game executable."
runner: wine
script:
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfshs.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
slug: need-for-speed-high-stakes-cd
steamid: null
version: CD
year: 1999
{
  "game_slug": "need-for-speed-high-stakes",
  "version": "CD",
  "description": "Installation script for installing Need for Speed: High Stakes (also known as Need for Speed Road Challenge).",
  "notes": "Script tested with Need For Speed: Road Challenge (which is the same as High Stakes, apart from name). Notes:\r\n\r\n- The executable location and working directory will be determined according to your version selection. Please make sure you've selected the right version.\r\n- Copy protection stops Wine from launching the game correctly, but the game works fine after patching the game executable.",
  "name": "Need for Speed: High Stakes",
  "year": 1999,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-high-stakes-cd",
  "installer_slug": "need-for-speed-high-stakes-cd",
  "script": {
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Electronic Arts/$INPUT_GAMEVER/nfshs.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"
        }
      }
    ]
  }
}
Back to game