Installer need-for-speed-underground-2-disc

files:
- wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu/NFSUnderground.WidescreenFix.zip
game:
  arch: win32
  exe: drive_c/Program Files/EA GAMES/Need For Speed Underground/Speed.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine Bottle, please wait...
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: d3dx9 dinput8
    description: Installing Direct3D 9 and dinput8 for widescreen patch, please stand
      by...
    name: winetricks
    prefix: $GAMEDIR
- insert-disc:
    description: Insert disc 1
    requires: setup.exe
- merge:
    description: Extracting installation data from disc, please wait ...
    dst: $CACHE/nfsusetup
    src: $DISC
- execute:
    args: 744 -R $CACHE/nfsusetup
    descritpion: Set proper file permissions for extracted data, please wait...
    file: chmod
- task:
    executable: $CACHE/nfsusetup/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/wspatch
    file: wspatch
- merge:
    dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need For Speed Underground/
    src: $CACHE/wspatch
wine:
  Desktop: true
description: Installer which requires 2 CDs for the game installation.This installer
  will copy the content of the entire 1st disc into a cache prefix in order to launch
  the setup from there and prevent Linux from refusing to eject the CD ROM because
  of open files. You'll be able to switch CDs if requested by the installer.The cache
  will be automatically emptied after the installation finished.Additionally a widescreen
  patch will be installed. The game will render in the native resolution of your display.
game_slug: need-for-speed-underground
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-underground-2-disc
name: 'Need for Speed: Underground'
notes: ''
runner: wine
script:
  files:
  - wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu/NFSUnderground.WidescreenFix.zip
  game:
    arch: win32
    exe: drive_c/Program Files/EA GAMES/Need For Speed Underground/Speed.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Creating Wine Bottle, please wait...
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: d3dx9 dinput8
      description: Installing Direct3D 9 and dinput8 for widescreen patch, please
        stand by...
      name: winetricks
      prefix: $GAMEDIR
  - insert-disc:
      description: Insert disc 1
      requires: setup.exe
  - merge:
      description: Extracting installation data from disc, please wait ...
      dst: $CACHE/nfsusetup
      src: $DISC
  - execute:
      args: 744 -R $CACHE/nfsusetup
      descritpion: Set proper file permissions for extracted data, please wait...
      file: chmod
  - task:
      executable: $CACHE/nfsusetup/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/wspatch
      file: wspatch
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need For Speed Underground/
      src: $CACHE/wspatch
  wine:
    Desktop: true
slug: need-for-speed-underground-2-disc
steamid: null
version: 2 Disc
year: 2003
{
  "game_slug": "need-for-speed-underground",
  "version": "2 Disc",
  "description": "Installer which requires 2 CDs for the game installation.This installer will copy the content of the entire 1st disc into a cache prefix in order to launch the setup from there and prevent Linux from refusing to eject the CD ROM because of open files. You'll be able to switch CDs if requested by the installer.The cache will be automatically emptied after the installation finished.Additionally a widescreen patch will be installed. The game will render in the native resolution of your display.",
  "notes": "",
  "name": "Need for Speed: Underground",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-underground-2-disc",
  "installer_slug": "need-for-speed-underground-2-disc",
  "script": {
    "files": [
      {
        "wspatch": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu/NFSUnderground.WidescreenFix.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/EA GAMES/Need For Speed Underground/Speed.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine Bottle, please wait...",
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dx9 dinput8",
          "description": "Installing Direct3D 9 and dinput8 for widescreen patch, please stand by...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 1",
          "requires": "setup.exe"
        }
      },
      {
        "merge": {
          "description": "Extracting installation data from disc, please wait ...",
          "dst": "$CACHE/nfsusetup",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "args": "744 -R $CACHE/nfsusetup",
          "descritpion": "Set proper file permissions for extracted data, please wait...",
          "file": "chmod"
        }
      },
      {
        "task": {
          "executable": "$CACHE/nfsusetup/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/wspatch",
          "file": "wspatch"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need For Speed Underground/",
          "src": "$CACHE/wspatch"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game