marius00 / iagd

MIT License
108 stars 33 forks source link

Parsing issue #118

Closed marius00 closed 3 years ago

marius00 commented 3 years ago

Exception thrown: 'System.IndexOutOfRangeException' in Parser.dll 2021-05-17 09:47:57,261 [5] WARN IAGrim.Parser.Arc.DDSImageReader Error extracting icon "chests/anm/chestsandtemple_01a_idle_a01.anm", Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at EvilsoftCommons.IOHelper.GetInt(Byte[] data, Int32 pos) in F:\Dev\IAGrim\Parser\IOHelper.cs:line 153 at IAGrim.Parser.Arc.DDSImageReader.getDDSHeader(Byte[] bytes) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 187 at IAGrim.Parser.Arc.DDSImageReader.ExtractImage(Byte[] bytes) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 94 at IAGrim.Parser.Arc.DDSImageReader.ExtractItemIcons(String itemsArcFullpath, String destinationFolder) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 67 Exception thrown: 'System.IndexOutOfRangeException' in Parser.dll 2021-05-17 09:47:57,272 [5] WARN IAGrim.Parser.Arc.DDSImageReader Error extracting icon "chests/anm/sarcophagus_sandtemple01a_idle_a01.anm", Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at EvilsoftCommons.IOHelper.GetInt(Byte[] data, Int32 pos) in F:\Dev\IAGrim\Parser\IOHelper.cs:line 153 at IAGrim.Parser.Arc.DDSImageReader.getDDSHeader(Byte[] bytes) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 187 at IAGrim.Parser.Arc.DDSImageReader.ExtractImage(Byte[] bytes) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 94 at IAGrim.Parser.Arc.DDSImageReader.ExtractItemIcons(String itemsArcFullpath, String destinationFolder) in F:\Dev\IAGrim\Parser\Arc\DDSImageReader.cs:line 67