[Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

[Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by Acewell »

Hi, this is another game by Zen Studios that uses pxp archives but they will not extract with the scripts here
http://forum.xentax.com/viewtopic.php?p ... a03#p83468
viewtopic.php?f=9&t=497&hilit=pxp
http://forum.xentax.com/viewtopic.php?f=10&t=10654

this is the smallest pxp files from the game installation
samples.7z


the big archive with likely the models and textures is about 180mb

thank you! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by aluigi »

Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by Acewell »

Nice! thanks! :D

alien_interceptor_04_em.pxm
Image
*.pxm = models
*.pxt = textures with etc2(?) compression
*.pxa = animations


bms script to convert pxt to ktx

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

get NAME basename
string NAME + .ktx
get SIZE asize
math SIZE - 0x18
idstring "\x50\x58\x1A\xCD"
get VERSION long //??
get FMT long //??
get WIDTH long
get HEIGHT long
get UNK long

set memory_file binary "\xAB\x4B\x54\x58\x20\x31\x31\xBB\x0D\x0A\x1A\x0A\x01\x02\x03\x04\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x74\x92\x00\x00\x07\x19\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

putVarChr memory_file 0x24 WIDTH long
putVarChr memory_file 0X28 HEIGHT long
putVarChr memory_file 0x40 SIZE long

log NAME 0x0 0x44 memory_file
append
log NAME 0x18 SIZE


you can open and convert the ktx files with "Mali Texture Compression Tool"
brmbgb
Posts: 3
Joined: Sun Feb 23, 2020 9:02 pm

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by brmbgb »

Without sounding like a total noob, to extract these models and textures, what tools exactly do I need?
Thanks.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by aluigi »

@brmbgb

Download QuickBMS:
http://quickbms.com

Download the script:
http://aluigi.org/bms/zen_studio_pxp.bms

Run quickbms, select the script and then select the pxp file you want to extract.

The text posted by Acewell is a script too and I guess you must use it with the extracted pxt files.
Then use Mali Texture Compression Tool as said by Acewell.
brmbgb
Posts: 3
Joined: Sun Feb 23, 2020 9:02 pm

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by brmbgb »

Only just seen this, I've managed to extract some files (a couple of the human ships) using the tool in the link provided, but Im not sure what to do with the pxm files to view the models and it doesnt seem to have extracted any on the pxt texture files. im wondering if most of the files im looking for are missing as ive only been extracting files from an .apk of the game downloaded off the web. Any way thanks for the help so far and once again sorry for being a total noob, but i am willing to learn :)
brmbgb
Posts: 3
Joined: Sun Feb 23, 2020 9:02 pm

Re: [Android] Independence Day: Resurgence - Battle Heroes (*.pxp)

Post by brmbgb »

Has anybody else had any luck with this?