CyberCAT-SimpleGUI icon indicating copy to clipboard operation
CyberCAT-SimpleGUI copied to clipboard

can't load save file

Open honcharov-viktor opened this issue 3 years ago • 2 comments

I downloaded latest build. When i try to load save file it throw error.

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

************** Exception Text **************
System.DllNotFoundException: Dll was not found.
   at WolvenKit.Core.Compression.KrakenNative.Kraken_Decompress(Byte[] buffer, Int64 bufferSize, Byte[] outputBuffer, Int64 outputBufferSize)
   at WolvenKit.Core.Compression.KrakenNative.Decompress(Byte[] buffer, Byte[] outputBuffer) in C:\Users\dewey\source\repos\CP2077SaveEditor\WolvenKit\WolvenKit.Core\Compression\KrakenNative.cs:line 8
   at WolvenKit.Core.Compression.Oodle.Decompress(Byte[] inputBuffer, Byte[] outputBuffer) in C:\Users\dewey\source\repos\CP2077SaveEditor\WolvenKit\WolvenKit.Core\Compression\Oodle.cs:line 254
   at WolvenKit.Core.Compression.Oodle.DecompressBuffer(Stream inStream, Byte[]& rawBuf) in C:\Users\dewey\source\repos\CP2077SaveEditor\WolvenKit\WolvenKit.Core\Compression\Oodle.cs:line 170
   at WolvenKit.RED4.TweakDB.Helper.TweakDBStringHelper.LoadFromStream(Stream stream)
   at WolvenKit.Common.Services.TweakDBService..ctor() in C:\Users\dewey\source\repos\CP2077SaveEditor\WolvenKit\WolvenKit.Common\Services\TweakDBService.cs:line 24
   at CP2077SaveEditor.Form1.<>c.<LoadSave>b__34_0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at CP2077SaveEditor.Form1.LoadSave(String savePath)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
CP2077SaveEditor
    Assembly Version: 1.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Runtime
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Windows.Forms
    Assembly Version: 6.0.1.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 6.0.1.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Collections.Specialized
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Threading
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Collections
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
System.Drawing.Common
    Assembly Version: 6.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------
WolvenKit.RED4.Types
    Assembly Version:

honcharov-viktor avatar May 14 '22 17:05 honcharov-viktor

This issue is still preventing loading of save files. " Exception of type 'System.Exception' was thrown. at WolvenKit.RED4.Save.PersistencySystem2Reader.ReadClass(Type type, UInt32 size) at WolvenKit.RED4.Save.PersistencySystem2Parser.Read(BinaryReader reader, NodeEntry node) at WolvenKit.RED4.Save.ParserHelper.ReadNode(BinaryReader reader, NodeEntry node) at WolvenKit.RED4.Save.IO.CyberpunkSaveReader.LoadFromStream(Stream stream, List`1 flatNodes) at WolvenKit.RED4.Save.IO.CyberpunkSaveReader.ReadFile(CyberpunkSaveFile& file) at CP2077SaveEditor.Form1.<>c__DisplayClass34_0.<LoadSave>b__2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at CP2077SaveEditor.Form1.LoadSave(String savePath)

jandraelune avatar Jun 25 '22 23:06 jandraelune

@honcharov-viktor Loading of PS4 saves without owning a PC version of the game is currently not supported. Hope we can change that soon

@jandraelune This is another issue, but could you provide us the save file which is causing this issue?

seberoth avatar Jun 30 '22 08:06 seberoth