mirror of
https://github.com/mon/BemaniPatcher.git
synced 2026-08-01 14:10:40 -07:00
Add ability to automatically detect selected DLL (#17)
This commit is contained in:
+163
-160
@@ -10,166 +10,169 @@
|
||||
<script type="text/javascript" src="js/dllpatcher.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.addEventListener("load", function() {
|
||||
new DllPatcher("bm2dx", [
|
||||
{
|
||||
name : "Timer Freeze",
|
||||
patches : [{offset : 0x9BAEE, off: [0x74], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free",
|
||||
patches : [{offset : 0x60A1B, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free (2 player mode)",
|
||||
patches : [{offset : 0x60B94, off: [0x74, 0x2f], on : [0x90, 0x90]},
|
||||
{offset : 0x60BA5, off: [0x0f, 0x85, 0x3b], on : [0xe9, 0x3c, 0xff]},
|
||||
{offset : 0x60BAA, off: [0xff], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free Timer Freeze",
|
||||
patches : [{offset : 0x5DEAD, off: [0x48], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Level 12 Unlocked",
|
||||
patches : [{offset : 0x5BB35, off: [0x83, 0xFF, 0x02, 0x74, 0x0B, 0x83, 0xFF, 0x05, 0x74, 0x06, 0xB0, 0x01],
|
||||
on : [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Songs",
|
||||
patches : [{offset : 0x5C005, off: [0x74, 0x15], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Daily Bonuses",
|
||||
patches : [{offset : 0x5E180, off: [0x56, 0x8B, 0xF1, 0xE8, 0x58, 0x57, 0xFD, 0xFF],
|
||||
on : [0xB8, 0x01, 0x00, 0x00, 0x00, 0xC2, 0x04, 0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Cursor lock",
|
||||
tooltip : "After song finishes, song select remains on previous song",
|
||||
patches : [{offset : 0x6C8E5, off: [0x74, 0x23], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "CS-Style Song Start Delay",
|
||||
tooltip : "Holding Start will pause the song at the beginning until you release it",
|
||||
patches : [{offset : 0x78D52, off: [0x7C], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Dark Mode",
|
||||
patches : [{offset : 0x71cb7, off: [0x74, 0x3b], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Disable Bar Lines",
|
||||
patches : [{offset : 0x3d540, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Remove Rainbow Banners",
|
||||
patches : [{offset : 0x12C34D, off: [0x5F], on : [0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Volume Bug Fix",
|
||||
tooltip : "If your volume gets forced to max, turn this on",
|
||||
patches : [{offset : 0xda249, off: [0x00], on : [0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker",
|
||||
patches : [{offset : 0x150EA, off: [0xE0, 0x8F, 0x12, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker (Upper left)",
|
||||
patches : [{offset : 0xA4615, off: [0x74, 0x32], on : [0x90, 0x90]},
|
||||
{offset : 0xA4630, off: [0x54, 0x1D, 0x16, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Debug mode (disables score saving!)",
|
||||
tooltip : "Press F1 in-game to open menu",
|
||||
patches : [{offset : 0x579B0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Skip Card Entry",
|
||||
tooltip : "Useful for those without service or to prevent login",
|
||||
patches : [{offset : 0x63E34, off: [0x32], on : [0x20]}]
|
||||
},
|
||||
{
|
||||
name : "Quick Retry",
|
||||
tooltip : "Hold VEFX and Effect during a song to restart",
|
||||
patches : [{offset : 0x4e284, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
|
||||
},
|
||||
], "stock");
|
||||
new DllPatcher("bm2dx_omni", [
|
||||
{
|
||||
name : "Timer Freeze",
|
||||
patches : [{offset : 0x9BCFE, off: [0x74], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free",
|
||||
patches : [{offset : 0x60B9B, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free (2 player mode)",
|
||||
patches : [{offset : 0x60D14, off: [0x74, 0x2f], on : [0x90, 0x90]},
|
||||
{offset : 0x60D25, off: [0x0f, 0x85, 0x3b], on : [0xe9, 0x3c, 0xff]},
|
||||
{offset : 0x60D2A, off: [0xff], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free Timer Freeze",
|
||||
patches : [{offset : 0x5DFFD, off: [0x48], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Songs",
|
||||
patches : [{offset : 0x5C125, off: [0x74, 0x15], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Cursor lock",
|
||||
tooltip : "After song finishes, song select remains on previous song",
|
||||
patches : [{offset : 0x6CAE5, off: [0x74, 0x23], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "CS-Style Song Start Delay",
|
||||
tooltip : "Holding Start will pause the song at the beginning until you release it",
|
||||
patches : [{offset : 0x78EE2, off: [0x7C], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Dark Mode",
|
||||
patches : [{offset : 0x71E57, off: [0x74, 0x3b], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Disable Bar Lines",
|
||||
patches : [{offset : 0x3d450, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Remove Rainbow Banners",
|
||||
patches : [{offset : 0x12C355, off: [0x5F], on : [0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Volume Bug Fix",
|
||||
tooltip : "If your volume gets forced to max, turn this on",
|
||||
patches : [{offset : 0xDA219, off: [0x00], on : [0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker",
|
||||
patches : [{offset : 0x150EA, off: [0xE0, 0x8F, 0x12, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker (Upper left)",
|
||||
patches : [{offset : 0xA4865, off: [0x74, 0x32], on : [0x90, 0x90]},
|
||||
{offset : 0xA4880, off: [0x8c, 0x1D, 0x16, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Debug mode (disables score saving!)",
|
||||
tooltip : "Press F1 in-game to open menu",
|
||||
patches : [{offset : 0xa2ef0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Skip Card Entry",
|
||||
tooltip : "Useful for those without service or to prevent login",
|
||||
patches : [{offset : 0x64014, off: [0x32], on : [0x20]}]
|
||||
},
|
||||
{
|
||||
name : "Quick Retry",
|
||||
tooltip : "Hold VEFX and Effect during a song to restart",
|
||||
patches : [{offset : 0x4e154, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
|
||||
},
|
||||
], "omnimix");
|
||||
new DllPatcherContainer([
|
||||
new DllPatcher("bm2dx", [
|
||||
{
|
||||
name : "Timer Freeze",
|
||||
patches : [{offset : 0x9BAEE, off: [0x74], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free",
|
||||
patches : [{offset : 0x60A1B, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free (2 player mode)",
|
||||
patches : [{offset : 0x60B94, off: [0x74, 0x2f], on : [0x90, 0x90]},
|
||||
{offset : 0x60BA5, off: [0x0f, 0x85, 0x3b], on : [0xe9, 0x3c, 0xff]},
|
||||
{offset : 0x60BAA, off: [0xff], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free Timer Freeze",
|
||||
patches : [{offset : 0x5DEAD, off: [0x48], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Level 12 Unlocked",
|
||||
patches : [{offset : 0x5BB35, off: [0x83, 0xFF, 0x02, 0x74, 0x0B, 0x83, 0xFF, 0x05, 0x74, 0x06, 0xB0, 0x01],
|
||||
on : [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Songs",
|
||||
patches : [{offset : 0x5C005, off: [0x74, 0x15], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Daily Bonuses",
|
||||
patches : [{offset : 0x5E180, off: [0x56, 0x8B, 0xF1, 0xE8, 0x58, 0x57, 0xFD, 0xFF],
|
||||
on : [0xB8, 0x01, 0x00, 0x00, 0x00, 0xC2, 0x04, 0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Cursor lock",
|
||||
tooltip : "After song finishes, song select remains on previous song",
|
||||
patches : [{offset : 0x6C8E5, off: [0x74, 0x23], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "CS-Style Song Start Delay",
|
||||
tooltip : "Holding Start will pause the song at the beginning until you release it",
|
||||
patches : [{offset : 0x78D52, off: [0x7C], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Dark Mode",
|
||||
patches : [{offset : 0x71cb7, off: [0x74, 0x3b], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Disable Bar Lines",
|
||||
patches : [{offset : 0x3d540, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Remove Rainbow Banners",
|
||||
patches : [{offset : 0x12C34D, off: [0x5F], on : [0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Volume Bug Fix",
|
||||
tooltip : "If your volume gets forced to max, turn this on",
|
||||
patches : [{offset : 0xda249, off: [0x00], on : [0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker",
|
||||
patches : [{offset : 0x150EA, off: [0xE0, 0x8F, 0x12, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker (Upper left)",
|
||||
patches : [{offset : 0xA4615, off: [0x74, 0x32], on : [0x90, 0x90]},
|
||||
{offset : 0xA4630, off: [0x54, 0x1D, 0x16, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Debug mode (disables score saving!)",
|
||||
tooltip : "Press F1 in-game to open menu",
|
||||
patches : [{offset : 0x579B0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Skip Card Entry",
|
||||
tooltip : "Useful for those without service or to prevent login",
|
||||
patches : [{offset : 0x63E34, off: [0x32], on : [0x20]}]
|
||||
},
|
||||
{
|
||||
name : "Quick Retry",
|
||||
tooltip : "Hold VEFX and Effect during a song to restart",
|
||||
patches : [{offset : 0x4e284, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
|
||||
},
|
||||
], "stock"),
|
||||
|
||||
new DllPatcher("bm2dx_omni", [
|
||||
{
|
||||
name : "Timer Freeze",
|
||||
patches : [{offset : 0x9BCFE, off: [0x74], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free",
|
||||
patches : [{offset : 0x60B9B, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free (2 player mode)",
|
||||
patches : [{offset : 0x60D14, off: [0x74, 0x2f], on : [0x90, 0x90]},
|
||||
{offset : 0x60D25, off: [0x0f, 0x85, 0x3b], on : [0xe9, 0x3c, 0xff]},
|
||||
{offset : 0x60D2A, off: [0xff], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Premium Free Timer Freeze",
|
||||
patches : [{offset : 0x5DFFD, off: [0x48], on : [0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Unlock All Songs",
|
||||
patches : [{offset : 0x5C125, off: [0x74, 0x15], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Cursor lock",
|
||||
tooltip : "After song finishes, song select remains on previous song",
|
||||
patches : [{offset : 0x6CAE5, off: [0x74, 0x23], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "CS-Style Song Start Delay",
|
||||
tooltip : "Holding Start will pause the song at the beginning until you release it",
|
||||
patches : [{offset : 0x78EE2, off: [0x7C], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Dark Mode",
|
||||
patches : [{offset : 0x71E57, off: [0x74, 0x3b], on : [0x90, 0x90]}]
|
||||
},
|
||||
{
|
||||
name : "Disable Bar Lines",
|
||||
patches : [{offset : 0x3d450, off: [0x75], on : [0xEB]}]
|
||||
},
|
||||
{
|
||||
name : "Remove Rainbow Banners",
|
||||
patches : [{offset : 0x12C355, off: [0x5F], on : [0x00]}]
|
||||
},
|
||||
{
|
||||
name : "Volume Bug Fix",
|
||||
tooltip : "If your volume gets forced to max, turn this on",
|
||||
patches : [{offset : 0xDA219, off: [0x00], on : [0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker",
|
||||
patches : [{offset : 0x150EA, off: [0xE0, 0x8F, 0x12, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Free play text to LED ticker (Upper left)",
|
||||
patches : [{offset : 0xA4865, off: [0x74, 0x32], on : [0x90, 0x90]},
|
||||
{offset : 0xA4880, off: [0x8c, 0x1D, 0x16, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
|
||||
},
|
||||
{
|
||||
name : "Debug mode (disables score saving!)",
|
||||
tooltip : "Press F1 in-game to open menu",
|
||||
patches : [{offset : 0xa2ef0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
|
||||
},
|
||||
{
|
||||
name : "Skip Card Entry",
|
||||
tooltip : "Useful for those without service or to prevent login",
|
||||
patches : [{offset : 0x64014, off: [0x32], on : [0x20]}]
|
||||
},
|
||||
{
|
||||
name : "Quick Retry",
|
||||
tooltip : "Hold VEFX and Effect during a song to restart",
|
||||
patches : [{offset : 0x4e154, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
|
||||
},
|
||||
], "omnimix")
|
||||
]);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user