description: Play "Need for Speed - Most Wanted - Black Edition" DVD edition on Linux!
game_slug: need-for-speed-most-wanted-black-edition
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-most-wanted-bl-dvd
name: 'Need for Speed: Most Wanted - Black Edition'
notes: "- Game DVD image will be downloaded directly from Internet Archives\r\n- Included\
\ update patch 1.3 and ThirteenAG widescreen fix\r\n- Available languages for this\
\ game: English, , French, German, Spanish, Italian, Danish, Dutch, Finnish, Polish,\
\ Russian and Swedish"
runner: wine
script:
files:
- game_iso: https://archive.org/download/need-for-speed-most-wanted-black-edition_202604/Need%20For%20Speed%20Most%20Wanted%20Black%20Edition.iso
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/nfs_mw_be_update.zip
- game_reg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/nfsmw_be.reg
- game_mod: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip
- game_cfg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/Settings.ini
game:
exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
prefix: $GAMEDIR
installer:
- task:
description: Creating wineprefix...
name: create_prefix
prefix: $GAMEDIR
- extract:
description: Extracting DVD data...
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
file: game_iso
format: iso
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most
Wanted" ; for zip in *.zip; do dir="${zip%.zip}"; mkdir -p "$dir"; python3
-c 'import sys,zipfile,pathlib,shutil; z=zipfile.ZipFile(sys.argv[1]); d=pathlib.Path(sys.argv[2]);
[(lambda n,i:(d/n).parent.mkdir(parents=True,exist_ok=True) or shutil.copyfileobj(z.open(i),open(d/n,"wb")))(pathlib.Path(i.filename.replace("\\","/")),i)
for i in z.infolist() if not i.is_dir()]' "$zip" "$dir"; done ;
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
src: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/0compressed
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
src: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/1compressed
- task:
filename: game_reg
name: set_regedit_file
- extract:
dst: $CACHE
file: game_patch
- task:
description: Updating "Need for Speed - Most Wanted - Black Edition"...
executable: $CACHE/nfsmwpatch1.3.exe
name: wineexec
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.bak
src: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
- copy:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
src: $CACHE/speed.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
file: game_mod
- input_menu:
description: 'Choose your preferred language for game menu:'
id: LANG
options:
- English: English
- French: French
- German: German
- Spanish: Spanish
- Italian: Italian
- Danish: Danish
- Dutch: Dutch
- Finnish: Finnish
- Polish: Polish
- Russian: Russian
- Swedish: Swedish
preselect: English
- input_menu:
description: Replaces keyboard icons with gamepad icons and assigns front-end
actions?
id: CTRL
options:
- 0: Ignore
- 1: Xbox icons
- 2: Playstation icons
preselect: 0
- write_config:
data:
LANGUAGE:
Language: $INPUT_LANG
MISC:
CustomUserFilesDirectoryInGameDir: 1
ImproveGamepadSupport: $INPUT_CTRL
SkipIntro: 0
WindowedMode: 0
WriteSettingsToFile: 1
file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
merge: true
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/1/NFS
Most Wanted
src: game_cfg
- write_file:
content: d3d9.maxFrameRate = 60
file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/dxvk.conf
- execute:
command: if [ -d "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed
Most Wanted" ] ; then cd "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need
for Speed Most Wanted" ; rm -f -r 0compressed 0compressed.zip 1compressed
1compressed.zip AutoRun* DirectX Patch ; fi ;
wine:
overrides:
dinput8: n,b
slug: need-for-speed-most-wanted-bl-dvd
steamid: null
version: DVD
year: 2005
{
"game_slug": "need-for-speed-most-wanted-black-edition",
"version": "DVD",
"description": "Play \"Need for Speed - Most Wanted - Black Edition\" DVD edition on Linux!",
"notes": "- Game DVD image will be downloaded directly from Internet Archives\r\n- Included update patch 1.3 and ThirteenAG widescreen fix\r\n- Available languages for this game: English, , French, German, Spanish, Italian, Danish, Dutch, Finnish, Polish, Russian and Swedish",
"name": "Need for Speed: Most Wanted - Black Edition",
"year": 2005,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "need-for-speed-most-wanted-bl-dvd",
"installer_slug": "need-for-speed-most-wanted-bl-dvd",
"script": {
"files": [
{
"game_iso": "https://archive.org/download/need-for-speed-most-wanted-black-edition_202604/Need%20For%20Speed%20Most%20Wanted%20Black%20Edition.iso"
},
{
"game_patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/nfs_mw_be_update.zip"
},
{
"game_reg": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/nfsmw_be.reg"
},
{
"game_mod": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip"
},
{
"game_cfg": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Need%20for%20Speed%20-%20Most%20Wanted%20-%20Black%20Edition/Settings.ini"
}
],
"game": {
"exe": "drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"description": "Creating wineprefix...",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"description": "Extracting DVD data...",
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
"file": "game_iso",
"format": "iso"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted\" ; for zip in *.zip; do dir=\"${zip%.zip}\"; mkdir -p \"$dir\"; python3 -c 'import sys,zipfile,pathlib,shutil; z=zipfile.ZipFile(sys.argv[1]); d=pathlib.Path(sys.argv[2]); [(lambda n,i:(d/n).parent.mkdir(parents=True,exist_ok=True) or shutil.copyfileobj(z.open(i),open(d/n,\"wb\")))(pathlib.Path(i.filename.replace(\"\\\\\",\"/\")),i) for i in z.infolist() if not i.is_dir()]' \"$zip\" \"$dir\"; done ;"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/0compressed"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/1compressed"
}
},
{
"task": {
"filename": "game_reg",
"name": "set_regedit_file"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "game_patch"
}
},
{
"task": {
"description": "Updating \"Need for Speed - Most Wanted - Black Edition\"...",
"executable": "$CACHE/nfsmwpatch1.3.exe",
"name": "wineexec"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.bak",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
"src": "$CACHE/speed.exe"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
"file": "game_mod"
}
},
{
"input_menu": {
"description": "Choose your preferred language for game menu:",
"id": "LANG",
"options": [
{
"English": "English"
},
{
"French": "French"
},
{
"German": "German"
},
{
"Spanish": "Spanish"
},
{
"Italian": "Italian"
},
{
"Danish": "Danish"
},
{
"Dutch": "Dutch"
},
{
"Finnish": "Finnish"
},
{
"Polish": "Polish"
},
{
"Russian": "Russian"
},
{
"Swedish": "Swedish"
}
],
"preselect": "English"
}
},
{
"input_menu": {
"description": "Replaces keyboard icons with gamepad icons and assigns front-end actions?",
"id": "CTRL",
"options": [
{
"0": "Ignore"
},
{
"1": "Xbox icons"
},
{
"2": "Playstation icons"
}
],
"preselect": 0
}
},
{
"write_config": {
"data": {
"LANGUAGE": {
"Language": "$INPUT_LANG"
},
"MISC": {
"CustomUserFilesDirectoryInGameDir": 1,
"ImproveGamepadSupport": "$INPUT_CTRL",
"SkipIntro": 0,
"WindowedMode": 0,
"WriteSettingsToFile": 1
}
},
"file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini",
"merge": true
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/1/NFS Most Wanted",
"src": "game_cfg"
}
},
{
"write_file": {
"content": "d3d9.maxFrameRate = 60",
"file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/dxvk.conf"
}
},
{
"execute": {
"command": "if [ -d \"$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted\" ] ; then cd \"$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted\" ; rm -f -r 0compressed 0compressed.zip 1compressed 1compressed.zip AutoRun* DirectX Patch ; fi ;"
}
}
],
"wine": {
"overrides": {
"dinput8": "n,b"
}
}
}
}