igorseabra4 / IndustrialPark

Viewer and editor for .HIP and .HOP archive files from Heavy Iron Studios games such as SpongeBob SquarePants: Battle for Bikini Bottom and Scooby Doo: Night of 100 Frights (GameCube, PS2, Xbox, PC).
https://heavyironmodding.org/wiki/Industrial_Park_(level_editor)
GNU General Public License v3.0
40 stars 13 forks source link

Add legacy save feature #77

Closed energydrink02 closed 1 month ago

energydrink02 commented 3 months ago

Newer HIP files cannot be opened in legacy IP versions due to an infinite loop caused by the HIPB chunk at the end. This was fixed for future versions. However, with the next IP release, the HIPB version increments again which makes every HIP file created in this version unusable in v2024.02.10 and before. To make it still usable, a "Legacy Save" button was added to disable the HIPB chunk from saving.

energydrink02 commented 3 months ago

fixes https://github.com/igorseabra4/IndustrialPark/issues/52

ItsPepperpot commented 1 month ago

Tested, seems to work well. If I save a modified HIP with this branch, then 2024.02.10 crashes immediately upon trying to load it. However, after using Legacy Save, the HIP opens in previous versions. Clicking Legacy Saves turns off No Layers - however it does sort the assets in the correct layers, which is good.

ItsPepperpot commented 1 month ago

Rename layer bug #52 appears fixed