Club Penguin - Card-Jitsu Snow (.tpk)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Help pls
Posts: 1
Joined: Fri May 26, 2017 5:32 pm

Club Penguin - Card-Jitsu Snow (.tpk)

Post by Help pls »

Hi. Would anyone be able to write a QuickBMS script to help me extract the contents from these .tpk files? Any help is appreciated!

Files:
https://icer.ink/media1.clubpenguin.com ... large/env/
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Club Penguin - Card-Jitsu Snow (.tpk)

Post by Anexenaumoon »

These tpk files look like individual images (Which, they probably are). They are ZLIB compressed so you can use a tool such as VGMToolbox to decompress them. It looks simple, but I don't know what to do with it. It yields interesting info such as:

Code: Select all

{
   "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$"
}