summaryrefslogtreecommitdiff
path: root/game_config.txt
blob: 7c8cea4c17654a0bc85e5393460dfcd776288e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# gpSP game settings database

# What is this file??? game_config.txt is a database of settings on a
# per-game basis. A couple of the settings are required to make games
# work at all, but most of them are there to improve the performance of
# a game. If a game doesn't work then look through the settings here,
# but keep in mind that this file can not be used to fix a majority of
# games, the ones that don't work because of emulator bugs. For those
# you'll have to wait for a new release and hope it someday gets fixed.

# This file is meant to be edited in plain text, with a normal editor.
# game_name, game_code, and vender_code can be found in the game's header.
# All three must match for the game to be used, and those setting must be
# in that order. Be sure to use [!] ROMs (verified by GoodGBA) when
# building this list. Right now I don't know how much overlap there is
# between different region games, but usually idle loops don't apply to
# them. If you're using a different region than the one in here you can
# try copying the entry, it might improve it.

# You can also find the three identifying codes on the second line from
# the top in gpSP's main menu. So anyone should be able to add settings
# to this file if they know what to set, but for some options it'll take
# a lot of special knowledge for them to be of any use. Be sure to see if
# your game is already here, but only if the game_name/game_code/
# vender_code all match. Only the first full match's settings will be used.

# Everything here is case sensitive. Don't mess with this file unless
# you know what you're doing - if in doubt sooner ask someone who does.

# I mainly focus on USA versions, so try those first. And, just because
# a game is on here doesn't mean the game actually works in the current
# version. :/

# These are the following options:

# idle_loop_eliminate_target - tells the recompiler that this branch
#  is an idle loop and thus a hardware update should follow it every
#  time. This is purely a speed improvement and is not meant to improve
#  compatibility - if it does it represents a strange timing problem in
#  the game. You can only set one of these for now. Don't use this if
#  you don't know what you're doing, it can break the game. Some games
#  will run miserably slowly without this option.

# translation_gate_target - tells the recompiler to put an indirect
#  branch (gate) at this point, so artificially stop the current block.
#  This is useful if the game performs self modifying code from within
#  the same block it is currently executing - this can prevent it from
#  causing SMC hits far more times than it should. This is also only a
#  speed hack; you can have up to 8 of these. Don't use this if you don't
#  know what you're doing, they'll just make the game slower and are
#  rarely helpful (good for Camelot games).

# iwram_stack_optimize - set this to "no" to turn it off. By default this
#  is set on. It will turn off an optimization that assumes that the stack
#  is always in IWRAM, and thus makes ldm/stm relative to the stack much
#  faster. Turning it off will degrade game speed slightly, but is
#  necessary for a few games that don't follow this convention.

# flash_rom_type - set this to 128KB if the game has a 128KB flash ROM,
#  otherwise leave it alone or you might break game saving. If you get
#  a white screen when the game starts try this option.

# bios_rom_hack_39 - a hack that allows "roll" to work with the correct BIOS
#  in Zelda: Minish Cap.

# bios_rom_hack_2C - like the above but allows Rayman Advance to work.

# [!] - covered in gbaover

# 007 - Nightfire (U) [!]
game_name = NIGHTFIRE
game_code = A7OE
vender_code = 69
idle_loop_eliminate_target = 080031d6

# Advance Wars (E) [!]
# This one was really annoying to find, I hope it's okay.. there
# might be a better one somewhere.
game_name = ADVANCEWARSP
game_code = AWRP
vender_code = 01
idle_loop_eliminate_target = 0803880a

# Advance Wars (U) [!]
# This one was really annoying to find, I hope it's okay.. there
# might be a better one somewhere.
game_name = ADVANCEWARS
game_code = AWRE
vender_code = 01
idle_loop_eliminate_target = 0803880a

# Advance Wars 2 - Black Hole Rising (E) [!]
game_name = ADVANCEWARS2
game_code = AW2P
vender_code = 01
idle_loop_eliminate_target = 080371be

