[Android] Transformers - Robots in Disguise (*.bin)

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] Transformers - Robots in Disguise (*.bin)

Post by Acewell »

Hi, i have some bin archive samples that i need help with extracting files from, i believe these contain models

characters.7z


Any help is appreciated! :D
lpriefer01
Posts: 5
Joined: Sat Jan 30, 2021 12:25 am

Re: [Android] Transformers - Robots in Disguise (*.bin)

Post by lpriefer01 »

do you have rhe files for starscream and jazz?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Transformers - Robots in Disguise (*.bin)

Post by aluigi »

Nice necroposting...

Since I'm here I checked the sample and found the format but I don't know what compression algorithm is used:

Code: Select all

comtype ???  # FIX ME !!!
idstring "\x89\x54\x64\x12"
get VER long    # 5
get INFO_SIZE long
xmath FILES "INFO_SIZE / (6 * 4)"
for i = 0 < FILES
    get DUMMY long
    get FLAGS long
    get OFFSET long
    get DUMMY long
    get DUMMY long
    get ZERO long
    putarray 0 i OFFSET
next i
    get OFFSET asize
    putarray 0 i OFFSET

for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET

    goto OFFSET
    get TYPE byte
    get XSIZE long
    math OFFSET + 5
    math SIZE   - 5
    clog "" OFFSET SIZE XSIZE
next
lpriefer01
Posts: 5
Joined: Sat Jan 30, 2021 12:25 am

Re: [Android] Transformers - Robots in Disguise (*.bin)

Post by lpriefer01 »

aluigi wrote:Nice necroposting...

Since I'm here I checked the sample and found the format but I don't know what compression algorithm is used:

Code: Select all

comtype ???  # FIX ME !!!
idstring "\x89\x54\x64\x12"
get VER long    # 5
get INFO_SIZE long
xmath FILES "INFO_SIZE / (6 * 4)"
for i = 0 < FILES
    get DUMMY long
    get FLAGS long
    get OFFSET long
    get DUMMY long
    get DUMMY long
    get ZERO long
    putarray 0 i OFFSET
next i
    get OFFSET asize
    putarray 0 i OFFSET

for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET

    goto OFFSET
    get TYPE byte
    get XSIZE long
    math OFFSET + 5
    math SIZE   - 5
    clog "" OFFSET SIZE XSIZE
next


im not entirley sure but i have a feeling it might be the same as was used for the transformers 2003 ps2 game https://drive.google.com/file/d/1b9cF5o ... sp=sharing here is the bin which is un altered after i extracted it from the tf ps2 iso
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Transformers - Robots in Disguise (*.bin)

Post by aluigi »

Just checked it again and the compression was lzma2 headerless, here we go the full script (just the previous one with comtype lzma2_0):
http://aluigi.org/bms/transformers_89546412.bms