files:
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_patch_all_10117.zip
game:
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
- insert-disc:
requires: nfs_icon.ico
- task:
description: Installing "Need for Speed - Undercover"...Let all options to default,
you can bypass EA account connection
executable: $DISC/setup.exe
name: wineexec
return_code: 256
- input_menu:
description: 'Before to apply 1.0.1.17 update, I need to know what is your DVD
version:'
id: UPDATE
options:
- EN-ES_v10117-US: US DVD version (EN-ES)
- EN-ES-NL-SV-DA-FI-PL-RU-CS-HU_v10117-EU: European DVD version (EN-ES-NL-SV-DA-FI-PL-RU-CS-HU)
- FR-DE-IT_v10117: European DVD version (FR-DE-IT)
preselect: null
- execute:
command: cd "$GAMEDIR/drive_c"; mkdir tmp; cd tmp; wget --no-check-certificate
"https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_Patch_Win_"$INPUT_UPDATE".zip"
;
- extract:
dst: $GAMEDIR/drive_c/tmp
file: $GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.zip
- task:
description: Installing "Need for Speed - Undercover" 1.0.1.17 update
executable: $GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.exe
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
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/
file: game_patch
description: Play "Need for Speed - Undercover" DVD edition on Linux!
game_slug: need-for-speed-undercover
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-undercover-dvd
name: 'Need for Speed: Undercover'
notes: "- Before to launch this script installer, you will need to mount the DVD or\
\ ISO. This action is only needed one time for installing\r\n- You will need to\
\ provide a CD key during install\r\n- This script installer is compatible with\
\ this DVD versions:\r\n-- US DVD version (EN-ES)\r\n-- European DVD version (EN-ES-NL-SV-DA-FI-PL-RU-CS-HU)\r\
\n-- European DVD version (FR-DE-IT)\r\n- Included update patch v1.0.1.17"
runner: wine
script:
files:
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_patch_all_10117.zip
game:
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
- insert-disc:
requires: nfs_icon.ico
- task:
description: Installing "Need for Speed - Undercover"...Let all options to default,
you can bypass EA account connection
executable: $DISC/setup.exe
name: wineexec
return_code: 256
- input_menu:
description: 'Before to apply 1.0.1.17 update, I need to know what is your DVD
version:'
id: UPDATE
options:
- EN-ES_v10117-US: US DVD version (EN-ES)
- EN-ES-NL-SV-DA-FI-PL-RU-CS-HU_v10117-EU: European DVD version (EN-ES-NL-SV-DA-FI-PL-RU-CS-HU)
- FR-DE-IT_v10117: European DVD version (FR-DE-IT)
preselect: null
- execute:
command: cd "$GAMEDIR/drive_c"; mkdir tmp; cd tmp; wget --no-check-certificate
"https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_Patch_Win_"$INPUT_UPDATE".zip"
;
- extract:
dst: $GAMEDIR/drive_c/tmp
file: $GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.zip
- task:
description: Installing "Need for Speed - Undercover" 1.0.1.17 update
executable: $GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.exe
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
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/
file: game_patch
slug: need-for-speed-undercover-dvd
steamid: 17430
version: DVD
year: 2008
{
"game_slug": "need-for-speed-undercover",
"version": "DVD",
"description": "Play \"Need for Speed - Undercover\" DVD edition on Linux!",
"notes": "- Before to launch this script installer, you will need to mount the DVD or ISO. This action is only needed one time for installing\r\n- You will need to provide a CD key during install\r\n- This script installer is compatible with this DVD versions:\r\n-- US DVD version (EN-ES)\r\n-- European DVD version (EN-ES-NL-SV-DA-FI-PL-RU-CS-HU)\r\n-- European DVD version (FR-DE-IT)\r\n- Included update patch v1.0.1.17",
"name": "Need for Speed: Undercover",
"year": 2008,
"steamid": 17430,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "need-for-speed-undercover-dvd",
"installer_slug": "need-for-speed-undercover-dvd",
"script": {
"files": [
{
"game_patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_patch_all_10117.zip"
}
],
"game": {
"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"
}
},
{
"insert-disc": {
"requires": "nfs_icon.ico"
}
},
{
"task": {
"description": "Installing \"Need for Speed - Undercover\"...Let all options to default, you can bypass EA account connection",
"executable": "$DISC/setup.exe",
"name": "wineexec",
"return_code": 256
}
},
{
"input_menu": {
"description": "Before to apply 1.0.1.17 update, I need to know what is your DVD version:",
"id": "UPDATE",
"options": [
{
"EN-ES_v10117-US": "US DVD version (EN-ES)"
},
{
"EN-ES-NL-SV-DA-FI-PL-RU-CS-HU_v10117-EU": "European DVD version (EN-ES-NL-SV-DA-FI-PL-RU-CS-HU)"
},
{
"FR-DE-IT_v10117": "European DVD version (FR-DE-IT)"
}
],
"preselect": null
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c\"; mkdir tmp; cd tmp; wget --no-check-certificate \"https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Undercover/updates/Need-for-Speed-Undercover_Patch_Win_\"$INPUT_UPDATE\".zip\" ;"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/tmp",
"file": "$GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.zip"
}
},
{
"task": {
"description": "Installing \"Need for Speed - Undercover\" 1.0.1.17 update",
"executable": "$GAMEDIR/drive_c/tmp/Need-for-Speed-Undercover_Patch_Win_$INPUT_UPDATE.exe",
"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"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Need for Speed Undercover/",
"file": "game_patch"
}
}
]
}
}