Bookworm Heroes *.PTX

Textures, recreate headers, conversions, algorithms and parsing of image files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Bookworm Heroes *.PTX

Post by LolHacksRule »

I busted out my iDevice to recover an archived game off my iTunes account so I attempted to explore the game data. The game appears to use the RSB format which was easy to extract with everything readable but the texture files, do appear to be related off PVZ2, but I cannot figure out the compression format, Taiji's presets do not help. Any advice on my samples? The game has a properties file which was sorted by Taiji and deserialized for reference mentioning the texture atlas sizes. Moved it to save space.

https://gist.githubusercontent.com/LolH ... /info.json
yingfengtingyu
Posts: 4
Joined: Thu Feb 24, 2022 4:05 am

Re: Bookworm Heroes *.PTX

Post by yingfengtingyu »

Format ptx21 is RGBA4444_Block texture. It splits the image into many 32*32 blocks and save each block with RGBA4444 texture. You can use PopStudio to unpack rsb and decode the PTX. (PopStudio does not support PTX from other rsb unpack tools)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Bookworm Heroes *.PTX

Post by LolHacksRule »

I realized that when I found out about PopStudio. Amazing tool btw!