libretro / px68k-libretro

Portable SHARP X68000 Emulator for Libretro
http://hissorii.blog45.fc2.com
GNU General Public License v2.0
45 stars 40 forks source link

px68k-libretro core altering roms and corrupting .zip files #136

Open huoshankonglong opened 3 years ago

huoshankonglong commented 3 years ago

Hello,

The Px68k core is altering every .dim and .zip file I load up. .dim and .zip files change size and the .zip files become corrupted. The .dim files I've tried permanently change from 1,233 KB to 1,361 KB.

(Tested on two installs of x86_64 Retroarch ver. 1.9.0, with px68k_libretro.dll core downloaded through Retroarch as of 3-12-2021)

Thank you

negativeExponent commented 3 years ago
negativeExponent commented 2 days ago

zip handling should not be possible in the core. it was wrongly configure to open zip directly. pushed a PR to prevent this core from opening and possible changing zip files.

with regards to files changing size, its practically normal, for this core at least. Some of these filetypes were oversized to begin with, so when it gets loaded to the core, its file manager changes it to have the correct size/headers. Since the core writes directly to the image file, then your source files will change as well. Unless it was not stated in the docs.libretro.com, it was adviced to keep a copy of your unchanged source files and play from a backup/separate copy instead.