[Tool] xLord - xml editor

Currently Viewing (Users: 0, Guests: 1)

DigitalSauce

Recruit
Best answers
0


The test version of xLord.exe is now available as a .rar file and makes use of the .NET runtime available from Microsoft.

If you don't have the runtime, you can download it using the link provided and following the image below.



This is a very limited version as of now, a lot of UI stuff isn't even working yet, including hotkeys.

I have included 1.4.1 source files from Bannerlord in the .rar file, these files are currently supported/required for editing. You don't even need the game installed to create a lord overhaul with the .rar file provided. The Tools/Options window allows you to set the path to this 1.4.1 file folder, by default the path is pointed at the default installation path of Steam and Bannerlord.

Using these separate source files is actually a good idea so you can replace the files in the game without causing any import issues in the process (you can import edited source files as source files).

You should expect the possibility of crippling bugs and potentially losing all of your work because of an update. I don't recommend making mods with this tool yet because of that. However, I have printed a very simple lord overhaul using the tool and project saving seems to be working fine, so this version should be stable enough to assist with lord editing if you wish to use it that way.

Where is my project file?

xLord creates an "xLord" folder in your documents folder on your user path that stores new project files.

The xLord folder also contains the output folder for exported .xml files.

Known quirks and bugs
  • You can do anything, easily create .xml's with this tool that will not work, for example: making a character's age equal "bananas"
  • There are blank fields on minor characters, special use cases not addressed during import, editing should still work for export
  • The app exports 4 files but only 2 contain useful data, you only need lords.xml and heroes.xml, clan editing and kingdom not done
  • The app can crash silently because of very little exception handling on my part
 
Last edited:

John_M

Subforum Moderator
M&BWBWF&SNWVC
Best answers
0
Very nice, should help a lot in saving time from editing all these xmls:party:
 

DigitalSauce

Recruit
Best answers
0
Work continues on xLord.

I hit a snag which has taken some time to fix. Refactoring the code was necessary and it resulted in reworking the whole object view much sooner than expected. Now the object view can be configured much better than before. More importantly, the saving/loading system is finally underway and the project can be saved to the disk successfully.

I started working on a simple Paint file that represents the layout with any future editors I can think of, so far I have troops, companions, crafting, settlements, and dialogue listed.

Any other ideas?
 

Lyceria

Squire
WB
Best answers
0
Just right on time for my new campaign! Thanks A Lot!

Edit: Can't explain how epic this is! Going to be groundbreaking for me, that is for sure!
 
Last edited:

DigitalSauce

Recruit
Best answers
0
Lyceria is right but I also just noticed I uploaded the wrong source files/folder.

The folder "Mount & Blade II Bannerlord - 1.4.1 files" should've contained "Modules/SandBox/ModuleData" to mimic the game's directory.

The link now contains the correct folder structure. You can also add these folders yourself.
 

TheHangover

Sergeant at Arms
WBWF&S
Best answers
0
Can I ask how did you do this? I really want a xml editor but looks like nobodys making one right now.Maybe if I see the source code of this editor I can make completed one.I'm not sure tho but I'll try to understand how to do it.
 
Last edited:

TheHangover

Sergeant at Arms
WBWF&S
Best answers
0
I can't decompile this editor I tried everything.I just need to see the code you wrote to maybe able to make a completed one.Ofc if you want to show the code. I just want a xml editor to make things eaiser.