Installer need-for-speed-most-wanted-xbox-360-stuff-pack

files:
- xbox: N/A:Select the ZIP file for the Xbox 360 mod
- patch13: https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe
- widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip
- reflections: https://nfsmods.xyz/uploads/mods/3363/b148aa-NFS%20HD%20Reflections.zip
- xenon: https://github.com/xan1242/NFSMW_XenonEffects/releases/download/1.02/NFSMW_XenonEffects.zip
game:
  arch: win64
  exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: 0compressed.zip
- task:
    executable: $DISC/AutoRun.exe
    name: wineexec
- task:
    executable: patch13
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
    file: widescreen
- write_config:
    data:
      MAIN:
        ResX: $RESOLUTION_WIDTH
        ResY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
- extract:
    dst: $CACHE/reflections
    file: reflections
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/
    src: $CACHE/reflections/NFSMWHDReflections/scripts/
- write_config:
    data:
      GENERAL:
        RestoreWaterReflections: 1
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMWHDReflections.ini
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
    file: xenon
- write_config:
    data:
      MAIN:
        UseD3DDeviceTexture: 1
    file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMW_XenonEffects.ini
- execute:
    command: find "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most
      Wanted/" \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {}
      + \)
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
    file: xbox
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9-backup.dll
    src: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9.dll
wine:
  overrides:
    dinput8: n,b
description: CD version of the game with the Xbox 360 Stuff Pack ( https://nfsmods.xyz/mod/1200
  )
game_slug: need-for-speed-most-wanted
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-most-wanted-xbox-360-stuff-pack
name: 'Need for Speed: Most Wanted'
notes: "This installer currently installs the mod WITHOUT the ReShade filters.\r\n\
  \r\nAlso installs the Widescreen Patch, HD Reflections and Xenon Effects.\r\nPlease\
  \ download the \"Easy installation\" version of the mod beforehand: https://drive.google.com/drive/folders/19hqllTeyoBFXhT1F2-krIZdGmQxL0EaQ\r\
  \nThis mod requires a No-CD / No-DVD patch, which is not provided by this installer.\r\
  \n\r\nWhen the installer asks to insert CD/DVD 2, 3 or 4 and you use ISO files,\
  \ mount them alongside CD/DVD 1."
runner: wine
script:
  files:
  - xbox: N/A:Select the ZIP file for the Xbox 360 mod
  - patch13: https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe
  - widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip
  - reflections: https://nfsmods.xyz/uploads/mods/3363/b148aa-NFS%20HD%20Reflections.zip
  - xenon: https://github.com/xan1242/NFSMW_XenonEffects/releases/download/1.02/NFSMW_XenonEffects.zip
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: 0compressed.zip
  - task:
      executable: $DISC/AutoRun.exe
      name: wineexec
  - task:
      executable: patch13
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
      file: widescreen
  - write_config:
      data:
        MAIN:
          ResX: $RESOLUTION_WIDTH
          ResY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini
  - extract:
      dst: $CACHE/reflections
      file: reflections
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/
      src: $CACHE/reflections/NFSMWHDReflections/scripts/
  - write_config:
      data:
        GENERAL:
          RestoreWaterReflections: 1
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMWHDReflections.ini
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
      file: xenon
  - write_config:
      data:
        MAIN:
          UseD3DDeviceTexture: 1
      file: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMW_XenonEffects.ini
  - execute:
      command: find "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed
        Most Wanted/" \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod
        644 {} + \)
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/
      file: xbox
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9-backup.dll
      src: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9.dll
  wine:
    overrides:
      dinput8: n,b
slug: need-for-speed-most-wanted-xbox-360-stuff-pack
steamid: null
version: Xbox 360 Stuff Pack
year: 2005
{
  "game_slug": "need-for-speed-most-wanted",
  "version": "Xbox 360 Stuff Pack",
  "description": "CD version of the game with the Xbox 360 Stuff Pack ( https://nfsmods.xyz/mod/1200 )",
  "notes": "This installer currently installs the mod WITHOUT the ReShade filters.\r\n\r\nAlso installs the Widescreen Patch, HD Reflections and Xenon Effects.\r\nPlease download the \"Easy installation\" version of the mod beforehand: https://drive.google.com/drive/folders/19hqllTeyoBFXhT1F2-krIZdGmQxL0EaQ\r\nThis mod requires a No-CD / No-DVD patch, which is not provided by this installer.\r\n\r\nWhen the installer asks to insert CD/DVD 2, 3 or 4 and you use ISO files, mount them alongside CD/DVD 1.",
  "name": "Need for Speed: Most Wanted",
  "year": 2005,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-most-wanted-xbox-360-stuff-pack",
  "installer_slug": "need-for-speed-most-wanted-xbox-360-stuff-pack",
  "script": {
    "files": [
      {
        "xbox": "N/A:Select the ZIP file for the Xbox 360 mod"
      },
      {
        "patch13": "https://dl1.nfsplanet.com/nfsmw/patches/nfsmwpatch1.3.exe"
      },
      {
        "widescreen": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/nfsmw/NFSMostWanted.WidescreenFix.zip"
      },
      {
        "reflections": "https://nfsmods.xyz/uploads/mods/3363/b148aa-NFS%20HD%20Reflections.zip"
      },
      {
        "xenon": "https://github.com/xan1242/NFSMW_XenonEffects/releases/download/1.02/NFSMW_XenonEffects.zip"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/speed.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "0compressed.zip"
        }
      },
      {
        "task": {
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "executable": "patch13",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/",
          "file": "widescreen"
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "ResX": "$RESOLUTION_WIDTH",
              "ResY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMostWanted.WidescreenFix.ini"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/reflections",
          "file": "reflections"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/",
          "src": "$CACHE/reflections/NFSMWHDReflections/scripts/"
        }
      },
      {
        "write_config": {
          "data": {
            "GENERAL": {
              "RestoreWaterReflections": 1
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMWHDReflections.ini"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/",
          "file": "xenon"
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "UseD3DDeviceTexture": 1
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/scripts/NFSMW_XenonEffects.ini"
        }
      },
      {
        "execute": {
          "command": "find \"$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/\" \\( -type d -exec chmod 755 {} + \\) -o \\( -type f -exec chmod 644 {} + \\)"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/",
          "file": "xbox"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9-backup.dll",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Need for Speed Most Wanted/d3d9.dll"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game