# Advance Wars 2: Black Hole Rising (U) [!]
game_name = ADVANCEWARS2
game_code = AW2E
vender_code = 01
idle_loop_eliminate_target = 08036e2a

# Animal Yokochou Dokidoki Shinkyuu Shiken (J) [!]
game_name = ANIYOKO2
game_code = BAXJ
vender_code = A4
iwram_stack_optimize = no

# This is needed to make the game work.
# Another World (Homebrew) [!]
game_name = FoxAnWorld
game_code = Home
vender_code = 00
translation_gate_target = 03000f1c

# Asterix & Obelix XXL (E) [!]
game_name = ASTERIX
game_code = BLXP
vender_code = 70
idle_loop_eliminate_target = 0846d060

# Battle Network RockMan EXE (J) [!]
game_name = ROCKMAN_EXE
game_code = AREJ
vender_code = 08
idle_loop_eliminate_target = 08000338

# Bleach Advance (J) [!]
game_name = BLEACH ADV1
game_code = BLEJ
vender_code = 8P
iwram_stack_optimize = no

# Bomberman Tournament (U) [!]
game_name = BOMSTORYUSA
game_code = ABSE
vender_code = 52
idle_loop_eliminate_target = 08000526

# Bookworm (U) [!]
game_name = BOOKWORM
game_code = BKWE
vender_code = 5G
idle_loop_eliminate_target = 0800397c

# Broken Sword - The Shadow of the Templars (U) [!]
game_name = BROKENSWORD
game_code = ABJE
vender_code = 6L
idle_loop_eliminate_target = 08000a26

# Castlevania: Circle of the Moon (E) [!]
game_name = DRACULA AGB1
game_code = AAMP
vender_code = A4
idle_loop_eliminate_target = 080003d2

# Castlevania: Circle of the Moon (U) [!]
game_name = DRACULA AGB1
game_code = AAME
vender_code = A4
idle_loop_eliminate_target = 080003d2

# Defender of The Crown (U) [!]
game_name = DOTC
game_code = ADHE
vender_code = 5N
idle_loop_eliminate_target = 080007ec

# Disney's Aladdin (J) [!] 
game_name = ALADDIN
game_code = AJ6J
vender_code = 08
iwram_stack_optimize = no

# Disney's Aladdin (E) [!]
game_name = ALADDIN
game_code = BADP
vender_code = 08
iwram_stack_optimize = no

# Disney's Aladdin (U) [!]
game_name = ALADDIN
game_code = BADE
vender_code = 08
iwram_stack_optimize = no

# Drill Dozer (U) [!]
game_name = DRILL DOZER
game_code = V49E
vender_code = 01
idle_loop_eliminate_target = 080006c2

# Doom 2 (U) [!]
game_name = DOOM II
game_code = A9DE
vender_code = 52
translation_gate_target = 030041c8
translation_gate_target = 03004fa0

# Digimon Battle Spirit (U) [!]
game_name = DIGIMON BTSP
game_code = A8SE
vender_code = B2
idle_loop_eliminate_target = 08011208

# Digimon Battle Spirit 2 (U) [!]
game_name = DIGIMON BS2
game_code = BDSE
vender_code = B2
idle_loop_eliminate_target = 08010eb0

# Donald Duck Advance (U) [!]
game_name = DISNEY'S DON
game_code = ADKE
vender_code = 41
idle_loop_eliminate_target = 08002f30

# Kirby: Nightmare in Dreamland (U) [!]
game_name = AGB KIRBY DX
game_code = A7KE
vender_code = 01
idle_loop_eliminate_target = 08000fae
iwram_stack_optimize = no

# Hoshi no Kirby: Yume no Izumi Deluxe (J) [!]
game_name = AGB KIRBY DX
game_code = A7KJ
vender_code = 01
idle_loop_eliminate_target = 08000f92
iwram_stack_optimize = no

