From 34472c0092cfe2592de540e1528da00ce659ad73 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 22 Dec 2014 04:49:26 +0100 Subject: [PATCH] Add more gbaover entries --- game_config.txt | 38 +++--- gba_memory.c | 323 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 342 insertions(+), 19 deletions(-) diff --git a/game_config.txt b/game_config.txt index 898ab75..c4214ac 100644 --- a/game_config.txt +++ b/game_config.txt @@ -298,25 +298,25 @@ game_name = MARIO&LUIGIU game_code = A88E vender_code = 01 -# Mario Party Advance (U) +# Mario Party Advance (U) [!] game_name = MARIOPARTYUS game_code = B8ME vender_code = 01 iwram_stack_optimize = no -# Mario Party Advance (J) +# Mario Party Advance (J) [!] game_name = MARIOPARTYJA game_code = B8MJ vender_code = 01 iwram_stack_optimize = no -# Mario Party Advance (E) +# Mario Party Advance (E) [!] game_name = MARIOPARTYEU game_code = B8MP vender_code = 01 iwram_stack_optimize = no -# Mario Golf: Advance Tour (U) +# Mario Golf: Advance Tour (U) [!] game_name = MARIOGOLFGBA game_code = BMGE vender_code = 01 @@ -325,7 +325,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: GBA Tour (J) +# Mario Golf: GBA Tour (J) [!] game_name = MARIOGOLFGBA game_code = BMGJ vender_code = 01 @@ -334,7 +334,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (E) +# Mario Golf: Advance Tour (E) [!] game_name = MARIOGOLFGBA game_code = BMGP vender_code = 01 @@ -343,7 +343,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (S) +# Mario Golf: Advance Tour (S) [!] game_name = MARIOGOLFGBA game_code = BMGS vender_code = 01 @@ -352,7 +352,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (F) +# Mario Golf: Advance Tour (F) [!] game_name = MARIOGOLFGBA game_code = BMGF vender_code = 01 @@ -361,7 +361,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (I) +# Mario Golf: Advance Tour (I) [!] game_name = MARIOGOLFGBA game_code = BMGI vender_code = 01 @@ -370,7 +370,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (G) +# Mario Golf: Advance Tour (G) [!] game_name = MARIOGOLFGBA game_code = BMGD vender_code = 01 @@ -379,7 +379,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Golf: Advance Tour (A) +# Mario Golf: Advance Tour (A) [!] game_name = MARIOGOLFGBA game_code = BMGU vender_code = 01 @@ -413,43 +413,43 @@ game_code = AE2E vender_code = 08 idle_loop_eliminate_target = 08000358 -# Megaman Battle Network 3 White (U) +# Megaman Battle Network 3 White (U) [!] game_name = MEGA_EXE3_WH game_code = A6BE vender_code = 08 idle_loop_eliminate_target = 0800036c -# Megaman Battle Network 3 Blue (U) +# Megaman Battle Network 3 Blue (U) [!] game_name = MEGA_EXE3_BL game_code = A3XE vender_code = 08 idle_loop_eliminate_target = 0800036c -# Megaman Battle Network 4 Red Sun (U) +# Megaman Battle Network 4 Red Sun (U) [!] game_name = MEGAMANBN4RS game_code = B4WE vender_code = 08 idle_loop_eliminate_target = 080003a6 -# Megaman Battle Network 4 Blue Moon (U) +# Megaman Battle Network 4 Blue Moon (U) [!] game_name = MEGAMANBN4BM game_code = B4BE vender_code = 08 idle_loop_eliminate_target = 080003a6 -# Megaman Battle Network 5 Team Protoman (U) +# Megaman Battle Network 5 Team Protoman (U) [!] game_name = MEGAMAN5_TP_ game_code = BRBE vender_code = 08 idle_loop_eliminate_target = 080003ca -# Megaman Battle Network 5 Team Colonel (U) +# Megaman Battle Network 5 Team Colonel (U) [!] game_name = MEGAMAN5_TC_ game_code = BRKE vender_code = 08 idle_loop_eliminate_target = 080003ca -# Megaman Battle Network 6 Cybeast Gregar (U) +# Megaman Battle Network 6 Cybeast Gregar (U) [!] game_name = MEGAMAN6_GXX game_code = BR5E vender_code = 08 @@ -479,7 +479,7 @@ game_code = B4ZP vender_code = 08 idle_loop_eliminate_target = 0800090c -# Momotarou Densetsu G - Gold Deck wo Tsukure! (J) +# Momotarou Densetsu G - Gold Deck wo Tsukure! (J) [!] game_name = MOMOTETSU-G game_code = BM2J vender_code = 18 diff --git a/gba_memory.c b/gba_memory.c index 7c518c6..b0ccdfd 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -3017,6 +3017,142 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Mario Golf: Advance Tour (U)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGE", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (J)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGJ", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (E)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGP", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (S)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGS", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (F)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGF", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (I)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGI", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (G)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGD", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Golf: Advance Tour (A)", /* rom title */ + "MARIOGOLFGBA", /* gamepak_title */ + "BMGU", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8014e0a, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0x3000d00, /* translation_gate_target_1 */ + 0x3000a30, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Mario Vs Donkey Kong (U)", /* rom title */ "MARIOVSDK", /* gamepak_title */ @@ -3034,6 +3170,57 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Mario Party Advance (U)", /* rom title */ + "MARIOPARTYUS", /* gamepak_title */ + "B8ME", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Party Advance (J)", /* rom title */ + "MARIOPARTYJA", /* gamepak_title */ + "B8MJ", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Mario Party Advance (E)", /* rom title */ + "MARIOPARTYEU", /* gamepak_title */ + "B8MP", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Medal of Honor (J)", /* rom title */ "INFILTRATOR", /* gamepak_title */ @@ -3102,6 +3289,125 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Megaman Battle Network 3 White (U)",/* rom title */ + "MEGA_EXE3_WH", /* gamepak_title */ + "A6BE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x800036c, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 3 Blue (U)",/* rom title */ + "MEGA_EXE3_BL", /* gamepak_title */ + "A3XE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x800036c, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 4 Red Sun (U)",/* rom title */ + "MEGAMANBN4RS", /* gamepak_title */ + "B4WE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x80003a6, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 4 Blue Moon (U)",/* rom title */ + "MEGAMANBN4BM", /* gamepak_title */ + "B4BE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x80003a6, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 5 Team Protoman (U)",/* rom title */ + "MEGAMAN5_TP_", /* gamepak_title */ + "BRBE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x80003ca, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 5 Team Colonel (U)",/* rom title */ + "MEGAMAN5_TC_", /* gamepak_title */ + "BRKE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x80003ca, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Megaman Battle Network 6 Cybeast Gregar (U)",/* rom title */ + "MEGAMAN6_GXX", /* gamepak_title */ + "BR5E", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x80003da, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Megaman Battle Chip Challenge (U)",/* rom title */ "BATTLECHIPGP", /* gamepak_title */ @@ -3204,6 +3510,23 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Momotarou Densetsu G - Gold Deck wo Tsukure! (J)", /* rom title */ + "MOMOTETSU-G", /* gamepak_title */ + "BM2J", /* gamepak_code */ + "18", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0, /* idle_loop_target_pc */ + 0, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Motoracer Advance (E)", /* rom title */ "MOTORACERADV", /* gamepak_title */