Installer need-for-speed-undercover-archiveorg-iso

files:
- iso:
    checksum: md5:a0c944974951cfb359296fc88c3c3118
    filename: rld-nfuc.iso
    url: https://archive.org/download/need-for-speed-undercover_202201/rld-nfuc.iso
game:
  arch: win64
  exe: drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/disc
    file: iso
- write_file:
    content: '@echo off

      start Crack\rld-nfsk.exe

      setup.exe

      exit /b 0

      '
    file: $CACHE/disc/lutris-setup.bat
- task:
    description: Setup and the keygen are opening. Generate a key in the keygen and
      paste it into setup when asked. Keep the default install location and skip EA
      registration. When setup is done, close the keygen so Lutris can continue.
    executable: $CACHE/disc/lutris-setup.bat
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover
    src: $CACHE/disc/Crack/nfs.exe
description: ''
game_slug: need-for-speed-undercover
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-undercover-archiveorg-iso
name: 'Need for Speed: Undercover'
notes: "The script does this:\r\n\r\nDownloads rld-nfuc.iso and checks its md5.\r\n\
  Creates a 64-bit Wine prefix in the install folder and unpacks the ISO with 7z.\
  \ Nothing gets mounted.\r\nOpens EA\u2019s setup and the release\u2019s keygen side\
  \ by side.\r\nCopies the original nfs.exe into backup/ and replaces it with the\
  \ patched nfs.exe from the ISO\u2019s Crack folder."
runner: wine
script:
  files:
  - iso:
      checksum: md5:a0c944974951cfb359296fc88c3c3118
      filename: rld-nfuc.iso
      url: https://archive.org/download/need-for-speed-undercover_202201/rld-nfuc.iso
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/disc
      file: iso
  - write_file:
      content: '@echo off

        start Crack\rld-nfsk.exe

        setup.exe

        exit /b 0

        '
      file: $CACHE/disc/lutris-setup.bat
  - task:
      description: Setup and the keygen are opening. Generate a key in the keygen
        and paste it into setup when asked. Keep the default install location and
        skip EA registration. When setup is done, close the keygen so Lutris can continue.
      executable: $CACHE/disc/lutris-setup.bat
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover
      src: $CACHE/disc/Crack/nfs.exe
slug: need-for-speed-undercover-archiveorg-iso
steamid: 17430
version: archive.org ISO
year: 2008
{
  "game_slug": "need-for-speed-undercover",
  "version": "archive.org ISO",
  "description": "",
  "notes": "The script does this:\r\n\r\nDownloads rld-nfuc.iso and checks its md5.\r\nCreates a 64-bit Wine prefix in the install folder and unpacks the ISO with 7z. Nothing gets mounted.\r\nOpens EA\u2019s setup and the release\u2019s keygen side by side.\r\nCopies the original nfs.exe into backup/ and replaces it with the patched nfs.exe from the ISO\u2019s Crack folder.",
  "name": "Need for Speed: Undercover",
  "year": 2008,
  "steamid": 17430,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-undercover-archiveorg-iso",
  "installer_slug": "need-for-speed-undercover-archiveorg-iso",
  "script": {
    "files": [
      {
        "iso": {
          "checksum": "md5:a0c944974951cfb359296fc88c3c3118",
          "filename": "rld-nfuc.iso",
          "url": "https://archive.org/download/need-for-speed-undercover_202201/rld-nfuc.iso"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/disc",
          "file": "iso"
        }
      },
      {
        "write_file": {
          "content": "@echo off\nstart Crack\\rld-nfsk.exe\nsetup.exe\nexit /b 0\n",
          "file": "$CACHE/disc/lutris-setup.bat"
        }
      },
      {
        "task": {
          "description": "Setup and the keygen are opening. Generate a key in the keygen and paste it into setup when asked. Keep the default install location and skip EA registration. When setup is done, close the keygen so Lutris can continue.",
          "executable": "$CACHE/disc/lutris-setup.bat",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/nfs.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover",
          "src": "$CACHE/disc/Crack/nfs.exe"
        }
      }
    ]
  }
}
Back to game