summaryrefslogtreecommitdiff
path: root/asm/FILE_44DA00_ug_fossil.narc.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/FILE_44DA00_ug_fossil.narc.s')
-rw-r--r--asm/FILE_44DA00_ug_fossil.narc.s29
1 files changed, 28 insertions, 1 deletions
diff --git a/asm/FILE_44DA00_ug_fossil.narc.s b/asm/FILE_44DA00_ug_fossil.narc.s
index 34668152..e9d8458d 100644
--- a/asm/FILE_44DA00_ug_fossil.narc.s
+++ b/asm/FILE_44DA00_ug_fossil.narc.s
@@ -1,4 +1,31 @@
.include "asm/macros.inc"
.text
- .incbin "baserom.nds", 0x44DA00, 0x3ED8
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00003ED8 ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x00000024 ; chunk size
+ .short 3 ; number of files
+ .balign 4
+ .word 0x00000000, 0x00003640
+ .word 0x00003640, 0x00003868
+ .word 0x00003868, 0x00003E8C
+
+ ; BTNF header
+ .ascii "BTNF"
+ .word 0x00000010 ; chunk size
+ .word 0x00000004 ; offset to first dir
+ .short 0 ; first file
+ .short 1 ; number of directories
+
+ ; GMIF header
+ .ascii "GMIF"
+ .word 0x00003E94 ; chunk size
+ .incbin "baserom.nds", 0x44DA4C, 0x3E8C
.balign 512, 255