forked from mon/BemaniPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ddra.html
executable file
·270 lines (270 loc) · 13.5 KB
/
ddra.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DDR A DLL Modder</title>
<link rel="stylesheet" href="css/style.css">
<!-- don't hate -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script type="text/javascript" src="js/FileSaver.min.js"></script>
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new PatchContainer([
new Patcher("gamemdx.dll", "2019-04-22", [
{
name: "Force enable fast/slow",
patches: [{offset: 0x97C60, off: [0x8B, 0x41, 0x44], on: [0x31, 0xC0, 0x40]}]
},
{
name: "Force background judgement",
patches: [{offset: 0x97C50, off: [0x8B, 0x41], on: [0x31, 0xC0]}]
},
{
name: "Force darkest background",
patches: [{offset: 0x98A0E, off: [0x75, 0x03, 0x33, 0xC0], on: [0x33, 0xC0, 0xB0, 0x03]}]
},
{
name: "Song Unlock (Incomplete)",
tooltip: "Unlocks all event mode songs, ACES FOR ACES and ENDYMION, A20 (including ORCA), but still requires a musicdb edit to remove all restrictions.",
patches: [
// Event Mode unlocks A4A here
{offset: 0x846D1, off: [0x45, 0xF4], on: [0x90, 0xE9]},
// A20+ Songs
{offset: 0x8D007, off: [0x32, 0xC0], on: [0xB0, 0x01]},
// ORCA unlock (by Flipend0)
{offset: 0x8E5B9, off: [0x74], on: [0xEB]}
]
},
{
name: "Tutorial Skip",
patches: [{offset: 0x49D33, off: [0x75], on: [0xEB]}]
},
{
name: "Timer Freeze",
patches: [{offset: 0x275D7, off: [0x74], on: [0xEB]}]
},
{
name: "Unlock options",
tooltip: "Unlocks e-amusement exclusive options such as ARROW COLOR",
patches: [{offset: 0x82733, off: [0x75], on: [0xEB]}]
},
{
// by nibs & dogelition_man
name: "Force Cabinet Type 6",
tooltip: "This will cause the game to load a different theme, some assets (such as menu background) may not work with this forced code.",
patches: [{offset: 0xDE18, off: [0xFF, 0x24], on: [0xEB, 0x71]}]
},
{
// by nibs
name: "Force ENDYMION menu background",
tooltip: "This will force the game to use the red cloud background instead of the default one.",
patches: [{offset: 0x1F98D, off: [0xEC], on: [0xF0]}]
},
{
// by nibs & dogelition_man
name: "Skip A20 menu background loading",
tooltip: "This skips the check for the golden menu background completely, and instead will load the default",
patches: [{offset: 0x1F944, off: [0x75], on: [0xEB]}]
},
{
// by cube, ported by Azlekayn
name: "Opaque background for darkest background option",
tooltip: "This makes the background for the darkest background option be 99% opaque, hiding the background dancers and videos.",
patches: [{offset: 0x1C9F6C, off: [0x33, 0x33, 0x33, 0x3F], on: [0xA4, 0x70, 0x7D, 0x3F]}]
},
{
// by naryu
name: "Enable cabinet lights for Cabinet Type 6",
tooltip: "This enables the use of cabinet lighting for Cabinet Type 6",
patches: [
{offset: 0xBCD1, off: [0xE8, 0x1A, 0x21], on: [0xB8, 0x00, 0x00]},
{offset: 0x2CB8A, off: [0xE8, 0x61, 0x12, 0xFE, 0xFF], on: [0xB8, 0x00, 0x00, 0x00, 0x00]},
{offset: 0x2D0AE, off: [0xE8, 0x3D, 0x0D, 0xFE, 0xFF], on: [0xB8, 0x00, 0x00, 0x00, 0x00]},
]
},
{
name: "Enable DDR SELECTION",
tooltip: "Even works in offline/local mode!",
patches: [{offset: 0x7CEB7, off: [0xE8, 0xF4, 0x9F, 0x01], on: [0xB8, 0x01, 0x00, 0x00]}]
},
{
name: "Premium Free",
patches: [{offset: 0x1F0A6, off: [0x01], on: [0x00]}]
},
{
name: 'Mute announcer',
tooltip: 'Also mutes crowd cheering and booing during gameplay',
patches: [
{offset: 0x2A468, off: [0x0F, 0x84], on: [0x90, 0xE9]},
{offset: 0x1B78BB, off: [0x76], on: [0x62]},
{offset: 0x1B78D7, off: [0x76], on: [0x62]},
]
},
{
name: 'Force DDR SELECTION theme everywhere',
tooltip: 'Skips intro and enables the skin selected below on all songs',
patches: [
{offset: 0x26871, off: [0x0F, 0x84], on: [0x90, 0xE9]},
{offset: 0x96A1D, off: [0x75, 0x49], on: [0x90, 0x90]},
{offset: 0x96A2A, off: [0x77, 0x3C], on: [0x90, 0x90]},
{offset: 0x96A2C, off: [0xFF, 0x24], on: [0xEB, 0x11]},
]
},
{
type : "union",
name : "Choose forced theme",
offset : 0x96A40,
patches : [
{
name : "1st",
patch : [0x01],
},
{
name : "EXTREME",
patch : [0x02],
},
{
name : "SuperNOVA2",
patch : [0x03],
},
{
name : "X2",
patch : [0x04],
},
{
name : "2013",
patch : [0x05],
},
]
}
]),
new Patcher("gamemdx.dll", "2018-10-22", [
{
name: "Force enable fast/slow",
patches: [{offset: 0x8CA60, off: [0x8B, 0x41, 0x44], on: [0x31, 0xC0, 0x40]}]
},
{
name: "Force background judgement",
patches: [{offset: 0x8CA50, off: [0x8B, 0x41, 0x40], on: [0x31, 0xC0, 0x40]}]
},
{
name: "Force darkest background",
patches: [{offset: 0x8D53B, off: [0x75, 0x03, 0x33, 0xC0], on: [0x33, 0xC0, 0xB0, 0x03]}]
},
{
name: "Unlock all songs",
tooltip: "Unlocks all e-amusement songs, event mode songs, ACES FOR ACES and ENDYMION",
patches: [
//e-amusement
{offset: 0x8ED83, off: [0x32, 0xC0], on: [0xB0, 0x01]},
//event mode
{offset: 0x8463B, off: [0x75], on: [0xEB]},
//ACES FOR ACES, ENDYMION, ???
{offset: 0x846D1, off: [0x32, 0xC0], on: [0xB0, 0x01]},
]
},
{
name: "Tutorial Skip",
patches: [{offset: 0x45704, off: [0x74], on: [0xEB]}]
},
{
name: "Timer Freeze",
patches: [{offset: 0x24667, off: [0x74], on: [0xEB]}]
},
{
name: "Unlock options",
tooltip: "Unlocks e-amusement exclusive options such as ARROW COLOR",
patches: [{offset: 0x7A6A2, off: [0x75], on: [0xEB]}]
},
{
name: "Force Extra Stage/Extra Encore Stage (fixed)",
patches: [
{offset: 0x5AC77, off: [0x0F, 0x85], on: [0x90, 0xE9]},
{offset: 0x5ADD2, off: [0x0F, 0x85], on: [0x90, 0xE9]},
]
},
{
name: "Enable DDR SELECTION",
tooltip: "Even works in offline/local mode!",
patches: [{offset: 0x75774, off: [0xE8, 0xC7, 0x71, 0x01], on: [0xB8, 0x01, 0x00, 0x00]}]
},
{
name: "Premium Free",
tooltip: "Song clears/scores only. Profile progress and custom settings do not save. Reboot game to re-query for scores.",
patches: [{offset: 0x1C9DF, off: [0x01], on: [0x00]}]
},
]),
new Patcher("gamemdx.dll", "2018-04-23", [
{
name: "Force enable fast/slow",
patches: [{offset: 0x84EC0, off: [0x8B, 0x41, 0x44], on: [0x31, 0xC0, 0x40]}]
},
{
name: "Force background judgement",
patches: [{offset: 0x84EB0, off: [0x8B, 0x41, 0x40], on: [0x31, 0xC0, 0x40]}]
},
{
name: "Force darkest background",
patches: [
{offset: 0x84E84, off: [0xCC, 0xCC, 0xCC, 0xCC, 0xCC], on: [0x31, 0xC0, 0xB0, 0x03, 0xC3]},
{offset: 0x1AE838, off: [0x40, 0xDF, 0x0D, 0x10], on: [0x84, 0x5A, 0x08, 0x10]}
]
},
{
name: "Unlock all songs (old)",
tooltip: "Do not use this anymore. It's only here to toggle off.",
patches: [{offset: 0x1AE58C, off: [0x6C], on: [0x66]}]
},
{
name: "Unlock all songs",
tooltip: "Unlocks all e-amusement songs, event mode songs, ACES FOR ACES and ENDYMION",
patches: [
//e-amusement
{offset: 0x86CD8, off: [0x32, 0xC0], on: [0xB0, 0x01]},
//event mode
{offset: 0x7DEFE, off: [0x75], on: [0xEB]},
//ACES FOR ACES, ENDYMION
{offset: 0x7DF3E, off: [0x32, 0xC0], on: [0xB0, 0x01]},
]
},
{
name: "Tutorial Skip",
patches: [{offset: 0x41844, off: [0x74], on: [0xEB]}]
},
{
name: "Timer Freeze",
patches: [{offset: 0x23127, off: [0x74], on: [0xEB]}]
},
{
name: "Unlock options",
tooltip: "Unlocks e-amusement exclusive options such as ARROW COLOR",
patches: [{offset: 0x73E52, off: [0x75], on: [0xEB]}]
},
{
name: "Force Extra Stage/Extra Encore Stage (fixed)",
patches: [
{offset: 0x5483B, off: [0x0F, 0x85], on: [0x90, 0xE9]},
{offset: 0x549C0, off: [0x0F, 0x85], on: [0x90, 0xE9]},
]
},
{
name: "Disable Credit Consumption",
tooltip: "Similar to FREE PLAY, but allows premium credit options. Requires 1 credit.",
patches: [
{offset: 0x8B8A, off: [0x74, 0x0B], on: [0xEB, 0x09]},
{offset: 0x8BEC, off: [0x74, 0x0B], on: [0xEB, 0x09]},
{offset: 0x8C4C, off: [0x74, 0x0B], on: [0xEB, 0x09]},
{offset: 0x8BC9, off: [0x74, 0x2E], on: [0xEB, 0x2C]},
{offset: 0x8C29, off: [0x74, 0x2E], on: [0xEB, 0x2C]},
]
},
]),
]);
});
</script>
</head>
<body>
<h1>DDR A DLL Modder</h1>
</body>
</html>