nickworonekin / puyotools

Puyo Tools is a collection of tools and libraries used to access the contents of various game files. Although it was initially built to handle files used in Puyo Puyo games, it can handle files used in other games as well.
MIT License
100 stars 24 forks source link

Index out of range while decoding texture #8

Closed michael-fadely closed 7 years ago

michael-fadely commented 8 years ago

I've attached a set of textures from Sonic Adventure (Dreamcast) that fail to decode: broken.zip

It seems to happen in VrSharp.PvrTexture.PvrPixelCodec.Rgb565.DecodePixel which is called by VrSharp.VrPixelCodec.DecodePalette

nickworonekin commented 7 years ago

All these textures now decode correctly in 2.0.2.