libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Gzipped d71 (d7z) files don't work #480

Closed veganvelociraptor closed 1 year ago

veganvelociraptor commented 1 year ago

This happens when attempting to autoload a gzipped d71 file with the d7z extension:

LOAD"(NULL)",8,1

SEARCHING FOR (NULL) ?FILE NOT FOUND ERROR READY. RUN:

READY.

This doesn't happen with gzipped d64 (d6z) or d81 (d8z) files. I've tried the native VICE emulator and they work perfectly fine in VICE.

sonninnos commented 1 year ago

Yep, for some reason it is treating it like a FS directory, yet .d71.gz works. Should be simple to sort out.

I'm guessing because it ends with 7z which is treated as 7zip archive. And since the extraction won't work, the resulting temp directory will be empty, and then the directory will be "mounted" as a filesystem.

Edit: Got it sorted, and I'll try to sort that JiffyDOS issue too while at it.