summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-20 19:50:01 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-20 19:50:01 -0400
commit98aade31e9abbb101fd2aad2301583ead6555b8d (patch)
tree1783165447dff20094be8f673078e51b265cc4cc /data
parent1f740036992b24c1733a163d85516f0d0b355dd2 (diff)
Move files and such out of asm/
Diffstat (limited to 'data')
-rw-r--r--data/fat.s359
-rw-r--r--data/filenametable.s1160
-rw-r--r--data/icon.s6
-rw-r--r--data/title.s16
4 files changed, 1541 insertions, 0 deletions
diff --git a/data/fat.s b/data/fat.s
new file mode 100644
index 00000000..7188a59a
--- /dev/null
+++ b/data/fat.s
@@ -0,0 +1,359 @@
+ .text
+ .global FileAllocationTable
+FileAllocationTable:
+ .word 0x0010C400, 0x0010C420
+ .word 0x0010C600, 0x0010C620
+ .word 0x0010C800, 0x0010C820
+ .word 0x0010CA00, 0x0010CA20
+ .word 0x0010CC00, 0x001452E0
+ .word 0x00145400, 0x0016B5A0
+ .word 0x0016B600, 0x00184380
+ .word 0x00184400, 0x001876E0
+ .word 0x00187800, 0x001A2F60
+ .word 0x001A3000, 0x001AD1A0
+ .word 0x001AD200, 0x001AD220
+ .word 0x001AD400, 0x001DFDE0
+ .word 0x001DFE00, 0x001F9060
+ .word 0x001F9200, 0x00227DE0
+ .word 0x00227E00, 0x00237320
+ .word 0x00237400, 0x0023BA80
+ .word 0x0023BC00, 0x00264100
+ .word 0x00264200, 0x0026B080
+ .word 0x0026B200, 0x00282EE0
+ .word 0x00283000, 0x00283100
+ .word 0x00283200, 0x00285600
+ .word 0x00285600, 0x00285BC0
+ .word 0x00285C00, 0x00286B00
+ .word 0x00286C00, 0x00288500
+ .word 0x00288600, 0x00288FA0
+ .word 0x00289000, 0x00289560
+ .word 0x00289600, 0x00289E00
+ .word 0x00289E00, 0x0028A9A0
+ .word 0x0028AA00, 0x0028C180
+ .word 0x0028C200, 0x0028CB00
+ .word 0x0028CC00, 0x0028D200
+ .word 0x0028D200, 0x0028D800
+ .word 0x0028D800, 0x0028DCA0
+ .word 0x0028DE00, 0x0028E120
+ .word 0x0028E200, 0x0028E6C0
+ .word 0x0028E800, 0x0028F1A0
+ .word 0x0028F200, 0x0028FEC0
+ .word 0x00290000, 0x00290560
+ .word 0x00290600, 0x00291140
+ .word 0x00291200, 0x00291EC0
+ .word 0x00292000, 0x00292C60
+ .word 0x00292E00, 0x00293F40
+ .word 0x00294000, 0x00294900
+ .word 0x00294A00, 0x002953C0
+ .word 0x00295400, 0x002958A0
+ .word 0x00295A00, 0x00296340
+ .word 0x00296400, 0x00296720
+ .word 0x00296800, 0x002974A0
+ .word 0x00297600, 0x00297EA0
+ .word 0x00298000, 0x00298600
+ .word 0x00298600, 0x00298920
+ .word 0x00298A00, 0x002999C0
+ .word 0x00299A00, 0x00299E00
+ .word 0x00299E00, 0x0029C280
+ .word 0x0029C400, 0x0029E780
+ .word 0x0029E800, 0x002A1840
+ .word 0x002A1A00, 0x002A61A0
+ .word 0x002A6200, 0x002A8740
+ .word 0x002A8800, 0x002A9DA0
+ .word 0x002A9E00, 0x002ACA20
+ .word 0x002ACC00, 0x002AD900
+ .word 0x002ADA00, 0x002AEA80
+ .word 0x002AEC00, 0x002B29E0
+ .word 0x002B2A00, 0x002B74C0
+ .word 0x002B7600, 0x002B9240
+ .word 0x002B9400, 0x002BC400
+ .word 0x002BC400, 0x002BEA60
+ .word 0x002BEC00, 0x002C1040
+ .word 0x002C1200, 0x002C2800
+ .word 0x002C2800, 0x002C4BA0
+ .word 0x002C4C00, 0x002C5A20
+ .word 0x002C5C00, 0x002C9AC0
+ .word 0x002C9C00, 0x002C9C20
+ .word 0x002C9E00, 0x002CE8E0
+ .word 0x002CEA00, 0x002CFC20
+ .word 0x002CFE00, 0x002D5BE0
+ .word 0x002D5C00, 0x002D7A20
+ .word 0x002D7C00, 0x002D97E0
+ .word 0x002D9800, 0x002D9C60
+ .word 0x002D9E00, 0x002DF0C0
+ .word 0x002DF200, 0x002E9920
+ .word 0x002E9A00, 0x002EEF80
+ .word 0x002EF000, 0x002F1540
+ .word 0x002F1600, 0x002FF8A0
+ .word 0x002FFA00, 0x00303320
+ .word 0x00303400, 0x0030C500
+ .word 0x0030C600, 0x0030CE20
+ .word 0x03810200, 0x0381EF8C
+ .word 0x037B2400, 0x037D7674
+ .word 0x037D7800, 0x037D84C8
+ .word 0x037ACA00, 0x037B2218
+ .word 0x03938000, 0x039497E0
+ .word 0x03949800, 0x0395AFC8
+ .word 0x03835000, 0x0383E200
+ .word 0x0383E200, 0x03841CB8
+ .word 0x03841E00, 0x03842524
+ .word 0x03842600, 0x038431CC
+ .word 0x03843200, 0x0385A558
+ .word 0x0385A600, 0x0385A980
+ .word 0x0392A200, 0x0392FB5C
+ .word 0x0392FC00, 0x03937FC0
+ .word 0x01C35400, 0x01C3A304
+ .word 0x01C3A400, 0x01C4C6A8
+ .word 0x01C4C800, 0x01CE8C7C
+ .word 0x01CE8E00, 0x01D0905C
+ .word 0x01D09200, 0x01D0E380
+ .word 0x01D4F800, 0x01D539FC
+ .word 0x01D53A00, 0x01D60138
+ .word 0x01D60200, 0x01D61B10
+ .word 0x0382AA00, 0x03834FD0
+ .word 0x037A0C00, 0x037A433C
+ .word 0x03787200, 0x0379AD44
+ .word 0x0379AE00, 0x037A0B24
+ .word 0x00339200, 0x00339A22
+ .word 0x00339C00, 0x0033A3E8
+ .word 0x0033A400, 0x0033AC42
+ .word 0x0033AE00, 0x0033B624
+ .word 0x0033B800, 0x0033B834
+ .word 0x0033BA00, 0x0033BA40
+ .word 0x0033BC00, 0x0033BC34
+ .word 0x0033BE00, 0x0033BE34
+ .word 0x0033C000, 0x0033C034
+ .word 0x0033C200, 0x0033E230
+ .word 0x0033E400, 0x0033E628
+ .word 0x0033E800, 0x0033E86F
+ .word 0x0033EA00, 0x0033F704
+ .word 0x0033F800, 0x003B2E2C
+ .word 0x003B3000, 0x003B3170
+ .word 0x003B3200, 0x003B3428
+ .word 0x003B3600, 0x003B3636
+ .word 0x003B3800, 0x003B3826
+ .word 0x003B3A00, 0x003B3A26
+ .word 0x003B3C00, 0x003B3C2B
+ .word 0x003B3E00, 0x003B3E10
+ .word 0x003B4000, 0x003B4010
+ .word 0x003B4200, 0x003B422D
+ .word 0x003B4400, 0x003B4978
+ .word 0x003B4A00, 0x003FAA00
+ .word 0x003FAA00, 0x003FAB24
+ .word 0x003FAC00, 0x00407E20
+ .word 0x00408000, 0x00408048
+ .word 0x00408200, 0x00408248
+ .word 0x00408400, 0x00408448
+ .word 0x00408600, 0x00408648
+ .word 0x00408800, 0x00408848
+ .word 0x00408A00, 0x00408A48
+ .word 0x00408C00, 0x00408C48
+ .word 0x00408E00, 0x00408E48
+ .word 0x00409000, 0x00409048
+ .word 0x00409200, 0x00409248
+ .word 0x00409400, 0x00409448
+ .word 0x00409600, 0x00409DF4
+ .word 0x00409E00, 0x00411E30
+ .word 0x00412000, 0x00412228
+ .word 0x00412400, 0x00412C24
+ .word 0x00412E00, 0x00412E14
+ .word 0x00413000, 0x00414150
+ .word 0x00414200, 0x00415388
+ .word 0x00415400, 0x00415978
+ .word 0x00415A00, 0x00416B88
+ .word 0x00416C00, 0x00417178
+ .word 0x00417200, 0x004174C8
+ .word 0x00417600, 0x0041B558
+ .word 0x0041B600, 0x00423630
+ .word 0x00423800, 0x00423A28
+ .word 0x00423C00, 0x00423D8C
+ .word 0x00423E00, 0x00423EC4
+ .word 0x00424000, 0x004240C4
+ .word 0x00424200, 0x0042433C
+ .word 0x00424400, 0x004245A0
+ .word 0x00424600, 0x00424694
+ .word 0x00424800, 0x0042484C
+ .word 0x00424A00, 0x00424A60
+ .word 0x00424C00, 0x00424C4C
+ .word 0x00424E00, 0x00424E4C
+ .word 0x00425000, 0x00425034
+ .word 0x00425200, 0x004253B4
+ .word 0x00425400, 0x004255B4
+ .word 0x00425600, 0x00425A24
+ .word 0x00425C00, 0x00426180
+ .word 0x00426200, 0x004262AC
+ .word 0x00426400, 0x00426464
+ .word 0x00426600, 0x00426664
+ .word 0x00426800, 0x00426864
+ .word 0x00426A00, 0x00426A80
+ .word 0x00426C00, 0x00426C4C
+ .word 0x00426E00, 0x0043C744
+ .word 0x0043C800, 0x0043C8A3
+ .word 0x0043CA00, 0x0043CAD7
+ .word 0x0043CC00, 0x0043D8B0
+ .word 0x0043DA00, 0x0043DC28
+ .word 0x0043DE00, 0x0043DE6F
+ .word 0x0043E000, 0x0043E063
+ .word 0x0043E200, 0x0043E430
+ .word 0x0043E600, 0x0043E828
+ .word 0x0043EA00, 0x0043EC50
+ .word 0x0043EE00, 0x0043F050
+ .word 0x0043F200, 0x0043F450
+ .word 0x0043F600, 0x0043F850
+ .word 0x0043FA00, 0x00440200
+ .word 0x00440200, 0x00441314
+ .word 0x00441400, 0x004416DC
+ .word 0x00441800, 0x00441894
+ .word 0x00441A00, 0x00441AC0
+ .word 0x00441C00, 0x00441D0C
+ .word 0x00441E00, 0x00441E94
+ .word 0x00442000, 0x00442094
+ .word 0x00442200, 0x0044224C
+ .word 0x00442400, 0x004424AA
+ .word 0x00442600, 0x004426BA
+ .word 0x00442800, 0x004428DC
+ .word 0x00442A00, 0x00442A95
+ .word 0x00442C00, 0x00445674
+ .word 0x00445800, 0x00445A64
+ .word 0x00445C00, 0x0044B880
+ .word 0x0044BA00, 0x0044C094
+ .word 0x0044C200, 0x0044D430
+ .word 0x0044D600, 0x0044D828
+ .word 0x0044DA00, 0x004518D8
+ .word 0x00451A00, 0x00451AF9
+ .word 0x00451C00, 0x00451D09
+ .word 0x00451E00, 0x00451ED6
+ .word 0x00452000, 0x004520A2
+ .word 0x00452200, 0x00452730
+ .word 0x00452800, 0x00472F9C
+ .word 0x00473000, 0x00476868
+ .word 0x00476A00, 0x004945AC
+ .word 0x00494600, 0x00499368
+ .word 0x00499400, 0x0049944C
+ .word 0x00499600, 0x0049964C
+ .word 0x00499800, 0x0049984C
+ .word 0x00499A00, 0x00499A4C
+ .word 0x00499C00, 0x00499C60
+ .word 0x00499E00, 0x00499E34
+ .word 0x0049A000, 0x0049A034
+ .word 0x0049A200, 0x004A4434
+ .word 0x00339000, 0x003391EA
+ .word 0x004A4600, 0x0057FAC0
+ .word 0x0057FC00, 0x0058F4A8
+ .word 0x0058F600, 0x0058F840
+ .word 0x0058FA00, 0x0059334C
+ .word 0x00593400, 0x00597214
+ .word 0x00597400, 0x00597640
+ .word 0x00597800, 0x00597A28
+ .word 0x02242200, 0x0225E098
+ .word 0x02119C00, 0x0224205C
+ .word 0x00597C00, 0x00CBB160
+ .word 0x0381F000, 0x03821AFC
+ .word 0x03821C00, 0x038241EC
+ .word 0x03863600, 0x0387E98C
+ .word 0x0387EA00, 0x0388C9E0
+ .word 0x03861000, 0x03863494
+ .word 0x03923C00, 0x0392A0C4
+ .word 0x0388CA00, 0x03923B88
+ .word 0x037D8600, 0x03810110
+ .word 0x0397AA00, 0x03A55EC0
+ .word 0x02715000, 0x027153E4
+ .word 0x02715400, 0x02716674
+ .word 0x02716800, 0x0283BCB4
+ .word 0x0283BE00, 0x0296EB50
+ .word 0x0296EC00, 0x0296F0D8
+ .word 0x0253C200, 0x027107CC
+ .word 0x02710800, 0x02711F24
+ .word 0x02515600, 0x02528B04
+ .word 0x02528C00, 0x0253C104
+ .word 0x024F3200, 0x025154F4
+ .word 0x0296F200, 0x0378712C
+ .word 0x02712000, 0x02714E18
+ .word 0x0385AA00, 0x0385CCF0
+ .word 0x03824200, 0x03824464
+ .word 0x03860E00, 0x03860F94
+ .word 0x01D70800, 0x01DA61D8
+ .word 0x01DA6200, 0x01DBFE74
+ .word 0x01DC0000, 0x01DDBB20
+ .word 0x01DDBC00, 0x01DDFDF8
+ .word 0x01DDFE00, 0x01DE00AC
+ .word 0x01DE0200, 0x01DE7D18
+ .word 0x01DE7E00, 0x01DE841C
+ .word 0x01DE8600, 0x01DE889C
+ .word 0x01DE8A00, 0x01E3A09C
+ .word 0x01E3A200, 0x01E5C724
+ .word 0x01E5C800, 0x01E5F17C
+ .word 0x01E5F200, 0x01E69AFC
+ .word 0x01E69C00, 0x01E73308
+ .word 0x01E73400, 0x01E73764
+ .word 0x01E73800, 0x01E94658
+ .word 0x01E94800, 0x01E94DA4
+ .word 0x01E94E00, 0x01E9CC14
+ .word 0x01E9CE00, 0x01EDB430
+ .word 0x01EDB600, 0x01EF5730
+ .word 0x01EF5800, 0x01EFA370
+ .word 0x01EFA400, 0x01EFB4B8
+ .word 0x01EFB600, 0x01F02EC4
+ .word 0x01F03000, 0x01F2FE70
+ .word 0x01F30000, 0x01F5C2F4
+ .word 0x01F5C400, 0x01F5D924
+ .word 0x01F5DA00, 0x01F645BC
+ .word 0x01F64600, 0x01F6E2AC
+ .word 0x01F6E400, 0x01F71564
+ .word 0x01F71600, 0x01F7FBC4
+ .word 0x01F7FC00, 0x01F865E4
+ .word 0x01F86600, 0x01F87AAC
+ .word 0x01F87C00, 0x01F89E6C
+ .word 0x01F8A000, 0x01FA90B0
+ .word 0x01FA9200, 0x01FAA6C8
+ .word 0x01FAA800, 0x01FB01C4
+ .word 0x01FB0200, 0x01FB2940
+ .word 0x01FB2A00, 0x01FC7910
+ .word 0x01FC7A00, 0x01FC8398
+ .word 0x01FC8400, 0x01FFFFE0
+ .word 0x02000000, 0x02001210
+ .word 0x02001400, 0x02004334
+ .word 0x02004400, 0x0200CCE4
+ .word 0x0200CE00, 0x020184D8
+ .word 0x02018600, 0x0201D22C
+ .word 0x0201D400, 0x0207DCB0
+ .word 0x0207DE00, 0x0207E334
+ .word 0x00CBB200, 0x00F4D210
+ .word 0x00F4D400, 0x00F4EE5C
+ .word 0x037A4400, 0x037AC9FC
+ .word 0x03824600, 0x0382A944
+ .word 0x0385CE00, 0x0385D218
+ .word 0x0385D400, 0x0385D56C
+ .word 0x0207E400, 0x0210B4F0
+ .word 0x01C1B000, 0x01C215F8
+ .word 0x01C21600, 0x01C22314
+ .word 0x01C14A00, 0x01C1AFF8
+ .word 0x01C22400, 0x01C227EA
+ .word 0x01C22800, 0x01C27140
+ .word 0x0385D600, 0x03860C44
+ .word 0x0210B600, 0x02119AEC
+ .word 0x00F4F000, 0x00F54A44
+ .word 0x00F54C00, 0x00F55294
+ .word 0x00F55400, 0x0102EAEC
+ .word 0x0102EC00, 0x0102EE2C
+ .word 0x0102F000, 0x0102F22C
+ .word 0x0102F400, 0x0102F62C
+ .word 0x0102F800, 0x01B6B274
+ .word 0x01C27200, 0x01C2CF2C
+ .word 0x01C2D000, 0x01C32594
+ .word 0x01B6B400, 0x01B78074
+ .word 0x01B78200, 0x01C14844
+ .word 0x01C32600, 0x01C34B84
+ .word 0x01C34C00, 0x01C352E0
+ .word 0x01D6DA00, 0x01D7065C
+ .word 0x0395B000, 0x03968BE4
+ .word 0x03968C00, 0x0397A91C
+ .word 0x01D0E400, 0x01D4C44C
+ .word 0x01D4C600, 0x01D4F624
+ .word 0x01D61C00, 0x01D630F4
+ .word 0x01D63200, 0x01D64450
+ .word 0x01D64600, 0x01D6C734
+ .word 0x01D6C800, 0x01D6D980
+ .word 0x0225E200, 0x022ACA44
+ .word 0x022ACC00, 0x024F2410
+ .word 0x024F2600, 0x024F31C8
diff --git a/data/filenametable.s b/data/filenametable.s
new file mode 100644
index 00000000..c5699171
--- /dev/null
+++ b/data/filenametable.s
@@ -0,0 +1,1160 @@
+ .section .text
+ .global FileNameTable
+FileNameTable:
+ .word 0x00000228 ; offset
+ .short 0x0057 ; first file
+ .short 0x0045 ; dir count
+ .word 0x000002CD ; offset
+ .short 0x0057 ; first file
+ .short 0xF000 ; parent id
+ .word 0x000002F5 ; offset
+ .short 0x0057 ; first file
+ .short 0xF001 ; parent id
+ .word 0x000002FD ; offset
+ .short 0x0057 ; first file
+ .short 0xF002 ; parent id
+ .word 0x0000030B ; offset
+ .short 0x0058 ; first file
+ .short 0xF001 ; parent id
+ .word 0x00000332 ; offset
+ .short 0x005A ; first file
+ .short 0xF001 ; parent id
+ .word 0x0000033E ; offset
+ .short 0x005A ; first file
+ .short 0xF005 ; parent id
+ .word 0x0000037B ; offset
+ .short 0x005D ; first file
+ .short 0xF000 ; parent id
+ .word 0x000003CF ; offset
+ .short 0x0063 ; first file
+ .short 0xF000 ; parent id
+ .word 0x000003F4 ; offset
+ .short 0x0063 ; first file
+ .short 0xF008 ; parent id
+ .word 0x0000040B ; offset
+ .short 0x0065 ; first file
+ .short 0xF008 ; parent id
+ .word 0x00000458 ; offset
+ .short 0x006A ; first file
+ .short 0xF008 ; parent id
+ .word 0x00000480 ; offset
+ .short 0x006D ; first file
+ .short 0xF008 ; parent id
+ .word 0x00000490 ; offset
+ .short 0x006E ; first file
+ .short 0xF000 ; parent id
+ .word 0x000004A2 ; offset
+ .short 0x006E ; first file
+ .short 0xF00D ; parent id
+ .word 0x000004B5 ; offset
+ .short 0x006F ; first file
+ .short 0xF00D ; parent id
+ .word 0x000004D7 ; offset
+ .short 0x0071 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00000D2E ; offset
+ .short 0x00F4 ; first file
+ .short 0xF010 ; parent id
+ .word 0x00000D47 ; offset
+ .short 0x00F6 ; first file
+ .short 0xF010 ; parent id
+ .word 0x00000D58 ; offset
+ .short 0x00F7 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00000D83 ; offset
+ .short 0x00F7 ; first file
+ .short 0xF013 ; parent id
+ .word 0x00000D8B ; offset
+ .short 0x00F7 ; first file
+ .short 0xF014 ; parent id
+ .word 0x00000DA5 ; offset
+ .short 0x00F8 ; first file
+ .short 0xF015 ; parent id
+ .word 0x00000DBD ; offset
+ .short 0x00F9 ; first file
+ .short 0xF013 ; parent id
+ .word 0x00000DD7 ; offset
+ .short 0x00FB ; first file
+ .short 0xF013 ; parent id
+ .word 0x00000DDF ; offset
+ .short 0x00FB ; first file
+ .short 0xF018 ; parent id
+ .word 0x00000DEB ; offset
+ .short 0x00FB ; first file
+ .short 0xF019 ; parent id
+ .word 0x00000E06 ; offset
+ .short 0x00FC ; first file
+ .short 0xF013 ; parent id
+ .word 0x00000E15 ; offset
+ .short 0x00FD ; first file
+ .short 0xF013 ; parent id
+ .word 0x00000E32 ; offset
+ .short 0x00FF ; first file
+ .short 0xF000 ; parent id
+ .word 0x00000E3F ; offset
+ .short 0x0100 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00000EB9 ; offset
+ .short 0x0100 ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000EFD ; offset
+ .short 0x0101 ; first file
+ .short 0xF01F ; parent id
+ .word 0x00000F21 ; offset
+ .short 0x0103 ; first file
+ .short 0xF01F ; parent id
+ .word 0x00000F33 ; offset
+ .short 0x0104 ; first file
+ .short 0xF01F ; parent id
+ .word 0x00000F49 ; offset
+ .short 0x0105 ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000F72 ; offset
+ .short 0x0107 ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000F93 ; offset
+ .short 0x0109 ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000FAC ; offset
+ .short 0x010A ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000FC4 ; offset
+ .short 0x010B ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000FD5 ; offset
+ .short 0x010C ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000FE2 ; offset
+ .short 0x010D ; first file
+ .short 0xF01E ; parent id
+ .word 0x00000FF8 ; offset
+ .short 0x010E ; first file
+ .short 0xF01E ; parent id
+ .word 0x00001008 ; offset
+ .short 0x010F ; first file
+ .short 0xF01E ; parent id
+ .word 0x0000101E ; offset
+ .short 0x0110 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00001285 ; offset
+ .short 0x013A ; first file
+ .short 0xF000 ; parent id
+ .word 0x00001291 ; offset
+ .short 0x013A ; first file
+ .short 0xF02D ; parent id
+ .word 0x000012BF ; offset
+ .short 0x013D ; first file
+ .short 0xF000 ; parent id
+ .word 0x000012D4 ; offset
+ .short 0x013E ; first file
+ .short 0xF02F ; parent id
+ .word 0x000012E2 ; offset
+ .short 0x013F ; first file
+ .short 0xF000 ; parent id
+ .word 0x000012F5 ; offset
+ .short 0x0140 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00001304 ; offset
+ .short 0x0141 ; first file
+ .short 0xF000 ; parent id
+ .word 0x00001378 ; offset
+ .short 0x0143 ; first file
+ .short 0xF033 ; parent id
+ .word 0x00001388 ; offset
+ .short 0x0144 ; first file
+ .short 0xF033 ; parent id
+ .word 0x000013C1 ; offset
+ .short 0x0149 ; first file
+ .short 0xF033 ; parent id
+ .word 0x000013CF ; offset
+ .short 0x014A ; first file
+ .short 0xF033 ; parent id
+ .word 0x000013DE ; offset
+ .short 0x014B ; first file
+ .short 0xF033 ; parent id
+ .word 0x0000144A ; offset
+ .short 0x0152 ; first file
+ .short 0xF033 ; parent id
+ .word 0x00001463 ; offset
+ .short 0x0154 ; first file
+ .short 0xF033 ; parent id
+ .word 0x0000147C ; offset
+ .short 0x0156 ; first file
+ .short 0xF033 ; parent id
+ .word 0x00001496 ; offset
+ .short 0x0158 ; first file
+ .short 0xF033 ; parent id
+ .word 0x000014A5 ; offset
+ .short 0x0159 ; first file
+ .short 0xF000 ; parent id
+ .word 0x000014AC ; offset
+ .short 0x0159 ; first file
+ .short 0xF03D ; parent id
+ .word 0x000014BD ; offset
+ .short 0x0159 ; first file
+ .short 0xF03E ; parent id
+ .word 0x000014C9 ; offset
+ .short 0x015A ; first file
+ .short 0xF03E ; parent id
+ .word 0x000014D5 ; offset
+ .short 0x015B ; first file
+ .short 0xF000 ; parent id
+ .word 0x0000150F ; offset
+ .short 0x015D ; first file
+ .short 0xF041 ; parent id
+ .word 0x00001543 ; offset
+ .short 0x0161 ; first file
+ .short 0xF041 ; parent id
+ .word 0x0000156A ; offset
+ .short 0x0163 ; first file
+ .short 0xF041 ; parent id
+
+ ; Directory: /
+ .byte 11 | 0x80
+ .ascii "application"
+ .byte 0x01, 0xF0 ; dir ID
+ .byte 3 | 0x80
+ .ascii "arc"
+ .byte 0x07, 0xF0 ; dir ID
+ .byte 6 | 0x80
+ .ascii "battle"
+ .byte 0x08, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "contest"
+ .byte 0x0D, 0xF0 ; dir ID
+ .byte 4 | 0x80
+ .ascii "data"
+ .byte 0x10, 0xF0 ; dir ID
+ .byte 4 | 0x80
+ .ascii "demo"
+ .byte 0x13, 0xF0 ; dir ID
+ .byte 3 | 0x80
+ .ascii "dwc"
+ .byte 0x1D, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "fielddata"
+ .byte 0x1E, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "graphic"
+ .byte 0x2C, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "itemtool"
+ .byte 0x2D, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "msgdata"
+ .byte 0x2F, 0xF0 ; dir ID
+ .byte 12 | 0x80
+ .ascii "particledata"
+ .byte 0x31, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "pokeanime"
+ .byte 0x32, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "poketool"
+ .byte 0x33, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "resource"
+ .byte 0x3D, 0xF0 ; dir ID
+ .byte 10 | 0x80
+ .ascii "wazaeffect"
+ .byte 0x41, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /application
+ .byte 11 | 0x80
+ .ascii "custom_ball"
+ .byte 0x02, 0xF0 ; dir ID
+ .byte 10 | 0x80
+ .ascii "wifi_earth"
+ .byte 0x04, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "zukanlist"
+ .byte 0x05, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /custom_ball
+ .byte 4 | 0x80
+ .ascii "data"
+ .byte 0x03, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /application/data
+ .byte 12
+ .ascii "cb_data.narc"
+ .byte 0 ; end
+
+ ; Directory: /wifi_earth
+ .byte 15
+ .ascii "wifi_earth.narc"
+ .byte 21
+ .ascii "wifi_earth_place.narc"
+ .byte 0 ; end
+
+ ; Directory: /zukanlist
+ .byte 8 | 0x80
+ .ascii "zkn_data"
+ .byte 0x06, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /application/zkn_data
+ .byte 15
+ .ascii "zukan_data.narc"
+ .byte 22
+ .ascii "zukan_enc_diamond.narc"
+ .byte 20
+ .ascii "zukan_enc_pearl.narc"
+ .byte 0 ; end
+
+ ; Directory: /arc
+ .byte 13
+ .ascii "bm_anime.narc"
+ .byte 18
+ .ascii "bm_anime_list.narc"
+ .byte 15
+ .ascii "encdata_ex.narc"
+ .byte 10
+ .ascii "ppark.narc"
+ .byte 14
+ .ascii "ship_demo.narc"
+ .byte 7
+ .ascii "tv.narc"
+ .byte 0 ; end
+
+ ; Directory: /battle
+ .byte 7 | 0x80
+ .ascii "b_tower"
+ .byte 0x09, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "graphic"
+ .byte 0x0A, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "skill"
+ .byte 0x0B, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "tr_ai"
+ .byte 0x0C, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /b_tower
+ .byte 10
+ .ascii "btdpm.narc"
+ .byte 10
+ .ascii "btdtr.narc"
+ .byte 0 ; end
+
+ ; Directory: /graphic
+ .byte 14
+ .ascii "b_bag_gra.narc"
+ .byte 16
+ .ascii "b_plist_gra.narc"
+ .byte 12
+ .ascii "batt_bg.narc"
+ .byte 13
+ .ascii "batt_obj.narc"
+ .byte 16
+ .ascii "vs_demo_gra.narc"
+ .byte 0 ; end
+
+ ; Directory: /skill
+ .byte 11
+ .ascii "be_seq.narc"
+ .byte 12
+ .ascii "sub_seq.narc"
+ .byte 13
+ .ascii "waza_seq.narc"
+ .byte 0 ; end
+
+ ; Directory: /tr_ai
+ .byte 14
+ .ascii "tr_ai_seq.narc"
+ .byte 0 ; end
+
+ ; Directory: /contest
+ .byte 4 | 0x80
+ .ascii "data"
+ .byte 0x0E, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "graphic"
+ .byte 0x0F, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /data
+ .byte 17
+ .ascii "contest_data.narc"
+ .byte 0 ; end
+
+ ; Directory: /graphic
+ .byte 15
+ .ascii "contest_bg.narc"
+ .byte 16
+ .ascii "contest_obj.narc"
+ .byte 0 ; end
+
+ ; Directory: /data
+ .byte 15
+ .ascii "area00light.txt"
+ .byte 15
+ .ascii "area01light.txt"
+ .byte 15
+ .ascii "area02light.txt"
+ .byte 15
+ .ascii "battle_win.NSCR"
+ .byte 18
+ .ascii "btower_canm.resdat"
+ .byte 19
+ .ascii "btower_celact.cldat"
+ .byte 18
+ .ascii "btower_cell.resdat"
+ .byte 17
+ .ascii "btower_chr.resdat"
+ .byte 17
+ .ascii "btower_pal.resdat"
+ .byte 10
+ .ascii "cell0.NCGR"
+ .byte 10
+ .ascii "cell0.NCLR"
+ .byte 18
+ .ascii "clact_default.NANR"
+ .byte 13
+ .ascii "crystal.nsbmd"
+ .byte 16
+ .ascii "demo_climax.narc"
+ .byte 18
+ .ascii "dp_areawindow.NCGR"
+ .byte 18
+ .ascii "dp_areawindow.NCLR"
+ .byte 18
+ .ascii "dt_test_celact.txt"
+ .byte 20
+ .ascii "dt_test_res_cell.txt"
+ .byte 23
+ .ascii "dt_test_res_cellanm.txt"
+ .byte 20
+ .ascii "dt_test_res_char.txt"
+ .byte 21
+ .ascii "dt_test_res_multi.txt"
+ .byte 24
+ .ascii "dt_test_res_multianm.txt"
+ .byte 20
+ .ascii "dt_test_res_pltt.txt"
+ .byte 13
+ .ascii "dun_sea.nsbtx"
+ .byte 7
+ .ascii "eoo.dat"
+ .byte 10
+ .ascii "exdata.dat"
+ .byte 16
+ .ascii "field_cutin.narc"
+ .byte 14
+ .ascii "fld_anime0.bin"
+ .byte 14
+ .ascii "fld_anime1.bin"
+ .byte 15
+ .ascii "fld_anime10.bin"
+ .byte 14
+ .ascii "fld_anime2.bin"
+ .byte 14
+ .ascii "fld_anime3.bin"
+ .byte 14
+ .ascii "fld_anime4.bin"
+ .byte 14
+ .ascii "fld_anime5.bin"
+ .byte 14
+ .ascii "fld_anime6.bin"
+ .byte 14
+ .ascii "fld_anime7.bin"
+ .byte 14
+ .ascii "fld_anime8.bin"
+ .byte 14
+ .ascii "fld_anime9.bin"
+ .byte 15
+ .ascii "fs_kanban.nsbca"
+ .byte 12
+ .ascii "ground0.NCGR"
+ .byte 12
+ .ascii "ground0.NCLR"
+ .byte 12
+ .ascii "ground0.NSCR"
+ .byte 16
+ .ascii "kemu_itpconv.dat"
+ .byte 15
+ .ascii "lake_anim.nsbtx"
+ .byte 19
+ .ascii "miniasahamabe.nsbtx"
+ .byte 16
+ .ascii "miniasasea.nsbtx"
+ .byte 16
+ .ascii "minihamabe.nsbtx"
+ .byte 13
+ .ascii "minimum.nsbtx"
+ .byte 15
+ .ascii "minirhana.nsbtx"
+ .byte 11
+ .ascii "namein.narc"
+ .byte 10
+ .ascii "nfont.NCGR"
+ .byte 10
+ .ascii "nfont.NCLR"
+ .byte 8
+ .ascii "pc.nsbca"
+ .byte 17
+ .ascii "plist_canm.resdat"
+ .byte 17
+ .ascii "plist_cell.resdat"
+ .byte 16
+ .ascii "plist_chr.resdat"
+ .byte 13
+ .ascii "plist_h.cldat"
+ .byte 16
+ .ascii "plist_pal.resdat"
+ .byte 20
+ .ascii "porucase_canm.resdat"
+ .byte 21
+ .ascii "porucase_celact.cldat"
+ .byte 20
+ .ascii "porucase_cell.resdat"
+ .byte 19
+ .ascii "porucase_chr.resdat"
+ .byte 19
+ .ascii "porucase_pal.resdat"
+ .byte 15
+ .ascii "pst_canm.resdat"
+ .byte 15
+ .ascii "pst_cell.resdat"
+ .byte 14
+ .ascii "pst_chr.resdat"
+ .byte 11
+ .ascii "pst_h.cldat"
+ .byte 14
+ .ascii "pst_pal.resdat"
+ .byte 16
+ .ascii "shop_canm.resdat"
+ .byte 16
+ .ascii "shop_cell.resdat"
+ .byte 15
+ .ascii "shop_chr.resdat"
+ .byte 12
+ .ascii "shop_h.cldat"
+ .byte 15
+ .ascii "shop_pal.resdat"
+ .byte 9
+ .ascii "slot.narc"
+ .byte 16
+ .ascii "smptm_koori.NANR"
+ .byte 16
+ .ascii "smptm_koori.NCER"
+ .byte 16
+ .ascii "smptm_koori.NCGR"
+ .byte 16
+ .ascii "smptm_koori.NCLR"
+ .byte 17
+ .ascii "smptm_nemuri.NANR"
+ .byte 17
+ .ascii "smptm_nemuri.NCER"
+ .byte 17
+ .ascii "smptm_nemuri.NCGR"
+ .byte 17
+ .ascii "smptm_nemuri.NCLR"
+ .byte 13
+ .ascii "t3_fl_b.nsbtx"
+ .byte 13
+ .ascii "t3_fl_p.nsbtx"
+ .byte 13
+ .ascii "t3_fl_r.nsbtx"
+ .byte 13
+ .ascii "t3_fl_y.nsbtx"
+ .byte 8
+ .ascii "test.atr"
+ .byte 14
+ .ascii "tmap_block.dat"
+ .byte 14
+ .ascii "tmap_flags.dat"
+ .byte 17
+ .ascii "tmapn_canm.resdat"
+ .byte 18
+ .ascii "tmapn_celact.cldat"
+ .byte 16
+ .ascii "tmapn_celact.txt"
+ .byte 17
+ .ascii "tmapn_cell.resdat"
+ .byte 16
+ .ascii "tmapn_chr.resdat"
+ .byte 16
+ .ascii "tmapn_pal.resdat"
+ .byte 18
+ .ascii "tmapn_res_canm.txt"
+ .byte 18
+ .ascii "tmapn_res_cell.txt"
+ .byte 17
+ .ascii "tmapn_res_chr.txt"
+ .byte 17
+ .ascii "tmapn_res_pal.txt"
+ .byte 14
+ .ascii "tradelist.narc"
+ .byte 13
+ .ascii "trapmark.narc"
+ .byte 12
+ .ascii "ug_anim.narc"
+ .byte 17
+ .ascii "ug_base_cur.nsbmd"
+ .byte 15
+ .ascii "ug_boygirl.NCGR"
+ .byte 15
+ .ascii "ug_boygirl.NCLR"
+ .byte 14
+ .ascii "ug_fossil.narc"
+ .byte 12
+ .ascii "ug_hero.NANR"
+ .byte 12
+ .ascii "ug_hero.NCER"
+ .byte 12
+ .ascii "ug_hole.NANR"
+ .byte 12
+ .ascii "ug_hole.NCER"
+ .byte 12
+ .ascii "ug_hole.NCGR"
+ .byte 13
+ .ascii "ug_parts.narc"
+ .byte 13
+ .ascii "ug_radar.narc"
+ .byte 12
+ .ascii "ug_trap.narc"
+ .byte 25
+ .ascii "ugeffect_obj_graphic.narc"
+ .byte 19
+ .ascii "uground_cell.resdat"
+ .byte 22
+ .ascii "uground_cellanm.resdat"
+ .byte 19
+ .ascii "uground_char.resdat"
+ .byte 20
+ .ascii "uground_char2.resdat"
+ .byte 19
+ .ascii "uground_clact.cldat"
+ .byte 19
+ .ascii "uground_pltt.resdat"
+ .byte 20
+ .ascii "uground_pltt2.resdat"
+ .byte 17
+ .ascii "underg_radar.narc"
+ .byte 9
+ .ascii "UTF16.dat"
+ .byte 11
+ .ascii "utility.bin"
+ .byte 16
+ .ascii "weather_sys.narc"
+ .byte 9
+ .ascii "wifi.ncgr"
+ .byte 13
+ .ascii "wifinote.narc"
+ .byte 17
+ .ascii "wifip2pmatch.narc"
+ .byte 7
+ .ascii "wm.ncgr"
+ .byte 7
+ .ascii "wm.nclr"
+ .byte 6 | 0x80
+ .ascii "mmodel"
+ .byte 0x11, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "sound"
+ .byte 0x12, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /mmodel
+ .byte 11
+ .ascii "fldeff.narc"
+ .byte 11
+ .ascii "mmodel.narc"
+ .byte 0 ; end
+
+ ; Directory: /sound
+ .byte 15
+ .ascii "sound_data.sdat"
+ .byte 0 ; end
+
+ ; Directory: /demo
+ .byte 3 | 0x80
+ .ascii "egg"
+ .byte 0x14, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "intro"
+ .byte 0x17, 0xF0 ; dir ID
+ .byte 6 | 0x80
+ .ascii "shinka"
+ .byte 0x18, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "syoujyou"
+ .byte 0x1B, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "title"
+ .byte 0x1C, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /egg
+ .byte 4 | 0x80
+ .ascii "data"
+ .byte 0x15, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /demo/data
+ .byte 13
+ .ascii "egg_data.narc"
+ .byte 8 | 0x80
+ .ascii "particle"
+ .byte 0x16, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /egg/particle
+ .byte 22
+ .ascii "egg_demo_particle.narc"
+ .byte 0 ; end
+
+ ; Directory: /intro
+ .byte 10
+ .ascii "intro.narc"
+ .byte 13
+ .ascii "intro_tv.narc"
+ .byte 0 ; end
+
+ ; Directory: /shinka
+ .byte 4 | 0x80
+ .ascii "data"
+ .byte 0x19, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /demo/data
+ .byte 8 | 0x80
+ .ascii "particle"
+ .byte 0x1A, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /shinka/particle
+ .byte 25
+ .ascii "shinka_demo_particle.narc"
+ .byte 0 ; end
+
+ ; Directory: /syoujyou
+ .byte 13
+ .ascii "syoujyou.narc"
+ .byte 0 ; end
+
+ ; Directory: /title
+ .byte 12
+ .ascii "op_demo.narc"
+ .byte 14
+ .ascii "titledemo.narc"
+ .byte 0 ; end
+
+ ; Directory: /dwc
+ .byte 11
+ .ascii "utility.bin"
+ .byte 0 ; end
+
+ ; Directory: /fielddata
+ .byte 8 | 0x80
+ .ascii "areadata"
+ .byte 0x1F, 0xF0 ; dir ID
+ .byte 11 | 0x80
+ .ascii "build_model"
+ .byte 0x23, 0xF0 ; dir ID
+ .byte 11 | 0x80
+ .ascii "encountdata"
+ .byte 0x24, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "eventdata"
+ .byte 0x25, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "land_data"
+ .byte 0x26, 0xF0 ; dir ID
+ .byte 9 | 0x80
+ .ascii "mapmatrix"
+ .byte 0x27, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "maptable"
+ .byte 0x28, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "mm_list"
+ .byte 0x29, 0xF0 ; dir ID
+ .byte 13 | 0x80
+ .ascii "pokemon_trade"
+ .byte 0x2A, 0xF0 ; dir ID
+ .byte 6 | 0x80
+ .ascii "script"
+ .byte 0x2B, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /areadata
+ .byte 14
+ .ascii "area_data.narc"
+ .byte 16 | 0x80
+ .ascii "area_build_model"
+ .byte 0x20, 0xF0 ; dir ID
+ .byte 12 | 0x80
+ .ascii "area_map_tex"
+ .byte 0x21, 0xF0 ; dir ID
+ .byte 15 | 0x80
+ .ascii "area_move_model"
+ .byte 0x22, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /fielddata/area_build_model
+ .byte 15
+ .ascii "area_build.narc"
+ .byte 18
+ .ascii "areabm_texset.narc"
+ .byte 0 ; end
+
+ ; Directory: /fielddata/area_map_tex
+ .byte 16
+ .ascii "map_tex_set.narc"
+ .byte 0 ; end
+
+ ; Directory: /fielddata/area_move_model
+ .byte 20
+ .ascii "move_model_list.narc"
+ .byte 0 ; end
+
+ ; Directory: /build_model
+ .byte 16
+ .ascii "build_model.narc"
+ .byte 22
+ .ascii "build_model_matshp.dat"
+ .byte 0 ; end
+
+ ; Directory: /encountdata
+ .byte 15
+ .ascii "d_enc_data.narc"
+ .byte 15
+ .ascii "p_enc_data.narc"
+ .byte 0 ; end
+
+ ; Directory: /eventdata
+ .byte 23
+ .ascii "zone_event_release.narc"
+ .byte 0 ; end
+
+ ; Directory: /land_data
+ .byte 22
+ .ascii "land_data_release.narc"
+ .byte 0 ; end
+
+ ; Directory: /mapmatrix
+ .byte 15
+ .ascii "map_matrix.narc"
+ .byte 0 ; end
+
+ ; Directory: /maptable
+ .byte 11
+ .ascii "mapname.bin"
+ .byte 0 ; end
+
+ ; Directory: /mm_list
+ .byte 20
+ .ascii "move_model_list.narc"
+ .byte 0 ; end
+
+ ; Directory: /pokemon_trade
+ .byte 14
+ .ascii "fld_trade.narc"
+ .byte 0 ; end
+
+ ; Directory: /script
+ .byte 20
+ .ascii "scr_seq_release.narc"
+ .byte 0 ; end
+
+ ; Directory: /graphic
+ .byte 12
+ .ascii "bag_gra.narc"
+ .byte 8
+ .ascii "box.narc"
+ .byte 11
+ .ascii "btower.narc"
+ .byte 15
+ .ascii "config_gra.narc"
+ .byte 15
+ .ascii "demo_trade.narc"
+ .byte 16
+ .ascii "dendou_demo.narc"
+ .byte 14
+ .ascii "dendou_pc.narc"
+ .byte 11
+ .ascii "ending.narc"
+ .byte 18
+ .ascii "ev_pokeselect.narc"
+ .byte 15
+ .ascii "f_note_gra.narc"
+ .byte 16
+ .ascii "field_board.narc"
+ .byte 24
+ .ascii "field_encounteffect.narc"
+ .byte 15
+ .ascii "fld_comact.narc"
+ .byte 9
+ .ascii "font.narc"
+ .byte 12
+ .ascii "fontoam.narc"
+ .byte 17
+ .ascii "hiden_effect.narc"
+ .byte 14
+ .ascii "imageclip.narc"
+ .byte 13
+ .ascii "mail_gra.narc"
+ .byte 13
+ .ascii "menu_gra.narc"
+ .byte 11
+ .ascii "mysign.narc"
+ .byte 12
+ .ascii "mystery.narc"
+ .byte 13
+ .ascii "ntag_gra.narc"
+ .byte 13
+ .ascii "nutmixer.narc"
+ .byte 11
+ .ascii "oekaki.narc"
+ .byte 12
+ .ascii "opening.narc"
+ .byte 14
+ .ascii "plist_gra.narc"
+ .byte 9
+ .ascii "pmsi.narc"
+ .byte 12
+ .ascii "poketch.narc"
+ .byte 13
+ .ascii "poru_gra.narc"
+ .byte 12
+ .ascii "poruact.narc"
+ .byte 13
+ .ascii "porudemo.narc"
+ .byte 12
+ .ascii "pst_gra.narc"
+ .byte 12
+ .ascii "ranking.narc"
+ .byte 11
+ .ascii "record.narc"
+ .byte 13
+ .ascii "shop_gra.narc"
+ .byte 13
+ .ascii "tmap_gra.narc"
+ .byte 20
+ .ascii "touch_subwindow.narc"
+ .byte 17
+ .ascii "trainer_case.narc"
+ .byte 14
+ .ascii "unionroom.narc"
+ .byte 19
+ .ascii "waza_oshie_gra.narc"
+ .byte 13
+ .ascii "winframe.narc"
+ .byte 15
+ .ascii "worldtrade.narc"
+ .byte 0 ; end
+
+ ; Directory: /itemtool
+ .byte 8 | 0x80
+ .ascii "itemdata"
+ .byte 0x2E, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /itemdata
+ .byte 14
+ .ascii "item_data.narc"
+ .byte 14
+ .ascii "item_icon.narc"
+ .byte 14
+ .ascii "nuts_data.narc"
+ .byte 0 ; end
+
+ ; Directory: /msgdata
+ .byte 8
+ .ascii "msg.narc"
+ .byte 8 | 0x80
+ .ascii "scenario"
+ .byte 0x30, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /scenario
+ .byte 12
+ .ascii "scr_msg.narc"
+ .byte 0 ; end
+
+ ; Directory: /particledata
+ .byte 17
+ .ascii "particledata.narc"
+ .byte 0 ; end
+
+ ; Directory: /pokeanime
+ .byte 13
+ .ascii "poke_anm.narc"
+ .byte 0 ; end
+
+ ; Directory: /poketool
+ .byte 14
+ .ascii "pokezukan.narc"
+ .byte 14
+ .ascii "shinzukan.narc"
+ .byte 7 | 0x80
+ .ascii "icongra"
+ .byte 0x34, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "personal"
+ .byte 0x35, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "pokeanm"
+ .byte 0x36, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "pokefoot"
+ .byte 0x37, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "pokegra"
+ .byte 0x38, 0xF0 ; dir ID
+ .byte 7 | 0x80
+ .ascii "trainer"
+ .byte 0x39, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "trgra"
+ .byte 0x3A, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "trmsg"
+ .byte 0x3B, 0xF0 ; dir ID
+ .byte 4 | 0x80
+ .ascii "waza"
+ .byte 0x3C, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /icongra
+ .byte 14
+ .ascii "poke_icon.narc"
+ .byte 0 ; end
+
+ ; Directory: /personal
+ .byte 8
+ .ascii "evo.narc"
+ .byte 12
+ .ascii "growtbl.narc"
+ .byte 13
+ .ascii "personal.narc"
+ .byte 8
+ .ascii "pms.narc"
+ .byte 10
+ .ascii "wotbl.narc"
+ .byte 0 ; end
+
+ ; Directory: /pokeanm
+ .byte 12
+ .ascii "pokeanm.narc"
+ .byte 0 ; end
+
+ ; Directory: /pokefoot
+ .byte 13
+ .ascii "pokefoot.narc"
+ .byte 0 ; end
+
+ ; Directory: /pokegra
+ .byte 11
+ .ascii "height.narc"
+ .byte 13
+ .ascii "height_o.narc"
+ .byte 14
+ .ascii "otherpoke.narc"
+ .byte 16
+ .ascii "poke_shadow.narc"
+ .byte 20
+ .ascii "poke_shadow_ofx.narc"
+ .byte 14
+ .ascii "poke_yofs.narc"
+ .byte 12
+ .ascii "pokegra.narc"
+ .byte 0 ; end
+
+ ; Directory: /trainer
+ .byte 11
+ .ascii "trdata.narc"
+ .byte 11
+ .ascii "trpoke.narc"
+ .byte 0 ; end
+
+ ; Directory: /trgra
+ .byte 11
+ .ascii "trbgra.narc"
+ .byte 11
+ .ascii "trfgra.narc"
+ .byte 0 ; end
+
+ ; Directory: /trmsg
+ .byte 10
+ .ascii "trtbl.narc"
+ .byte 13
+ .ascii "trtblofs.narc"
+ .byte 0 ; end
+
+ ; Directory: /waza
+ .byte 13
+ .ascii "waza_tbl.narc"
+ .byte 0 ; end
+
+ ; Directory: /resource
+ .byte 3 | 0x80
+ .ascii "eng"
+ .byte 0x3E, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /eng
+ .byte 5 | 0x80
+ .ascii "trial"
+ .byte 0x3F, 0xF0 ; dir ID
+ .byte 5 | 0x80
+ .ascii "zukan"
+ .byte 0x40, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /resource/trial
+ .byte 10
+ .ascii "trial.narc"
+ .byte 0 ; end
+
+ ; Directory: /resource/zukan
+ .byte 10
+ .ascii "zukan.narc"
+ .byte 0 ; end
+
+ ; Directory: /wazaeffect
+ .byte 6
+ .ascii "we.arc"
+ .byte 11
+ .ascii "we_sub.narc"
+ .byte 11 | 0x80
+ .ascii "effectclact"
+ .byte 0x42, 0xF0 ; dir ID
+ .byte 10 | 0x80
+ .ascii "effectdata"
+ .byte 0x43, 0xF0 ; dir ID
+ .byte 8 | 0x80
+ .ascii "pt_debug"
+ .byte 0x44, 0xF0 ; dir ID
+ .byte 0 ; end
+
+ ; Directory: /effectclact
+ .byte 11
+ .ascii "wecell.narc"
+ .byte 14
+ .ascii "wecellanm.narc"
+ .byte 11
+ .ascii "wechar.narc"
+ .byte 11
+ .ascii "wepltt.narc"
+ .byte 0 ; end
+
+ ; Directory: /effectdata
+ .byte 18
+ .ascii "ball_particle.narc"
+ .byte 18
+ .ascii "waza_particle.narc"
+ .byte 0 ; end
+
+ ; Directory: /pt_debug
+ .byte 19
+ .ascii "debug_particle.narc"
+ .byte 0 ; end
+ .balign 4, 0xFF
diff --git a/data/icon.s b/data/icon.s
new file mode 100644
index 00000000..976077b0
--- /dev/null
+++ b/data/icon.s
@@ -0,0 +1,6 @@
+ .text
+ .short 0x0001
+ .short 0x048B
+ .space 0x1C
+ .incbin "graphics/icon.4bpp"
+ .incbin "graphics/icon.gbapal"
diff --git a/data/title.s b/data/title.s
new file mode 100644
index 00000000..56b16107
--- /dev/null
+++ b/data/title.s
@@ -0,0 +1,16 @@
+ .text
+ .global ROMTitles
+ROMTitles:
+ ; UTF16LE has a leading short that should be skipped
+ .incbin "data/title/title.txt", 2
+ .space 0x100-(.-ROMTitles)
+ .incbin "data/title/title.txt", 2
+ .space 0x200-(.-ROMTitles)
+ .incbin "data/title/title.txt", 2
+ .space 0x300-(.-ROMTitles)
+ .incbin "data/title/title.txt", 2
+ .space 0x400-(.-ROMTitles)
+ .incbin "data/title/title.txt", 2
+ .space 0x500-(.-ROMTitles)
+ .incbin "data/title/title.txt", 2
+ .space 0x600-(.-ROMTitles)