Installer need-for-speed-most-wanted-bl-dvd

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
- wrapper_vid: https://github.com/elishacloud/dxwrapper/releases/download/v1.6.8300.25/dx9.games.zip
game:
  exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/CD
    file: game_iso
    format: iso
- task:
    description: Installing "Need for Speed - Most Wanted - Black Edition"...When
      asking for a serial, type PL33-NKML-S49X-DR7W-6MY9. Do not start the game at
      the end of install, just exit.
    executable: $CACHE/CD/AutoRun.exe
    name: wineexec
- 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
- task:
    filename: game_reg
    name: set_regedit_file
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
    file: game_mod
- write_config:
    data:
      MISC:
        SkipIntro: 0
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
    file: wrapper_vid
- write_config:
    data:
      Compatibility:
        D3d9to9Ex: 1
      d3d9:
        FullscreenWindowMode: 1
        LimitPerFrameFPS: 60
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/dxwrapper.ini
wine:
  overrides:
    ddraw: n,b
    dinput8: n,b
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: "- Included update patch 1.3\r\n- Using DxWrapper for better graphic stability\
  \ and ThirteenAG widescreen fix\r\n- Per default game  resolution set to 1280x720.\
  \ You can change game resolution in \"Video options\"\r\n- Available languages for\
  \ this game: Danish, German, English, Spanish, French, Finnish, Italian, Korean,\
  \ Dutch, Polish, Swedish and Chinese (Simplified and Traditional)"
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
  - wrapper_vid: https://github.com/elishacloud/dxwrapper/releases/download/v1.6.8300.25/dx9.games.zip
  game:
    exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/CD
      file: game_iso
      format: iso
  - task:
      description: Installing "Need for Speed - Most Wanted - Black Edition"...When
        asking for a serial, type PL33-NKML-S49X-DR7W-6MY9. Do not start the game
        at the end of install, just exit.
      executable: $CACHE/CD/AutoRun.exe
      name: wineexec
  - 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
  - task:
      filename: game_reg
      name: set_regedit_file
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
      file: game_mod
  - write_config:
      data:
        MISC:
          SkipIntro: 0
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted
      file: wrapper_vid
  - write_config:
      data:
        Compatibility:
          D3d9to9Ex: 1
        d3d9:
          FullscreenWindowMode: 1
          LimitPerFrameFPS: 60
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/dxwrapper.ini
  wine:
    overrides:
      ddraw: n,b
      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": "- Included update patch 1.3\r\n- Using DxWrapper for better graphic stability and ThirteenAG widescreen fix\r\n- Per default game  resolution set to 1280x720. You can change game resolution in \"Video options\"\r\n- Available languages for this game: Danish, German, English, Spanish, French, Finnish, Italian, Korean, Dutch, Polish, Swedish and Chinese (Simplified and Traditional)",
  "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"
      },
      {
        "wrapper_vid": "https://github.com/elishacloud/dxwrapper/releases/download/v1.6.8300.25/dx9.games.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/CD",
          "file": "game_iso",
          "format": "iso"
        }
      },
      {
        "task": {
          "description": "Installing \"Need for Speed - Most Wanted - Black Edition\"...When asking for a serial, type PL33-NKML-S49X-DR7W-6MY9. Do not start the game at the end of install, just exit.",
          "executable": "$CACHE/CD/AutoRun.exe",
          "name": "wineexec"
        }
      },
      {
        "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"
        }
      },
      {
        "task": {
          "filename": "game_reg",
          "name": "set_regedit_file"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
          "file": "game_mod"
        }
      },
      {
        "write_config": {
          "data": {
            "MISC": {
              "SkipIntro": 0
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted",
          "file": "wrapper_vid"
        }
      },
      {
        "write_config": {
          "data": {
            "Compatibility": {
              "D3d9to9Ex": 1
            },
            "d3d9": {
              "FullscreenWindowMode": 1,
              "LimitPerFrameFPS": 60
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/dxwrapper.ini"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "dinput8": "n,b"
      }
    }
  }
}
Back to game