# Kirby: Nightmare in Dreamland (E) [!]
game_name = AGB KIRBY DX
game_code = A7KP
vender_code = 01
idle_loop_eliminate_target = 08000fae
iwram_stack_optimize = no

# F-Zero for Game Boy Advance (J) [!]
game_name = F-ZERO ADVAN
game_code = AFZJ
vender_code = 01
idle_loop_eliminate_target = 08000c2e

# F-Zero - Maximum Velocity (U) [!]
game_name = F-ZERO ADVAN
game_code = AFZE
vender_code = 01
idle_loop_eliminate_target = 08000c2e

# F-Zero: Climax (J) [!]
game_name = F-ZEROCLIMAX
game_code = BFTJ
vender_code = 01
flash_rom_type = 128KB

# Final Fantasy Tactics Advance (U) [!]
game_name = FFTA_USVER.
game_code = AFXE
vender_code = 01
idle_loop_eliminate_target = 0800041e

# Game Boy Wars Advance 1+2 (J) [!]
game_name = GBWARS1+2
game_code = BGWJ
vender_code = 01
flash_rom_type = 128KB

# Gradius Galaxies (U) [!]
# Badly coded game with several idle loops. This one works for level
# one at least.
game_name = GRADIUSGALAX
game_code = AGAE
vender_code = A4
idle_loop_eliminate_target = 08013844

# Golden Sun (U) [!]
game_name = Golden_Sun_A
game_code = AGSE
vender_code = 01
translation_gate_target = 03000820
translation_gate_target = 030009ac
translation_gate_target = 03007dac

# Golden Sun: The Lost Age (U) [!]
# Probably the most horrifically coded GBA game in existence.
game_name = GOLDEN_SUN_B
game_code = AGFE
vender_code = 01
idle_loop_eliminate_target = 08013542
translation_gate_target = 030009ac
#translation_gate_target = 03007d70

# Mario & Luigi: Superstar Saga (U)
game_name = MARIO&LUIGIU
game_code = A88E
vender_code = 01

# Mario Party Advance (U) [!]
game_name = MARIOPARTYUS
game_code = B8ME
vender_code = 01
iwram_stack_optimize = no

# Mario Party Advance (J) [!]
game_name = MARIOPARTYJA
game_code = B8MJ
vender_code = 01
iwram_stack_optimize = no

# Mario Party Advance (E) [!]
game_name = MARIOPARTYEU
game_code = B8MP
vender_code = 01
iwram_stack_optimize = no

# Mario Golf: Advance Tour (U) [!]
game_name = MARIOGOLFGBA
game_code = BMGE
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: GBA Tour (J) [!]
game_name = MARIOGOLFGBA
game_code = BMGJ
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (E) [!]
game_name = MARIOGOLFGBA
game_code = BMGP
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (S) [!]
game_name = MARIOGOLFGBA
game_code = BMGS
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (F) [!]
game_name = MARIOGOLFGBA
game_code = BMGF
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (I) [!]
game_name = MARIOGOLFGBA
game_code = BMGI
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (G) [!]
game_name = MARIOGOLFGBA
game_code = BMGD
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Golf: Advance Tour (A) [!]
game_name = MARIOGOLFGBA
game_code = BMGU
vender_code = 01
iwram_stack_optimize = no
idle_loop_eliminate_target = 08014e0a
translation_gate_target = 03000d00
translation_gate_target = 03000a30

# Mario Vs Donkey Kong (U) [!]
game_name = MARIOVSDK
game_code = BM5E
vender_code = 01
idle_loop_eliminate_target = 08033eec

# Megaman Battle Network (E) [!]
game_name = MEGAMANEXEBN
game_code = AREP
vender_code = 08
idle_loop_eliminate_target = 08000338

# Megaman Battle Network (U) [!]
game_name = MEGAMAN_BN
game_code = AREE
vender_code = 08
idle_loop_eliminate_target = 08000338


