Carnivores Wiki
Advertisement

packdata.pak is the archive file for Carnivores: Dinosaur Hunter Reborn which contains all data files, including graphics, sounds, models, and configuration files. The archive contains 2320 files in total.

Animations have a gr2 extension, and the names of sound files start with _cue and textures with _tex, but most files don't have extensions.

Format[]

// directory (number of files * 88 bytes)
// for each file (88 bytes)
byte
4
low word of Win32 FILETIME
byte
4
high word of Win32 FILETIME
byte
4
unknown
byte
64
file name
null-padded
uint32
4
CRC
int32
4
file size
int32
4
file offset
// for each file
byte
file data

QuickBMS script[]

The following script allows this archive to be unpacked by QuickBMS:

# Carnivores: Dinosaur Hunter Reborn (PAK format)
# Written by Ekey (h4x0r)
# script for QuickBMS http://quickbms.aluigi.org

goto 0x8
get FILES long

for i = 0 < FILES
    getdstring DUMMY 0xC
    getdstring NAME 0x40
    get CRC long
    get SIZE long
    get OFFSET long
    log NAME OFFSET SIZE
next i


Viewing the exported files[]

  • So far only the .gr2 extension files, AKA Granny files, are known to be opened, as of May 2020 with a version of Granny File Viewer.
  • Actually, all files starting with HEX B5 95 11 0E 4B B5 A5 6A 50 28 28 EB 04 B3 78 25 are Granny-format files, and mark them as Big Endian format. The problem with the existing tools that support Granny formatted files (like lslib and a blender plugin) only support the Little Endian format, and refuse to load the Big Endian format (although it seems the format is the same, just the byte ordering is different). Note that with the mentioned tools the "granny2.dll" is required, and only windows is supported as host, as the DLL is used to decompress the files.


External links[]

Template:Carnivores: Dinosaur Hunter Reborn

Advertisement