Deweh / CyberCAT-SimpleGUI

A simplified offshoot of SirBitesalot's CyberCAT.
MIT License
233 stars 45 forks source link

can't load save file #93

Open honcharov-viktor opened 2 years ago

honcharov-viktor commented 2 years ago

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:
jandraelune commented 2 years ago

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.b2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b272_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)

seberoth commented 2 years ago

@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?