Skip to content
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

not able to open pkm file... #159

Open
DIESLTEK710 opened this issue Jan 14, 2024 · 3 comments
Open

not able to open pkm file... #159

DIESLTEK710 opened this issue Jan 14, 2024 · 3 comments

Comments

@DIESLTEK710
Copy link

I have tried to open this pkm file and it wouldnt work... any idea? can you please make the application open this pkm file.

https://drive.google.com/file/d/1x9yHHRunhksRbaTy8cMwIua8f0R9tdlL/view?usp=drive_link

thank you

@bluescan
Copy link
Owner

The short answer is I'm not sure how to display that image. The fourCC of the file shows "LZ4!". If I try to decompress using https://github.com/lz4/lz4/releases it errors out.

Later in the file (at offset 0x11) you see the "PKM " fourCC (which is odd if it's compressed), but the info for the PKM header that follows does not have valid values for the width/height. It should go 2 char version (valid at '1' '0'), but later on the values the actual (non-encoded) width and height are 0 and 2... so it's not a completely valid pkm header either. Hmm.

@bluescan
Copy link
Owner

Incidentally the header for a pkm is described here: https://github.com/bluescan/tacent/blob/master/Modules/Image/Src/tImagePKM.cpp

@DIESLTEK710
Copy link
Author

thats strange indeed... thanks for that extra information... these files did use to be pkm and extractable / viewable until recently still looking for someone to possibly help me accomplish this mission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants