summaryrefslogtreecommitdiff
path: root/narc/wifi_earth
diff options
context:
space:
mode:
Diffstat (limited to 'narc/wifi_earth')
-rw-r--r--narc/wifi_earth/wifi_earth.narc.s42
-rw-r--r--narc/wifi_earth/wifi_earth_place.narc.s64
2 files changed, 106 insertions, 0 deletions
diff --git a/narc/wifi_earth/wifi_earth.narc.s b/narc/wifi_earth/wifi_earth.narc.s
new file mode 100644
index 00000000..7564ef35
--- /dev/null
+++ b/narc/wifi_earth/wifi_earth.narc.s
@@ -0,0 +1,42 @@
+ .text
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00025274 ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x0000004C ; chunk size
+ .short 8 ; number of files
+ .balign 4
+ .word 0x00000000, 0x00023C84
+ .word 0x00023C84, 0x00023F20
+ .word 0x00023F20, 0x000241BC
+ .word 0x000241BC, 0x00024458
+ .word 0x00024458, 0x000246F4
+ .word 0x000246F4, 0x000247B4
+ .word 0x000247B4, 0x000249DC
+ .word 0x000249DC, 0x00025200
+
+ ; 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 0x00025208 ; chunk size
+ .incbin "baserom.nds", 0x0, 0x23C84
+ .incbin "baserom.nds", 0x23C84, 0x29C
+ .incbin "baserom.nds", 0x23F20, 0x29C
+ .incbin "baserom.nds", 0x241BC, 0x29C
+ .incbin "baserom.nds", 0x24458, 0x29C
+ .incbin "baserom.nds", 0x246F4, 0xC0
+ .incbin "baserom.nds", 0x247B4, 0x228
+ .incbin "baserom.nds", 0x249DC, 0x824
+ .balign 4, 255
diff --git a/narc/wifi_earth/wifi_earth_place.narc.s b/narc/wifi_earth/wifi_earth_place.narc.s
new file mode 100644
index 00000000..b541e337
--- /dev/null
+++ b/narc/wifi_earth/wifi_earth_place.narc.s
@@ -0,0 +1,64 @@
+ .text
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00000CC8 ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x000000A4 ; chunk size
+ .short 19 ; number of files
+ .balign 4
+ .word 0x00000000, 0x00000064
+ .word 0x00000064, 0x00000084
+ .word 0x00000084, 0x000000F4
+ .word 0x000000F4, 0x0000012C
+ .word 0x0000012C, 0x000001AC
+ .word 0x000001AC, 0x000001F0
+ .word 0x000001F0, 0x00000238
+ .word 0x00000238, 0x00000254
+ .word 0x00000254, 0x000002B0
+ .word 0x000002B0, 0x000002E4
+ .word 0x000002E4, 0x00000374
+ .word 0x00000374, 0x000003C8
+ .word 0x000003C8, 0x00000494
+ .word 0x00000494, 0x000004E8
+ .word 0x000004E8, 0x0000052C
+ .word 0x0000052C, 0x0000054C
+ .word 0x0000054C, 0x000005B0
+ .word 0x000005B0, 0x00000680
+ .word 0x00000680, 0x00000BFC
+
+ ; 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 0x00000C04 ; chunk size
+ .incbin "baserom.nds", 0x0, 0x64
+ .incbin "baserom.nds", 0x64, 0x20
+ .incbin "baserom.nds", 0x84, 0x70
+ .incbin "baserom.nds", 0xF4, 0x38
+ .incbin "baserom.nds", 0x12C, 0x80
+ .incbin "baserom.nds", 0x1AC, 0x44
+ .incbin "baserom.nds", 0x1F0, 0x48
+ .incbin "baserom.nds", 0x238, 0x1C
+ .incbin "baserom.nds", 0x254, 0x5C
+ .incbin "baserom.nds", 0x2B0, 0x34
+ .incbin "baserom.nds", 0x2E4, 0x90
+ .incbin "baserom.nds", 0x374, 0x54
+ .incbin "baserom.nds", 0x3C8, 0xCC
+ .incbin "baserom.nds", 0x494, 0x54
+ .incbin "baserom.nds", 0x4E8, 0x44
+ .incbin "baserom.nds", 0x52C, 0x20
+ .incbin "baserom.nds", 0x54C, 0x64
+ .incbin "baserom.nds", 0x5B0, 0xD0
+ .incbin "baserom.nds", 0x680, 0x57C
+ .balign 4, 255