Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't decrypt save file: System.IO.DirectoryNotFoundException #14

Open
mrfroncu opened this issue Jul 1, 2021 · 2 comments
Open

Can't decrypt save file: System.IO.DirectoryNotFoundException #14

mrfroncu opened this issue Jul 1, 2021 · 2 comments

Comments

@mrfroncu
Copy link

mrfroncu commented Jul 1, 2021

Can't decrypt save file due to the following error
E:\Downloads\OvercookedTool1.0>.\OvercookedTool.exe decrypt C:\Users\Matthew\AppData\LocalLow\Team17\Overcooked2\XXXXXXXXXXXXXXXXXXXXXXX\Meta_SaveFile.save C:\Temp\Meta_SaveFile.json Epic.OnlineServices.EpicAccountId Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Temp\Meta_SaveFile.json'. at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes) at System.IO.File.WriteAllBytes(String path, Byte[] bytes) at OvercookedPasten.Program.Decrypt(String source_filename, String dest_filename, String pwd) in D:\Data\Projects\OvercookedTool\OvercookedTool\Program.cs:line 262 at OvercookedPasten.Program.Main(String[] args) in D:\Data\Projects\OvercookedTool\OvercookedTool\Program.cs:line 286

@mrfroncu mrfroncu changed the title System.IO.DirectoryNotFoundException Can't decrypt save file: System.IO.DirectoryNotFoundException Jul 1, 2021
@zabbidou
Copy link

Check if the path contains any spaces or special characters (from what I see it doesn't, but that was the problem for me).
Also change the json path, maybe the "C:\Temp" is protected. Try Desktop or something else.

@lionboy88
Copy link

In addition to the above comment, also try changing the location of the OvercookedTool.exe folder. The code worked for me only once I changed the location of the tool. Maybe try putting it somewhere on C:\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants