DGRP (File Format): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
No edit summary
imported>Bearborg
mNo edit summary
 
Line 36: Line 36:
! Name
! Name
! Notes
! Notes
|-
| char
| 4
| '''Resource Type'''
|
|-
|-
| Asset ID
| Asset ID
| 1
| 1
| '''Resource ID'''
| '''Resource ID'''
|
|-
| char
| 4
| '''Resource Type'''
|  
|  
|-
|-

Latest revision as of 06:27, 26 December 2019

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