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

There is something wrong with PVR decoder for Skies of Arcadia texture #7

Closed Metafalica closed 7 years ago

Metafalica commented 8 years ago

puyotools pvr crash

It determines this PVR DataFormat as SmallVq and PixelFormat as Argb1555. There is many PVR files of such format in this game and all crashes your program.

The link for PVR texture: https://www.dropbox.com/s/vq73hkwf7gy1shw/test.pvr?dl=0

MainMemory commented 8 years ago

Additionally, there are some textures from Sonic Adventure (DC) in the SmallVq format, which Puyo Tools (and thus my PVMEditSharp program) are unable to render to Bitmaps. Examples: http://mmbot.reimuhakurei.net/drum_ref.pvr http://mmbot.reimuhakurei.net/drumfuta1.pvr

I don't know if it would help, but we do have access to the C++ source code for Sega's WinPVR tool from the Dreamcast Katana SDK.

nickworonekin commented 7 years ago

I can't test those two files, but Puyo Tools should now be able to decode them properly.