forked from mon/BemaniPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gc4ex.html
106 lines (106 loc) · 6.09 KB
/
gc4ex.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Groove Coaster 4EX 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("game.exe", "game.exe (4.52)", [
// for in memory patching, add 0x400c00 to file offsets to get virtual addresses
{
name: "Unlock all songs",
patches: [
{offset: 0x25654b, off: [0x75, 0x22], on: [0x90, 0x90]},
{offset: 0x256e5b, off: [0x75, 0x5e], on: [0x90, 0x90]}
],
},
{
name: "Unlock all song difficulties",
patches: [
// non-extra
{offset: 0x298e0, off: [0x55, 0x8b, 0xec, 0x51, 0x89, 0x4d], on: [0xb8, 0xff, 0x00, 0x00, 0x00, 0xc3]},
// extra
{offset: 0x220d30, off: [0x55, 0x8b, 0xec, 0x51, 0x89, 0x4d, 0xfc, 0x8b, 0x4d, 0xfc, 0x81, 0xc1, 0xd4, 0x07, 0x00, 0x00, 0xe8, 0x5b, 0x0f, 0xdf, 0xff, 0x3b, 0x45, 0x08, 0x73, 0x04, 0x33, 0xc0, 0xeb, 0x14, 0x8b, 0x45, 0x08, 0x50, 0x8b, 0x4d, 0xfc, 0x81, 0xc1, 0xd4, 0x07, 0x00, 0x00, 0xe8, 0x60, 0xb7, 0xe1], on: [0x8b, 0x44, 0x24, 0x04, 0x8b, 0x15, 0x54, 0xa5, 0x7d, 0x00, 0x8b, 0x0d, 0x50, 0xa5, 0x7d, 0x00, 0x3b, 0x02, 0x74, 0x0d, 0x81, 0xc2, 0xb4, 0x00, 0x00, 0x00, 0x49, 0x75, 0xf3, 0x31, 0xc0, 0xeb, 0x0b, 0x31, 0xc0, 0x83, 0x7a, 0x2c, 0x00, 0x0f, 0x95, 0xc0, 0x01, 0xc0, 0xc2, 0x04, 0x00]},
],
},
{
name: "Unlimited plays",
patches: [
{offset: 0x2356e0, off: [0x55, 0x8b, 0xec, 0x51], on: [0x33, 0xc0, 0x40, 0xc3]},
],
},
{
name: "Unlock all avatars, titles, navigators, skins, and sound effects",
patches: [
// unlock
{offset: 0x2214e0, off: [0x55, 0x8b, 0xec, 0x83], on: [0x33, 0xc0, 0x40, 0xc3]},
// allow selection
{offset: 0x1bc9fc, off: [0xe8, 0x4f, 0x95, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1bb51f, off: [0xe8, 0x2c, 0xaa, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1bf2fb, off: [0xe8, 0x50, 0x6c, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c3b48, off: [0xe8, 0x03, 0x24, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c3f71, off: [0xe8, 0xda, 0x1f, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c3fc7, off: [0xe8, 0x84, 0x1f, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c1d1f, off: [0xe8, 0x2c, 0x42, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c4c54, off: [0xe8, 0xf7, 0x12, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
{offset: 0x1c1c4f, off: [0xe8, 0xfc, 0x42, 0xe5, 0xff], on: [0xb8, 0x01, 0x00, 0x00, 0x00]},
],
},
{
name: "Hide in-game tutorial prompts",
patches: [
{offset: 0x248659, off: [0x0f, 0x84], on: [0x90, 0xe9]},
],
},
{
name: "Hide scrolling \"currently offline\" message while offline",
patches: [
{offset: 0x332ae, off: [0xe8, 0xad, 0x0e, 0x1c, 0x00], on: [0x90, 0x90, 0x90, 0x90, 0x90]},
],
},
{
name: "Show folder jackets while offline",
patches: [
{offset: 0x1ac8c0, off: [0x74, 0x33], on: [0x90, 0x90]},
],
},
{
name: "Fast/slow indicator",
type: "union",
offset: 0x2266e0,
patches: [
{
name: "Default",
patch: [0x55, 0x8b, 0xec, 0x83, 0xec],
},
{
name: "Show fast/slow near avatar",
patch: [0x33, 0xc0, 0x40, 0xc3, 0x90],
},
{
name: "Show fast/slow near judgement text",
patch: [0x33, 0xc0, 0x40, 0x40, 0xc3],
},
],
},
{
name: "Show fast/slow even on GREAT judgement",
patches: [
{offset: 0x243e7f, off: [0x74, 0x11], on: [0x90, 0x90]},
],
},
]),
]);
});
</script>
</head>
<body>
<h1>Groove Coaster 4EX Modder</h1>
</body>
</html>