-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
mame2mra.toml
124 lines (112 loc) · 4.83 KB
/
mame2mra.toml
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
[parse]
sourcefile=[ "namcos1.cpp" ]
skip = { machines=[ "puzlclub" ] }
debug = { machines=[
# problems with music/sound
"rompers",
"bakutotu",
] }
[buttons]
names = [
{ machine="bakutotu", names="Gun Shot" },
{ machine="berabohm", names="Small Jump,Mid Jump,High Jump,Weak Attack,Mid Attack,Strong Attack" },
{ machine="blastoff", names="Missile Shot,Missile Type Change" },
{ machine="blazer", names="Forward Missile,Side Missile" },
{ machine="boxyboy", names="Try Again,Takeback" },
{ machine="dangseed", names="Shot,Bomber" },
{ machine="dspirit", names="Fire Air,Fire Ground" },
{ machine="faceoff", names="Shot,Pass/Shoot" },
{ machine="galaga88", names="Fire" },
{ machine="mmaze", names="Shot/Big Shot,Jump" },
{ machine="pacmania", names="Jump" },
{ machine="pistoldm", names="Shot/Bomber" },
{ machine="puzlclub", names="Get Stuck" },
{ machine="quester", names="Start" },
{ machine="rompers", names="Knock Down Stone Wall" },
{ machine="shadowld", names="Telekinesis Launch,Jump" },
{ machine="splatter", names="Attack,Jump" },
{ machine="tankfrce", names="Shot" },
{ machine="wldcourt", names="Slow Serve/Return,Quick Serve/Return" },
{ machine="ws", names="Batting/Throw,Base Running/Checkmate,Timeout" },
]
[header]
info="""Byte 0: bit 0-1: protection type, bit 4-5: control type (0 - normal, 1 - faceoff 4p, 2 - berabohm, 3 - quester), bit 6: 64/128kB Program ROMs
Byte 1: key ID
Byte 2: addr for key ID
Byte 3: addr for RNG
Byte 4: addr for nibble swap data write
Byte 5: addr for nibble swap read
Byte 6: addr for lower nibble read
Byte 7: addr for upper nibble read
"""
data= [
{ machine="faceoff", data="10" },
{ machine="quester", data="30" },
{ machine="berabohm", data="20" },
{ machine="dspirit", data="01 36" },
{ machine="wldcourt", data="01 35" },
{ machine="blazer", data="01 13" },
{ machine="puzlclub", data="01 35" },
{ machine="pacmania", data="02 12" },
{ machine="mmaze", data="02 25" },
{ machine="galaga88", data="02 31" },
{ machine="ws", data="02 07" },
{ machine="bakutotu", data="02 22" },
{ machine="splatter", data="03 B5 03 04 FF FF FF FF" },
{ machine="rompers", data="03 B6 07 FF FF FF FF FF" },
{ machine="blastoff", data="03 B7 00 07 03 05 FF FF" },
{ setname="ws89", data="03 B8 02 FF FF FF FF FF" },
{ machine="tankfrce", data="03 B9 05 FF 01 FF 02 FF" },
{ setname="tankfrce4",data="13 B9 05 FF 01 FF 02 FF" },
{ machine="dangseed", data="03 34 06 FF 05 FF 00 04" },
{ machine="pistoldm", data="03 35 01 02 00 FF 04 FF" },
{ machine="ws90", data="03 36 04 FF 07 FF 03 FF" },
{ machine="boxyboy", data="03 37 02 03 00 FF 04 FF" },
]
[dipsw]
delete=[{names=["Unused","Unknown"]}]
rename=[
# no idea about how to use these settings:
{name="Open 3rd Life (step1of7)", to="3rd life 1/7"},
{name="Open 3rd Life (step2of7)", to="3rd life 2/7"},
{name="Open 3rd Life (step3of7)", to="3rd life 3/7"},
{name="Open 3rd Life (step4of7)", to="3rd life 4/7"},
{name="Open 3rd Life (step5of7)", to="3rd life 5/7"},
{name="Open 3rd Life (step6of7)", to="3rd life 6/7"},
{name="Open 3rd Life (step7of7)", to="3rd life 7/7"},
{name="Auto Data Sampling (step1of2)", to="Data 1/2"},
{name="Auto Data Sampling (step2of2)", to="Data 2/2"},
{name="Draw Debug Lines (step1of6)", to="Debug lines 1/6"},
{name="Draw Debug Lines (step2of6)", to="Debug lines 2/6"},
{name="Draw Debug Lines (step3of6)", to="Debug lines 3/6"},
{name="Draw Debug Lines (step4of6)", to="Debug lines 4/6"},
{name="Draw Debug Lines (step5of6)", to="Debug lines 5/6"},
{name="Draw Debug Lines (step6of6)", to="Debug lines 6/6"},
{name="CPU #0 Kick Watchdog in IRQ (step1of2)", to="Debug IRQ 1/2"},
{name="CPU #0 Kick Watchdog in IRQ (step2of2)", to="Debug IRQ 2/2"},
{name="CPU #0&1 Kick Watchdog in IRQ (step1of2)", to="Debug IRQ 1/2"},
{name="CPU #0&1 Kick Watchdog in IRQ (step2of2)", to="Debug IRQ 2/2"},
]
extra=[
# Halt the sound CPU while YM2151 is busy. Not present in the original
# Fixes issues in some games due to the poorly designed sound driver
{ name="*Sound fix", options="On,Off", bits="8" }
]
[ROM]
regions = [
{ name="user1", rom_len=0x20000 },
{ name="audiocpu", start="JTFRAME_BA1_START" },
{ name="voice", start="PCM_START" },
{ name="c123tmap:mask", start="JTFRAME_BA2_START" },
{ name="c123tmap", start="SCR_START" },
{ name="sprite", start="JTFRAME_BA3_START" },
{ name="mcu", start="JTFRAME_PROM_START" },
]
order = [
"user1", "audiocpu", "voice",
"c123tmap:mask", "c123tmap", "sprite", "mcu"
]
# patches = [
# # skip ROM check
# { setname="xxx", offset=0x1058, data="12 11" }
# ]