Installer need-for-speed-porsche-unleas-cdrom-with-setupexe

files:
- patch: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/Need-for-Speed-Porsche-Unleashed_Patch_Win_EN_Patch-35.exe
- widescreen: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/nfs5_pu_patch_1.06.tar.gz
- extracars: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/add-ons/NFS_5_Cars.tar.gz
game:
  exe: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
    Unleashed/nfs5.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: setup/Setup.exe
- task:
    name: create_prefix
    prefix: $GAMEDIR
- task:
    executable: $DISC/setup/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
      Unleashed/
    file: widescreen
- write_config:
    file: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
      Unleashed/nfs5.ini
    key: ThrashDriver
    section: NFS5
    value: opengl3
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
      Unleashed/
    file: extracars
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
      Unleashed/FEData/Movies/
    src: $DISC/FEData/Movies/
description: 'Replaces the autorun.exe with Setup.exe, located in /setup/ - on every
  PC I tried to run autorun.exe, it would fail, while Setup.exe wouldn''t. UPDATE:
  the install process finished without any issues, after it was installed I first
  enabled dgVoodoo2 and activated the Windowed (virtual desktop) option. The game
  installs and runs perfectly, while the script I originally tried would select Autorun.exe
  and it would force-close every time.'
game_slug: need-for-speed-porsche-unleashed
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-porsche-unleas-cdrom-with-setupexe
name: 'Need for Speed: Porsche Unleashed'
notes: "Current issues:\r\n\r\nThe game crashed when the Porsche Chronicle button\
  \ is clicked.\r\n\r\nThe iso is in bin/cue format. It is generally easier to mount\
  \ and iso. Use this command to convert the bin/cue version to iso:\r\n\r\ncd \r\n\
  bchunk ./NFS_PU.bin ./NFS_PU.cue ./NFS_PU.iso\r\n\r\nIf bchunk isn't installed then\
  \ you'll need to install it. It should be in the repositories.\r\n\r\nFedora:\r\n\
  # Find it:\r\ndnf search bchunk\r\n\r\n# Install it:\r\nsudo dnf install bchunk\r\
  \n\r\nUbuntu based:\r\n# Find it:\r\napt-cache search bchunk\r\n\r\n# Install it:\r\
  \nsudo apt-get install bchunk\r\n\r\nInstall the game as usual.\r\n\r\nAfter the\
  \ installation the installer for patch 3.5 will run. Navigate to the NFS installation\
  \ directory. Apply the No-CD patch when asked.\r\n\r\nThings done automatically:\r\
  \n\r\n- The game is enabled for wide screen resolutions. The nfs.ini is set to OpenGL\
  \ 3, run the config.exe inside the prefix to change settings.\r\n\r\n- Extra cars\
  \ are installed.\r\n\r\nMods: take a look at this site:\r\nInstall the game as usual.\r\
  \n\r\nAfter the installation the installer for patch 3.5 will run. Navigate to the\
  \ NFS installation directory. Apply the No-CD patch when asked.\r\n\r\nThings done\
  \ automatically:\r\nhttps://www.nfscars.net/need-for-speed-porsche-unleashed/3/downloads/list/"
runner: wine
script:
  files:
  - patch: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/Need-for-Speed-Porsche-Unleashed_Patch_Win_EN_Patch-35.exe
  - widescreen: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/nfs5_pu_patch_1.06.tar.gz
  - extracars: https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/add-ons/NFS_5_Cars.tar.gz
  game:
    exe: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
      Unleashed/nfs5.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: setup/Setup.exe
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      executable: $DISC/setup/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      executable: patch
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
        Unleashed/
      file: widescreen
  - write_config:
      file: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed -
        Porsche Unleashed/nfs5.ini
      key: ThrashDriver
      section: NFS5
      value: opengl3
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
        Unleashed/
      file: extracars
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche
        Unleashed/FEData/Movies/
      src: $DISC/FEData/Movies/
slug: need-for-speed-porsche-unleas-cdrom-with-setupexe
steamid: null
version: CDROM with setup.exe
year: 2000
{
  "game_slug": "need-for-speed-porsche-unleashed",
  "version": "CDROM with setup.exe",
  "description": "Replaces the autorun.exe with Setup.exe, located in /setup/ - on every PC I tried to run autorun.exe, it would fail, while Setup.exe wouldn't. UPDATE: the install process finished without any issues, after it was installed I first enabled dgVoodoo2 and activated the Windowed (virtual desktop) option. The game installs and runs perfectly, while the script I originally tried would select Autorun.exe and it would force-close every time.",
  "notes": "Current issues:\r\n\r\nThe game crashed when the Porsche Chronicle button is clicked.\r\n\r\nThe iso is in bin/cue format. It is generally easier to mount and iso. Use this command to convert the bin/cue version to iso:\r\n\r\ncd \r\nbchunk ./NFS_PU.bin ./NFS_PU.cue ./NFS_PU.iso\r\n\r\nIf bchunk isn't installed then you'll need to install it. It should be in the repositories.\r\n\r\nFedora:\r\n# Find it:\r\ndnf search bchunk\r\n\r\n# Install it:\r\nsudo dnf install bchunk\r\n\r\nUbuntu based:\r\n# Find it:\r\napt-cache search bchunk\r\n\r\n# Install it:\r\nsudo apt-get install bchunk\r\n\r\nInstall the game as usual.\r\n\r\nAfter the installation the installer for patch 3.5 will run. Navigate to the NFS installation directory. Apply the No-CD patch when asked.\r\n\r\nThings done automatically:\r\n\r\n- The game is enabled for wide screen resolutions. The nfs.ini is set to OpenGL 3, run the config.exe inside the prefix to change settings.\r\n\r\n- Extra cars are installed.\r\n\r\nMods: take a look at this site:\r\nInstall the game as usual.\r\n\r\nAfter the installation the installer for patch 3.5 will run. Navigate to the NFS installation directory. Apply the No-CD patch when asked.\r\n\r\nThings done automatically:\r\nhttps://www.nfscars.net/need-for-speed-porsche-unleashed/3/downloads/list/",
  "name": "Need for Speed: Porsche Unleashed",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-porsche-unleas-cdrom-with-setupexe",
  "installer_slug": "need-for-speed-porsche-unleas-cdrom-with-setupexe",
  "script": {
    "files": [
      {
        "patch": "https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/Need-for-Speed-Porsche-Unleashed_Patch_Win_EN_Patch-35.exe"
      },
      {
        "widescreen": "https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/patches/nfs5_pu_patch_1.06.tar.gz"
      },
      {
        "extracars": "https://github.com/tfks/lutris-installers/raw/master/need-for-speed-porsche-unleashed/supporting-files/add-ons/NFS_5_Cars.tar.gz"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche Unleashed/nfs5.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "setup/Setup.exe"
        }
      },
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "$DISC/setup/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "patch",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche Unleashed/",
          "file": "widescreen"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche Unleashed/nfs5.ini",
          "key": "ThrashDriver",
          "section": "NFS5",
          "value": "opengl3"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche Unleashed/",
          "file": "extracars"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed - Porsche Unleashed/FEData/Movies/",
          "src": "$DISC/FEData/Movies/"
        }
      }
    ]
  }
}
Back to game