Numenor awaits, with new armies, units, factions and heroes; witness the darkest Age of Middle-earth |
Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Simple Structure B… Proper Fire Arrow… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
|||||||||||||||||||||||||||||
Register and log in to move these advertisements down Sample Mod Launcher Batch fileDownload for BFME, BFME 2, ROTWK
This is a batch mod launcher I made based on DIGI_Byte's Battlegrid launcher. How it works: This launcher is pretty straight forward it moves the mod file(s)from "My Battle for Middle-Earth Files" to the original game folder and renames them with an underscore so the game and worldbuilder will read the data. It also moves the original asset.dat into the "My Battle for Middle-Earth Files" and renames it and moves a custom asset.dat from "My Battle for Middle-Earth Files" into the game folder. The launcher stays open while the game/Worldbuilder is open and automatically closes and cleans up when you finish. Things to know: I've put the batch file inside a .7z file so you'll 7zip to extract it. To edit the .bat file open it up in an editor like Notepad++ I haven't tested this on 32 bit systems since I run a 64 bit one. You'll need to put your mod files and asset.dat in "My Battle for Middle-Earth Files". This only supports the default installation directories. When running: When you first launch it you'll be asked which version of Windows you are running 64 or 32 bit. Chose your OS or you can close the launcher here. Next you chose whether to launch your mod or launch it in Worldbuilder or you could play the game without a mod. Once you've selected either the mod or WB there'll be a confirmation "Press any key" then the game/WB will automatically launch. Additional notes: A benefit of this sort of launcher is the ability to split your files so for bigger mods you can just add the paths for those files. You can even patch a mod by launching an additional mod file and updating the launcher. For instance your mod might be samplemod.big but you've got a small update big file consisting of only what you need for the patch (for instance a single file for hotfixing) you simply add it to the launcher and make sure it is alphabetically after the original mod file. So if your mod launches as _samplemod.big your patch might be _xpatch.big and it should run the patch. There's also bat-to-exe converters on the internet if you want to give an icon and so on. Important note: Some antiviruses will give false positive reports of trojans because of the way this launcher works and being a bat file. The code as is harmless and only ever moves your mod files. Simply add the file to the antivirus' exemptions list. Editing this thing should be simply just changing the directory codes (make you rename them all and double check your code before launching because it may delete your mod files). Always back up your mod files before testing. Links / Downloads
Credits
CommentsDisplay order: Newest first Turin Turumbar - Friday July 19, 2013 - 16:33 This really needs improvement. This bat will only work with the custom game directory and an english version of the game. But why didnt you simply use the registry keys for the installation folder and the "My Battle for Middle-Earth Data" folder? The launcher would work with every version of the game if you use them. |
|||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |