Installer the-lord-of-the-rings-the-bat-106-most-common-patc

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- patch103zip: https://web.archive.org/web/20201019192222if_/https://sjc5.dl.dbolical.com/dl/2020/10/19/Patch103Files.zip?st=Gw761QiwEAujeErrjehb0A==&e=1603138942
- patch105zip: https://web.archive.org/web/20160404150922if_/http://www.the3rdage.net/files/3683/patch105.zip
- patch106zip: https://web.archive.org/web/20150428105152if_/http://online.the3rdage.net/downloads/patch/patch106bundleZoom.zip
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)/lotrbfme.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth
    (tm)
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: AutoRun.exe
- task:
    description: Running game installer (Select "Quit" after the installation has
      finished)
    executable: $DISC/AutoRun.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Installing patch 1.03
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth
      (tm)
    file: patch103zip
    format: zip
- extract:
    description: Installing patch 1.05
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth
      (tm)
    file: patch105zip
    format: zip
- extract:
    description: Installing patch 1.06
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth
      (tm)
    file: patch106zip
    format: zip
- write_file:
    content: 'AllHealthBars = yes

      AlternateMouseSetup = no

      AmbientVolume = 70

      AudioLOD = High

      Brightness = 50

      FixedStaticGameLOD = Medium

      FlashTutorial = 0

      HasGotOnline = yes

      HasSeenLogoMovies = yes

      HeatEffects = yes

      IdealStaticGameLOD = UltraHigh

      IsThreadedLoad = yes

      MovieVolume = 80

      MusicVolume = 60

      Resolution = $RESOLUTION_WIDTH $RESOLUTION_HEIGHT

      SFXVolume = 100

      ScrollFactor = 50

      StaticGameLOD = Medium

      TimesInGame = 1

      UnitDecals = yes

      UseEAX3 = no

      VoiceVolume = 80

      '
    file: $GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth
      Files/Options.ini
wine:
  dxvk: false
  esync: true
{
  "files": [
    {
      "patch103zip": "https://web.archive.org/web/20201019192222if_/https://sjc5.dl.dbolical.com/dl/2020/10/19/Patch103Files.zip?st=Gw761QiwEAujeErrjehb0A==&e=1603138942"
    },
    {
      "patch105zip": "https://web.archive.org/web/20160404150922if_/http://www.the3rdage.net/files/3683/patch105.zip"
    },
    {
      "patch106zip": "https://web.archive.org/web/20150428105152if_/http://online.the3rdage.net/downloads/patch/patch106bundleZoom.zip"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)/lotrbfme.exe",
    "prefix": "$GAMEDIR",
    "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "insert-disc": {
        "requires": "AutoRun.exe"
      }
    },
    {
      "task": {
        "description": "Running game installer (Select \"Quit\" after the installation has finished)",
        "executable": "$DISC/AutoRun.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "description": "Installing patch 1.03",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)",
        "file": "patch103zip",
        "format": "zip"
      }
    },
    {
      "extract": {
        "description": "Installing patch 1.05",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)",
        "file": "patch105zip",
        "format": "zip"
      }
    },
    {
      "extract": {
        "description": "Installing patch 1.06",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/The Battle for Middle-earth (tm)",
        "file": "patch106zip",
        "format": "zip"
      }
    },
    {
      "write_file": {
        "content": "AllHealthBars = yes\nAlternateMouseSetup = no\nAmbientVolume = 70\nAudioLOD = High\nBrightness = 50\nFixedStaticGameLOD = Medium\nFlashTutorial = 0\nHasGotOnline = yes\nHasSeenLogoMovies = yes\nHeatEffects = yes\nIdealStaticGameLOD = UltraHigh\nIsThreadedLoad = yes\nMovieVolume = 80\nMusicVolume = 60\nResolution = $RESOLUTION_WIDTH $RESOLUTION_HEIGHT\nSFXVolume = 100\nScrollFactor = 50\nStaticGameLOD = Medium\nTimesInGame = 1\nUnitDecals = yes\nUseEAX3 = no\nVoiceVolume = 80\n",
        "file": "$GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth Files/Options.ini"
      }
    }
  ],
  "wine": {
    "dxvk": false,
    "esync": true
  }
}
Back to game