lslib icon indicating copy to clipboard operation
lslib copied to clipboard

[Question] BG3 - Editing character stats

Open Blind-Striker opened this issue 2 years ago • 2 comments
trafficstars

Hello maintainers,

First of all, thank you for the excellent work you've done.

I'm unsure if this repository is the right place to ask this question, but I've searched extensively on Google and Reddit without finding any answers.

I used the LSLib Toolkit to extract my save file and subsequently converted the .lsf files into .lsx files. From what I understand, Larian has made specific changes to these file formats for BG3. For example, I couldn't find information related to the player in the Globals.lsx file. I couldn't find inventory, abilities, or anything else related to the player. My question is precisely about this. Is there any documentation for this file format? Or, specifically, do you know where player-related things are stored in XML?

I understand that you may not be responsible for the file format, but I would greatly appreciate any information you might have on this subject.

Thank you in advance.

Blind-Striker avatar Aug 04 '23 18:08 Blind-Striker

A lot of data is now encoded into a large binary blob found in Globals.lsx called NewAge, which contains a lot of entity-related data (position, health, spells, stats, etc.). Sadly there is no way to decode this format for now.

Norbyte avatar Aug 06 '23 14:08 Norbyte

Thanks for the answer @Norbyte. Should I keep this issue open as a feature request, or can I close it if you want?

I also posted this the Reddit in case someone knows the answer and informed people of your answer.

https://www.reddit.com/r/BaldursGate3/comments/15i8m52/editing_character_stats/

Blind-Striker avatar Aug 11 '23 11:08 Blind-Striker