Skip to content

Instantly share code, notes, and snippets.

@lhw
Created January 1, 2020 21:48
Show Gist options
  • Save lhw/1864a5f3ae6640fff8c3a18db624f1d1 to your computer and use it in GitHub Desktop.
Save lhw/1864a5f3ae6640fff8c3a18db624f1d1 to your computer and use it in GitHub Desktop.
bfme2 + rotwk lutris
name: The Lord of the Rings - Battle for Middle-Earth II
game_slug: lord-of-the-rings-battle-for-middle-earth-ii
version: DVD + Fan Patch + HD Mod
slug: wine-bfme2-hd
runner: wine
script:
files:
- patch109:
filename: "BFME2 PatchSwitcher Setup.exe"
referer: https://duckduckgo.com
url: http://www.shatabrick.org/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
version: lutris-4.20-x86_64
wine: null
installer:
- task:
arch: win32
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: autorun.exe
- task:
arch: win32
description: Run Installer
executable: $DISC/autorun.exe
working_dir: $DISC
name: wineexec
prefix: $GAMEDIR
- 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:
file: $GAMEDIR/drive_c/users/$USER/Application Data/My Battle for Middle-earth(tm) II Files/Options.ini
content: |
AudioLOD = Low
HasSeenLogoMovies = yes
IdealStaticGameLOD = VeryLow
Resolution = 1920 1080
StaticGameLOD = VeryLow
TimesInGame = 2
name: Battle for Middle-earth II - Rise of the Witch King
game_slug: battle-for-middle-earth-ii-rise-of-the-witch-king
version: DVD + Fan Patch
slug: wine-rotwk-hd
runner: wine
script:
requires: lord-of-the-rings-battle-for-middle-earth-ii
files:
- patch202: "https://gitlab.com/rotwk202/2.02-installer/raw/binaries/202_v8_full.exe"
- patch2021: "https://gitlab.com/rotwk202/2.02-installer/raw/binaries/202_v801_updater.exe"
game:
arch: win32
exe: "$GAMEDIR/drive_c/Program Files/Electronic Arts/The Lord of the Rings, The Rise of the Witch-king/lotrbfme2ep1.exe"
args: -mod "$GAMEDIR/drive_c/Program Files/AOTR4.0/aotr"
prefix: $GAMEDIR
version: lutris-4.20-x86_64
installer:
- insert-disc:
requires: autorun.exe
- task:
arch: win32
description: Run Installer
executable: $DISC/autorun.exe
working_dir: $DISC
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing unoffical patch 2.02 v8.0.0
executable: patch202
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
description: Installing unoffical patch 2.02 v8.0.1
executable: patch2021
name: wineexec
prefix: $GAMEDIR
- write_file:
file: $GAMEDIR/drive_c/users/$USER/Application Data/My The Lord of the Rings, The Rise of the Witch-king Files/Options.ini
content: |
AudioLOD = Low
HasSeenLogoMovies = yes
IdealStaticGameLOD = VeryLow
Resolution = 1920 1080
StaticGameLOD = VeryLow
TimesInGame = 2
@lhw
Copy link
Author

lhw commented Jan 1, 2020

rotwk
for the banner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment