Skip to content

Commit

Permalink
Refactor: Support exe, sane arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
mon committed Nov 17, 2019
1 parent 01e1818 commit b27039d
Show file tree
Hide file tree
Showing 33 changed files with 567 additions and 577 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BemaniPatcher
A tool to easily apply known hex edits to any DLL, with examples for Bemani games.
A tool to easily apply known hex edits to any binary, with examples for Bemani games.

Should work on most modern browsers.

Live version hosted [on my website](http://mon.im/bemanipatcher/).
Live version hosted [on my website](https://mon.im/bemanipatcher/).
14 changes: 7 additions & 7 deletions ballerz.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type='text/javascript' src='js/dllpatcher.js'></script>
<script type='text/javascript'>
window.addEventListener('load', function () {
new DllPatcherContainer([
new DllPatcher('bm2dx', [
new PatchContainer([
new Patcher('bm2dx.dll', "2018-09-19", [
{
// discovered by GHYAKIMA
name: 'SSE4.2 Fix',
Expand Down Expand Up @@ -191,8 +191,8 @@
tooltip : "Immediately loads into chart after selection.",
patches: [{offset: 0x72775, off: [0xE8, 0x66, 0x00, 0x00, 0x00], on: [0x90, 0x90, 0x90, 0x90, 0x90]}]
},
], "2018-09-19"),
new DllPatcher('bm2dx', [
]),
new Patcher('bm2dx.dll', "2018-07-24", [
{
name: 'Unlock All Songs',
patches: [{offset: 0xB61D2, off: [0x74, 0x10], on: [0x90, 0x90]}]
Expand All @@ -215,8 +215,8 @@
tooltip : "Holding Start will pause the song at the beginning until you release it",
patches: [{offset: 0xF5D9A, off: [0x7D, 0x25], on: [0x90, 0x90]}]
},
], "2018-07-24"),
new DllPatcher('bm2dx', [
]),
new Patcher('bm2dx.dll', "2018-06-13", [
{
name: 'Unlock All Songs',
patches: [{offset: 0xB42D2, off: [0x74, 0x10], on: [0x90, 0x90]}]
Expand All @@ -239,7 +239,7 @@
tooltip : "Holding Start will pause the song at the beginning until you release it",
patches: [{offset: 0xF296A, off: [0x7D, 0x25], on: [0x90, 0x90]}]
},
], "2018-06-13"),
]),
]);
});
</script>
Expand Down
8 changes: 4 additions & 4 deletions beatstream1.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
new DllPatcherContainer([
new DllPatcher("beatstream", [
new PatchContainer([
new Patcher("beatstream.dll", "2015-12-01", [
{
name: "E: drive fix",
tooltip: "Fix crash caused by no E: drive",
Expand All @@ -20,12 +20,12 @@
{
name: "Unlock all songs",
patches: [{
offset: 0x1740B6,
offset: 0x1740B6,
off: [0x48, 0x83, 0xFD, 0x10, 0x72, 0x09, 0x48, 0x8D, 0x79, 0x08],
on: [0xBB, 0x00, 0x00, 0x00, 0x00, 0xE9, 0xAE, 0x01, 0x00, 0x00]
}]
},
], "2015-12-01"),
]),
]);
});
</script>
Expand Down
10 changes: 5 additions & 5 deletions beatstream2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
new DllPatcherContainer([
new DllPatcher("beatstream", [
new PatchContainer([
new Patcher("beatstream.dll", "2016-11-14", [
{
name: "E: drive fix",
tooltip: "Fix crash caused by no E: drive",
Expand All @@ -20,20 +20,20 @@
{
name: "Unlock all songs",
patches: [{
offset: 0x16CCB1,
offset: 0x16CCB1,
off: [0x48, 0x83, 0xFD, 0x10, 0x72, 0x03, 0x48, 0x8B, 0x09, 0x41],
on: [0xBE, 0x00, 0x00, 0x00, 0x00, 0xE9, 0x3A, 0x01, 0x00, 0x00]
}]
},
{
name: "NIGHTMARE difficulty unlock",
patches: [{
offset: 0x16EADE,
offset: 0x16EADE,
off: [0x8B, 0xCB, 0xE8, 0xDB, 0xB4, 0x0E],
on: [0xB0, 0x01, 0xE9, 0xAD, 0x00, 0x00]
}]
},
], "2016-11-14"),
]),
]);
});
</script>
Expand Down
6 changes: 3 additions & 3 deletions copula.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
new DllPatcherContainer([
new DllPatcher("bm2dx", [
new PatchContainer([
new Patcher('bm2dx.dll', "2016-08-31", [
{
name : "Timer Freeze",
patches : [{offset : 0x8F98E, off: [0x74], on : [0xEB]}]
Expand Down Expand Up @@ -101,7 +101,7 @@
//changes the FPS = %2.4f string to FPS = %2.6f
patches: [{offset: 0x13E429, off: [0x34], on: [0x36]}]
},
], "2016-08-31"),
]),
]);
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion ddr2014.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
new DllPatcher("mdxja_", [
new Patcher("mdxja.dll", "", [
{// Created by Renard1911
name : "Premium Free",
tooltip: "Song clears/scores only. Profile progress and custom settings do not save. Reboot game to re-query for scores.",
Expand Down
18 changes: 9 additions & 9 deletions ddra.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("gamemdx", [
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]}]
Expand Down Expand Up @@ -83,8 +83,8 @@
{offset: 0x2D0AE, off: [0xE8, 0x3D, 0x0D, 0xFE, 0xFF], on: [0xB8, 0x00, 0x00, 0x00, 0x00]},
]
}
], "2019-04-22"),
new DllPatcher("gamemdx", [
]),
new Patcher("gamemdx.dll", "2018-10-22", [
{
name: "Force enable fast/slow",
patches: [{offset: 0x8CA60, off: [0x8B, 0x41, 0x44], on: [0x31, 0xC0, 0x40]}]
Expand All @@ -103,7 +103,7 @@
patches: [
//e-amusement
{offset: 0x8ED83, off: [0x32, 0xC0], on: [0xB0, 0x01]},
//event mode
//event mode
{offset: 0x8463B, off: [0x75], on: [0xEB]},
//ACES FOR ACES, ENDYMION, ???
{offset: 0x846D1, off: [0x32, 0xC0], on: [0xB0, 0x01]},
Expand Down Expand Up @@ -139,8 +139,8 @@
tooltip: "Song clears/scores only. Profile progress and custom settings do not save. Reboot game to re-query for scores.",
patches: [{offset: 0x1f0a6, off: [0x01], on: [0x00]}]
},
], "2018-10-22"),
new DllPatcher("gamemdx", [
]),
new Patcher("gamemdx.dll", "2018-04-23", [
{
name: "Force enable fast/slow",
patches: [{offset: 0x84EC0, off: [0x8B, 0x41, 0x44], on: [0x31, 0xC0, 0x40]}]
Expand All @@ -167,7 +167,7 @@
patches: [
//e-amusement
{offset: 0x86CD8, off: [0x32, 0xC0], on: [0xB0, 0x01]},
//event mode
//event mode
{offset: 0x7DEFE, off: [0x75], on: [0xEB]},
//ACES FOR ACES, ENDYMION
{offset: 0x7DF3E, off: [0x32, 0xC0], on: [0xB0, 0x01]},
Expand Down Expand Up @@ -204,7 +204,7 @@
{offset: 0x8C29, off: [0x74, 0x2E], on: [0xEB, 0x2C]},
]
},
], "2018-04-23"),
]),
]);
});
</script>
Expand Down
20 changes: 9 additions & 11 deletions gfdmv5.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("game", [
new Patcher("game.dll", "", [
{
name: "Force unlock SECRET folder",
patches: [
{offset: 0xC259A, off: [0x74, 0x12, 0x68, 0xC0], on: [0x90, 0x90, 0x68, 0xC0]}
{offset: 0xC259A, off: [0x74, 0x12, 0x68, 0xC0], on: [0x90, 0x90, 0x68, 0xC0]}
]
}
], true),
new DllPatcher("boot", [
]);
new Patcher("boot.dll", "", [
{
name: "GF's volume fix",
patches: [
Expand All @@ -28,23 +27,22 @@
{offset: 0x1BD1, off: [0x02], on: [0x03]},
]
}
], true),
new DllPatcher("libshare-pj", [
]);
new Patcher("libshare-pj.dll", "", [
{
name: "Let the game can access e-amuemu which IP is 192.168.*.*",
tooltip: "It's highly recommended using this just to turn off the e-AMUSEMENT easily,since it's not compatiable with e-amuemu(Cannot register cards but still can get into the game)",
patches: [
{offset: 0x17ECA, off: [0x01, 0x5B], on: [0x00, 0x5B]}
]
}
], true),
new DllPatcher("libsytem", [
]);
new Patcher("libsystem.dll", "", [
{
name: "White screen freeze fix",
patches: [{offset: 0x306C, off: [0x53, 0x53], on: [0x33, 0xC0]}]
}
], true)
]);
]);
});
</script>
</head>
Expand Down
16 changes: 7 additions & 9 deletions gfdmv6.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("game", [
new Patcher("game.dll", "", [
{
name: "Force unlock SECRET folder",
patches: [
{offset: 0xCC8EA, off: [0x74, 0x12, 0x68, 0x04], on: [0x90, 0x90, 0x68, 0x04]}
{offset: 0xCC8EA, off: [0x74, 0x12, 0x68, 0x04], on: [0x90, 0x90, 0x68, 0x04]}
]
}
], true),
new DllPatcher("boot", [
]);
new Patcher("boot.dll", "", [
{
name: "GF's volume fix",
patches: [
Expand All @@ -28,16 +27,15 @@
{offset: 0x1B71, off: [0x02], on: [0x03]},
]
}
], true),
new DllPatcher("libshare-pj", [
]);
new Patcher("libshare-pj.dll", "", [
{
name: "Let the game can access e-amuemu which IP is 192.168.*.*",
patches: [
{offset: 0x18F3A, off: [0x01, 0x5B], on: [0x00, 0x5B]}
]
}
], true)
]);
]);
});
</script>
</head>
Expand Down
20 changes: 9 additions & 11 deletions gfdmv7.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("game", [
new Patcher("game.dll", "", [
{
name: "Force unlock SECRET folder",
patches: [
{offset: 0xBA187, off: [0x74, 0x04, 0xC6, 0x46], on: [0x90, 0x90, 0xC6, 0x46]}
{offset: 0xBA187, off: [0x74, 0x04, 0xC6, 0x46], on: [0x90, 0x90, 0xC6, 0x46]}
]
}
], true),
new DllPatcher("boot", [
]);
new Patcher("boot.dll", "", [
{
name: "GF's volume fix",
patches: [
Expand All @@ -28,22 +27,21 @@
{offset: 0x1A41, off: [0x02], on: [0x03]},
]
}
], true),
new DllPatcher("libshare-pj", [
]);
new Patcher("libshare-pj.dll", "", [
{
name: "Let the game can access e-amuemu which IP is 192.168.*.*",
patches: [
{offset: 0x16B99, off: [0x01, 0x5B], on: [0x00, 0x5B]}
]
}
], true),
new DllPatcher("libsytem", [
]);
new Patcher("libsystem.dll", "", [
{
name: "White screen freeze fix",
patches: [{offset: 0x2DFC, off: [0x53, 0x53, 0xA3, 0xCC], on: [0x33, 0xC0, 0xA3, 0xCC]}]
}
], true)
]);
]);
});
</script>
</head>
Expand Down
6 changes: 2 additions & 4 deletions gitadoraexchain.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("libshare-pj", [
new Patcher("libshare-pj.dll", "", [
{
name: 'Fix "IP CHANGE ERROR"',
patches: [{offset: 0x23305, off: [0x74], on: [0xEB]}]
}
], true)
]);
])
});
</script>
</head>
Expand Down
10 changes: 4 additions & 6 deletions gitadoramatixx.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcherContainer([
new DllPatcher("game", [
new Patcher("game.dll", "", [
{
name: "Timer Freeze",
patches: [{offset: 0xBC37, off: [0x0F, 0x85, 0xAA, 0x01, 0x00, 0x00], on: [0xE9, 0xAB, 0x01, 0x00, 0x00, 0x90]}]
Expand All @@ -33,14 +32,13 @@
name: "Enable Long Music",
patches: [{offset: 0x163134, off: [0x75, 0x03], on: [0x90, 0x90]}]
}
], true),
new DllPatcher("libshare-pj", [
]);
new Patcher("libshare-pj.dll", "", [
{
name: "Fix IP change error",
patches: [{offset: 0x23375, off: [0x74], on: [0xEB]}]
}
], true)
]);
]);
});
</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion gitadoraod.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function () {
new DllPatcher("game", [
new Patcher("game.dll", "", [
{
name: "Timer Freeze",
patches: [{offset: 0xBCE7, off: [0x0F, 0x85, 0xAA, 0x01, 0x00, 0x00], on: [0xE9, 0xAB, 0x01, 0x00, 0x00, 0x90]}]
Expand Down
Loading

0 comments on commit b27039d

Please sign in to comment.