# Megaman Battle Network 2 (U) [!]
game_name = MEGAMAN_EXE2
game_code = AE2E
vender_code = 08
idle_loop_eliminate_target = 08000358

# 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) [!]
game_name = MEGA_EXE3_BL
game_code = A3XE
vender_code = 08
idle_loop_eliminate_target = 0800036c

# 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) [!]
game_name = MEGAMANBN4BM
game_code = B4BE
vender_code = 08
idle_loop_eliminate_target = 080003a6

# 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) [!]
game_name = MEGAMAN5_TC_
game_code = BRKE
vender_code = 08
idle_loop_eliminate_target = 080003ca

# Megaman Battle Network 6 Cybeast Gregar (U) [!]
game_name = MEGAMAN6_GXX
game_code = BR5E
vender_code = 08
idle_loop_eliminate_target = 080003da

# Megaman Zero (U/E) [!]
game_name = MEGAMAN ZERO
game_code = AZCE
vender_code = 08
idle_loop_eliminate_target = 080004ee

# Megaman Zero 2 (U) [!]
game_name = MEGAMANZERO2
game_code = A62E
vender_code = 08
idle_loop_eliminate_target = 08000664

# Megaman Zero 3 (U) [!]
game_name = MEGAMANZERO3
game_code = BZ3E
vender_code = 08
idle_loop_eliminate_target = 08001a08

# Megaman Zero 4 (U) [!]
game_name = MEGAMANZERO4
game_code = B4ZP
vender_code = 08
idle_loop_eliminate_target = 0800090c

# Momotarou Densetsu G - Gold Deck wo Tsukure! (J) [!]
game_name = MOMOTETSU-G
game_code = BM2J
vender_code = 18
iwram_stack_optimize = no

# Magical Houshin (J) [!]
game_name = M HOUSHIN
game_code = AJOJ
vender_code = C8
iwram_stack_optimize = no

# Medal of Honor (J) [!]
game_name = INFILTRATOR
game_code = BMHJ
vender_code = 13
iwram_stack_optimize = no

# Metal Slug Advance (U) [!]
game_name = METAL SLUG
game_code = BSME
vender_code = B7
idle_loop_eliminate_target = 08000298

# Magical Quest 2 Starring Mickey & Minnie (U) [!]
game_name = M&M MAGICAL2
game_code = AQME
vender_code = 08
idle_loop_eliminate_target = 0801d340

# Magical Quest 3 Starring Mickey & Donald (U) [!]
game_name = M&D MAGICAL3
game_code = BMQE
vender_code = 08
idle_loop_eliminate_target = 08016064

# Tales of Phantasia (U) [!]
game_name = PHANTASIA
game_code = AN8E
vender_code = 01
iwram_stack_optimize = no

# Tales of Phantasia (J) [!]
game_name = PHANTASIA
game_code = AN8J
vender_code = AF
iwram_stack_optimize = no

# Tales of Phantasia (E) [!]
game_name = PHANTASIA
game_code = AN8P
vender_code = 01
iwram_stack_optimize = no

# Tom Clancy's Splinter Cell (U) [!]
game_name = SPLINTERCELL
game_code = AO4E
vender_code = 41
idle_loop_eliminate_target = 0807a0c4

# Tom Clancy's Splinter Cell - Pandora Tomorrow (U) [!]
game_name = TOM CLANCY'S
game_code = BSLE
vender_code = 41
idle_loop_eliminate_target = 0807785e

# The Pinball of The Dead [!]
game_name = PINBALL DEAD
game_code = APDE
vender_code = 78
idle_loop_eliminate_target = 08000300

# Tringo (U) [!]
game_name = TRINGO
game_code = BTJE
vender_code = 4Z
idle_loop_eliminate_target = 080009a4

# Tottoko Hamutaro Hamuhamu Sports (JU) [!]
game_name = HAMSPORTS
game_code = B85A
vender_code = 01
iwram_stack_optimize = no

