MAG PS3 (.ZRB file)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
JaZZa01
Posts: 2
Joined: Wed Jan 16, 2019 12:40 pm

MAG PS3 (.ZRB file)

Post by JaZZa01 »

Hi all,

Just starting to play with QuickBMS but hit a brick wall with this .ZRB file I got from MAG on the Playstation 3 (can't find anywhere online where people have looked into this game).

Inspecting the streamed_weapons_scar_l.zrb shows some stuff related to Havok and Maya, but the lack of anything obvious in the header (to me anyway) leaves me stumped.

Pretty much every file on disc is .zrb: audio, weapons, levels, but they all seem different.
Attached are a few examples.

Any help would be appreciated.

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

Re: MAG PS3 (.ZRB file)

Post by aluigi »

Apparently the number of files in each archive is 5 but the output data may not be immediately usable :

Code: Select all

endian big
get VER long
for i = 0 < 5   # fixed amount
    get OFFSET long
    get SIZE long
    if SIZE != 0
        log "" OFFSET SIZE
    endif
next i
JaZZa01
Posts: 2
Joined: Wed Jan 16, 2019 12:40 pm

Re: MAG PS3 (.ZRB file)

Post by JaZZa01 »

aluigi wrote:Apparently the number of files in each archive is 5 but the output data may not be immediately usable :

Code: Select all

endian big
get VER long
for i = 0 < 5   # fixed amount
    get OFFSET long
    get SIZE long
    if SIZE != 0
        log "" OFFSET SIZE
    endif
next i

Thanks aluigi, I was able to run the extract.
What would you suggest in order to get anything out of these .dat files?
Also how come the number of files produced is less than 5?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MAG PS3 (.ZRB file)

Post by aluigi »

The script extracts only the files with a size bigger than zero, so you usually get 2 or 3 files since they are the only with real content inside.
No idea about the content. It's just a way for extracting the content from the file.