DGRP (File Format)

From Retro Modding Wiki
Revision as of 06:27, 26 December 2019 by imported>Bearborg
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The DGRP format is for creating dependency groups. It's one of the few formats that appears in all five Retro Studios games.

Format

The DGRP format is extremely simple; it's essentially just a list of resource dependencies (starting with a 32-bit count). The only difference between games is the resource ID length, and the addition of a form descriptor in Tropical Freeze.

Offset Type Count Name Notes
0x0 u32 1 Dependency Count
0x4 Dependency Dependency Count Dependency Array
End of file

Dependency

Type Count Name Notes
char 4 Resource Type
Asset ID 1 Resource ID
End of dependency