# Pinball Challenge Deluxe (E) [!]
game_name = PINBALL CHAL
game_code = APLP
vender_code = 41
idle_loop_eliminate_target = 080075a6

# Prince of Persia - The Sands of Time (U) [!]
game_name = PRINCEPERSIA
game_code = BPYE
vender_code = 41
idle_loop_eliminate_target = 0808ff3a

# Pokemon Emerald (E/U) [!]
# I don't know why this has an idle loop when Ruby doesn't....
game_name = POKEMON EMER
game_code = BPEE
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Emerald (J) [!]
game_name = POKEMON EMER
game_code = BPEJ
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Emerald (G) [!]
game_name = POKEMON EMER
game_code = BPED
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Emerald (F) [!]
game_name = POKEMON EMER
game_code = BPEF
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Emerald (S) [!]
game_name = POKEMON EMER
game_code = BPES
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Emerald (I) [!]
game_name = POKEMON EMER
game_code = BPEI
vender_code = 01
idle_loop_eliminate_target = 080008ce
flash_rom_type = 128KB

# Pokemon Sapphire (U) [!]
game_name = POKEMON SAPP
game_code = AXPE
vender_code = 01
flash_rom_type = 128KB

# Pokemon Sapphire (J) [!]
game_name = POKEMON SAPP
game_code = AXPJ
vender_code = 01
flash_rom_type = 128KB

# Pokemon Sapphire (G) [!]
game_name = POKEMON SAPP
game_code = AXPD
vender_code = 01
flash_rom_type = 128KB

# Pokemon Sapphire (I) [!]
game_name = POKEMON SAPP
game_code = AXPI
vender_code = 01
flash_rom_type = 128KB

# Pokemon Sapphire (S) [!]
game_name = POKEMON SAPP
game_code = AXPS
vender_code = 01
flash_rom_type = 128KB

# Pokemon Sapphire (F) [!]
game_name = POKEMON SAPP
game_code = AXPF
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (U) [!]
game_name = POKEMON RUBY
game_code = AXVE
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (J) [!]
game_name = POKEMON RUBY
game_code = AXVJ
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (G) [!]
game_name = POKEMON RUBY
game_code = AXVD
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (I) [!]
game_name = POKEMON RUBY
game_code = AXVI
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (S) [!]
game_name = POKEMON RUBY
game_code = AXVS
vender_code = 01
flash_rom_type = 128KB

# Pokemon Ruby (F) [!]
game_name = POKEMON RUBY
game_code = AXVF
vender_code = 01
flash_rom_type = 128KB

# Pokemon: Fire Red (J) [!]
game_name = POKEMON FIRE
game_code = BPRJ
vender_code = 01
idle_loop_eliminate_target = 080008b2
flash_rom_type = 128KB

# Pokemon: Fire Red (E/U) [!]
game_name = POKEMON FIRE
game_code = BPRE
vender_code = 01
idle_loop_eliminate_target = 080008c6
flash_rom_type = 128KB

# Pokemon: Fire Red (S) [!}
game_name = POKEMON FIRE
game_code = BPRS
vender_code = 01
idle_loop_eliminate_target = 080008c6
flash_rom_type = 128KB

# Pokemon: Fire Red (G) [!]
game_name = POKEMON FIRE
game_code = BPRD
vender_code = 01
idle_loop_eliminate_target = 080008c6
flash_rom_type = 128KB

# Pokemon: Fire Red (I) [!]
game_name = POKEMON FIRE
game_code = BPRI
vender_code = 01
idle_loop_eliminate_target = 080008c6
flash_rom_type = 128KB

# Pokemon: Fire Red (F) [!]
game_name = POKEMON FIRE
game_code = BPRE
vender_code = 01
idle_loop_eliminate_target = 080008c6
flash_rom_type = 128KB

