summaryrefslogtreecommitdiff
path: root/narc/pt_debug
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-18 11:57:05 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-18 11:57:05 -0400
commit52d0f35f94bc2ebd1828019d9a871d5ac5c224b1 (patch)
treec36b30e5132e2d3af3f6c294dc4560a2eb8026b6 /narc/pt_debug
parenta90600a0e3907dd55c067f1e0dc3bf99e9acd283 (diff)
Disassemble filename table and partially dism NARCs
Diffstat (limited to 'narc/pt_debug')
-rw-r--r--narc/pt_debug/debug_particle.narc.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/narc/pt_debug/debug_particle.narc.s b/narc/pt_debug/debug_particle.narc.s
new file mode 100644
index 00000000..bd2419ab
--- /dev/null
+++ b/narc/pt_debug/debug_particle.narc.s
@@ -0,0 +1,29 @@
+ .text
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00000BC8 ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x0000001C ; chunk size
+ .short 2 ; number of files
+ .balign 4
+ .word 0x00000000, 0x0000029C
+ .word 0x0000029C, 0x00000B84
+
+ ; 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 0x00000B8C ; chunk size
+ .incbin "baserom.nds", 0x24F2644, 0x29C
+ .incbin "baserom.nds", 0x24F28E0, 0x8E8