What's new

Tools Borderlands 3 CLI Save Editor v1.6.0

DOMIN8

Retired Green and Yellow
VIP
Retired
Messages
15,311
Reaction score
8,911
[Click here to view this link] by [Click here to view this link]

NOTE: This a command line save editor, there is no GUI for this at all.
However, it is still a powerful tool that will let you edit your saves to some degree.

Requirements:
Python and [Click here to view this link]
During the Python install, make sure you select the box that says something to the effect of "add to PATH". This will allow you to run commands from your command prompt or Powershell.

Protobuf Setup:
  1. Extract the protocol folder to a location on your PC and make sure not to move it.​
  2. Open your control panel and click on Advanced system settings.​
  3. Click Environment Variables​
  4. Click on your Path and click Edit.​
  5. Click new and paste in the location of the protocol exe.​
  6. Click Ok.​


You should now be able to use command prompt or Powershell to use the editor. The link to Github page for it will have a list of some of the common commands you can use and I'll list a couple here as well. If you are not already in the location for your save you will need to put the full path to the save in your commands. IE: C:\Users\USER\Documents\SAVE\3.sav

Install BL3 CLI Editor
Code:
pip3 install bl3-cli-saveedit
Update BL3 CLI Editor
Code:
pip3 install --upgrade bl3-cli-saveedit
Basic Operation
Code:
bl3-save-edit old.sav new.sav
For the most part, this is what you'll use with whatever changes your are making and you can combine multiple commands at the same time.

Examples:
Code:
bl3-save-edit old.sav new.sav --level 20
bl3-save-edit old.sav new.sav --level-max --money 999999 --eridium 9999
Item Leveling:
Code:
bl3-save-edit old.sav new.sav --item-levels 57
or
bl3-save-edit old.sav new.sav --items-to-char
Unlocks:
Code:
bl3-save-edit old.sav new.sav --unlock backpack
bl3-save-edit old.sav new.sav --unlock resonator
bl3-save-edit old.sav new.sav --unlock comslot
bl3-save-edit old.sav new.sav --unlock artifactslot
bl3-save-edit old.sav new.sav --unlock vehicles

or alternatively
bl3-save-edit old.sav new.sav --unlock all
I recently reached out to the creator of this and spoke to them about using the editor to export items as well. There are commands to export a list of items in inventory as well as a .json file that can be edited and reimported as well. If you are familiar with editing .json files from BL2, this is very similar. Here is some info on those processes:

Export Items/JSON Files:
Code:
bl3-save-edit old.sav new.json -o json
bl3-save-edit old.sav new.txt -o items
Using the Items text file you'll see the familiar BL3() item codes and these can be imported into any other save using the import function. You can use a JSON editor to open the .json file to manipulate things as well. I basically used this to copy mission data over from one character to another but, you should be able to edit challenges, discovered areas, etc. You can also simply change the character from one to another to essentially duplicate to a new character although, you will have to do some skill adjusting afterwords.

Importing Files:
Code:
bl3-save-edit old.sav new.sav -i items.txt
bl3-save-import-json -j edited.json -t old.sav

Like I said, there are much more commands than this that can be found on the Github page as well as more information about the editor. Also remember that dealing with any save modification, MAKE BACKUPS FIRST.
 
Last edited:

zam1419

Newbie
Messages
2
Reaction score
0
Wanted to try this but I think Github is down. Would be nice if you could mirror the downloads. Appreciate the share btw
 

Jarodkyle

Newbie
Messages
7
Reaction score
2
would it be easy to create custom quick codes for Borderlands 3 if advanced mode isnt going to be available in save wizard anytime soon.
 

ProtoBuffers

Fragile do not drop
Premium
Messages
961
Reaction score
454
would it be easy to create custom quick codes for Borderlands 3 if advanced mode isnt going to be available in save wizard anytime soon.
you can't create quick codes if you can't see the save...
 

DOMIN8

Retired Green and Yellow
VIP
Retired
Messages
15,311
Reaction score
8,911
From apocalyptech:

The main update is compatibility with the various new stuff added in today's patch: it understands the new items, new cosmetics, extra mayhem levels, and extra SDUs. This hasn't received a lot of testing w/ the new stuff, so do let me know if there's problems.

The other bigger update is that there's another set of utilities which can do some work on the main profile.sav as well, such as importing/exporting in JSON/Protobuf, importing/exporting bank items, unlocking cosmetics, and (my favorite) alphabetizing your room decorations, trinkets, and weapon skins.

A few other assorted improvements and bugfixes are included as well. Once again, let me know if there are problems!
 

DOMIN8

Retired Green and Yellow
VIP
Retired
Messages
15,311
Reaction score
8,911
Updated with capability to set Mayhem levels on gear.
 

DOMIN8

Retired Green and Yellow
VIP
Retired
Messages
15,311
Reaction score
8,911
Updated today with Guardian Takedown additions.

Also updated with the ability to randomize save_gui_id.
 

EdgarHighmen

Newbie
Messages
1
Reaction score
0
For BL2 there was a line you could change in one of the editors (toggle or manual edit don't remember) to set the max ammo pool for each weapon type (might have been SDU related) above 1 million. Is this possible (or similar) with this method? More or less "infinite" ammo because pool was so extroardinarily large and you could just refill it at the ammo machines if ever need be.
 
Top Bottom