int19h / WarBender

WarBender: a Mount & Blade: Warband save game editor
MIT License
28 stars 7 forks source link

how do i make wmmx of other modules? #10

Open dadigger opened 4 years ago

dadigger commented 4 years ago

hello, i did alot of research, in the end i found not a single way to make wmmx of modules. can you pls make wmmx of some warband modules such as Vikings conquest. Because i have no idea how to do it and where to run the py -2 py2wmmx.py module_constants.py >output.xml command. thanks

int19h commented 4 years ago

Writing a schema for a module is a rather tedious exercise, so I'm not going to do this for modules that I don't play myself.

However, I can help you figure things out. For py2wmmx, the starting point is obtaining the module system source for the module that you're trying to cover. You can usually try finding those by searching for "... module system", but keep in mind that not all modules release sources. For Viking Conquest, it's in the Downloads section on the official website, under "Other".

You will also need to install Python 2 to run it - Python 3 won't work.

When you unzip the module system, you will see where module_constants.py is. Then you can open a command prompt there, and run the command to generate XML.