# Pokemon: Leaf Green (E/U) [!]
# Hey, this one is the same as Fire Red, who'd have thought? :B
game_name = POKEMON LEAF
game_code = BPGE
vender_code = 01
idle_loop_eliminate_target = 080008b2
flash_rom_type = 128KB

# Pokemon: Leaf Green (S) [!]
game_name = POKEMON LEAF
game_code = BPGS
vender_code = 01
idle_loop_eliminate_target = 080008b6
flash_rom_type = 128KB

# Pokemon: Leaf Green (G) [!]
game_name = POKEMON LEAF
game_code = BPGD
vender_code = 01
idle_loop_eliminate_target = 080008b6
flash_rom_type = 128KB

# Pokemon: Leaf Green (I) [!]
game_name = POKEMON LEAF
game_code = BPGI
vender_code = 01
idle_loop_eliminate_target = 080008b6
flash_rom_type = 128KB

# Pokemon: Leaf Green (F) [!]
game_name = POKEMON LEAF
game_code = BPGF
vender_code = 01
idle_loop_eliminate_target = 080008b6
flash_rom_type = 128KB

# Pokemon: Fushigi no Dungeon Aka no Kyuujotai (J) [!]
game_name = POKE DUNGEON
game_code = B24J
vender_code = 01
flash_rom_type = 128KB

# Pokemon: Red Rescue Team (U) [!]
game_name = POKE DUNGEON
game_code = B24E
vender_code = 01
flash_rom_type = 128KB

# Pokemon: Red Rescue Team (E) [!]
game_name = POKE DUNGEON
game_code = B24P
vender_code = 01
flash_rom_type = 128KB

# Pokemon Leaf Green (J) [!]
game_name = POKEMON LEAF
game_code = BPGJ
vender_code = 01
flash_rom_type = 128KB

# Rockman Zero (J) [!]
game_name = ROCKMAN ZERO
game_code = ARZJ
vender_code = 08
idle_loop_eliminate_target = 080004ee

# Rebelstar: Tactical Command (U) [!]
# Badly coded game with several idle loops. I don't think any are
# even close to dominant, and it jumps around too much when things
# matter....
game_name = REBELSTAR
game_code = BRLE
vender_code = AF
idle_loop_eliminate_target = 0800041a

# Rhythm Tengoku (J) [!]
game_name = RHYTHMTENGOK
game_code = BRIJ
vender_code = 01
idle_loop_eliminate_target = 080013d4

# River City Ransom EX (J) [!]
game_name = DOWNTOWN
game_code = BDTJ
vender_code = EB
idle_loop_eliminate_target = 0800065a

# River City Ransom EX (U) [!]
game_name = RIVERCRANSOM
game_code = BDTE
vender_code = EB
idle_loop_eliminate_target = 0800065a

# Super Mario Advance (Demo/Kiosk) (U) [!]
game_name = SUPER MARIOA
game_code = AMZE
vender_code = 01
idle_loop_eliminate_target = 08001cf2

# Super Mario Advance (E/U) [!]
game_name = SUPER MARIOA
game_code = AMAE
vender_code = 01
idle_loop_eliminate_target = 08001cf2

# Super Mario Advance 2 (E) [!]
game_name = SUPER MARIOB
game_code = AA2P
vender_code = 01
idle_loop_eliminate_target = 08000534

# Super Mario Advance 2 (U) [!]
game_name = SUPER MARIOB
game_code = AA2E
vender_code = 01
idle_loop_eliminate_target = 08000534

# Super Mario Advance 3 (J) [!]
game_name = SUPER MARIOC
game_code = A3AJ
vender_code = 01
idle_loop_eliminate_target = 08002ba4

# Super Mario Advance 3 (U) [!]
game_name = SUPER MARIOC
game_code = A3AE
vender_code = 01
idle_loop_eliminate_target = 08002ba4

# Super Mario Advance 4 (U) [!]
game_name = SUPER MARIOD
game_code = AX4E
vender_code = 01
idle_loop_eliminate_target = 08000732
flash_rom_type = 128KB

