{"id":13705837,"url":"https://github.com/gearsix/bfme2-installer","last_synced_at":"2026-01-16T17:20:35.932Z","repository":{"id":151359405,"uuid":"103127132","full_name":"gearsix/bfme2-installer","owner":"gearsix","description":"An ISO install wrapper for (specifically for Lord of the Rings: Battle for Middle-Earth 2). It mounts .iso files, runs the installer (on disc) and applies the no cd crack so that you don't need to re-mount the .iso files everytime you run the game.","archived":false,"fork":false,"pushed_at":"2017-09-11T11:23:31.000Z","size":9968,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T22:16:14.592Z","etag":null,"topics":["animated","c","cd","command-line","crack","friendly","gaming","installer","iso-files","lord-of-the-rings","lotr","mount","powershell","script","windows-10","wrapper"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gearsix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-11T11:22:35.000Z","updated_at":"2022-02-16T09:45:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"5aba599e-14db-4068-9aac-de73b09e00bd","html_url":"https://github.com/gearsix/bfme2-installer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gearsix%2Fbfme2-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gearsix%2Fbfme2-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gearsix%2Fbfme2-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gearsix%2Fbfme2-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gearsix","download_url":"https://codeload.github.com/gearsix/bfme2-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224455940,"owners_count":17314210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated","c","cd","command-line","crack","friendly","gaming","installer","iso-files","lord-of-the-rings","lotr","mount","powershell","script","windows-10","wrapper"],"created_at":"2024-08-02T22:00:48.736Z","updated_at":"2026-01-16T17:20:35.891Z","avatar_url":"https://github.com/gearsix.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# ISO install wrapper - Lord of the Rings: Battle for Middle-Earth 2\n**REQUIRES WINDOWS 10**\nAn install wrapper for Lord of the Rings: Battle for Middle-Earth 2 .iso files, it'll mount the .iso files, run the installer for you and apply the no cd crack so that you don't need to re-mount the .iso files everytime you run the game.\n\n## Contents\n1. [Disclaimer](##Disclaimer)\n2. [Overview](##Overview)\n3. [Requirements](##Requirements)\n2. [Usage](##Usage)\n3. [Compiling](##Compiling)\n4. [Authors](##Authors)\n\n## Disclaimer\nThis project does not include any game files or serial keys.\nYou'll need to provide those yourself to use this.\n\n## Overview\nThis is an install wrapper for the .iso files of Lord of the Rings: Battle for Middle-Earth 2 and it's expansion. It's written in C, except for the PowerShell scripts that to mount the .iso files (natively, which is the part that requires win10) and then runs the game installer on the disk.\nI've also included a script that applies to no cd crack so that the .iso doesn't need to be mounted everytime you want to play.\n\nI know the entire project seems a little unecessary, but I made it for some friends of mine that aren't tech-savvy enough to figure out how to mount .iso files, etc.\n\nIt would make more sense to have written the C portion of this in something like Python. If I ever need to re-purpose this for any other .iso files then I might rewrite it in Python and make it less usecase specific.\n\n## Requirements\n**For information on the game's system requirements, see docs/requirements.txt**\n\n**Windows 10**\nI insisted on using the native mounting feature added in Windows 10 because I like to try and stay minimal _(I also thought it was pretty cool that I was able to do this in PowerShell)_.\nObviously it also needs to be Windows because the .iso files have windows executable installers on and install windows versions of the game. I don't think Linux versions exist, but if you want to play it on Linux then this is useless because you'll need to do something with the game files (like run it in WINE or something).\n\n## Usage\n**For information on the game's system requirements, see docs/instructions.txt**\n\n1. Add the _Battle for Middle-Earth 2 .iso_ to ```game_files/bfme2/```\n2. Add the _Rise of the Witch-King .iso_ to ```game_files/rotwk/```\n3. Run ```bfme2-installer.exe``` as an Administrator\n\nWhat bfme2-installer does:\n* Install\n\t1. Mounts the respective .iso (using Windows 10's native mounting feature)\n\t2. Runs the installer on the disc\n\t3. Dismounts the respective .iso file\n* Apply crack\n\t1. Checks if the game is installed via the Registry (_HKLM:\\SOFTWARE\\WOW6432Node\\Electronic Arts\\*_) and data files directory (_$env:APPDATA+\"\\*\\\"_)\n\t2. Copies the crack file (no-cd crack) to the install directory\n\t3. Sets the options.ini file (found in the data files directory); this stops the game crashing on startup and sets the default resolution to 1920x1080.\n\n## Compiling\nCompiling is really simple, so I didn't bother with a Makefile or anything.\n1. ```gcc src\\bfme2-installer.c src\\libs\\* -o bfme2-installer.exe```\n2. Done!\n\nIf you want to set an icon for the executable (as I have for the current release):\n1. ```windres src\\bfme2-installer.rc -o src\\bfme2-installer.o```\n2. ```gcc src\\bfme2-installer.c src\\libs\\* src\\bfme2-installer.o -o bfme2-installer.exe```\n3. Done!\n\n## Authors\n* [Alexander Collins](https://www.github.com/GeaRSiX)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearsix%2Fbfme2-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearsix%2Fbfme2-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearsix%2Fbfme2-installer/lists"}