NKitv1 icon indicating copy to clipboard operation
NKitv1 copied to clipboard

Fix recovery data finding on *nix

Open Tobiaqs opened this issue 4 years ago • 7 comments

NKit does not properly find recovery data on *nix systems due to a Regex that only accepts Windows paths. This fixes that by accepting both types of slashes.

See #13 for more info.

Tobiaqs avatar Feb 08 '21 10:02 Tobiaqs

I think I'm running into this issue.

bcomnes avatar Mar 06 '21 02:03 bcomnes

@Tobiaqs any hints on how to build Nkit on nix with mono installed?

bcomnes avatar Mar 06 '21 02:03 bcomnes

@bcomnes This automates what I used to build NKit on Pop_OS! You'll need Docker though, or replace the Docker step by running dotnet build in the $PWD/NKit folder.

https://gist.github.com/Tobiaqs/34420144ade5f20609bb628779b3430f

Tobiaqs avatar Mar 06 '21 09:03 Tobiaqs

Ran in to this issue. I would like to see this added as well!

pollev avatar Jan 16 '22 16:01 pollev

Does this fix the crc always being 00000000? Might help #5 if so. Edit: After testing unfortunately it didn't help.

cgarz avatar Feb 20 '22 03:02 cgarz

I've been hitting a wall for the last hour while trying to use this tool, I had a feeling there was something wrong with the detection. This fix would be appreciated!

ZLima12 avatar Feb 26 '22 10:02 ZLima12

FWIW, I was able to exploit the naive regex by renaming all the recovery files to include a backslash as the first character of their filename. After doing that, everything worked as expected.

ZLima12 avatar Feb 27 '22 04:02 ZLima12