GithubHelp home page GithubHelp logo

fromdarkhell / bl3saveeditor Goto Github PK

View Code? Open in Web Editor NEW
227.0 7.0 44.0 3.19 MB

A desktop based save and profile editor for Borderlands 3

License: GNU General Public License v3.0

C# 97.28% Python 2.63% PowerShell 0.09%

bl3saveeditor's Introduction

Borderlands 3 Save Editor

A desktop based save and profile editor for Borderlands 3.

Installation / Usage

  1. Download the exe/zip for your respective OS/setup available on the Releases tab.
    • Which one do I download? If you don't know which one to download, you probably will want to download BL3SaveEditor-Portable.ziphere. This is a self-contained windows binary. If that one doesn't launch for you, try downloading BL3SaveEditor.ziphere.
  2. Then you download / run the exe
  3. Click Open, then you can select either a profile (profile.sav) or a game save ([NUMBERS].sav).
  4. You can now edit your profile or game save to your hearts content!
  5. Once you think you're done editing your saves, you can save your file with either the Save button (which will overwrite your loaded file), or use the Save As button, allowing you to save to a new file. In either case, it will make backups to help keep your saves protected!

Credits

Support

If you for some reason want to support me financially for this project (or others I make), you can donate to me via ko-fi or Patreon.

ko-fi Support me on Patreon

bl3saveeditor's People

Contributors

ejfudd avatar fromdarkhell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bl3saveeditor's Issues

Unable to save badass spent tokens

Hello, I am writing this because whenever i try to save the spent tokens it lightly flashes blue on save and gets stuck there and then stops. I go into the game to see if it saved and it doesn't, i have tried save as also, i go into the random numbers folder and then profile.sav and it still doesn't save the badass tokens spent. Any help for this?

Unable to open ps4 save files

I saw that this editor supported ps4 save files but when i import my ps4 save to my computer the editor does not recognize it at all. Idk if I am doing something wrong or not but can you please let me know and if I am being stupid on something can I be helped to better understand it

Outdated SerialDB + Item Names

GBX added a new update which added some cosmetics into the SerialDB. Currently updating the item names DB also requires updating the PythonSDK to fix a few bugs that got thrown in with the new update (:

more of a feature request

i'd really like to be able to add Loot O Grams to my inventory
when i try to add one now it gives "Error parsing serial: Value cannot be null. Parameter name: propertyName"

Attempting to Add "Limited Time Heads" causes CTD in tool

As I was attempting to add heads that were from limited time events, the save editor crashes. When I added them manually by adding a valid item, and adjusting the item balance and inventory data to match these items, loading the editor gives an "Out of Index" error.

FL4Kenstein's Monster via expired code | CustomHead_Beastmaster_25
Camoufl4ge Epic; unlocked through Vault Insider Program (VIP) | CustomHead_Beastmaster_26
4NU Bust (Borderlands 3 content creator head) | CustomHead_Beastmaster_27

These were the only ones that I had issue adding for FL4K.

[Feature Request] Add ability to search parts and anointments lists

A nice feature to have would be to have the ability to search parts and anointment dropdown lists and have the dropdown lists dynamically remove items that do not meet the search criteria.

This would require some sort of mechanism to key in a search phrase. Maybe have the combo box clear the text out and use that for keying in the search criteria. The currently selected item would then need some sort of indicator so that it stands out in the list like different color text or background.

Error opening a save file

I tried opening my Steam Amara save file and I got an error titled "Save Parse Exception." Opening other character save files and my profile save file worked just fine so it's just my Amara that has this issue. I've attached an image of the error message, the Amara save file, and images of each tab of the save editor after trying to open it. After I click OK on the message, I can look through the tabs and majority of it is empty. It recognizes that it's my Amara save and has the playtime on it but every thing else is blank. No money, weapons, fast travel, etc.
BL3Save.zip

Paste Code doesnt work

HI

i tried several codes in paste code option, but everythime i get: Error parsing serial and that the lenght, array seems to be invalid (sorry is written in english)

here are the debug infos:

Pasting serial code: eyJjb3B5VHlwZSI6Iml0ZW0iLCJsZXZlbCI6NTcsImJsdWVwcmludCI6IkJQSW52X1NoaWVsZERhdGFfQyBTaGllbGRfRGVmYXVsdC5TaGllbGRfRGVmYXVsdCIsImJhbGFuY2UiOiJJbnZCYWxEX1NoaWVsZF9YUExvb3RCb29zdGVyLkludkJhbERfU2hpZWxkX1hQTG9vdEJvb3N0ZXIiLCJtYW51ZmFjdHVyZXIiOiJBbnNoaW4uQW5zaGluIiwiY29tcG9uZW50TmFtZXMiOlsiU2hpZWxkX1BhcnRfQm9keV8wMV9BbnNoaW4uU2hpZWxkX1BhcnRfQm9keV8wMV9BbnNoaW4iLCJTaGllbGRfUGFydF9SYXJpdHlfQW5zaGluXzA1X0xlZ2VuZGFyeS5TaGllbGRfUGFydF9SYXJpdHlfQW5zaGluXzA1X0xlZ2VuZGFyeSIsIlBhcnRfU2hpZWxkX0F1Z19YUExvb3RCb29zdGVyLlBhcnRfU2hpZWxkX0F1Z19YUExvb3RCb29zdGVyIiwiUGFydF9TaGllbGRfQXVnX05vdmEuUGFydF9TaGllbGRfQXVnX05vdmEiLCJTaGllbGRfUGFydF9FbGVtZW50X0ZpcmUuU2hpZWxkX1BhcnRfRWxlbWVudF9GaXJlIiwiUGFydF9TaGllbGRfTWF0X1hQTG9vdEJvb3N0ZXIuUGFydF9TaGllbGRfTWF0X1hQTG9vdEJvb3N0ZXIiXSwiY29tcG9uZW50cyI6WzAsMSwyLDMsMyw0LDVdfQ
Exception (Ungültige Länge für Base-64-Zeichenarray oder -Zeichenfolge.) parsing serial: System.FormatException: Ungültige Länge für Base-64-Zeichenarray oder -Zeichenfolge.
bei System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
bei System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
bei System.Convert.FromBase64String(String s)
bei BL3Tools.GameData.Items.Borderlands3Serial.DecryptSerial(String serial) in J:\Coding Projecties\BL3SaveEditor\BL3Tools\GameData\Items\Borderlands3Serial.cs:Zeile 157.
bei BL3SaveEditor.MainWindow.PasteCodeBtn_Click(Object sender, RoutedEventArgs e) in J:\Coding Projecties\BL3SaveEditor\BL3SaveEditor\MainWindow.xaml.cs:Zeile 667.

save file getting corrupted uppon saving

here are the files:1=original.5=saved.zip

steps to reproduce:

  1. i opened my save file with the editor
  2. i saved the file with the editor

expected result: nothing is changed

actual result: a ~2kb file is created, instead of the original ~700kb, and it no longer works

notes: i think this might be caused by some strange custom items i have from way back, since it doesn't crash/corrupt my recently made Mose .sav

Example of a strange custom item

ideas for future update (if possible)

btw thanks for the quick fix on the last issue, all ideas are qol improvements.
so the first idea is maybe to allow for an option, when looking through some shall we say large inventories to alphabetically sort all the weapons in their respective groups. (by weapons name not prefixes due to many prefixes being available on multiple weapons)
i.e.
all weapons
a-z
sheilds
a-z
etc...
this is mostly just a little cleanup idea to remove unneeded duplicates.

second, is maybe in the event of accidental injection of quest only items, on purpose injection, or obtained in the campaign, to label with say red text all items that could be quest items by their name listing.

thanks in advance,

Changes made to items not saving

When changing a part in the editor, most changes won't register after the first change is made. I've tried reinstalling the software and everything I can think of to no avail. My only "fix" for this problem is to make the first change, switch to a different item, and then make another change right after. Not sure what's wrong with it unless it's a normal thing with the editor, in which case... why would that be a thing.

Apologies ahead if this has already been mentioned, but I looked and couldn't find one so I figured I would bring this to light.

Cannot edit spent Guardian Tokens

Don't really know what helpful information I can leave here - it's not like I've got a crash log or anything. Whenever I edit how my Guardian Tokens are spent in my profile.sav, it won't save the changes. If I edit the Golden Key or Diamond Key counts afterwards, or save and reload, or save, launch the game, close the game, and reload, the changes are reset. Editing Guardian Rank and unspent Guardian Tokens works just fine, so all this means is I can't reduce or reallocate spent tokens, and it takes forever to spend them all. Oh, and whether the Guardian Rank, unspent Guardian Tokens, and spent Guardian Tokens are logically consistent doesn't seem to matter, either.

Terror/BloodyHarvest Annointments missing from Generic Parts List

Terror Anointments are missing from the Generic Parts List. Terror Anointments on existing weapons/items are read as other things. Selecting the same, "incorrect" Anointment for pre-existing Terror Anointments does not change the Anointment. Not editing weapons with existing Terror Anointments does not cause them to change to non-Terror Anointments. (I mention this to point out that, while this bug would prevent granting Terror Anointments, it does not seem to harm weapons that already had Terror Anointments.)

Example:
An example "The Butcher" with code (copied using the current version of the Borderlands 3 Save Editor):
BL3(BAAAAADM84C+wWBBI2MaDshtQLhwPqMSLpgQAgAAAAAAkDEAAA==)

Displayed, in-game Anointment: While Terrified, you have a chance to fire an extra projectile per shot. The more terror you have, the higher the bonus.
Expected Generic Part: GPart_All_Passive_TerrorProjectilesPerShot
Expected Generic Part not found on list of Generic Parts. Could not find way to add it manually.
Generic Part Displayed on the Generic Parts List when weapon is opened in current versions of the editor: GPart_Siren_Cast_WeaponDamage

Hopefully a fix is easy, but no matter how easy it might be, it's beyond a non-coder like me.

PS4 saves dont show up in the editor

The save editor does not show the ps4 saves. When I was looking into the saves I saw that the SP4 saves do not have the .save part at the end of the save. I tried to decrypt it with PS4 MAX but that does nothing to add the .sav that is required to be seen in the save editor is there a way to make it possible to allow the saves that don't have the .sav in the end?

image_2022-07-16_165232260

Uploading image_2022-07-16_165408630.png…

"Profile" tab not working

I´m sorry, but why is the "profile" tab blacked out ?
I watched a few videos and most of them are able to access this feature.

Thank you for any valid response.

The items wont save

No matter what I do I can't seem to receive or keep the items I add to that save file. If I sync all the items that I already have to my level that saves, but any new items I add do not save. That is the only thing, all money, exp, and eridium that I add save, just not actual items.

PS4 Save Wizard Support?

Is there a way to make this have save wizard support. I know there is a way to use this without save wizard but I do not have bl3 on pc

Implement proper auto-updating for non-single file releases

This should be fairly simple when it's not built with SINGLE_FILE included, you can then change the args.DownloadURL to the proper form for an non-single file release.
This doesn't warrant an entirely new version so I'll bundle it into the next update if I remember.

When resizing the main window not all GUI elements resize properly.

The normal size of the main window is a bit small if you have a larger monitor. The app does have the ability to drag the edges and corners to resize, but not all GUI elements resize properly.

The Platform dropdown becomes too large and covers the other dropdowns in the General tab and the Profile tab.

The Inventory tab, the Add and Delete buttons for the Parts and Generic Parts panels do not stay docked on the right and left edges of the panels. They move to the center and cover each other until the width of the main window is large to accommodate both buttons.
Also the Parts and Generic Parts panels do get larger, but the scroll boxes containing the parts do not resize to the new panel size which results in a large open space at the bottom with a scroll bar on the right.

Edit:
It looks like the Platform Combo Boxes are both set to Stretch and should be Vertically Aligned to Top.
The Add and Delete buttons are set to Horizontal Right and Left justify and it should be swapped. The margins will need to be adjusted so the layout is the same.
The ListViews for the Parts and Generic Parts do not have auto enabled for the height attribute.

Implement serialization for inventory-keyless items

Certain items (i.e. ECHO Themes) can entirely lack an inventory key when we serialize the item; As long as it lacks actual parts, we don't really need the inventory key.
For now, the approach I've taken is to let the user be able to see but not modify the item if it lacks an inventory key, but in reality it only needs to block the addition of parts.

Unable to edit all class mod random stats

I am able to edit two of the three random class mod stats but one of the three will show up as ClassMod_Part_BeastMaster_01_Stats. Whenever I try to change this one it always reverts back to the beastmaster part.

Feature request. Customizations

Hey. I'm a perfectionist so I just noticed that as far as the weapon trinkets and room decorations go, there's a few missing. About 12 missing from room decorations and 2 from weapon trinkets. Everything else has all but would be cool if there was a unlock all car customizations as well. Thanks for the work!
@FromDarkHell

Lost access to a file?

Hi, I've been playing around with the BL3 Save Editor, and run into something similar to #20 (regarding the Index being out of range). What bothers me is that I can't even get back into it to access the file to fix the issue I caused, and was wondering if there was ANY WAY besides a nonexistent backup to fix the file.

For reference, here is the Debug info and a copy of the file giving me problems. Please convert the .txt to a .sav, since Github doesn't allow me to link it directly:
Save Game Version: 2
Package version: 516
Engine version: 4.20.3.2150113183
Build ID: OAK-PATCHWIN640-293
Custom Format Version: 3
Custom Format Data Count: 59
Save Game Type: OakSaveGame
Failed to load save (C:\Users\tjone\Documents\My Games\Borderlands 3\Saved\SaveGames\76561198082434027\44.sav) :: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at IOTools.IOWrapper.ReadInt32() in J:\Coding Projecties\BL3SaveEditor\IOTools\IOWrapper.cs:line 399
at BL3Tools.BL3Tools.LoadFileFromDisk(String filePath, Platform platform, Boolean bBackup) in J:\Coding Projecties\BL3SaveEditor\BL3Tools\BL3Tools.cs:line 63
at BL3SaveEditor.MainWindow.OpenSave(String filePath, Platform platform) in J:\Coding Projecties\BL3SaveEditor\BL3SaveEditor\MainWindow.xaml.cs:line 337
44.sav.txt

Thanks for your time.

Profile Tab

Currently unable to access the "Profile" tab on any save, tried reinstalling, hasn't worked.

Error Parsing save: Invalid BL3 save

Hello everyone. I have a problem, the client does not read me the saves.
(I had already modded the character with savewizard).
1.I open SaveWizard-> I select the character and open the advanced mode
2. Export the save and add ". sav" to the file name
3. I open BL3 save editor and search for the file
4. Opening gives me file parsing error

Feature request: all vehicle unlocks button

Not sure how else to reach out to request this, but a button that unlocks all vehicle mods and skins would be super awesome, because I spent AGES trying to find the last 6-7 skins and had no luck whatsoever.

Characters disappear after editting profile.sav

I just started using the editor and read through the tutorial on how to use it, and even watched a video about how to use it. I wanted to add more gold keys to my account, but upon saving in the editor and opening the game, none of my characters were accessible and it is forcing me to make a new character.

I have been on my main singleplayer run for a few weeks now, and would prefer not to restart now. I did look in the game files and all of my profiles are still visible, but for some reason they arent loading in game. Any reason why?

Add support for legitimate anointments

Currently the weapon editor doesn't verify anointments for legitimacy, in the future I'd like to add it. This really shouldn't be that hard to add and implement, but for now I wanted to get this out.

items don't show up in inventory

I add items with the program and save it but when I join game they are not there. When I load up that same save in saveeditor the items that I added are still there but I can't see them in game

How to reset a challenge/mission?

I'm trying to reset the DLC mission "Laid to Rust" because it is glitched and can no longer be progressed in my save file.

Here's what I've found so far.

In the "Raw" tab, under "ChallengeDatas", I've found the mission that I want to reset.

image

Unfortunately, simply unchecking the IsActive checkbox does not appear to do anything, because when I load my save in game, the mission is still active and glitched.

DLC 2 Glutton's Gamble items

New DLCs dropped for Tiny Tina's Wonderlands with a handful of new items. It would be great if you added those!

Constant Crashin

I've been working around with editing class mods in the game, among a couple other things, but the editor consistently crashes whenever i try to delete something, like its not once in a while, the Delete button on any item in my inventory insta crashes the editor

Modifying guardian rank stats does not save

BL3 Save Editor > Profile.Sav > modify stats to guardian rank (Accuracy, Action Skill Cooldown, Critical Damage, etc) > save

What should happen: The stats are modified and saved
What actually happens: The stats reverted back to their original state

Note: even making small changes like +5 on each category still causes it to revert back.

editor crash profile save corruption

so testing on profile save (thanks for reminding about backups!)
any edits done on profile save, for weapons level/mayhem mods or unlock room customizations and characters customizations.
edit1: also crashes/corrupts for just opening and then saving with no changes made
crash the editor during save/save as
corrupt the profile.sav can cant reopen with this error.
Error parsing save:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex

here is debug text:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at IOTools.IOWrapper.ReadInt32() in J:\Coding Projecties\BL3SaveEditor\IOTools\IOWrapper.cs:line 399
at BL3Tools.BL3Tools.LoadFileFromDisk(String filePath, Platform platform, Boolean bBackup) in J:\Coding Projecties\BL3SaveEditor\BL3Tools\BL3Tools.cs:line 62
at BL3SaveEditor.MainWindow.OpenSave(String filePath, Platform platform) in J:\Coding Projecties\BL3SaveEditor\BL3SaveEditor\MainWindow.xaml.cs:line 337

Not really an issue, but more of a request

Unless I'm missing it, but I checked on the parts list, I know there is an anointment that's called while action skill is active, increase weapon damage by 100%, but it's not in the save editor. Could that option be added? Thanks

Editor Crashing

Every time I open the editor, there is no option to cutsomize class mods which is the one thing i actually wanted unfortunately. When i try to create one or modify the MH level the save editor crashes every time. any fix for this? using windows btw.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.