Difference between revisions of "DGRP (File Format)"
From Retro Modding Wiki
m |
|||
Line 5: | Line 5: | ||
== Format == | == 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 (Tropical Freeze)|form descriptor]] 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" | {| class="wikitable" | ||
! Offset | ! Offset | ||
− | ! | + | ! Type |
− | ! | + | ! Count |
+ | ! Name | ||
+ | ! Notes | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
− | | | + | | u32 |
− | | ''' | + | | 1 |
+ | | '''Dependency Count''' | ||
+ | | | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
− | | | + | | [[#Dependency|Dependency]] |
+ | | ''Dependency Count'' | ||
+ | | '''Dependency Array''' | ||
+ | | | ||
+ | |- | ||
+ | | colspan=5 {{unknown|End of file}} | ||
+ | |} | ||
+ | |||
+ | === Dependency === | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Type | ||
+ | ! Count | ||
+ | ! Name | ||
+ | ! Notes | ||
+ | |- | ||
+ | | Asset ID | ||
+ | | 1 | ||
| '''Resource ID''' | | '''Resource ID''' | ||
+ | | | ||
+ | |- | ||
+ | | char | ||
+ | | 4 | ||
+ | | '''Resource Type''' | ||
+ | | | ||
+ | |- | ||
+ | | 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 01:02, 6 June 2016
The DGRP format is for creating dependency groups. It's one of the few formats that appears in all five Retro Studios games.
Contents
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 |