diff options
| author | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-18 11:57:05 -0400 |
|---|---|---|
| committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-18 11:57:05 -0400 |
| commit | 52d0f35f94bc2ebd1828019d9a871d5ac5c224b1 (patch) | |
| tree | c36b30e5132e2d3af3f6c294dc4560a2eb8026b6 /narc/trmsg | |
| parent | a90600a0e3907dd55c067f1e0dc3bf99e9acd283 (diff) | |
Disassemble filename table and partially dism NARCs
Diffstat (limited to 'narc/trmsg')
| -rw-r--r-- | narc/trmsg/trtbl.narc.s | 27 | ||||
| -rw-r--r-- | narc/trmsg/trtblofs.narc.s | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/narc/trmsg/trtbl.narc.s b/narc/trmsg/trtbl.narc.s new file mode 100644 index 00000000..20943760 --- /dev/null +++ b/narc/trmsg/trtbl.narc.s @@ -0,0 +1,27 @@ + .text + ; NARC header + .ascii "NARC" + .short 0xFFFE ; byte order + .short 0x0100 ; version + .word 0x00002584 ; size + .short 0x0010 ; chunk size + .short 3 ; number following chunks + + ; BTAF header + .ascii "BTAF" + .word 0x00000014 ; chunk size + .short 1 ; number of files + .balign 4 + .word 0x00000000, 0x00002548 + + ; 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 0x00002550 ; chunk size + .incbin "baserom.nds", 0x1C3263C, 0x2548 diff --git a/narc/trmsg/trtblofs.narc.s b/narc/trmsg/trtblofs.narc.s new file mode 100644 index 00000000..3a331a7b --- /dev/null +++ b/narc/trmsg/trtblofs.narc.s @@ -0,0 +1,27 @@ + .text + ; NARC header + .ascii "NARC" + .short 0xFFFE ; byte order + .short 0x0100 ; version + .word 0x000006E0 ; size + .short 0x0010 ; chunk size + .short 3 ; number following chunks + + ; BTAF header + .ascii "BTAF" + .word 0x00000014 ; chunk size + .short 1 ; number of files + .balign 4 + .word 0x00000000, 0x000006A4 + + ; 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 0x000006AC ; chunk size + .incbin "baserom.nds", 0x1C34C3C, 0x6A4 |
