• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Ikkrow

Recruit
3 Badges
Feb 28, 2014
6
0
  • King Arthur II
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
How hard would it be to mod in some new color choices for our Great Mages? I love conquering new areas, & then seeing my borders expand, in our colors. Unfortunately, I can't seem to figure out the modding tools, for whatever reason... :eek:
 
This would be very easy to do.
In the file logicparams.bin there all color codes for the different mages.
In theory you could change them to any value you want.

Even more easy to do is using the existing colors and giving the mages different ones...like for example giving the Dragon Queen the red color instead of Orange.
This is doable in the fractions.bin file for each mage:
"<i_selectedColor>x</i_selectedColor>",where x is the color number,which can be figured out easily.

I just wish it would be possible to change the names of the premade Wizards...i havent figured out yet how to do this :(
 
So, I tried this. I used Squeezer.exe to locate logicparams.binary file, and along with TXMLConverter.exe, I managed to trial-and-error my way to unpack it, look at the file in .xml, open it with wordpad in windows7, change the color I wanted, and then re-save. I then changed it from .xml to .binary with the same tools, but when I do, and then repack, and load it into my Warlock directory and load up the game, it either: 1. Crashes, with a critical error, or 2. The game loads, but the color I chose/edited is not changed. I've tried different commands when re-packing; such as: Using ber's commands, copied/pasted from this link: ( http://forum.paradoxplaza.com/forum/showthread.php?687193-First-modding-tools Only) I used this command: Squeezer.exe /d ./s100 s100.pack .binary 5, substituting "s100.pack" in the commands, since I found logicparams.binary in the original s110.pack. I also tried Squeezer.exe /d ./s100 s100.pack .binary .binary 5. Then I tried extracting/repacking it as "d180.pack" since I have a mod that uses "d170.pack" (Ultimate Wizards ver. 2 mod). I also tried removing the d170.pack mod, and just extracting s110.pack, and repacking it as "d130.pack" hoping it would load/overwrite anything in those d1--.pack files, since it did not seem to work when making my own modded version of s110.pack... I finally gave up, lol. But I'm thinking it has something to do with my repacking commands? ie., the compression, encryption? I'm not sure I'm using the .binary (for no compression) and another .binary (for no encryption), and "5" (for compression level) correctly?
 
try first changing some of the preset colors of the Wizards ,since that is what I did succesfully,like e.g. changing Orange from Dragon Queen to Red(color number 3 iirc,or 5,just look what Tendragl the "Dragon" has.
-Make a copy of the Warlock directory,always only work with the copied directory
-Get the original Fractions.bin file,located iirc in D110,move it into a folder that you created first,folders have to start with dxxx,so e.g. d180.
-Convert it to xml:" TXMLConvert.exe /tUTF8 fractions.binary fractions.xml
-Change the settings over some text editor.
-Reconvert to bin file via "TXMLConvert.exe /tbin fractions.xml fractions.binary", you have to be in the d180 folder to do this.
-remove all xml files and the txmlconvert.exe from the d180 directory
-go back to Warlock directory and do "Squeezer.exe /d ./d180 d180.pack"
-move the d180.pack to the original Warlock folder
-start game

If you get this working, you can try changing the color parameters in the logicparams file,because you then know how to do it right.
It might very well be though,that the game wont work with this,as in it will crash despite you doing everything right...
 
Last edited: