MCPcopy Index your code
hub / github.com/ZakisM/bl3_save_edit

github.com/ZakisM/bl3_save_edit @v0.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.6 ↗ · + Follow
2,656 symbols 3,407 edges 111 files 900 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build

Borderlands 3 Save Editor

A tool to help you modify your Borderlands 3 Saves and Profiles.

Currently it runs on Windows, Mac OS and Linux. It supports modifying PC saves as well as decrypted PS4 saves (and converting between them).

Screenshot

Screenshot 2021-10-13 at 16 03 15

How to use

Visit Releases and download the corresponding version for your platform.

Unzip and open the editor, then double click to run it. On the first start it will ask you to point it to the folder/directory where your saves/profiles are stored. Once you have pointed it to a valid folder it will remember this folder the next time you open the program.

Notices

The editor will make backups for you before saving your files, but I recommend you make your own backups just in case.

Building from scratch

First you must install Rust.

Then, clone the project and run:

cargo build

For a release optimized build run:

cargo build --release

Credits

Huge credits to apocalyptech for their editor at https://github.com/apocalyptech/bl3-cli-saveedit. The majority of this code was based off of their work.

Thanks to HackerSmacker for their PS4 bitmasks: https://github.com/HackerSmacker/CSave/blob/022c4e78ac7fa68e2338804bc0148ac9be3296f7/FileTranslator.c.

Huge thanks to Levin from Lootlemon for providing items that are available to import inside the editor!

Thanks to those who created these docs:

  • https://docs.google.com/spreadsheets/d/1XYG30B6CulmcmmVDuq-PkLEJVtjAFacx7cuSkqbv5N4
  • https://docs.google.com/spreadsheets/d/16b7bGPFKIrNg_cJm_WCMO6cKahexBs7BiJ6ja0RlD04
  • https://docs.google.com/spreadsheets/d/1v-F_3C2ceaFKJae1b6wmbelw_jLjmPPriBLzGTZMqRc

Tool to download data from these docs can be found here.

Thanks to the iced project for allowing me to create a user interface like this!

Thanks to the Ajour project for their methods of bundling Rust Apps as well as updating them.

Extension points exported contracts — how you extend this code

ErrorExt (Interface)
(no doc) [3 implementers]
bl3_save_edit_ui/src/util.rs
ErrorExt (Interface)
(no doc) [1 implementers]
bl3_save_edit_core/src/error.rs
SearchableCategorizedParts (Interface)
(no doc) [3 implementers]
bl3_save_edit_ui/src/views/item_editor/parts/mod.rs
GameDataExt (Interface)
(no doc)
bl3_save_edit_core/src/game_data/mod.rs
SearchablePart (Interface)
(no doc) [2 implementers]
bl3_save_edit_ui/src/views/item_editor/parts/mod.rs
InteractionExt (Interface)
(no doc) [1 implementers]
bl3_save_edit_ui/src/views/mod.rs
ItemEditorStateExt (Interface)
(no doc) [1 implementers]
bl3_save_edit_ui/src/views/item_editor/mod.rs

Core symbols most depended-on inside this repo

is_empty
called by 201
bl3_save_edit_core/src/arbitrary_bits.rs
clear
called by 150
bl3_save_edit_core/src/protos/oak_save.rs
style
called by 147
bl3_save_edit_ui/src/views/item_editor/extra_part_info.rs
get_unknown_fields
called by 94
bl3_save_edit_core/src/protos/oak_save.rs
as_ref
called by 89
bl3_save_edit_core/src/protos/oak_save.rs
into_element
called by 88
bl3_save_edit_ui/src/views/mod.rs
len
called by 70
bl3_save_edit_core/src/arbitrary_bits.rs
get_cached_size
called by 64
bl3_save_edit_core/src/protos/oak_save.rs

Shape

Method 2,261
Class 209
Function 116
Enum 63
Interface 7

Languages

Rust100%

Modules by API surface

bl3_save_edit_core/src/protos/oak_save.rs955 symbols
bl3_save_edit_core/src/protos/oak_profile.rs843 symbols
bl3_save_edit_core/src/protos/oak_shared.rs268 symbols
bl3_save_edit_core/src/bl3_save/character_data.rs42 symbols
bl3_save_edit_core/src/bl3_item.rs42 symbols
bl3_save_edit_core/src/bl3_profile/profile_data.rs37 symbols
bl3_save_edit_core/build.rs26 symbols
bl3_save_edit_ui/src/bl3_ui_style.rs24 symbols
bl3_save_edit_ui/src/views/item_editor/mod.rs21 symbols
bl3_save_edit_ui/src/bl3_ui.rs14 symbols
bl3_save_edit_ui/src/views/item_editor/parts/current_parts.rs13 symbols
bl3_save_edit_ui/src/config.rs13 symbols

For agents

$ claude mcp add bl3_save_edit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page