Installer lord-of-the-rings-the-battle-dvd-fan-patch-hd-mod

files:
- patch109:
    filename: BFME2 PatchSwitcher Setup.exe
    referer: https://duckduckgo.com
    url: http://www.shatabrick.com/downloads/BFME2%20PatchSwitcher%20Setup.exe
- hdmod: N/A:Download the Mod from https://www.moddb.com/mods/battle-for-middle-earth-2-hd-edition/downloads/bfme-2-hd-edition-v-11
game:
  arch: win32
  args: -mod "$GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm)
    II Files/HDEdition.big"
  exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Battle for Middle-earth
    (tm) II/lotrbfme2.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: autorun.exe
- task:
    arch: win32
    description: Run Installer
    executable: $DISC/autorun.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $DISC
- task:
    arch: win32
    description: Installing hd mod
    executable: hdmod
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Installing unoffical patch 1.09
    executable: patch109
    name: wineexec
    prefix: $GAMEDIR
- write_file:
    content: 'AudioLOD = Low

      HasSeenLogoMovies = yes

      IdealStaticGameLOD = VeryLow

      Resolution = 1920 1080

      StaticGameLOD = VeryLow

      TimesInGame = 2'
    file: $GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm)
      II Files/Options.ini
description: When asked to run the Patch Switcher do so and choose the patch you want
  to install. Version 1.09 is recommend but can be changed at any time.The game features
  a limited amount of in-game resolution options. The default will be 1080p. To use
  e.g. 1440p you'll have to edit the Options.ini manually or re-run the Patch Switcher
  and click the "Fix my resolution" button.
game_slug: lord-of-the-rings-battle-for-middle-earth-ii
gogslug: ''
humblestoreid: ''
installer_slug: lord-of-the-rings-the-battle-dvd-fan-patch-hd-mod
name: 'The Lord of the Rings: The Battle for Middle-earth II'
notes: ''
runner: wine
script:
  files:
  - patch109:
      filename: BFME2 PatchSwitcher Setup.exe
      referer: https://duckduckgo.com
      url: http://www.shatabrick.com/downloads/BFME2%20PatchSwitcher%20Setup.exe
  - hdmod: N/A:Download the Mod from https://www.moddb.com/mods/battle-for-middle-earth-2-hd-edition/downloads/bfme-2-hd-edition-v-11
  game:
    arch: win32
    args: -mod "$GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm)
      II Files/HDEdition.big"
    exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/The Battle for Middle-earth
      (tm) II/lotrbfme2.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: autorun.exe
  - task:
      arch: win32
      description: Run Installer
      executable: $DISC/autorun.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $DISC
  - task:
      arch: win32
      description: Installing hd mod
      executable: hdmod
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      description: Installing unoffical patch 1.09
      executable: patch109
      name: wineexec
      prefix: $GAMEDIR
  - write_file:
      content: 'AudioLOD = Low

        HasSeenLogoMovies = yes

        IdealStaticGameLOD = VeryLow

        Resolution = 1920 1080

        StaticGameLOD = VeryLow

        TimesInGame = 2'
      file: $GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm)
        II Files/Options.ini
slug: lord-of-the-rings-the-battle-dvd-fan-patch-hd-mod
steamid: null
version: DVD + Fan Patch + HD Mod
year: 2006
{
  "game_slug": "lord-of-the-rings-battle-for-middle-earth-ii",
  "version": "DVD + Fan Patch + HD Mod",
  "description": "When asked to run the Patch Switcher do so and choose the patch you want to install. Version 1.09 is recommend but can be changed at any time.The game features a limited amount of in-game resolution options. The default will be 1080p. To use e.g. 1440p you'll have to edit the Options.ini manually or re-run the Patch Switcher and click the \"Fix my resolution\" button.",
  "notes": "",
  "name": "The Lord of the Rings: The Battle for Middle-earth II",
  "year": 2006,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "lord-of-the-rings-the-battle-dvd-fan-patch-hd-mod",
  "installer_slug": "lord-of-the-rings-the-battle-dvd-fan-patch-hd-mod",
  "script": {
    "files": [
      {
        "patch109": {
          "filename": "BFME2 PatchSwitcher Setup.exe",
          "referer": "https://duckduckgo.com",
          "url": "http://www.shatabrick.com/downloads/BFME2%20PatchSwitcher%20Setup.exe"
        }
      },
      {
        "hdmod": "N/A:Download the Mod from https://www.moddb.com/mods/battle-for-middle-earth-2-hd-edition/downloads/bfme-2-hd-edition-v-11"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-mod \"$GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm) II Files/HDEdition.big\"",
      "exe": "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Battle for Middle-earth (tm) II/lotrbfme2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "autorun.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Run Installer",
          "executable": "$DISC/autorun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$DISC"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing hd mod",
          "executable": "hdmod",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing unoffical patch 1.09",
          "executable": "patch109",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "AudioLOD = Low\nHasSeenLogoMovies = yes\nIdealStaticGameLOD = VeryLow\nResolution = 1920 1080\nStaticGameLOD = VeryLow\nTimesInGame = 2",
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm) II Files/Options.ini"
        }
      }
    ]
  }
}
Back to game