lslib icon indicating copy to clipboard operation
lslib copied to clipboard

Specified Method Is Not Supported

Open Rzdin90 opened this issue 1 year ago • 10 comments

I've attempted to use both the latest pre-release(v1.19.3) at the time of this post and building the application myself using Visual Studio and while using Story (OSI) Tools I'm constantly getting the following error:

"Specified method is not supported"

I've tried this on modded and un-modded saves, old and new saves. It always has the same outcome.

I've attempted to use earlier versions (v1.18.7, v1.19.0, v1.19.2) on the OLDER save files they work in v1.18.7 and v1.19.0, but not on v1.19.2, which throws the same error.

The newer saves on these versions throw a variety of errors, which I will gladly post if requested. I'm assuming it was due to the compression method changing.

I'm still able to dump saves though.

Bellow is the detail printout:

"See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.NotSupportedException: Specified method is not supported. at System.IO.Compression.ZLibStream.get_Position() at LSLib.LS.Story.Database.Read(OsiReader reader) at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader) at LSLib.LS.Story.StoryReader.Read(Stream stream) at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s) at LSLib.LS.Save.SavegameHelpers.LoadStory() at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)"

Rzdin90 avatar Jan 27 '24 23:01 Rzdin90

Getting this error myself, you ever get a fix for it or is it just out of date currently? [v1.19.3]

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: Specified method is not supported.
   at ZstdSharp.DecompressionStream.get_Position()
   at LSLib.LS.Story.Database.Read(OsiReader reader)
   at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader)
   at LSLib.LS.Story.StoryReader.Read(Stream stream)
   at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s)
   at LSLib.LS.Save.SavegameHelpers.LoadStory()
   at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.CoreLib.dll
----------------------------------------
ConverterApp
    Assembly Version: 0.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\ConverterApp.dll
----------------------------------------
System.Runtime
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Threading.Thread.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Windows.Forms.Primitives.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Specialized.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.InteropServices.dll
----------------------------------------
System.Threading
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\Newtonsoft.Json.dll
----------------------------------------
System.Runtime.Serialization.Formatters
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ObjectModel.dll
----------------------------------------
LSLib
    Assembly Version: 0.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LSLib.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Drawing.Common.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.EventBasedAsync.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Numerics.Vectors.dll
----------------------------------------
System.Memory
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Memory.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Concurrent.dll
----------------------------------------
System.Linq.Expressions
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Linq.Expressions.dll
----------------------------------------
System.Runtime.Numerics
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Numerics.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.Uri.dll
----------------------------------------
System.Linq
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Linq.dll
----------------------------------------
System.Runtime.Serialization.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Serialization.Primitives.dll
----------------------------------------
System.Data.Common
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Data.Common.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.Xml.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Primitives.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Location: 
----------------------------------------
System.Runtime.Loader
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Loader.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.NonGeneric.dll
----------------------------------------
System.IO.MemoryMappedFiles
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.IO.MemoryMappedFiles.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.IO.Compression.dll
----------------------------------------
ZstdSharp
    Assembly Version: 0.7.4.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\ZstdSharp.dll
----------------------------------------
LZ4
    Assembly Version: 1.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LZ4.dll
----------------------------------------
LSLibNative
    Assembly Version: 1.0.8745.32359
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LSLibNative.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\mscorlib.dll
----------------------------------------
System.Text.Encoding
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Text.Encoding.dll
----------------------------------------
LZ4pn
    Assembly Version: 1.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LZ4pn.dll
----------------------------------------
System.Runtime.Intrinsics
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Intrinsics.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

Khurune avatar Feb 10 '24 13:02 Khurune

Getting this error myself, you ever get a fix for it or is it just out of date currently? [v1.19.3]

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: Specified method is not supported.
   at ZstdSharp.DecompressionStream.get_Position()
   at LSLib.LS.Story.Database.Read(OsiReader reader)
   at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader)
   at LSLib.LS.Story.StoryReader.Read(Stream stream)
   at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s)
   at LSLib.LS.Save.SavegameHelpers.LoadStory()
   at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.CoreLib.dll
----------------------------------------
ConverterApp
    Assembly Version: 0.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\ConverterApp.dll
----------------------------------------
System.Runtime
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Threading.Thread.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Windows.Forms.Primitives.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Specialized.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.InteropServices.dll
----------------------------------------
System.Threading
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\Newtonsoft.Json.dll
----------------------------------------
System.Runtime.Serialization.Formatters
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ObjectModel.dll
----------------------------------------
LSLib
    Assembly Version: 0.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LSLib.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\System.Drawing.Common.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.EventBasedAsync.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Numerics.Vectors.dll
----------------------------------------
System.Memory
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Memory.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.1\Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.ComponentModel.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Concurrent.dll
----------------------------------------
System.Linq.Expressions
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Linq.Expressions.dll
----------------------------------------
System.Runtime.Numerics
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Numerics.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.Uri.dll
----------------------------------------
System.Linq
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Linq.dll
----------------------------------------
System.Runtime.Serialization.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Serialization.Primitives.dll
----------------------------------------
System.Data.Common
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Data.Common.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Private.Xml.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Primitives.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Location: 
----------------------------------------
System.Runtime.Loader
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Loader.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.NonGeneric.dll
----------------------------------------
System.IO.MemoryMappedFiles
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.IO.MemoryMappedFiles.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.IO.Compression.dll
----------------------------------------
ZstdSharp
    Assembly Version: 0.7.4.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\ZstdSharp.dll
----------------------------------------
LZ4
    Assembly Version: 1.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LZ4.dll
