4 Wheel Thunder .A and .BNK file (DC)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

4 Wheel Thunder .A and .BNK file (DC)

Post by domingo »

Hello I need help to extract the content of this package.
From what I have seen it has no compression.
The file header is ARCH

https://mega.nz/file/H2Z3RCQL#ZQGsFbwoov8UlhCYbgQpCyEOw4Ex32kgj4pdqHGxnyw

Thanks :)
Last edited by domingo on Sat Jun 05, 2021 5:38 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 4 Wheel Thunder .A file (DC)

Post by aluigi »

z4ruz
Posts: 75
Joined: Sun Jan 10, 2021 2:23 pm

Re: 4 Wheel Thunder .A file (DC)

Post by z4ruz »

alternative
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

Re: 4 Wheel Thunder .A file (DC)

Post by domingo »

Fantastic, many thanks to both of you!!! :)
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

Re: 4 Wheel Thunder .A file (DC)

Post by domingo »

I have another format that I need to extract, this time they are rows with extension .BNK and header 5A5A5A5A
In these rows are the textures .TGA

MENU_FR.zip


Thanks :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 4 Wheel Thunder .A and .BNK file (DC)

Post by aluigi »

You can use this script but I'm not sure if those 4 bytes at the beginning of each file must be kept or removed (as the script does):

Code: Select all

idstring "ZZZZ"
get DUMMY long
get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    math OFFSET + 4
    math SIZE   - 4
    log "" OFFSET SIZE
next i
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

Re: 4 Wheel Thunder .A and .BNK file (DC)

Post by domingo »

Thanks Aluigi, I will take into account those 4 bytes from the beginning of each row. I do not know if they are necessary

Moreover, it gives me the feeling that each row extracted from the .bnk is another package but this time with compression
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

Re: 4 Wheel Thunder .A and .BNK file (DC)

Post by domingo »

aluigi wrote:You can use this script but I'm not sure if those 4 bytes at the beginning of each file must be kept or removed (as the script does):

Code: Select all

idstring "ZZZZ"
get DUMMY long
get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    math OFFSET + 4
    math SIZE   - 4
    log "" OFFSET SIZE
next i


Hello Aluigi, I have got the source code of this ZZZZ file, maybe a tool or a script for decompression and compression of the file can be made
mkcomp.zip