Installer need-for-speed-underground-2-2-disc
files: - wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip 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 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 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/wspatch file: wspatch - merge: dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/ src: $CACHE/wspatch - 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' - write_config: data: MAIN: ResX: $INPUT_RESX ResY: $INPUT_RESY 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
description: "Installer which requires 2 CDs for the game installation.\r\nThis installer\ \ will copy the content of the entire 1st disc into the wine 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.\r\ \n\r\nForked from NFSU 2 Disc installer" game_slug: need-for-speed-underground-2 gogslug: '' humblestoreid: '' installer_slug: need-for-speed-underground-2-2-disc name: 'Need for Speed: Underground 2' notes: '' runner: wine script: files: - wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip 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 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 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/wspatch file: wspatch - merge: dst: $GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/ src: $CACHE/wspatch - 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' - write_config: data: MAIN: ResX: $INPUT_RESX ResY: $INPUT_RESY 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 slug: need-for-speed-underground-2-2-disc steamid: null version: 2 Disc year: 2004
{ "game_slug": "need-for-speed-underground-2", "version": "2 Disc", "description": "Installer which requires 2 CDs for the game installation.\r\nThis installer will copy the content of the entire 1st disc into the wine 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.\r\n\r\nForked from NFSU 2 Disc installer", "notes": "", "name": "Need for Speed: Underground 2", "year": 2004, "steamid": null, "gogslug": "", "humblestoreid": "", "runner": "wine", "slug": "need-for-speed-underground-2-2-disc", "installer_slug": "need-for-speed-underground-2-2-disc", "script": { "files": [ { "wspatch": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsu2/NFSUnderground2.WidescreenFix.zip" } ], "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 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 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/wspatch", "file": "wspatch" } }, { "merge": { "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/Need for Speed Underground 2/", "src": "$CACHE/wspatch" } }, { "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" } }, { "write_config": { "data": { "MAIN": { "ResX": "$INPUT_RESX", "ResY": "$INPUT_RESY" } }, "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 } } }