mirror of
https://github.com/two-torial/webpatcher.git
synced 2025-02-21 20:40:29 +01:00
Initial commit
This commit is contained in:
commit
67f19039fb
8
.htaccess
Normal file
8
.htaccess
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
IndexOptions IgnoreCase NameWidth=* DescriptionWidth=* SuppressHTMLPreamble
|
||||||
|
IndexOrderDefault Ascending Name
|
||||||
|
IndexIgnore header.html footer.html css js
|
||||||
|
|
||||||
|
HeaderName header.html
|
||||||
|
ReadmeName footer.html
|
||||||
|
|
||||||
|
Options +Indexes
|
6
README.md
Normal file
6
README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# BemaniPatcher
|
||||||
|
A tool to easily apply known hex edits to any DLL, with examples for Bemani games.
|
||||||
|
|
||||||
|
Should work on most modern browsers.
|
||||||
|
|
||||||
|
Live version hosted [on my website](http://mon.im/bemanipatcher/).
|
83
copula.html
Normal file
83
copula.html
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>IIDX Copula DLL Modder</title>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
<!-- don't hate -->
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.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() {
|
||||||
|
DllPatcher("bm2dx", [
|
||||||
|
{
|
||||||
|
name : "Timer Freeze",
|
||||||
|
shortname : "freeze",
|
||||||
|
patches : [{offset : 0x8F98E, off: [0x74], on : [0xEB]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Premium Free",
|
||||||
|
shortname : "pfree",
|
||||||
|
patches : [{offset : 0x562BA, off: [0x75], on : [0xEB]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Premium Free Timer Freeze",
|
||||||
|
shortname : "pfreeze",
|
||||||
|
patches : [{offset : 0x4F8FD, off: [0x48], on : [0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Unlock All Songs",
|
||||||
|
shortname : "unlock",
|
||||||
|
patches : [{offset : 0x4FD84, off: [0x74, 0x16], on : [0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "12 Unlocked",
|
||||||
|
shortname : "12",
|
||||||
|
patches : [{offset : 0x4FE35, 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 : "Cursor Lock",
|
||||||
|
shortname : "cursor",
|
||||||
|
patches : [{offset : 0x63722, off: [0x74, 0x23], on : [0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "CS-Style Song Start Delay",
|
||||||
|
shortname : "delay",
|
||||||
|
patches : [{offset : 0x6F3FF, off: [0x7C], on : [0xEB]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Song Name in Ticket Text",
|
||||||
|
shortname : "ticket",
|
||||||
|
patches : [{offset : 0x1379A, off: [0x88, 0x3D, 0x11, 0x10], on : [0x54, 0x1D, 0x42, 0x11]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "No FREE PLAY text",
|
||||||
|
shortname : "nofreetext",
|
||||||
|
patches : [{offset : 0x1379A, off: [0x88], on : [0x87]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Dark Mode",
|
||||||
|
shortname : "dark",
|
||||||
|
patches : [{offset : 0x68833, off: [0x74, 0x32], on : [0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Volume Bug Fix",
|
||||||
|
shortname : "vol",
|
||||||
|
patches : [{offset : 0xCB2B9, off: [0x00], on : [0x01]}]
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>IIDX Copula DLL Modder</h1>
|
||||||
|
<input class="fileInput" type="file" name="files[]" id="file" />
|
||||||
|
<label for="file"><strong>Choose a file</strong> or drag and drop.</label>
|
||||||
|
<div id="success"></div>
|
||||||
|
<div id="error"></div>
|
||||||
|
<div id="patches"></div>
|
||||||
|
<button id="save" onclick="saveDll();">Save DLL</button>
|
||||||
|
</body>
|
||||||
|
</html>
|
33
css/style.css
Normal file
33
css/style.css
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
.fileInput {
|
||||||
|
display: none
|
||||||
|
}
|
||||||
|
|
||||||
|
#error {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#success {
|
||||||
|
color: DarkGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
#success.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 40px auto;
|
||||||
|
max-width: 650px;
|
||||||
|
line-height: 1.6;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #444;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3{
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 a{
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: inherit;
|
||||||
|
}
|
3
footer.html
Normal file
3
footer.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<pre><em>Converted to an ugly web-tool by <a href="https://github.com/mon/">mon</a></em></pre>
|
||||||
|
</body>
|
||||||
|
</html>
|
6
header.html
Normal file
6
header.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Bemani DLL Patching Tools</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Pick a game!</h1>
|
2
js/FileSaver.min.js
vendored
Normal file
2
js/FileSaver.min.js
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||||
|
var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})}
|
156
js/dllpatcher.js
Normal file
156
js/dllpatcher.js
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
dllFile = null;
|
||||||
|
mods = null;
|
||||||
|
filename = null;
|
||||||
|
errorLog = "";
|
||||||
|
|
||||||
|
DllPatcher = function(fname, args) {
|
||||||
|
mods = args;
|
||||||
|
filename = fname;
|
||||||
|
loadPatchUI();
|
||||||
|
};
|
||||||
|
|
||||||
|
loadFile = function(file) {
|
||||||
|
var reader = new FileReader();
|
||||||
|
|
||||||
|
reader.onload = function(e) {
|
||||||
|
dllFile = new Uint8Array(e.target.result);
|
||||||
|
if(validatePatches()) {
|
||||||
|
$("#success").removeClass("hidden");
|
||||||
|
$("#success").html("DLL loaded successfully!");
|
||||||
|
} else {
|
||||||
|
$("#success").addClass("hidden");
|
||||||
|
}
|
||||||
|
$('#error').html(errorLog);
|
||||||
|
updatePatchUI();
|
||||||
|
};
|
||||||
|
|
||||||
|
reader.readAsArrayBuffer(file);
|
||||||
|
};
|
||||||
|
|
||||||
|
saveDll = function() {
|
||||||
|
if(!dllFile || !mods || !filename)
|
||||||
|
return;
|
||||||
|
var fname = filename;
|
||||||
|
|
||||||
|
for(var i = 0; i < mods.length; i++) {
|
||||||
|
id = mods[i].shortname;
|
||||||
|
var enabled = document.getElementById(id).checked;
|
||||||
|
replaceAll(dllFile, mods[i].patches, enabled);
|
||||||
|
if(enabled) {
|
||||||
|
fname += '-' + id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fname += '.dll';
|
||||||
|
|
||||||
|
var blob = new Blob([dllFile], {type: "application/octet-stream"});
|
||||||
|
saveAs(blob, fname);
|
||||||
|
}
|
||||||
|
|
||||||
|
loadPatchUI = function() {
|
||||||
|
var patchDiv = $('#patches');
|
||||||
|
for(var i = 0; i < mods.length; i++) {
|
||||||
|
var id = mods[i].shortname;
|
||||||
|
var name = mods[i].name;
|
||||||
|
patchDiv.append('<div class="patch"><input type="checkbox" id="' + id + '"><label for="' + id + '">' + name + '</label></div>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
updatePatchUI = function() {
|
||||||
|
for(var i = 0; i < mods.length; i++) {
|
||||||
|
var id = mods[i].shortname;
|
||||||
|
var elem = document.getElementById(id);
|
||||||
|
elem.checked = checkPatchBytes(mods[i].patches) == "on";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
buildError = function(patchName, message) {
|
||||||
|
var msg = '"' + patchName + '" ' + message;
|
||||||
|
console.log(msg);
|
||||||
|
errorLog += msg + '<br/>';
|
||||||
|
}
|
||||||
|
|
||||||
|
validatePatches = function() {
|
||||||
|
errorLog = "";
|
||||||
|
success = true;
|
||||||
|
for(var i = 0; i < mods.length; i++) {
|
||||||
|
var patch = mods[i];
|
||||||
|
var status = checkPatchBytes(patch.patches);
|
||||||
|
if(status == "on") {
|
||||||
|
console.log('"' + patch.name + '"', "is enabled!");
|
||||||
|
} else if(status == "off") {
|
||||||
|
console.log('"' + patch.name + '"', "is disabled!");
|
||||||
|
} else {
|
||||||
|
success = false;
|
||||||
|
buildError(patch.name, "is neither on nor off! Have you got the right dll?");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
|
checkPatchBytes = function(patches) {
|
||||||
|
var patchStatus = "";
|
||||||
|
for(var i = 0; i < patches.length; i++) {
|
||||||
|
patch = patches[i];
|
||||||
|
if(bytesMatch(dllFile, patch.offset, patch.off)) {
|
||||||
|
if(patchStatus == "") {
|
||||||
|
patchStatus = "off";
|
||||||
|
} else if(patchStatus != "off"){
|
||||||
|
return "on/off mismatch within patch";
|
||||||
|
}
|
||||||
|
} else if(bytesMatch(dllFile, patch.offset, patch.on)) {
|
||||||
|
if(patchStatus == "") {
|
||||||
|
patchStatus = "on";
|
||||||
|
} else if(patchStatus != "on"){
|
||||||
|
return "on/off mismatch within patch";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return "patch neither on nor off";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return patchStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
bytesMatch = function(buffer, offset, bytes) {
|
||||||
|
for(var i = 0; i < bytes.length; i++) {
|
||||||
|
if(buffer[offset+i] != bytes[i])
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
|
||||||
|
replaceAll = function(buffer, patches, featureOn) {
|
||||||
|
for(var i = 0; i < patches.length; i++) {
|
||||||
|
replace(buffer, patches[i].offset, featureOn? patches[i].on : patches[i].off);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
replace = function(buffer, offset, bytes) {
|
||||||
|
for(var i = 0; i < bytes.length; i++) {
|
||||||
|
buffer[offset+i] = bytes[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
whichBytesMatch = function(buffer, offset, bytesArray) {
|
||||||
|
for(var i = 0; i < bytesArray.length; i++) {
|
||||||
|
if(bytesMatch(buffer, offset, bytesArray[i]))
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
$( document ).ready(function() {
|
||||||
|
$('html').on('drag dragstart dragend dragover dragenter dragleave drop', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
|
})
|
||||||
|
.on('drop', function(e) {
|
||||||
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
|
if(files && files.length > 0)
|
||||||
|
loadFile(files[0]);
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#file').on('change', function(e) {
|
||||||
|
if(this.files && this.files.length > 0)
|
||||||
|
loadFile(this.files[0]);
|
||||||
|
});
|
||||||
|
});
|
121
popn22eclale.html
Normal file
121
popn22eclale.html
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>pop'n music éclale DLL Modder</title>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
<!-- don't hate -->
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.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() {
|
||||||
|
DllPatcher("popn22", [
|
||||||
|
{
|
||||||
|
name : "Song/EX unlock",
|
||||||
|
shortname : "unlock",
|
||||||
|
patches : [{offset : 0x59508, off: [0xF6, 0xD8, 0x1A, 0xC0, 0x24, 0x02], on : [0xB0, 0x02, 0x90, 0x90, 0x90, 0x90]},
|
||||||
|
{offset : 0x595BC, off: [0x75], on : [0xEB]},
|
||||||
|
{offset : 0x1C765C,
|
||||||
|
off : [0x01, 0x00, 0xBE, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x01, 0x00, 0xBF, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x01, 0x00, 0xC0, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0xA7, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0xAA, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0xAE, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0xB1, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 0xC5, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 0xC3, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 0xCB, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x04, 0x00, 0xC1, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x05, 0x00, 0xC8, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x05, 0x00, 0xC7, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x05, 0x00, 0xC9, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x06, 0x00, 0xD6, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x06, 0x00, 0xD7, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x07, 0x00, 0xD2, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x07, 0x00, 0xD3, 0x05, 0x08, 0x00, 0x00, 0x00,
|
||||||
|
0x01, 0x00, 0xD8, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x08, 0x00, 0xD1, 0x05, 0x08, 0x00, 0x00, 0x00,
|
||||||
|
0x02, 0x00, 0xC2, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xDE, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xDF, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xE0, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xE1, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xE2, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 0xE3, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0A, 0x00, 0xD4, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0B, 0x00, 0xE4, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0B, 0x00, 0xE5, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0B, 0x00, 0xE6, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0B, 0x00, 0xE7, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0C, 0x00, 0xEE, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0D, 0x00, 0xFA, 0x05, 0x08, 0x00, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 0xFB, 0x05, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0E, 0x00, 0x07, 0x06, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x0F, 0x00, 0x08, 0x06, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x10, 0x00, 0x0C, 0x06],
|
||||||
|
on : [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "E: drive fix",
|
||||||
|
shortname : "efix",
|
||||||
|
patches : [{offset : 0x2A22D4, off: [0x65, 0x3A, 0x2F], on : [0x64, 0x65, 0x76]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "HDMI audio fix",
|
||||||
|
shortname : "audiofix",
|
||||||
|
patches : [{offset : 0x11812C, off: [0x85, 0xC0, 0x75, 0x96], on : [0x90, 0x90, 0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>pop'n music éclale DLL Modder</h1>
|
||||||
|
<input class="fileInput" type="file" name="files[]" id="file" />
|
||||||
|
<label for="file"><strong>Choose a file</strong> or drag and drop.</label>
|
||||||
|
<div id="success"></div>
|
||||||
|
<div id="error"></div>
|
||||||
|
<div id="patches"></div>
|
||||||
|
<button id="save" onclick="saveDll();">Save DLL</button>
|
||||||
|
</body>
|
||||||
|
</html>
|
77
sdvx3-s2.html
Normal file
77
sdvx3-s2.html
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>SDVX III Season 2 DLL Modder</title>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
<!-- don't hate -->
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.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() {
|
||||||
|
DllPatcher("soundvoltex", [
|
||||||
|
{
|
||||||
|
name : "All difficulties unlocked",
|
||||||
|
shortname : "unlocked",
|
||||||
|
patches : [{offset : 0x13AF9B, off: [0xE8, 0xF0, 0xE2, 0x01], on : [0xB8, 0x0B, 0x00, 0x00]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "All songs \"Safe\"",
|
||||||
|
shortname : "safe",
|
||||||
|
patches : [{offset : 0x1554F7, off: [0x32, 0xC0], on : [0xB0, 0x01]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Prevent Windows volume change on boot",
|
||||||
|
shortname : "vol",
|
||||||
|
patches : [{offset : 0x1F556A, off : [0xE8, 0x21, 0x03, 0x00, 0x00],
|
||||||
|
on : [0x90, 0x90, 0x90, 0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Boot to Event Mode",
|
||||||
|
shortname : "event",
|
||||||
|
patches : [{offset : 0x170092, off : [0x00], on : [0x01]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "PFree (Unlimited plays)",
|
||||||
|
shortname : "pfree",
|
||||||
|
patches : [{offset : 0x196BDF, off : [0x00], on : [0x02]},
|
||||||
|
{offset : 0x196C66,
|
||||||
|
off : [0x8B, 0x83, 0x78, 0x0A, 0x00, 0x00, 0x8D, 0x48, 0x01, 0x83, 0xF9, 0x03, 0x56, 0x57, 0x7F, 0x52],
|
||||||
|
on : [0xB8, 0x01, 0x00, 0x00, 0x00, 0x89, 0x83, 0x78, 0x0A, 0x00, 0x00, 0x90, 0x56, 0x57, 0x90, 0x90]}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name : "Score as overall percentage (Osu style % display)",
|
||||||
|
shortname : "percent",
|
||||||
|
patches : [{offset : 0x1FBD9,
|
||||||
|
off : [0x8B, 0x85, 0x50, 0x01, 0x00, 0x00, 0x8B, 0x9D, 0x48, 0x01, 0x00, 0x00, 0x8B, 0x8D, 0x54, 0x01,
|
||||||
|
0x00, 0x00, 0x8B, 0x95, 0x4C, 0x01, 0x00, 0x00, 0x56, 0x57, 0x3B, 0xC3, 0x75, 0x08, 0x3B, 0xCA,
|
||||||
|
0x0F, 0x84, 0x86, 0x00, 0x00, 0x00, 0x8B, 0xF8, 0x81, 0xC7, 0x7C, 0x9F, 0x02, 0x00, 0x8B, 0xF1,
|
||||||
|
0x83, 0xD6, 0x00, 0x3B, 0xD6, 0x7C, 0x1C, 0x7F, 0x04, 0x3B, 0xDF, 0x76, 0x16, 0x05, 0x26, 0x43,
|
||||||
|
0x00, 0x00, 0x83, 0xD1, 0x00, 0x89, 0x85, 0x50, 0x01, 0x00, 0x00, 0x89, 0x8D, 0x54, 0x01, 0x00,
|
||||||
|
0x00, 0xEB, 0x59, 0x8B, 0xF8, 0x81, 0xC7, 0x26, 0x43, 0x00, 0x00, 0x8B, 0xF1, 0x83, 0xD6, 0x00,
|
||||||
|
0x3B, 0xD6, 0x7C, 0x1C, 0x7F, 0x04, 0x3B, 0xDF, 0x76, 0x16, 0x05, 0x62, 0x16, 0x00, 0x00, 0x83,
|
||||||
|
0xD1, 0x00, 0x89, 0x85, 0x50],
|
||||||
|
on : [0x56, 0x57, 0x52, 0x51, 0xBE, 0x90, 0x71, 0x7C, 0x18, 0x8B, 0x46, 0x54, 0x99, 0x6A, 0x00, 0x6A,
|
||||||
|
0x02, 0x52, 0x50, 0xE8, 0x3F, 0xC4, 0x21, 0x00, 0x8B, 0xC8, 0x8B, 0xFA, 0x8B, 0x46, 0x58, 0x99,
|
||||||
|
0x01, 0xC1, 0x11, 0xD7, 0x6A, 0x00, 0x68, 0x80, 0x96, 0x98, 0x00, 0x57, 0x51, 0xE8, 0x25, 0xC4,
|
||||||
|
0x21, 0x00, 0x8B, 0xFA, 0x8B, 0xC8, 0x8B, 0x46, 0x54, 0x8B, 0x56, 0x58, 0x01, 0xD0, 0x8B, 0x56,
|
||||||
|
0x5C, 0x01, 0xD0, 0x01, 0xC0, 0x99, 0x83, 0xF8, 0x00, 0x0F, 0x85, 0x0F, 0x00, 0x00, 0x00, 0xBF,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0xBB, 0x00, 0x00, 0x00, 0x00, 0xE9, 0x0D, 0x00, 0x00, 0x00, 0x52, 0x50,
|
||||||
|
0x57, 0x51, 0xE8, 0x90, 0x36, 0x21, 0x00, 0x8B, 0xF8, 0x8B, 0xDA, 0x59, 0x5A, 0x8B, 0x45, 0x08,
|
||||||
|
0x8B, 0x40, 0x04, 0xEB, 0x49]}]
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>SDVX III Season 2 DLL Modder</h1>
|
||||||
|
<input class="fileInput" type="file" name="files[]" id="file" />
|
||||||
|
<label for="file"><strong>Choose a file</strong> or drag and drop.</label>
|
||||||
|
<div id="success"></div>
|
||||||
|
<div id="error"></div>
|
||||||
|
<div id="patches"></div>
|
||||||
|
<button id="save" onclick="saveDll();">Save DLL</button>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user