WAD: Difference between revisions

From Spiral Framework
Jump to navigation Jump to search
(Created page with "{{Infobox |title = WAD |label2 = File Type |data2 = Archive }}")
 
(WIP rip)
Line 1: Line 1:
{{Infobox
{{Infobox
|title = WAD
|title = WAD
|label2 = File Type
|label2 = Type
|data2 = [[Category:Archive|Archive]]
|data2 = [[:Category:Archives|Archive Format]]
|label3 = System
|data3 = Steam
|label4 = Applicable Titles
|data4 = [[wikipedia:Danganronpa: Trigger Happy Havoc|Danganronpa: Trigger Happy Havoc]] and [[wikipedia:Danganronpa 2: Goodbye Despair|Danganronpa 2: Goodbye Despair]]
}}
}}
==Specification==
{| class="wikitable"
!Offset
!Size
!Data Type
!Function
!Example Value
!Notes
|-
|0x00
|4 Bytes
|String/Data
|Magic Number
|"AGAR" or <code>0x41 0x47 0x41 0x52</code>
|-
|0x04
|4 Bytes
|Int
|Major Version
|1
|-
|0x08
|4 Bytes
|Int
|Minor Version
|0
|-
|0x0C
|4 Bytes
|Int
|Header Size
|0
|rowspan="2"|Danganronpa does not seem to support WAD headers
|-
|0x10
|<code>Header Size</code>
|Data
|Header
|-
|0x14 + <code>Header Size</code>
|4 Bytes
|Unsigned [[wikipedia:Little Endian|Little-Endian]] Int
|Number of files
|23871
|}
==Uses==

Revision as of 23:15, 9 September 2017

WAD
TypeArchive Format
SystemSteam
Applicable TitlesDanganronpa: Trigger Happy Havoc and Danganronpa 2: Goodbye Despair

Specification

Offset Size Data Type Function Example Value Notes
0x00 4 Bytes String/Data Magic Number "AGAR" or 0x41 0x47 0x41 0x52
0x04 4 Bytes Int Major Version 1
0x08 4 Bytes Int Minor Version 0
0x0C 4 Bytes Int Header Size 0 Danganronpa does not seem to support WAD headers
0x10 Header Size Data Header
0x14 + Header Size 4 Bytes Unsigned Little-Endian Int Number of files 23871

Uses