forked from mon/BemaniPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ddrx2.html
120 lines (120 loc) · 12.1 KB
/
ddrx2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DDR X2 DLL Modder</title>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new PatchContainer([
new Patcher("ddr.dll", "2010-11-10", [
{
name: "NVIDIA gray arrow/freeze color fix",
tooltip: "Also affects newer AMD cards",
patches: [{ offset: 0x229F1, off: [0x85, 0xC9, 0xD9, 0x44, 0x24, 0x1C, 0x89, 0x4C, 0x24, 0x28, 0xDB, 0x44, 0x24, 0x28, 0x7D, 0x06, 0xD8, 0x05, 0x20, 0xC4, 0x21, 0x10, 0x0F, 0xBE, 0x54, 0x24, 0x13], on: [0x89, 0x4C, 0xE4, 0x28, 0xDB, 0x44, 0xE4, 0x28, 0xD9, 0x44, 0xE4, 0x1C, 0x8B, 0x54, 0xE4, 0x13, 0xDC, 0x05, 0x30, 0xc4, 0x21, 0x10, 0xD9, 0xC9, 0x0F, 0xBE, 0xD2] }],
},
{
name: "Coinstrip",
tooltip: "Disable this to get coin functionality back",
patches: [
{ offset: 0x1239C7, off: [0x0F, 0x85, 0x90, 0x00, 0x00, 0x00, 0x80, 0xFC, 0xA8, 0x75], on: [0xE9, 0x91, 0x00, 0x00, 0x00, 0x90, 0x80, 0xFC, 0xA8, 0xEB] },
{ offset: 0x12F9AB, off: [0x8B, 0x15, 0x9C, 0xC7, 0xAF, 0x20, 0x8B, 0x0D, 0xA0, 0xC7, 0xAF, 0x20, 0x8B, 0x35, 0x90, 0xC7, 0xAF, 0x20, 0xF7, 0xD2, 0xF7, 0xD1, 0x23, 0xD1, 0x23, 0xD6, 0x23, 0x15, 0x98, 0xC7, 0xAF, 0x20, 0x83, 0xC4, 0x0C, 0x57, 0xB9, 0x00, 0x08, 0x00, 0x00, 0xE8, 0xA7, 0x6B, 0x00, 0x00, 0x8A, 0x1D, 0xB8, 0xC7, 0xAF, 0x20, 0x83, 0xC4, 0x04, 0x0F, 0xB6, 0xD3, 0x50, 0x52, 0x8B, 0x15, 0x94, 0xC7, 0xAF, 0x20, 0xB9, 0x00, 0x10, 0x00, 0x00, 0xE8, 0x89, 0x6B, 0x00, 0x00, 0x8B, 0x0D, 0xE4, 0xB8, 0xC6, 0x20, 0xC1, 0xE9, 0x0C, 0x80, 0xE1, 0x01, 0x0A, 0xC1, 0x83, 0xC4, 0x04, 0x8B, 0xD6, 0xB9, 0x00, 0x10, 0x00, 0x00, 0x50, 0x53, 0xE8, 0x6A, 0x6B, 0x00, 0x00, 0x8B, 0x15, 0xE0, 0xB8, 0xC6, 0x20, 0xC1, 0xEA, 0x0C, 0x80, 0xE2, 0x01, 0x0A, 0xC2, 0x83, 0xC4, 0x04, 0x50, 0xE8, 0x83, 0x1A, 0x00, 0x00], on: [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90] },
{ offset: 0x1314B0, off: [0x53, 0x33, 0xDB, 0x38, 0x1D, 0x85, 0xC7, 0xAF, 0x20, 0x74, 0x4C, 0x38, 0x5C, 0x24, 0x10, 0x74, 0x46, 0x38, 0x1D, 0x78, 0xC2, 0xAF, 0x20, 0x75, 0x30, 0xA1, 0x98, 0xC2, 0xAF, 0x20, 0x2B, 0x05, 0x94, 0xC2, 0xAF, 0x20, 0x8B, 0x0D, 0xC8, 0xC2, 0xAF, 0x20, 0x2B, 0x0D, 0xC4, 0xC2, 0xAF, 0x20, 0x03, 0x05, 0xA0, 0xC2, 0xAF, 0x20, 0x03, 0x0D, 0xD0, 0xC2, 0xAF, 0x20, 0xA3, 0xA8, 0xC2, 0xAF, 0x20, 0x89, 0x0D, 0xD8, 0xC2, 0xAF, 0x20, 0xEB, 0x07, 0x83, 0x05, 0xA8, 0xC2, 0xAF, 0x20, 0x01, 0x83, 0x05, 0x84, 0xC2, 0xAF, 0x20, 0x01, 0x55, 0x56, 0x57, 0x33, 0xFF, 0x8D, 0x64, 0x24, 0x00, 0x8D, 0x04, 0x7F, 0xC1, 0xE0, 0x04, 0x05, 0x8C, 0xC2, 0xAF, 0x20, 0x3B, 0xFB, 0x74, 0x0D, 0x8A, 0x54, 0x24, 0x18, 0x66, 0x8B, 0x0D, 0x82, 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FF, 0xFF, 0x39, 0x1D, 0x84, 0xC2, 0xAF, 0x20, 0x5F, 0x5E, 0x89, 0x1D, 0x7C, 0xC2, 0xAF, 0x20, 0x5D, 0x7E, 0x2A, 0xA1, 0x80, 0xC2, 0xAF, 0x20, 0x8B, 0xD0, 0xB9, 0x01, 0x00, 0x00, 0x00, 0x03, 0xC1, 0x83, 0xFA, 0x04, 0xA3, 0x80, 0xC2, 0xAF, 0x20, 0x7E, 0x12, 0x29, 0x0D, 0x84, 0xC2, 0xAF, 0x20, 0x89, 0x1D, 0x80, 0xC2, 0xAF, 0x20, 0x89, 0x0D, 0x7C, 0xC2, 0xAF, 0x20, 0x5B, 0xC3], on: [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90] },
],
},
{
name: "Timer Freeze",
patches: [
{ offset: 0x1F108, off: [0x89, 0x4D, 0x38], on: [0x90, 0x90, 0x90] },
{ offset: 0x1F4C8, off: [0x89, 0x4D, 0x38], on: [0x90, 0x90, 0x90] }
],
},
{
name: "Mute crowd cheering and booing during song",
tooltip: "Use with modified voice.xwb to also mute announcer",
patches: [{ offset: 0x4B493, off: [0x75], on: [0xEB] }],
},
{
name: "Force DATA check OK",
tooltip: "Use with modified VOICE.xwb to mute announcer",
patches: [{ offset: 0x10C0DD, off: [0x74], on: [0xEB] }],
},
{
name: "Song Unlock",
patches: [
{ offset: 0x3055, off: [0x75], on: [0xEB] },
{ offset: 0xB7D0, off: [0x72, 0x06], on: [0x90, 0x90] },
{ offset: 0xB845, off: [0x72, 0x06], on: [0x90, 0x90] },
{ offset: 0xB871, off: [0x72, 0x06], on: [0x90, 0x90] },
{ offset: 0xB8D7, off: [0x72, 0x06], on: [0x90, 0x90] },
],
},
{
name: "Enable timing offset",
tooltip: "Set the value below to 2116822084 if disabled",
patches: [
{ offset: 0x4AB7E, off: [0x89], on: [0x05] },
{ offset: 0x4AB83, off: [0x06, 0x2B, 0xC6, 0x89, 0x44, 0x24, 0x2C], on: [0x89, 0x44, 0x24, 0x2C, 0x90, 0x90, 0x90] },
],
},
{
type: "number",
name: "Timing Offset",
tooltip: "Change 2116822084 to the actual default of -1. From there, subtract to make timing later or add to make it earlier.",
offset: 0x4AB7F,
size: 4,
min: -20,
max: 20,
},
]),
new Patcher("ddr.exe", "2010-12-07 (US)", [
{
name: "NVIDIA gray arrow/freeze color fix",
tooltip: "Also affects newer AMD cards",
patches: [{ offset: 0x1FB39, off: [0x85, 0xC9, 0xD9, 0x44, 0x24, 0x1C, 0x89, 0x4C, 0x24, 0x28, 0xDB, 0x44, 0x24, 0x28, 0x7D, 0x06, 0xD8, 0x05, 0x90, 0x99, 0x60, 0x00, 0x0F, 0xBE, 0x54, 0x24, 0x13], on: [0x89, 0x4C, 0xE4, 0x28, 0xDB, 0x44, 0xE4, 0x28, 0xD9, 0x44, 0xE4, 0x1C, 0x8B, 0x54, 0xE4, 0x13, 0xDC, 0x05, 0xA0, 0x99, 0x60, 0x00, 0xD9, 0xC9, 0x0F, 0xBE, 0xD2] }],
},
{
name: "Timer Freeze",
patches: [{ offset: 0x1C968, off: [0x89, 0x4D, 0x38], on: [0x90, 0x90, 0x90] }],
},
{
name: "Mute crowd cheering and booing during song",
tooltip: "Use with modified voice.xwb to also mute announcer",
patches: [{ offset: 0x3F7AA, off: [0x0F, 0x84], on: [0x90, 0xE9] }],
},
{
name: "Force DATA check OK",
tooltip: "Use with modified VOICE.xwb to mute announcer",
patches: [{ offset: 0xEA05D, off: [0x74], on: [0xEB] }],
},
{
name: "Song Unlock",
patches: [{ offset: 0x22FC, off: [0x32, 0xC0], on: [0xB0, 0x01] }],
},
{
name: "Enable timing offset",
tooltip: "Set the value below to 2116822084 if disabled",
patches: [
{ offset: 0x44B1E, off: [0x89], on: [0x05] },
{ offset: 0x44B23, off: [0x06, 0x2B, 0xC6, 0x89, 0x44, 0x24, 0x2C], on: [0x89, 0x44, 0x24, 0x2C, 0x90, 0x90, 0x90] },
],
},
{
type: "number",
name: "Timing Offset",
tooltip: "Change 2116822084 to the actual default of -1. From there, subtract to make timing later or add to make it earlier.",
offset: 0x44B1F,
size: 4,
min: -20,
max: 20,
},
]),
]);
});
</script>
</head>
<body>
<h1>DDR X2 DLL Modder</h1>
</body>
</html>