DGRP (File Format)

From Retro Modding Wiki
(Redirected from DGRP)
Jump to: navigation, 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
Asset ID 1 Resource ID
char 4 Resource Type
End of dependency