
Due to NaomiLib experience, had to learn how obscure .PVR formats were processed and convert them to RGBA formats.
A number of types which existed in SDK (alias,BGRA,bump,YUV420), were never addressed by existing converters so just decided to write one to cover all official variations.
Pvr2Image is a very simple app that converts every .PVR type in standard RGBA images (.png by default) without efforts!
* Select one or multiple .PVR / .PVP and choose an extraction folder, you'll get .png and .act files, that's all!
Win release:
https://github.com/VincentNLOBJ/pvr2image/releases
Git:
https://github.com/VincentNLOBJ/pvr2image
Pip:
Code: Select all
pip install pvr2img==1.1.0
* Egregiousguy for YUV420 to YUV420p conversion
* Kion for VQ handling and logic
* tvspelsfreak for SR conversion info on Bump to normal map
Supported PVR types
Code: Select all
[Texture Format:]
ARGB_1555
RGB_565
ARGB_4444
YUV_422
BUMP
RGB_555
ARGB_8888
YUV_420
[Pixel Format]:
TWIDDLED
TWIDDLED_MM
VQ
VQ_MM
PALETTIZE4
PALETTIZE4_MM
PALETTIZE8
PALETTIZE8_MM
RECTANGLE
STRIDE
TWIDDLED_RECTANGLE
ABGR
ABGR_MM
SMALLVQ
SMALLVQ_MM
TWIDDLED_MM_DMA