• Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

bers

<b>Ino-Co</b><br>Lead Programmer
2 Badges
Oct 5, 2007
6
0
ino-co.com
  • Warlock: Master of the Arcane
  • 500k Club
Hi all,

There are two core command line tools for modding:

View attachment Squeezer.exe
Can extract data packs (*.pack)

Use it like this: Squeezer.exe /e d100.pack ./d100

:excl: all data files in subsequent packages replace previous files with the same name. So, if you want to get latest version, f.e., spells.binary, see it in d120.pack first, then in d110.pack and last in d100.pack.

When you want to replace some files, do it like this:
1. place all files into one folder (f.e. "mod")
2. pack files into archive with greater number (f.e. d200.pack) with command line:
Squeezer.exe /d ./mod d200.pack


View attachment TXMLConvert.exe
converts file with binary logic data into xml format.

pay attantion on *.binary files


Place them into game folder (Steam\SteamApps\common\Warlock - Master of the Arcane\)


<< View attachment Warlock_Modding_Tools.rar - both files in a .rar archive in case you have problems getting .exe files >>
 
Last edited:

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
Thanks bers,
This is just what I needed to get started. Can't wait to go home now :)
One question: are these generic modding tools or just for Warlock?
Modjo
 

Polite_Orc

Corporal
3 Badges
Aug 4, 2010
33
0
  • Majesty 2
  • Warlock: Master of the Arcane
  • 500k Club
Thanks for tools

Can you tell me what I am exactly doing wrong with TXMLConvert.exe : D
I'm not a programmer :/
I copied spells.binary and TXMLConvert.exe at one folder. Then i try to open TXMLConvert.exe in cmd.exe with "/tbin spells.binary .\spells" or "/tbin spells.binary spells.xml"
It wrote then - "src file not found: spells.binary"
 

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
Thanks for tools

Can you tell me what I am exactly doing wrong with TXMLConvert.exe : D
I'm not a programmer :/
I copied spells.binary and TXMLConvert.exe at one folder. Then i try to open TXMLConvert.exe in cmd.exe with "/tbin spells.binary .\spells" or "/tbin spells.binary spells.xml"
It wrote then - "src file not found: spells.binary"
Hi,
Assuming you have downloaded warlocktools on your desktop, it goes like this:
  1. open cmd.exe
  2. cd Desktop\warlocktools
  3. txmlconv.exe spells.binary
You should now have now a spells.xml file in your folder.
Enjoy!
Modjo

[EDIT] I am using the txml converter from this thread, I hope it works the same.
 

bers

<b>Ino-Co</b><br>Lead Programmer
2 Badges
Oct 5, 2007
6
0
ino-co.com
  • Warlock: Master of the Arcane
  • 500k Club
I copied spells.binary and TXMLConvert.exe at one folder. Then i try to open TXMLConvert.exe in cmd.exe with "/tbin spells.binary .\spells" or "/tbin spells.binary spells.xml"
\t - target format. For convert spells.binary->spells.xml use this: TXMLConvert.exe /tUTF8 spells.binary spells.xml
 

saroumana

Sergeant
6 Badges
May 22, 2010
85
0
  • A Game of Dwarves
  • Majesty 2
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
  • Stellaris Sign-up
