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

IndexOutOfRangeException when exporting textures as PNGs #53

Open ItsPepperpot opened 6 months ago

ItsPepperpot commented 6 months ago

Version: 2024.02.10

To Reproduce

  1. Open up jf01
  2. In the Archive Editor, export all textures as PNGs
  3. IndexOutOfRangeException appears
ItsPepperpot commented 6 months ago

Exception is thrown here:

https://github.com/igorseabra4/IndustrialPark/blob/9fb5c91f7d7d81e2802ff75f892ed4622719bc26/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs#L343