summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-12-04 09:21:18 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-12-04 09:21:18 -0500
commit7a166940d0621fdeac0b16ddaa4de6f235837c9c (patch)
treed0f35487804bd199f629f05d6414c1a5b07ec4b8 /data
parentd08f95be8afc1b400d791f93b05fe9e8daf0ee7a (diff)
Dump multiboot programs and librfu_rodata
Diffstat (limited to 'data')
-rw-r--r--data/berry_fix.mbbin0 -> 15348 bytes
-rw-r--r--data/librfu_rodata.s30
-rw-r--r--data/multiboot_berry_glitch_fix.s2
-rw-r--r--data/multiboot_pokemon_colosseum.s2
-rw-r--r--data/pokemon_colosseum.mbbin0 -> 163840 bytes
5 files changed, 26 insertions, 8 deletions
diff --git a/data/berry_fix.mb b/data/berry_fix.mb
new file mode 100644
index 000000000..0afff07f5
--- /dev/null
+++ b/data/berry_fix.mb
Binary files differ
diff --git a/data/librfu_rodata.s b/data/librfu_rodata.s
index 867a1a17c..c6ca84f4b 100644
--- a/data/librfu_rodata.s
+++ b/data/librfu_rodata.s
@@ -1,10 +1,28 @@
.section .rodata
-gUnknown_86FC03C:: @ 86FC03C
- .incbin "baserom.gba", 0x6FC03C, 0x2C
+ .set VERSION_MAJOR, 1
+ .set VERSION_MINOR, 0
+ .set VERSION_REVISION, 24
-gUnknown_86FC068:: @ 86FC068
- .incbin "baserom.gba", 0x6FC068, 0xC
+ .align 2
+_Str_RfuHeader::
+ .byte 2, 14, 0, 10, 9, 5, 7, 2
+ .byte 0, 15, 1, 3, 3, 0, 31, 0
+ .byte 3, 22, 18, 14, 13, 9, 11, 3
+ .byte 15, 15, 1, 3, 3, 0, 0x7f, 0
+
+ .ascii "RFU_V"
+ .byte VERSION_MAJOR + 0x30
+ .byte VERSION_MINOR + 0x30
+ .byte (VERSION_REVISION / 10) + 0x30
+ .byte (VERSION_REVISION % 10) + 0x30
+ .byte 0
+
+ .align 2
+_Str_RFU_MBOOT::
+ .asciz "RFU-MBOOT"
+
+ .align 2
+_Str_Sio32ID::
+ .asciz "NINTENDOSio32ID_030820"
-gUnknown_86FC074:: @ 86FC074
- .incbin "baserom.gba", 0x6FC074, 0x18
diff --git a/data/multiboot_berry_glitch_fix.s b/data/multiboot_berry_glitch_fix.s
index 0e4bcf384..bc417a8ba 100644
--- a/data/multiboot_berry_glitch_fix.s
+++ b/data/multiboot_berry_glitch_fix.s
@@ -1,5 +1,5 @@
.section .rodata
gMultiBootProgram_BerryGlitchFix_Start:: @ 86FFC6C
- .incbin "baserom.gba", 0x6FFC6C, 0x3BF4
+ .incbin "data/berry_fix.mb"
gMultiBootProgram_BerryGlitchFix_End::
diff --git a/data/multiboot_pokemon_colosseum.s b/data/multiboot_pokemon_colosseum.s
index 64df89692..bbc47a9e8 100644
--- a/data/multiboot_pokemon_colosseum.s
+++ b/data/multiboot_pokemon_colosseum.s
@@ -1,5 +1,5 @@
.section .rodata
gMultiBootProgram_PokemonColosseum_Start:: @ 8703860
- .incbin "baserom.gba", 0x703860, 0x28000
+ .incbin "data/pokemon_colosseum.mb"
gMultiBootProgram_PokemonColosseum_End::
diff --git a/data/pokemon_colosseum.mb b/data/pokemon_colosseum.mb
new file mode 100644
index 000000000..2ff3f88bc
--- /dev/null
+++ b/data/pokemon_colosseum.mb
Binary files differ