When i unpack and repack the same file (d110) without any modification the game crash. Any idea of the reason ? (this file don't have the same weight before / after).
 

bers

<b>Ino-Co</b><br>Lead Programmer
2 Badges
Oct 5, 2007
6
0
ino-co.com
  • Warlock: Master of the Arcane
  • 500k Club
When i unpack and repack the same file (d110) without any modification the game crash. Any idea of the reason ? (this file don't have the same weight before / after).

original data was packed with special parameters:
* .wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb for "don't compress" and "don't encrypt"
* compression level is 5

example script for repack:
mkdir d110
Squeezer.exe /e d110.pack d110
del /Y d110.pack
Squeezer.exe /d ./d110 d110.pack .wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb .wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb 5
 

BjornB

★Community Manager★
Administrator
Super Moderator
Moderator
82 Badges
Apr 2, 2012
4.784
13.977
  • Majesty 2 Collection
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • For The Glory
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Starvoid
  • Crusader Kings II: Sword of Islam
  • Ancient Space
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • A Game of Dwarves
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
First of all I must thank bers for posting these tools. Much appreciated :)

Then I want to clarify that bers has no official obligation to support modding as it is nothing that they have been contracted to do. Whatever help he offers in these forums is awesome and all that. But if you ask him a question and you don't receive an answer. Please be understanding that he may be busy doing the stuff that he is required to do.
 

saroumana

Sergeant
6 Badges
May 22, 2010
85
0
  • A Game of Dwarves
  • Majesty 2
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
  • Stellaris Sign-up
It's great to see a member of ino-co here. Thank you for your reply, it's working well.
 

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
First of all I must thank bers for posting these tools. Much appreciated :)

Then I want to clarify that bers has no official obligation to support modding as it is nothing that they have been contracted to do. Whatever help he offers in these forums is awesome and all that. But if you ask him a question and you don't receive an answer. Please be understanding that he may be busy doing the stuff that he is required to do.

Then a big спасибо to you Bers!
 

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
Hi,
I was trying Squeezer out and I got an error message saying:
The program can't start because BMCore.dll is missing from your computer. Try reinstalling the program to fix the problem.
Any idea what I am missing?
 
Mar 14, 2003
10.029
0
Hi,
I was trying Squeezer out and I got an error message saying:
The program can't start because BMCore.dll is missing from your computer. Try reinstalling the program to fix the problem.
Any idea what I am missing?

Did you install to the default location? What OS do you have? What file path is the game installed on?
 

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
Sorry I figured out immediately afterwards how to solve this and I meant to delete my post but it didn't work. I just copied the dll from warlock to the folder I am working from. I prefer not to work in the install directory so as to not mess things up.
 

Stefff

Private
38 Badges
Jan 16, 2011
24
15
  • Arsenal of Democracy
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • BATTLETECH
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Pillars of Eternity
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Victoria 2: A House Divided
  • Sengoku
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • March of the Eagles
Hi,

I get an error on startup: "cannot load 'logicparams.binary': TXML file 'logicparams.binary' is not a binary or unknown format!"

I used this to repack: "Squeezer.exe /d ./d140 d140.pack .wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb.wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb 5"

The only file in this folder is "logicparams.binary" (after converting to xml, changing the xml and reconverting to binary with "TXMLConvert.exe \tUTF8 logicparams.binary logicparams.xml" and "TXMLConvert.exe \tUTF8 logicparams.xml logicparams.binary").

Has anyone an idea what I'm doing wrong?
 

Modjo

Captain
57 Badges
Aug 1, 2012
485
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
  • Rome Gold
  • Majesty 2 Collection
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Horse Lords
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Shadowrun Returns
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Conquest of Paradise
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
Hi,

I get an error on startup: "cannot load 'logicparams.binary': TXML file 'logicparams.binary' is not a binary or unknown format!"

I used this to repack: "Squeezer.exe /d ./d140 d140.pack .wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb.wav.ogg.ogm.mp3.avi.dds.png.tga.jpg.fev.fsb 5"

The only file in this folder is "logicparams.binary" (after converting to xml, changing the xml and reconverting to binary with "TXMLConvert.exe \tUTF8 logicparams.binary logicparams.xml" and "TXMLConvert.exe \tUTF8 logicparams.xml logicparams.binary").

Has anyone an idea what I'm doing wrong?

Hi Steff,
Actually you need to use the option \tbin to convert an xml back into binary format. At the moment logicparams.xml and logicparams.binary should have the same size. Try using this instead: "TXMLConvert.exe \tbin logicparams.xml logicparams.binary" and check that the .binary file is smaller than the .xml file.