Add ability to automatically detect selected DLL (#17)

This commit is contained in:
Isaac Drew
2018-06-23 11:59:16 +08:00
committed by Will
parent fbf138e13e
commit 5e920f031e
5 changed files with 591 additions and 438 deletions
+18 -15
View File
@@ -10,21 +10,24 @@
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
new DllPatcher("jubeat", [
{
name : "Disable tutorial",
patches : [{offset : 0xAAC32, off: [0x75, 0x4A, 0x53, 0x68, 0x00], on : [0xE9, 0x90, 0x00, 0x00, 0x00]}]
},
{
name : "SELECT MUSIC timer lock",
patches : [{offset : 0x80576, off : [0x75], on : [0xEB]}]
},
]);
new DllPatcher("music_db", [
{
name : "Unlock all songs",
patches : [{offset : 0x17DF, off: [0x74, 0x09], on : [0x90, 0x90]}]
},
new DllPatcherContainer([
new DllPatcher("jubeat", [
{
name : "Disable tutorial",
patches : [{offset : 0xAAC32, off: [0x75, 0x4A, 0x53, 0x68, 0x00], on : [0xE9, 0x90, 0x00, 0x00, 0x00]}]
},
{
name : "SELECT MUSIC timer lock",
patches : [{offset : 0x80576, off : [0x75], on : [0xEB]}]
},
], true),
new DllPatcher("music_db", [
{
name : "Unlock all songs",
patches : [{offset : 0x17DF, off: [0x74, 0x09], on : [0x90, 0x90]}]
},
], true)
]);
});
</script>