# Super Mario Advance 4 (J) [!]
game_name = SUPER MARIOD
game_code = AX4J
vender_code = 01
idle_loop_eliminate_target = 08000732
flash_rom_type = 128KB

# Super Mario Advance 4 (E) [!]
game_name = SUPER MARIOD
game_code = AX4P
vender_code = 01
idle_loop_eliminate_target = 08000732
flash_rom_type = 128KB


# Super Puzzle Fighter II Turbo (E) [!]
game_name = PUZZLEFIGHT2
game_code = AZ8P
vender_code = 08
idle_loop_eliminate_target = 08002b5e

# Super Puzzle Fighter II Turbo (U) [!]
game_name = PUZZLEFIGHT2
game_code = AZ8E
vender_code = 08
idle_loop_eliminate_target = 08002b5e

# Yu-Gi-Oh! - Dungeon Dice Monsters (U) [!]
game_name = YU-GI-OH DDM
game_code = AYDE
vender_code = A4
idle_loop_eliminate_target = 0802cc6a

# Yu-Gi-Oh! - The Eternal Duelist Soul (U) [!]
game_name = YU-GI-OH!EDS
game_code = AY5E
vender_code = A4
idle_loop_eliminate_target = 08075d96

# Yu-Gi-Oh! - The Sacred Cards (U) [!]
game_name = YUGIOH DM7
game_code = AY7E
vender_code = A4
idle_loop_eliminate_target = 08003bd6

# Yu-Gi-Oh! - World Championship Tournament 2004 (U) [!]
game_name = YWCT2004USA
game_code = BYWE
vender_code = A4
idle_loop_eliminate_target = 080831da

# Yu-Gi-Oh! - Worldwide Edition - Stairway to the Destined Duel (U) [!]
game_name = YUGIOHWWE
game_code = AYWE
vender_code = A4
idle_loop_eliminate_target = 08089792

# Final Fantasy IV Advance (U) [!]
game_name = FF4ADVANCE
game_code = BZ4E
vender_code = 01
idle_loop_eliminate_target = 0800fabe
# or try 00000430


# Final Fight One (E) [!]
game_name = FINAL FIGHT
game_code = AFFP
vender_code = 08
idle_loop_eliminate_target = 0800b428

# Final Fight One (U) [!]
game_name = FINAL FIGHT
game_code = AFFE
vender_code = 08
idle_loop_eliminate_target = 0800b428

# Megaman Battle Chip Challenge (U) [!]
game_name = BATTLECHIPGP
game_code = A89E
vender_code = 08
idle_loop_eliminate_target = 08000544

# Monster Force (U) [!]
game_name = MONSTERFORCE
game_code = AM8E
vender_code = 7D
idle_loop_eliminate_target = 08000b00

# Monster Rancher Advance (U) [!]
game_name = MONSRANCHERA
game_code = AMFE
vender_code = 9B
idle_loop_eliminate_target = 0809f394

# Monster Rancher Advance 2 (U) [!]
game_name = MONSTERRANC2
game_code = A2QE
vender_code = 9B
idle_loop_eliminate_target = 081c7290

# Motoracer Advance (E) [!]
game_name = MOTORACERADV
game_code = A9MP
vender_code = 41
idle_loop_eliminate_target = 03001cf8

# Ninja Five-0 (U) [!]
game_name = NINJA FIVE 0
game_code = ANXE
vender_code = A4
iwram_stack_optimize = no

# Ninja Cop (E) [!]
game_name = NINJA COP
game_code = ANXP
vender_code = A4
iwram_stack_optimize = no

# Nishihara Rieko no Dendou Mahjong (J) [!]
game_name = DENDOHMAJANG
game_code = ASMJ
vender_code = AG
iwram_stack_optimize = no

# Sennen Kazoku (J) [!]
game_name = SENNENKAZOKU
game_code = BKAJ
vender_code = 01
flash_rom_type = 128KB



