Installer need-for-speed-underground-2-nfsu2-2cd-ws-fix-gam
files:
- wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip
- nocdpatch: 'N/A: Please select zip file for nocd patch. .exe needs to be in the
root of the archive'
game:
arch: win32
exe: drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
prefix: $GAMEDIR
installer:
- task:
arch: win32
description: Creating Wine Bottle, please stand by...
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
app: d3dx9
description: Installing Direct3D 9 by...
name: winetricks
prefix: $GAMEDIR
- insert-disc:
description: Insert disc 1
requires: setup.exe
- merge:
description: Extracting installation data from disc, please stand by ...
dst: $GAMEDIR/drive_c/nfsusetup
src: $DISC
- execute:
args: 744 -R $GAMEDIR/drive_c/nfsusetup
descritpion: Set proper file permissions for extracted data, please stand by...
file: chmod
- task:
executable: $GAMEDIR/drive_c/nfsusetup/setup.exe
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $CACHE/nocdpatch
file: nocdpatch
type: zip
- move:
dst: $CACHE/oldexec
src: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
src: $CACHE/nocdpatch/speed2.exe
- extract:
dst: $CACHE/wspatch
file: wspatch
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/d3d9.dll
src: $CACHE/wspatch/dinput8.dll
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/
src: $CACHE/wspatch/scripts
- input_menu:
description: Please choose your main desktop width for the widescreen patch
id: RESX
options:
- '256': '256'
- '426': '426'
- '640': '640'
- '768': '768'
- '800': '800'
- '848': '848'
- '854': '854'
- '960': '960'
- '1024': '1024'
- '1280': '1280'
- '1366': '1366'
- '1600': '1600'
- '1920': '1920'
- '2048': '2048'
- '2560': '2560'
- '2880': '2880'
- '3200': '3200'
- '3840': '3840'
- '4096': '4096'
- '5120': '5120'
- '7680': '7680'
- '15360': '15360'
preselect: '1920'
- input_menu:
description: Please choose your main desktop height for the widescreen patch
id: RESY
options:
- '144': '144'
- '240': '240'
- '360': '360'
- '432': '432'
- '450': '450'
- '480': '480'
- '540': '540'
- '576': '576'
- '720': '720'
- '768': '768'
- '900': '900'
- '1080': '1080'
- '1152': '1152'
- '1440': '1440'
- '1620': '1620'
- '1800': '1800'
- '2160': '2160'
- '2304': '2304'
- '2880': '2880'
- '4320': '4320'
- '8640': '8640'
preselect: '1080'
- input_menu:
description: Do you want to disable the intro
id: SKIP_INTRO
options:
- '1': 'Yes'
- '0': 'No'
preselect: '1'
- input_menu:
description: Improve gamepad support by adding text to labels (widescreen patch
setting)
id: GAMEPAD
options:
- '0': None
- '1': XBox
- '2': PlayStation
preselect: '0'
- write_config:
data:
MAIN:
ResX: $INPUT_RESX
ResY: $INPUT_RESY
MISC:
ImproveGamepadSupport: $INPUT_GAMEPAD
SkipIntro: $INPUT_SKIP_INTRO
file: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/NFSUnderground2.WidescreenFix.ini
system:
prefix_command: taskset --cpu-list 0-3
wine:
Desktop: true
overrides:
- dinput8: b
- d3d9: n,b
description: Installer which requires 2 CDs for the game installation. Incl NoCD Patch
and Widescreen Fix with working controller
game_slug: need-for-speed-underground-2
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-underground-2-nfsu2-2cd-ws-fix-gam
name: 'Need for Speed: Underground 2'
notes: On line 45, changed "SPEED2.EXE" to "speed2.exe".
runner: wine
script:
files:
- wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip
- nocdpatch: 'N/A: Please select zip file for nocd patch. .exe needs to be in the
root of the archive'
game:
arch: win32
exe: drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
prefix: $GAMEDIR
installer:
- task:
arch: win32
description: Creating Wine Bottle, please stand by...
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
app: d3dx9
description: Installing Direct3D 9 by...
name: winetricks
prefix: $GAMEDIR
- insert-disc:
description: Insert disc 1
requires: setup.exe
- merge:
description: Extracting installation data from disc, please stand by ...
dst: $GAMEDIR/drive_c/nfsusetup
src: $DISC
- execute:
args: 744 -R $GAMEDIR/drive_c/nfsusetup
descritpion: Set proper file permissions for extracted data, please stand by...
file: chmod
- task:
executable: $GAMEDIR/drive_c/nfsusetup/setup.exe
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $CACHE/nocdpatch
file: nocdpatch
type: zip
- move:
dst: $CACHE/oldexec
src: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe
src: $CACHE/nocdpatch/speed2.exe
- extract:
dst: $CACHE/wspatch
file: wspatch
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/d3d9.dll
src: $CACHE/wspatch/dinput8.dll
- move:
dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/
src: $CACHE/wspatch/scripts
- input_menu:
description: Please choose your main desktop width for the widescreen patch
id: RESX
options:
- '256': '256'
- '426': '426'
- '640': '640'
- '768': '768'
- '800': '800'
- '848': '848'
- '854': '854'
- '960': '960'
- '1024': '1024'
- '1280': '1280'
- '1366': '1366'
- '1600': '1600'
- '1920': '1920'
- '2048': '2048'
- '2560': '2560'
- '2880': '2880'
- '3200': '3200'
- '3840': '3840'
- '4096': '4096'
- '5120': '5120'
- '7680': '7680'
- '15360': '15360'
preselect: '1920'
- input_menu:
description: Please choose your main desktop height for the widescreen patch
id: RESY
options:
- '144': '144'
- '240': '240'
- '360': '360'
- '432': '432'
- '450': '450'
- '480': '480'
- '540': '540'
- '576': '576'
- '720': '720'
- '768': '768'
- '900': '900'
- '1080': '1080'
- '1152': '1152'
- '1440': '1440'
- '1620': '1620'
- '1800': '1800'
- '2160': '2160'
- '2304': '2304'
- '2880': '2880'
- '4320': '4320'
- '8640': '8640'
preselect: '1080'
- input_menu:
description: Do you want to disable the intro
id: SKIP_INTRO
options:
- '1': 'Yes'
- '0': 'No'
preselect: '1'
- input_menu:
description: Improve gamepad support by adding text to labels (widescreen patch
setting)
id: GAMEPAD
options:
- '0': None
- '1': XBox
- '2': PlayStation
preselect: '0'
- write_config:
data:
MAIN:
ResX: $INPUT_RESX
ResY: $INPUT_RESY
MISC:
ImproveGamepadSupport: $INPUT_GAMEPAD
SkipIntro: $INPUT_SKIP_INTRO
file: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/NFSUnderground2.WidescreenFix.ini
system:
prefix_command: taskset --cpu-list 0-3
wine:
Desktop: true
overrides:
- dinput8: b
- d3d9: n,b
slug: need-for-speed-underground-2-nfsu2-2cd-ws-fix-gam
steamid: null
version: NFSU2 2CD WS-Fix GamePad
year: 2004
{
"game_slug": "need-for-speed-underground-2",
"version": "NFSU2 2CD WS-Fix GamePad",
"description": "Installer which requires 2 CDs for the game installation. Incl NoCD Patch and Widescreen Fix with working controller",
"notes": "On line 45, changed \"SPEED2.EXE\" to \"speed2.exe\".",
"name": "Need for Speed: Underground 2",
"year": 2004,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "need-for-speed-underground-2-nfsu2-2cd-ws-fix-gam",
"installer_slug": "need-for-speed-underground-2-nfsu2-2cd-ws-fix-gam",
"script": {
"files": [
{
"wspatch": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip"
},
{
"nocdpatch": "N/A: Please select zip file for nocd patch. .exe needs to be in the root of the archive"
}
],
"game": {
"arch": "win32",
"exe": "drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win32",
"description": "Creating Wine Bottle, please stand by...",
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "d3dx9",
"description": "Installing Direct3D 9 by...",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"insert-disc": {
"description": "Insert disc 1",
"requires": "setup.exe"
}
},
{
"merge": {
"description": "Extracting installation data from disc, please stand by ...",
"dst": "$GAMEDIR/drive_c/nfsusetup",
"src": "$DISC"
}
},
{
"execute": {
"args": "744 -R $GAMEDIR/drive_c/nfsusetup",
"descritpion": "Set proper file permissions for extracted data, please stand by...",
"file": "chmod"
}
},
{
"task": {
"executable": "$GAMEDIR/drive_c/nfsusetup/setup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$CACHE/nocdpatch",
"file": "nocdpatch",
"type": "zip"
}
},
{
"move": {
"dst": "$CACHE/oldexec",
"src": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/speed2.exe",
"src": "$CACHE/nocdpatch/speed2.exe"
}
},
{
"extract": {
"dst": "$CACHE/wspatch",
"file": "wspatch"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/d3d9.dll",
"src": "$CACHE/wspatch/dinput8.dll"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/",
"src": "$CACHE/wspatch/scripts"
}
},
{
"input_menu": {
"description": "Please choose your main desktop width for the widescreen patch",
"id": "RESX",
"options": [
{
"256": "256"
},
{
"426": "426"
},
{
"640": "640"
},
{
"768": "768"
},
{
"800": "800"
},
{
"848": "848"
},
{
"854": "854"
},
{
"960": "960"
},
{
"1024": "1024"
},
{
"1280": "1280"
},
{
"1366": "1366"
},
{
"1600": "1600"
},
{
"1920": "1920"
},
{
"2048": "2048"
},
{
"2560": "2560"
},
{
"2880": "2880"
},
{
"3200": "3200"
},
{
"3840": "3840"
},
{
"4096": "4096"
},
{
"5120": "5120"
},
{
"7680": "7680"
},
{
"15360": "15360"
}
],
"preselect": "1920"
}
},
{
"input_menu": {
"description": "Please choose your main desktop height for the widescreen patch",
"id": "RESY",
"options": [
{
"144": "144"
},
{
"240": "240"
},
{
"360": "360"
},
{
"432": "432"
},
{
"450": "450"
},
{
"480": "480"
},
{
"540": "540"
},
{
"576": "576"
},
{
"720": "720"
},
{
"768": "768"
},
{
"900": "900"
},
{
"1080": "1080"
},
{
"1152": "1152"
},
{
"1440": "1440"
},
{
"1620": "1620"
},
{
"1800": "1800"
},
{
"2160": "2160"
},
{
"2304": "2304"
},
{
"2880": "2880"
},
{
"4320": "4320"
},
{
"8640": "8640"
}
],
"preselect": "1080"
}
},
{
"input_menu": {
"description": "Do you want to disable the intro",
"id": "SKIP_INTRO",
"options": [
{
"1": "Yes"
},
{
"0": "No"
}
],
"preselect": "1"
}
},
{
"input_menu": {
"description": "Improve gamepad support by adding text to labels (widescreen patch setting)",
"id": "GAMEPAD",
"options": [
{
"0": "None"
},
{
"1": "XBox"
},
{
"2": "PlayStation"
}
],
"preselect": "0"
}
},
{
"write_config": {
"data": {
"MAIN": {
"ResX": "$INPUT_RESX",
"ResY": "$INPUT_RESY"
},
"MISC": {
"ImproveGamepadSupport": "$INPUT_GAMEPAD",
"SkipIntro": "$INPUT_SKIP_INTRO"
}
},
"file": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/scripts/NFSUnderground2.WidescreenFix.ini"
}
}
],
"system": {
"prefix_command": "taskset --cpu-list 0-3"
},
"wine": {
"Desktop": true,
"overrides": [
{
"dinput8": "b"
},
{
"d3d9": "n,b"
}
]
}
}
}