DGRP (File Format): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
(Created page with "The '''DGRP format''' is for creating dependency groups. It's one of the few formats that appears in all five Retro Studios games. __TOC__ == Format == The DGRP format is e...")
 
imported>Bearborg
mNo edit summary
 
(5 intermediate revisions by one other user not shown)
Line 5: Line 5:
== Format ==
== Format ==


The DGRP format is extremely simple; it's essentially just a list of resources. The only difference between games is the resource ID length, and the addition of a [[RFRM Header]] in Tropical Freeze.
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 (Tropical Freeze)|form descriptor]] in Tropical Freeze.
 
{| class="wikitable"
! Offset
! Type
! Count
! Name
! Notes
|-
| 0x0
| u32
| 1
| '''Dependency Count'''
|
|-
| 0x4
| [[#Dependency|Dependency]]
| ''Dependency Count''
| '''Dependency Array'''
|
|-
| colspan=5 {{unknown|End of file}}
|}
 
=== Dependency ===
 
{| class="wikitable"
! Type
! Count
! Name
! Notes
|-
| char
| 4
| '''Resource Type'''
|
|-
| Asset ID
| 1
| '''Resource ID'''
|
|-
| colspan=4 {{unknown|End of dependency}}
|}


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Metroid Prime Demo]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime 2 Demo]]
[[Category:Metroid Prime 2: Echoes]]
[[Category:Metroid Prime 2: Echoes]]
[[Category:Metroid Prime 3 Prototype]]
[[Category:Metroid Prime 3: Corruption]]
[[Category:Metroid Prime 3: Corruption]]
[[Category:Donkey Kong Country Returns]]
[[Category:Donkey Kong Country Returns]]
[[Category:Donkey Kong Country: Tropical Freeze]]
[[Category:Donkey Kong Country: Tropical Freeze]]

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