Donkey Kong: Barrel Blast FJG container header

Programming related discussions related to game research
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Donkey Kong: Barrel Blast FJG container header

Post by LolHacksRule »

These commonly come out of *Arc.dat/*Dat.arc and sometimes compressed/pre-decompressed ARC files. It appears to be metadata... Some files don't have this but for files with more than 1 file, this has to be used to tell the game the proper offsets of multiple files in a binary. No clue what the header means... Doubt its from Nin, probably Paon.

Code: Select all

3bytes: 46 4A 47 (FJG)
1byte: 00
1byte: 50 (P [Paon?])
2bytes: 00
1byte: Raw file count
2bytes: 00
2bytes: Offset of raw file 1 (end of FJG header)
2bytes: 00
2bytes: Bytesize of all raw data combined
This repeats
2bytes: 00
2bytes: Unknown