lastbattle / Harepacker-resurrected

All in one .wz file/map editor for MapleStory game files
Mozilla Public License 2.0
416 stars 156 forks source link

KMS v362 Map.wz edited file gets corrupted(?) when saving. #202

Open UltimateMors opened 1 year ago

UltimateMors commented 1 year ago

The change that automatically saves the old file as a backup as great. Unfortunately, this update appears to have introduced a bug where it will ruin the file you try to save.

What's strange is that certain maps will still load, while the majority will not.

Setting encryption changes nothing.

When HaCreator also boots back up, MS Path is always empty as well.

This is what the new file looks like after saving.

Screenshot 2023-05-24 013927

The file's encryption is also changed to have no version number, and it has also dropped by 8. 111

I'll check to see if this also applies to GMS as well.

Edit: It also occurs on a clean GMS installation as well. The encryption number is 771 as well. (+530).

Also for some reason, it adds several hundred bytes to the file even if nothing was changed? (I shifted a NPC over by 1 pixel and this occurred.)