forked from mon/BemaniPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunicrystal.html
185 lines (185 loc) · 8.95 KB
/
chunicrystal.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CHUNITHM CRYSTAL 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("chuniApp.exe", "(1.40.00) CRYSTAL", [
{
name: "Allow 127.0.0.1/localhost as the network server",
patches: [
{offset: 0x905500, off: [0x55, 0x8B, 0xEC], on: [0x31, 0xC0, 0xC3]},
{offset: 0x16CE988, off: [0x31, 0x32, 0x37, 0x2F], on: [0x30, 0x2F, 0x38, 0x00]}
]
},
{
name: "Disable shop close lockout",
tooltip: "Disables ~12-8am lockout. Does not disable maint lockout from 6:30-7am JST",
patches: [
{offset: 0x92D153, off: [0x74], on: [0xEB]},
],
},
{
name: "Force shared audio mode, system audio samplerate must be 48000",
tooltip: "Improves compatibility but may increase latency",
patches: [
{offset: 0xCD470A, off: [0x01], on: [0x00]},
],
},
{
name: "Force 2 channel audio output",
patches: [
{offset: 0xCD47E1, off: [0x75, 0x3F], on: [0x90, 0x90]},
],
},
{
name: "Patch for Windows 7",
tooltip: "May not be able to connect to the server",
patches: [
{offset: 0x1A404E8, off: [0x45, 0x78], on: [0x5F, 0x41]},
{offset: 0x1A404F1, off: [0x43, 0x61, 0x6E, 0x63, 0x65, 0x6C, 0x51, 0x75, 0x65, 0x72, 0x79], on: [0x51, 0x75, 0x65, 0x72, 0x79, 0x5F, 0x41, 0x00, 0x00, 0x00, 0x00]},
],
},
{
name: "Disable Song Select Timer",
tooltip: "May only work when playing with card.",
patches: [
{offset: 0x748FE2, off: [0x74], on: [0xEB]},
],
},
{
name: "Set All Timers to 999",
patches: [
{offset: 0x5FC300, off: [0x8B, 0x44, 0x24, 0x04, 0x69, 0xC0, 0xE8, 0x03, 0x00, 0x00], on: [0xB8, 0x58, 0x3E, 0x0F, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90]},
],
},
{
name: "Better patch for head-to-head play",
tooltip: "Fix infinite sync while trying to connect to head to head play.",
patches: [
{offset: 0x464DB3, off: [0x01], on: [0x00]},
]
},
{
// ikaros14
name: "Increase max credits to 254",
patches: [
{offset: 0xC204B7, off: [0x8A, 0x5D, 0x14], on: [0xB3, 0xFE, 0x90]},
],
},
{
// ikaros14
name: "Free Play",
tooltip: "Endless credits",
patches: [
{offset: 0xC208D5, off: [0x28], on: [0x08]},
],
},
{
// ikaros14
name: "Dummy LED",
tooltip: "Skip LED board check",
patches: [
{offset: 0x2499D7, off: [0x00], on: [0x01]},
],
}
]),
new Patcher("chuniApp.exe", "(1.45.00) CRYSTAL PLUS", [
{
name: "Allow 127.0.0.1/localhost as the network server",
patches: [
{offset: 0x997380, off: [0x55, 0x8B, 0xEC], on: [0x31, 0xC0, 0xC3]},
{offset: 0x1717080, off: [0x31, 0x32, 0x37, 0x2F], on: [0x30, 0x2F, 0x38, 0x00]}
]
},
{
name: "Disable shop close lockout",
tooltip: "Disables ~12-8am lockout. Does not disable maint lockout from 6:30-7am JST",
patches: [
{offset: 0x9BEAD3, off: [0x74], on: [0xEB]},
],
},
{
name: "Force shared audio mode, system audio samplerate must be 48000",
tooltip: "Improves compatibility but may increase latency",
patches: [
{offset: 0xCF1ABA, off: [0x01], on: [0x00]},
],
},
{
name: "Force 2 channel audio output",
patches: [
{offset: 0xCF1B91, off: [0x75, 0x3F], on: [0x90, 0x90]},
],
},
{
name: "Disable Song Select Timer",
tooltip: "May only work when playing with card.",
patches: [
{offset: 0x765DC2, off: [0x74], on: [0xEB]},
],
},
{
name: "Set All Timers to 999",
patches: [
{offset: 0x613C70, off: [0x8B, 0x44, 0x24, 0x04, 0x69, 0xC0, 0xE8, 0x03, 0x00, 0x00], on: [0xB8, 0x58, 0x3E, 0x0F, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90]},
],
},
{
name: "Better patch for head-to-head play",
tooltip: "Fix infinite sync while trying to connect to head to head play.",
patches: [
{offset: 0x478E03, off: [0x01], on: [0x00]},
]
},
{
// ikaros14
name: "Increase max credits to 254",
patches: [
{offset: 0xC93B67, off: [0x8A, 0x5D, 0x14], on: [0xB3, 0xFE, 0x90]},
],
},
{
// ikaros14
name: "Free Play",
tooltip: "Endless credits",
patches: [
{offset: 0xC93F85, off: [0x28], on: [0x08]},
],
},
{
// ikaros14
name: "Dummy LED",
tooltip: "Skip LED board check",
patches: [
{offset: 0x2499D7, off: [0x00], on: [0x01]},
],
},
{
name: "No Title Server Encryption",
patches: [
{offset: 0x3D4372, off: [0x39], on: [0xC3]},
],
},
{
name: "No Title Server TLS",
patches: [
{offset: 0xCE5479, off: [0x81, 0xE3, 0x00, 0x00, 0x80, 0x00], on: [0x31, 0xDB, 0x90, 0x90, 0x90, 0x90]},
],
}
])
]);
});
</script>
</head>
<body>
<h1>CHUNITHM CRYSTAL Modder</h1>
</body>
</html>