----------------------------------------
LSLibNative
    Assembly Version: 1.0.8745.32359
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LSLibNative.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\mscorlib.dll
----------------------------------------
System.Text.Encoding
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Text.Encoding.dll
----------------------------------------
LZ4pn
    Assembly Version: 1.0.0.0
    Location: C:\Users\Kit Ginwa\Downloads\ExportTool-v1.19.3\LZ4pn.dll
----------------------------------------
System.Runtime.Intrinsics
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Runtime.Intrinsics.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 8.0.0.0
    Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

Sadly, no. I've tried it on different computers with fresh installs of windows too. The Discord has been no help last time I checked either.

Rzdin90 avatar Feb 14 '24 05:02 Rzdin90

This line should be removed since FactsPosition never gets used: https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Database.cs#L206C9-L206C23

I was able to load my save by getting rid of it, where before I got the same method not supported exception.

nearbear avatar Feb 28 '24 02:02 nearbear

Any help on this is appreciated! (for less experienced tool user like myself)

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: Specified method is not supported.
   at ZstdSharp.DecompressionStream.get_Position()
   at LSLib.LS.Story.Database.Read(OsiReader reader)
   at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader)
   at LSLib.LS.Story.StoryReader.Read(Stream stream)
   at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s)
   at LSLib.LS.Save.SavegameHelpers.LoadStory()
   at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)


************** Loaded Assemblies **************

noahm1216 avatar Mar 15 '24 03:03 noahm1216

This line should be removed since FactsPosition never gets used: https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Database.cs#L206C9-L206C23

I was able to load my save by getting rid of it, where before I got the same method not supported exception.

Thank you for this. I will give it a try and report back.

Haven't tried it myself yet, but hopefully following the recommendations by nearbear, as quoted and posted above, will hopefully solve this issue.

Any help on this is appreciated! (for less experienced tool like myself)

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: Specified method is not supported.
   at ZstdSharp.DecompressionStream.get_Position()
   at LSLib.LS.Story.Database.Read(OsiReader reader)
   at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader)
   at LSLib.LS.Story.StoryReader.Read(Stream stream)
   at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s)
   at LSLib.LS.Save.SavegameHelpers.LoadStory()
   at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)


************** Loaded Assemblies **************

Rzdin90 avatar Mar 18 '24 00:03 Rzdin90

This line should be removed since FactsPosition never gets used: https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Database.cs#L206C9-L206C23 I was able to load my save by getting rid of it, where before I got the same method not supported exception.

Thank you for this. I will give it a try and report back.

Haven't tried it myself yet, but hopefully following the recommendations by nearbear, as quoted and posted above, will hopefully solve this issue.

Any help on this is appreciated! (for less experienced tool like myself) See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: Specified method is not supported.
   at ZstdSharp.DecompressionStream.get_Position()
   at LSLib.LS.Story.Database.Read(OsiReader reader)
   at LSLib.LS.Story.StoryReader.ReadDatabases(OsiReader reader)
   at LSLib.LS.Story.StoryReader.Read(Stream stream)
   at LSLib.LS.Save.SavegameHelpers.LoadStory(Stream s)
   at LSLib.LS.Save.SavegameHelpers.LoadStory()
   at ConverterApp.OsirisPane.loadStoryBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)


************** Loaded Assemblies **************

Thanks, but I cannot find instructions on how to "build the app" I'm not sure what to do after I follow the main page and paste in these dependencies. How do I "build" **At least all the methods I've tried using VS Code end up producing massive errors

To build the tools you'll need to get the following dependencies:

Download GPLex 1.2.2 from here and extract it to the External\gplex\ directory Download GPPG 1.5.2 from here and extract it to the External\gppg\ directory Protocol Buffers 3.6.1 compiler from here and extract it to the External\protoc\ directory

noahm1216 avatar Mar 18 '24 02:03 noahm1216

This line should be removed since FactsPosition never gets used: https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Database.cs#L206C9-L206C23

I was able to load my save by getting rid of it, where before I got the same method not supported exception.

Thank you for this solution. I Just tried it and finally got the save to load, I really appreciate it.

Rzdin90 avatar Mar 18 '24 21:03 Rzdin90

This line should be removed since FactsPosition never gets used: https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Database.cs#L206C9-L206C23 I was able to load my save by getting rid of it, where before I got the same method not supported exception.

Thank you for this solution. I Just tried it and finally got the save to load, I really appreciate it.

This method easily opened the save and allowed me to edit it. But, I cannot save the file again, regardless of whether or not it was edited. I'm not blaming the method that fixed it just a new problem arising. See bellow for error

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.NotSupportedException: Specified method is not supported. at ZstdSharp.DecompressionStream.get_Length() at LSLib.LS.Save.SavegameHelpers.ResaveStory(Story story, Game game, String path) in C:\Users\Pat\Downloads\lslib-master\LSLib\LS\Save\SavegameHelpers.cs:line 127 at ConverterApp.OsirisPane.SaveSavegameDatabase() in C:\Users\XXXX\Downloads\lslib-master\ConverterApp\OsirisPane.cs:line 142 at ConverterApp.OsirisPane.saveStoryBtn_Click(Object sender, EventArgs e) in C:\Users\XXXX\Downloads\lslib-master\ConverterApp\OsirisPane.cs:line 188 at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

Rzdin90 avatar Mar 18 '24 23:03 Rzdin90

Also, for those wondering the most recent Pre-Release 1.19.4 still has the exact same error as before as this issue has not been fixed yet

Rzdin90 avatar Mar 18 '24 23:03 Rzdin90

I also have this exact issue. Using latest stable: 1.19.4

Korakys avatar Mar 26 '24 01:03 Korakys