lslib icon indicating copy to clipboard operation
lslib copied to clipboard

OSI tool modified save fails to load - BG3 4.1.1.3636828 with lslib release 1.18.4

Open RiggiG opened this issue 2 years ago • 4 comments
trafficstars

I am unable to load a save that is 'modified' (without any changes) via the tool, with either no effect other than closing the menu if I've already loaded a working save or sitting at 0% indefinitely if loading from the main menu. No error is thrown in the UI. Save reloads just fine in the tool.

Here's the file from before + after simply loading and saving: Story.zip

Similar to but not the same as #109, #111, #136 - different from #136 in that I cannot even load the modified saves and the user reporting it claims to successfully load them, just without any changes.

RiggiG avatar Aug 13 '23 19:08 RiggiG

Hi,

Can you upload a savegame I can test this on? So far no save I have reproduces this bug

Norbyte avatar Aug 18 '23 12:08 Norbyte

Save file is already uploaded here:

Here's the file from before + after simply loading and saving: Story.zip

I'll get a new one with the latest hotfix

RiggiG avatar Aug 18 '23 15:08 RiggiG

I've checked, and the issue is file naming in your saves. Your savegame folder name must match the .lsv and .webp filenames inside the folder, otherwise the loading will be stuck at 0%.

Norbyte avatar Aug 18 '23 17:08 Norbyte

@RiggiG What tool did you use to use to extract the savegame? I tried to use StoryDecompiler, but I needed to change

LSLib.LS.Node storyNode = resource.Regions["Story"].Children["Story"][0]; var storyBlob = storyNode.Attributes["Story"].Value as byte[];

to

LSLib.LS.Node storyNode = resource.Regions["NewAge"]; var storyBlob = storyNode.Attributes["NewAge"].Value as byte[];

(while to former works fine for Divinity Original Sin 2) and then it crashes over the next thing. So my guess is you used a different tool to load your savegame...?

Edit: Well, it is the LSLib Toolkit ofc: https://github.com/Norbyte/lslib/releases

Sweepi avatar Sep 06 '23 23:09 Sweepi