This question has already been asked twice on this forum, but since the answers didn't help me I ask it once again.
Yesterday I spent several hours trying to extract the content of the .tpk files from Club Penguin's Card-Jitsu Snow minigame. Here's what I learned from the other topics:
- The .tpk files are zlib archives and I managed to uncompress them with the command:
Code: Select all
offzip.exe -a file.tpk dest_dir 0`
Code: Select all
{
"frames": [
{
"filename": "rock_mountaintop.png",
"frame": {
"x": 0,
"y": 0,
"w": 75,
"h": 69
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 75,
"h": 69
},
"sourceSize": {
"w": 75,
"h": 69
}
}
],
"meta": {
"app": "http://www.texturepacker.com",
"version": "1.0",
"image": "rock_mountaintop.png",
"format": "RGBA8888",
"size": {
"w": 128,
"h": 128
},
"scale": "1",
"smartupdate": "$TexturePacker:SmartUpdate:af546ed297e90557d402551245566a2f$"
}
}
- I also played with PVRTexTool and tried the "Wrap Raw Data" menu to open the file. I think the binary data might be compressed because the example rock_mountaintop_small.kap was too small to be a 128x128 image in RGBA8888 format. But if it is, I can't find the correct algorithm in PVRTexTool's list and end up with noise.
So, can anyone help me with this? Is there any tool I can use to extract the .png data in this .kap file?
I don't know if the help given in the other topics was enough. As for me, I am fairly new at this and I need a little more help.
PS: I attached both the untouched .tpk file and the corresponding .kap file I talked about here. Both are in .txt because the actual extensions are not allowed here.