lslib icon indicating copy to clipboard operation
lslib copied to clipboard

OSI Tool Corrupts save

Open mainmarco123 opened this issue 2 years ago • 2 comments

So when using the LSLib OSI tool for BG3, I wanted to test to see if the game would read the save after loading and saving it without making any modifications to any database. I loaded it, saved the file, and then tried to load it in game and got an error. I don't know why, but figure this would be valuable information. Love the work as always man, no rush to get it done, just wanna provide info if I can.

mainmarco123 avatar Aug 03 '23 19:08 mainmarco123

This Problem Happens If: We open Converterapp.exe go Story OSI Tools. Select a Safegame. dont change anything, but press Save. -> in Game the safefile cant be loaded anymore. If i want to "Load" this Save again in the Tool: Error. Cant Read beyond the end of Stream.

We want to Change the Party Size that we can have more then 4 Members :D

Maybe this can Help.

Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext ************** System.IO.EndOfStreamException: Über das Ende des Datenstroms hinaus kann nicht gelesen werden. bei System.IO.__Error.EndOfFile() bei System.IO.BinaryReader.ReadByte() bei LSLib.LS.LSFReader.ReadString(BinaryReader reader, Int32 length) bei LSLib.LS.LSFReader.ReadAttribute(DataType type, BinaryReader reader, UInt32 length) bei LSLib.LS.LSFReader.ReadNode(LSFNodeInfo defn, Node node, BinaryReader attributeReader) bei LSLib.LS.LSFReader.ReadRegions(Resource resource) bei LSLib.LS.LSFReader.Read() bei ConverterApp.OsirisPane.SaveSavegameDatabase() bei ConverterApp.OsirisPane.saveStoryBtn_Click(Object sender, EventArgs e) bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladene Assemblys ************** mscorlib Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4645.0 built by: NET48REL1LAST_B. CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.

ConverterApp Assembly-Version: 1.15.14.0. Win32-Version: 1.15.14.0. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/ConverterApp.exe.

System.Windows.Forms Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4550.0 built by: NET48REL1LAST_C. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

System Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4644.0 built by: NET48REL1LAST_B. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.

System.Drawing Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4390.0 built by: NET48REL1LAST_C. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.

Newtonsoft.Json Assembly-Version: 13.0.0.0. Win32-Version: 13.0.1.25517. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/Newtonsoft.Json.DLL.

LSLib Assembly-Version: 1.15.14.0. Win32-Version: 1.15.14.0. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/LSLib.DLL.

AlphaFS Assembly-Version: 2.2.0.0. Win32-Version: 2.2.6.0. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/AlphaFS.DLL.

System.Configuration Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4190.0 built by: NET48REL1LAST_B. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.

System.Core Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4644.0 built by: NET48REL1LAST_B. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.

System.Xml Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4084.0 built by: NET48REL1. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

System.Numerics Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4084.0 built by: NET48REL1. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.

System.Runtime.Serialization Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4536.0 built by: NET48REL1LAST_C. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.

System.Data Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4644.0 built by: NET48REL1LAST_B. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.

Accessibility Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4084.0 built by: NET48REL1. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.

System.Windows.Forms.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4084.0 built by: NET48REL1. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.

LZ4 Assembly-Version: 1.0.15.93. Win32-Version: 1.0.15.93. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/LZ4.DLL.

LZ4mm Assembly-Version: 1.0.15.93. Win32-Version: 1.0.15.93. CodeBase: file:///C:/Users/Jo-System/AppData/Local/Temp/f82a68ada1d833f8838dd859bcb27a61/44b09ced47d1340e4b5af5cc6f2fc8b2.dll.

LZ4cc Assembly-Version: 1.0.15.93. Win32-Version: 1.0.15.93. CodeBase: file:///C:/Users/Jo-System/AppData/Local/Temp/f82a68ada1d833f8838dd859bcb27a61/bed5714f0a00711677483c138938e914.dll.

LZ4pn Assembly-Version: 1.0.15.93. Win32-Version: 1.0.15.93. CodeBase: file:///C:/Users/Jo-System/AppData/Local/Temp/f82a68ada1d833f8838dd859bcb27a61/50495300240756128a79c0c0850f98e5.dll.

LSLibNative Assembly-Version: 1.0.8399.21114. Win32-Version: . CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/LSLibNative.DLL.

zlib.net Assembly-Version: 1.0.3.0. Win32-Version: 1.0.3.0. CodeBase: file:///G:/BG3%20MODS%20EDITS%20USW/BG3%20Save%20edit/ExportTool-v1.18-P/zlib.net.DLL.

mscorlib.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.8.4084.0 built by: NET48REL1. CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.

************** JIT-Debuggen ************** Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der Konfigurationsdatei der Anwendung oder des Computers (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden. Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten Ausnahmen an den JIT-Debugger gesendet, der auf dem Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Beginnerjoe avatar Aug 03 '23 21:08 Beginnerjoe

Hi,

Can you attach a savegame where this issue occurs? Mine unpack just fine after saving

Norbyte avatar Aug 04 '23 10:08 Norbyte