You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if you could help me with an issue I'm running into with PuyoTools.Modules' PVM archive reader. It seems to crash if the PVM contains textures whose file size isn't divisible by 16. Puyo Tools is able to decode these textures and add them to a PVM just fine, but attempting to read the PVM results in a crash. However, it works if the PVM contains only one texture, so I'm wondering if it's a bug.
Steps to reproduce the crash: Run Archive Creator, add 007.pvr and 008.pvr to the archive, save as PVM, open the created PVM in Archive Explorer. I've uploaded the textures and the crashing PVM here: pvm.zip
The crash doesn't occur if I add bytes at the end of the PVRs to make their size divisible by 16 (and adjust the PVRT chunk size in the header accordingly).
It's entirely possible that these textures are invalid, but I haven't been able to find any mentions of limitations for PVR texture sizes in a PVM, and the standalone PVR textures seem to work fine in Sega's WinPVR tool, so I thought I should report this just in case. Do you think this can be resolved? Thanks!
The text was updated successfully, but these errors were encountered:
Hello Nick,
I was wondering if you could help me with an issue I'm running into with PuyoTools.Modules' PVM archive reader. It seems to crash if the PVM contains textures whose file size isn't divisible by 16. Puyo Tools is able to decode these textures and add them to a PVM just fine, but attempting to read the PVM results in a crash. However, it works if the PVM contains only one texture, so I'm wondering if it's a bug.
Steps to reproduce the crash: Run Archive Creator, add 007.pvr and 008.pvr to the archive, save as PVM, open the created PVM in Archive Explorer. I've uploaded the textures and the crashing PVM here:
pvm.zip
The crash doesn't occur if I add bytes at the end of the PVRs to make their size divisible by 16 (and adjust the PVRT chunk size in the header accordingly).
It's entirely possible that these textures are invalid, but I haven't been able to find any mentions of limitations for PVR texture sizes in a PVM, and the standalone PVR textures seem to work fine in Sega's WinPVR tool, so I thought I should report this just in case. Do you think this can be resolved? Thanks!
The text was updated successfully, but these errors were encountered: