Ello there. Tried to "install" this mod selector but can't get it to work. Having the same problems with Fair Omen, when i mod the game with either Fair or Mod Selector, I am unable to run the game. All i get is a black screen and a total computer freeze wich can only be fixed with a manual reset with the restart button.

1) Add an empty folder named B6_01 into C:\Program Files (x86)\Dark Omen\GameData\1pbat 2) Add a new mod map named B6_01 into C:\Program Files (x86)\Dark Omen\Mods\Skaven&DarkElvesBETA\GAMEDATA\1pbat 3) Add B6_01 to the Battles.eng list in the Skaven 1pbat 4) Copy and Paste Trading Post script in WHMTG and rename B1_01 to B6_01 and the game will load the new map as 1st mission.

His hope is to no longer need to make the dummy empty folders in original Dark Omen 1pbat. However, it's fantastic that it works, so I now have my new mod map as B6_01 and my Fortress map as B6_02

« Last Edit: November 03, 2015, 11:48:05 PM by olly »

Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)

The reason is that the developers use (no idea why) SetCurrentDirectory to move into the map directory and then work with relative paths (e.g. "B1_01.prj").The problem is now that SetCurrentDirectory fails, because the directory does not exist (and succeeds when the empty directory exists).This can be worked around by remembering which directory they wanted to change to and just prepend it to the filenames BUT this fails for reading BTB files because instead of opening "B1_01.btb" directly they get the current working directory (which is the wrong one because the call failed) and append "B1_01.btb" and then pass the full pathname (!) to CreateFile.This means besides SetCurrentDirectory also GetCurrentDirectory must be hooked because they use the result of Get once to generate the BTB path... WTF, why do they do this, was the BTB part written by a different person???

New version! (Sourcecode follows during the next days)

Olly, you can delete the empty folders now Also fixes the focus lost crash.