# Shining Soul (J) [!]
game_name = SHINING SOUL
game_code = AHUJ
vender_code = 8P
iwram_stack_optimize = no

# Shining Soul (U) [!]
game_name = SHINING SOUL
game_code = AHUE
vender_code = EB
iwram_stack_optimize = no

# Shining Soul (E) [!]
game_name = SHINING SOUL
game_code = AHUP
vender_code = 8P
iwram_stack_optimize = no

# Shining Soul 2 (J) [!]
game_name = SHININGSOUL2
game_code = AU2J
vender_code = 8P
iwram_stack_optimize = no

# Shining Soul 2 (U) [!]
game_name = SHININGSOUL2
game_code = AU2E
vender_code = EB
iwram_stack_optimize = no

# Shining Soul 2 (E) [!]
game_name = SHININGSOUL2
game_code = AU2P
vender_code = 8P
iwram_stack_optimize = no

# Kim Possible 2 (U) [!]
game_name = KIMPOSSIBLE2
game_code = BKME
vender_code = 4Q
idle_loop_eliminate_target = 080008a2

# Kim Possible 2 (E) [!]
game_name = KIMPOSSIBLE2
game_code = BKMP
vender_code = 4Q
idle_loop_eliminate_target = 080008a2

# J League Pro Soccer Club wo Tsukurou Advance (J) [!]
game_name = SAKATUKUADV
game_code = AC2J
vender_code = 8P
iwram_stack_optimize = no

# Oriental Blue - Ao no Tengai (J) [!]
game_name = ORIENTALBLUE
game_code = AORJ
vender_code = 01
iwram_stack_optimize = no

# Calciobit (J) [!]
game_name = CALCIOBIT01
game_code = BIXJ
vender_code = 01
flash_rom_type = 128KB


# Koinu-Chan no Hajimete no Osanpo (J) [!]
game_name = OSANPO
game_code = BISJ
vender_code = 1Q
iwram_stack_optimize = no

# Chicken Little (J) [!]
game_name = CLITTLEJ    
game_code = BCHJ
vender_code = G9
iwram_stack_optimize = no

# Bomberman Jetters Game Collection (J) [!]
game_name = BOMBERMANJGC
game_code = BOMJ
vender_code = 18
iwram_stack_optimize = no

# Robot Ponkotto 2 - Cross Version (J) [!]
game_name = ROBOPON2CROS
game_code = ACVJ
vender_code = 18
iwram_stack_optimize = no

# Robot Ponkotto 2 - Ring Version (J) [!]
game_name = ROBOPON2RING
game_code = ARPJ
vender_code = 18
iwram_stack_optimize = no

# Open Season (U) [!]
game_name = OPEN SEASON
game_code = BOAE
vender_code = 41
idle_loop_eliminate_target = 08066378

# Robopon 2 Cross Version (U) [!]
game_name = ROBOPON2CROS
game_code = ACVE
vender_code = EB
iwram_stack_optimize = no
flash_rom_type = 512KB

# Robopon 2 Ring Version (U) [!]
game_name = ROBOPON2RING
game_code = ARPE
vender_code = EB
iwram_stack_optimize = no
flash_rom_type = 512KB

# Ueki no Housoku Jingi Sakuretsu! Nouryokusya Battle (J) [!]
game_name = UEKIJINGIBTL
game_code = BUHJ
vender_code = D9
iwram_stack_optimize = no

# V-Rally 3 (E) [!]
game_name = V-RALLY 3
game_code = AVRP
vender_code = 70
idle_loop_eliminate_target = 080aa920

# Virtual Kasparov (U) [!]
game_name = VIRTKASPAROV
game_code = AVKE
vender_code = 60
idle_loop_eliminate_target = 0800093a

# Wario Ware, Inc. Mega Microgames (U) [!]
game_name = WARIOWAREINC
game_code = AZWE
vender_code = 01
idle_loop_eliminate_target = 08000f66