Battle Brothers

Battle Brothers

View Stats:
TooT_PikK Sep 2, 2019 @ 6:29pm
Is there a way to 'cheat' to get a potion of oblivion?
Really want a way to respec a battle brother without fighting the kraken as its too early game for it. Unfortunately BBedit won't work for me as I am using a mod that adds new perks ig. So here looking for help please. Is there a mod/cheat to give potion/s of oblivion for perk respec for battle brothers?
< >
Showing 1-12 of 12 comments
Estieukua Sep 2, 2019 @ 9:36pm 
If you want to edit it directly into the save-file, the bytes for the potion are:

7F 71 6E D5 00 00 00 00 00 80 3F 00 00 80 3F

Just put a number of common items (with known bytes) in your inventory in a recorded sequence, and then save+exit the campaign, find the sequence of items in the save-file, change them into potions of oblivion, save the file, re-load the campaign, and you should have a whole load of oblivion potions at your disposal ...
Abel Sep 3, 2019 @ 2:26am 
You can also mod a command to add them to your inventory (look for the devmode in world_state).
TooT_PikK Sep 5, 2019 @ 3:17am 
Originally posted by Abel:
You can also mod a command to add them to your inventory (look for the devmode in world_state).
I tried to google devmode in world_state, nothing shows up.
TooT_PikK Sep 5, 2019 @ 3:18am 
Originally posted by Estieukua:
If you want to edit it directly into the save-file, the bytes for the potion are:

7F 71 6E D5 00 00 00 00 00 80 3F 00 00 80 3F

Just put a number of common items (with known bytes) in your inventory in a recorded sequence, and then save+exit the campaign, find the sequence of items in the save-file, change them into potions of oblivion, save the file, re-load the campaign, and you should have a whole load of oblivion potions at your disposal ...
Could you please tell me what program you use to open the save file? I tried notepad but the data just shows up as gibberish.
Estieukua Sep 5, 2019 @ 8:59am 
I use HxD to do it. With HxD loaded and the relevant save-file opened, you go to Search>Find (Ctrl+F) and then need to remember to select the "Hex Values" tab from the top of the search box that pops up. Then paste the relevant bytes into the search box, and find the sequences of items that you placed in your inventory. If you don't already know the byte values for any items that you can place in your inventory, I've got a massive list that I've compiled, so just ask.
Last edited by Estieukua; Sep 5, 2019 @ 9:08am
Abel Sep 5, 2019 @ 10:23am 
Originally posted by Parsley the Levy:
I tried to google devmode in world_state, nothing shows up.
You need to decompile the scripts first (check the modding page of the wiki on how to do that). world_state is in the config folder.
TooT_PikK Sep 5, 2019 @ 9:21pm 
Originally posted by Estieukua:
I use HxD to do it. With HxD loaded and the relevant save-file opened, you go to Search>Find (Ctrl+F) and then need to remember to select the "Hex Values" tab from the top of the search box that pops up. Then paste the relevant bytes into the search box, and find the sequences of items that you placed in your inventory. If you don't already know the byte values for any items that you can place in your inventory, I've got a massive list that I've compiled, so just ask.


Trying to get this to work by turning quiver of arrows into the potion of oblivion.
I figured the quiver of arrow is:
5A 5F F9 66

I found their code:
5A 5F F9 66 00 00 00 00 00 80 3F CD CC 4C 3F 0A 00 01

So I tried to change
5A 5F F9 66 00 00 00 00 00 80 3F CD CC 4C 3F
to
7F 71 6E D5 00 00 00 00 00 80 3F 00 00 80 3F

When I tried to load the save game, I just get error message and CTD.

Any idea what I am not doing correctly?
Last edited by TooT_PikK; Sep 5, 2019 @ 10:08pm
prasejednomalo Sep 7, 2019 @ 11:56am 
Very useful, thanks!
Estieukua Sep 7, 2019 @ 1:10pm 
Originally posted by Parsley the Levy:
Originally posted by Estieukua:
I use HxD to do it. With HxD loaded and the relevant save-file opened, you go to Search>Find (Ctrl+F) and then need to remember to select the "Hex Values" tab from the top of the search box that pops up. Then paste the relevant bytes into the search box, and find the sequences of items that you placed in your inventory. If you don't already know the byte values for any items that you can place in your inventory, I've got a massive list that I've compiled, so just ask.


Trying to get this to work by turning quiver of arrows into the potion of oblivion.
I figured the quiver of arrow is:
5A 5F F9 66

I found their code:
5A 5F F9 66 00 00 00 00 00 80 3F CD CC 4C 3F 0A 00 01

So I tried to change
5A 5F F9 66 00 00 00 00 00 80 3F CD CC 4C 3F
to
7F 71 6E D5 00 00 00 00 00 80 3F 00 00 80 3F

When I tried to load the save game, I just get error message and CTD.

Any idea what I am not doing correctly?

You should have replaced the whole of "5A 5F F9 66 00 00 00 00 00 80 3F CD CC 4C 3F 0A 00" (including the "0A 00" on the end - the "0A" being the ammo count of 10) with the potion's bytes. It doesn't matter that the new item contains more bytes than the one replaced.

Normally, I highlight all of the bytes I want to replace, and paste in the new replacement bytes ("Paste Insert", Ctrl+V), and (if the switched items have different byte sizes) the programme asks me if it's okay that the edit alters the file-size, and I say yes and then it's done.

Note, however, that the "01" at the end of the quiver's bytes (as you posted above) isn't actually part of their bytes. There are "01" bytes separating all of the items in the inventory, and these aren't a part of any items and should be left in place (although in some cases there will chance to be an "01" byte that's actually a part of an item).

With the change that you made, there are probably still some "0A 00" bytes immediately after the potion's bytes in the save-file, and the game will be interpreting these as part of the potion's bytes and thus not recognizing the item. If you simply delete the "0A 00" (but leave the "01" between the bytes for the potion and the next item), it hopefully should load again.
goldsnake Mar 12, 2020 @ 9:11am 
Install HxD, but I don't understand how search arrows? "5A 5F F9 66" cannot find
Abel Mar 12, 2020 @ 9:21am 
Look for the 'debug mode' of tweaks and fixes on Nexus. It has a command which adds a potion of oblivion in the inventory.
Unimax Feb 26, 2023 @ 5:01pm 
3-year-old post :) . I use BB editor only for that portion.

Havent found a standalone mod for the same :( .


https://www.nexusmods.com/battlebrothers/mods/294
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Sep 2, 2019 @ 6:29pm
Posts: 12