pk3DS icon indicating copy to clipboard operation
pk3DS copied to clipboard

pk3ds incorrectly throwing "Folder does not contain an 'a' folder in the top level" on ext4 filesystems

Open ImperatorStorm opened this issue 2 years ago • 7 comments

pk3ds is incorrectly throwing "Folder does not contain an 'a' folder in the top level" despite the dump folder meeting requirements. running via mono

$ tree -a .

ImperatorStorm avatar Nov 28 '21 01:11 ImperatorStorm

The program also checks the count of files in the folders; are you sure you have dumped all the files for the game you are trying to load?

kwsch avatar Nov 28 '21 01:11 kwsch

Assuming https://github.com/Asia81/HackingToolkit9DS-Deprecated- worked correctly, yes.

ImperatorStorm avatar Nov 28 '21 02:11 ImperatorStorm

Valid file counts within the a* folders: https://github.com/kwsch/pk3DS/blob/94f23bb1c345b9557a12cc17948f87f6e661f48c/pk3DS.Core/Game/GameConfig.cs#L12-L17

kwsch avatar Nov 28 '21 03:11 kwsch

i've got exactly 299 files in a

ImperatorStorm avatar Nov 28 '21 04:11 ImperatorStorm

Here's the logic that checks for the existence of the a folder:

https://github.com/kwsch/pk3DS/blob/dfdbce758fbb3526fa7cfdadf0f2a17b4630bd44/pk3DS/Main.cs#L504-L528

Not sure what all you have in there, but it's expecting the first directory in the folder to be called a exactly. If there's two, then it checks the second (order unk)

kwsch avatar Nov 28 '21 04:11 kwsch

first folder is indeed exactly a.

ImperatorStorm avatar Nov 28 '21 04:11 ImperatorStorm

Retrying on Windows worked perfectly, somehow I'm gonna guess pk3DS doesn't like ext4 filesystems for some wierd reason

ImperatorStorm avatar Nov 29 '21 03:11 ImperatorStorm