Upgrade SDVX song unlock, remove patch suffix from saved filename

This commit is contained in:
Will Toohey 2017-03-13 14:25:28 +10:00
parent 49efe933b3
commit cf9e490c77
2 changed files with 15 additions and 3 deletions

View File

@ -225,12 +225,13 @@ DllPatcher.prototype.saveDll = function() {
return;
var fname = this.filename;
/* disabled as it can get kinda hectic with many patches
for(var i = 0; i < this.mods.length; i++) {
var enabledStr = this.mods[i].applyPatch(this.dllFile);
if(enabledStr) {
fname += '-' + enabledStr;
}
}
} */
fname += '.dll';
var blob = new Blob([this.dllFile], {type: "application/octet-stream"});

View File

@ -13,9 +13,19 @@
// all patches made by DJH unless specified otherwise
new DllPatcher("soundvoltex", [
{
name : "All difficulties unlocked",
name : "All songs unlocked",
shortname : "unlocked",
patches : [{offset : 0x13AF9B, off: [0xE8, 0xF0, 0xE2, 0x01], on : [0xB8, 0x0B, 0x00, 0x00]}]
patches : [{offset : 0x13AF9B, off: [0xE8, 0xF0, 0xE2, 0x01], on : [0xB8, 0x0B, 0x00, 0x00]},
// Augmented by mon to work offline too
{offset: 0x1CF178,
off: [0x6A, 0x01, 0x8D, 0x44, 0x24, 0x47, 0x50, 0x6A, 0x03, 0x68, 0xA0, 0xA4],
on : [0x8D, 0x44, 0x24, 0x47, 0xC7, 0x00, 0x03, 0x00, 0x00, 0x00, 0xEB, 0x06]},
{offset: 0x187F55,
off: [0x6A, 0x04, 0x8D, 0x44, 0x24, 0x14, 0x50, 0x6A, 0x07, 0x68, 0xA0, 0xA4],
on : [0x8D, 0x44, 0x24, 0x14, 0xC7, 0x00, 0x03, 0x00, 0x00, 0x00, 0xEB, 0x07]},
{offset: 0x188CBD,
off: [0x0F, 0xB6, 0x54, 0x24, 0x03],
on : [0xBA, 0x03, 0x00, 0x00, 0x00]}]
},
{
name : "All songs \"Safe\"",
@ -139,5 +149,6 @@
</head>
<body>
<h1>SDVX III Season 2 DLL Modder</h1>
<p>Note: Difficulty unlock was updated to work offline. Ignore warning and reapply.</p>
</body>
</html>