Battle Brothers

Battle Brothers

View Stats:
This topic has been locked
Shank Lord Jan 23, 2018 @ 5:08am
BB-Edit, a save editor for Battle Brothers
Google Drive folder[drive.google.com]

From 1.5.* it's for 1.4.0.32 patch with B&E, WotN and Balding Desserts DLCs.

No, I will not make this compatible with X mod.

If you want to apply a patch (presuming your version is lower than the patch), you have to extract the patch archive into resources/app folder of your bb-edit.
Last edited by Shank Lord; Aug 20, 2020 @ 6:53pm
< >
Showing 16-30 of 746 comments
Estieukua Jan 30, 2018 @ 12:39pm 
And, once it's up and running with the instructions page etc., and you've managed to load a list from a save file and try to switch one item (e.g. a generic weapon, such as a spear) for a different item (e.g. a named weapon), why do you have no option but to accept the first/only named weapon that's presented to you (which is always a dagger)?

Whenever you try to switch any item, of any type, for another item, you always get just one option for the new item (always the exact same one for each type of item) and can't sort through (e.g.) different sub-types of named/generic weapons/shields/armours/helms.
Shank Lord Jan 30, 2018 @ 1:19pm 
Because you can change the ♥♥♥♥♥♥♥ id after you change the type. So yeah, you have an option. An option to stop being stupid.
Last edited by Shank Lord; Jan 30, 2018 @ 1:20pm
Phunisher Jan 30, 2018 @ 2:15pm 
Ok, the problem I was having is that the extraction is failing, without giving me errors, so I'm going to try and download another extraction utility. The .exe file was, for example, completely missing.
Phunisher Jan 30, 2018 @ 2:21pm 
Downloading winrar solved my problems, AllZip and UniExtract somehow ♥♥♥♥ the extraction up.
sogun Jan 31, 2018 @ 9:30am 
Excellent job Shank Lord!
Ichthyic Mar 15, 2018 @ 4:55am 
Originally posted by Shank Lord:
So yeah, you have an option. An option to stop being stupid.

lol.

still, people who have never used this kind of thing are likely expecting to just be able to see a list of items they can just select to replace the one they have highlighted. surely you have months and months to program that as a gui, right?

;)

.....

for the people who really cannot fathom how this works:

all of the item ids you need to change a named weapon/whatever to whatever class you want are in the dictionary.json file, which is just text so you can open it in any text editor and just search on the thing you want.

file:
C:\Battle Brothers - Lindwurm\BB-Edit win32-x64\BB-Edit win32-x64\resources\app\js\dictionary.json

or wherever you installed BBedit.

example.

you want to change your generic regular dagger to a rare 1h axe.

in bbedit, click on your dagger, change the template to "named weapon". then search dictionary.json for the ID associated with "Named Axe" (it's 266485FC).

copy that ID code, then paste it into the ID code box where you have your named item being edited. it will then change the named weapon type to "named axe" from the default "named dagger".

then edit the stats as you see fit and save it.

that's it.

note you cannot change the stats on generic items, though you can change the icons, which will change how it looks in game. so if you want your worn mail to look like the emporer's golden armor, you can do that just by changing the icon.

"oh, and how do I know what icons to use??" I hear you asking.

well, you can find all the UI icons for items also in the BBedit files.

C:\Battle Brothers - Lindwurm\BB-Edit win32-x64\BB-Edit win32-x64\resources\app\ui

there will be folders there for each type of item. the numbers listed in the file name of the icon, like

"inventory_body_armor_16.png"

will be the number you change the icon value to to get the item to look like that in game.

so if you wanted your armor to look like dire wolf leathers, you simply would change the icon value for your current armor to "16", and voila, now it looks like you are wearing dire wolf armor, regardless of what the actual armor you are wearing is.

the other thing to note, is that numbers are grouped within item types as well. so while you will see a standard increasing number for most of the armors, FACTION armors have their own numbering system. WTF does that mean? well it meas that say, you change the armor type to a faction armor, which is listed as "Heraldic Hauberk" in the dictionary.json file.

then to change the look of that armor, you would look at the numbers associated with the files that show faction armors.

so instead of the regular armor icons, you look at the files that resemble this instead:

"inventory_faction_armor_01.png"

and then use THOSE numbers. same for helms.

and likewise for named weapons, each has their own set of icons relating to the type of named weapon they are, and those are the ONLY ones you can use. so say you are again looking at your dagger, and changing that to a named axe.

the look of your named axe will depend on which NAMED AXE icon number you use. you cannot use a regular axe icon number. you only have the choice of using named axe numbers.

so, you go to your ...ui/weapons folder, and look up where you see named axes, and you see it start with:

"named-axe-1.png"

and as you scroll along, you see there are SIX named axe artwork types.

so, in the icon field, you can pick any icon from one to six for the artwork for your axe.

if you pick anything other than a number from 1 to 6, it will bork and your icon will not display.

the number of icons for you to choose from varies from item to item. for named bows, there are only 3 choices, for axes 6, for maces 4, etc.

other things to note:

-bonuses to armor penetration are in decimal fraction, and ADD to the base values for the item, so if an axe normall has 35% armor penetration, and you enter 0.25 in the value for the bonus, that axe will now have 60% armor penetration.
the value for armor damage REPLACES the value instead of adds, so if you enter 2.5 it means your axe wll do 250% damage against armor.

to hit head chance and to hit chance are listed as straight percentages and add onto the base chance of the weapon. so if you enter 15 in the to hit head box, it will add 15% to the base chance to hit a head on strike to whatever already was on the weapon.

I think that covers everything?

if not, it covers more than enough.





Darren Mar 17, 2018 @ 1:39pm 
having trouble, my save game folder is empty even though i have save files?
ElDuderino Mar 28, 2018 @ 7:01pm 
Originally posted by Damien Black:
having trouble, my save game folder is empty even though i have save files?
I had this problem too. Found mine in Users>User Name>Documents>Battle Brothers

Good Luck.

Thanks for this Shank Lord.
Darren Apr 2, 2018 @ 8:51am 
Thanks pal!
Last edited by Darren; Apr 2, 2018 @ 8:51am
blindseye May 16, 2018 @ 1:01pm 
Ichthyic, wow, thanks for all of that information. It should be copied and pasted into a .txt file and included in the download as the ReadMe.txt file. +10 for this information.
Gopblin Jun 11, 2018 @ 9:26am 
Thank you for this, saves the trouble of 40+ hours grinding to test various endgame builds
Scar Glamour Aug 24, 2018 @ 5:16am 
Has anyone tried BB-Edit with the GoG version of the game?

I primarily use the DRM-free install, because it's portable. But editing my saves invariably breaks them for some reason.
Shank Lord Aug 24, 2018 @ 9:03am 
I do.
Scar Glamour Aug 24, 2018 @ 9:59am 
Originally posted by Shank Lord:
I do.
It works fine, I assume?
Shank Lord Aug 24, 2018 @ 10:03am 
Since I wrote it for myself running GOG version of the game - yes. Yes it does ;)

Won't work after devs update the game, though. I'll have to massively expand hex-dictionary, I guess.
Last edited by Shank Lord; Aug 24, 2018 @ 10:03am
< >
Showing 16-30 of 746 comments
Per page: 1530 50

Date Posted: Jan 23, 2018 @ 5:08am
Posts: 746