-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PVRZ files #1099
Comments
The official docs are a hard to navigate maze and kinda useless: Finally I did manage to find existing clean implementations for the texture decompression, just no standalone p'n'p libraries: Doesn't look like ffmpeg supports whole pvr(z) files, but the two forum posts describe them well enough. We should just lift one implementation of decompression and write the little boilerplate ourselves. edit: another implementation and list of resources: https://github.com/Sampsca/PS-BAM/blob/master/lib/PS_PVR.ahk |
It's a format in use in EEs to avoid the limits of global image palettes. It would be useful already for our demo, since it's really annoying to have to deal with BAMv1 and degraded assets. Once PVRZ is supported, BAMv2 is trivial to implement, since it just uses the new data format, the rest is the same.
So far the data is using only DXT1 and DXT5 compression formats.
Useful links:
PVRZ on IESDP, discussions: PVR and PVRZ formats
And from Beamdog themselves in go (pvr, dxt): https://github.com/Beamdog/bgfileformats
The text was updated successfully, but these errors were encountered: