Tyulis / 3DSkit

A multi-purpose and pluggable program to extract and repack files found in 3DS (and some other Nintendo consoles) games
GNU General Public License v3.0
68 stars 11 forks source link

Make ALYT properly detect _alyt_ folder #2

Closed hlixed closed 6 years ago

hlixed commented 6 years ago

This python file detection code is flawed. os.path.dirname() returns the full name of path/to/file; in order to just get file, you need to call os.path.basename() as well.

Additionally, metadir is not a relative import as it stands now. Appending the full folder name allows the rest of the files to be found as well.

Tyulis commented 6 years ago

Ok, that's good to be known. Thanks for help!

hlixed commented 6 years ago

No problem; thanks for the quick response!