DGRP (File Format): Difference between revisions

no edit summary
>Aruki
mNo edit summary
>Aruki
No edit summary
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. A dependency is formatted like this:
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
! Size
! Type
! Description
! Count
! Name
! Notes
|-
|-
| 0x0
| 0x0
| 4
| u32
| '''Resource type''' fourCC
| 1
| '''Dependency Count'''
|
|-
|-
| 0x4
| 0x4
| Varies
| [[#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]]
Anonymous user