Added Sinobuz Omnimix (#6)

* Added Sinobuz Omnimix DLL Fix
Everything Works Except Free play text to LED ticker (Upper left)

* Add descriptions to dlls

* Correct filename

* Remove 12
This commit is contained in:
James Liu 2018-01-02 23:06:23 +08:00 committed by Will
parent 1b645c680e
commit 155f412e29
2 changed files with 88 additions and 3 deletions

View File

@ -141,7 +141,7 @@ UnionPatch.prototype.getSelected = function() {
return null;
}
var DllPatcher = function(fname, args) {
var DllPatcher = function(fname, args, description) {
this.mods = [];
for(var i = 0; i < args.length; i++) {
var mod = args[i];
@ -154,6 +154,7 @@ var DllPatcher = function(fname, args) {
}
}
this.filename = fname;
this.description = description;
this.createUI();
this.loadPatchUI();
};
@ -161,7 +162,11 @@ var DllPatcher = function(fname, args) {
DllPatcher.prototype.createUI = function() {
var self = this;
var container = $("<div>", {"class": "patchContainer"});
container.html('<h3>' + this.filename + '.dll</h3>');
var header = this.filename + '.dll';
if(this.description) {
header += ' (' + this.description + ')';
}
container.html('<h3>' + header + '</h3>');
$('html').on('dragover dragenter', function() {
container.addClass('dragover');

View File

@ -101,7 +101,87 @@
tooltip : "Useful for those without service or to prevent login",
patches : [{offset : 0x63E34, off: [0x32], on : [0x20]}]
},
]);
], "stock");
new DllPatcher("bm2dx_omni", [
{
name : "Timer Freeze",
shortname : "freeze",
patches : [{offset : 0x9BCFE, off: [0x74], on : [0xEB]}]
},
{
name : "Premium Free",
shortname : "pfree",
patches : [{offset : 0x60B9B, off: [0x75], on : [0xEB]}]
},
{
name : "Premium Free (2 player mode)",
shortname : "pfree2",
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",
shortname : "pfreeze",
patches : [{offset : 0x5DFFD, off: [0x48], on : [0x90]}]
},
{
name : "Unlock All Songs",
shortname : "unlock",
patches : [{offset : 0x5C125, off: [0x74, 0x15], on : [0x90, 0x90]}]
},
{
name : "Cursor lock",
shortname : "cursor",
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",
shortname : "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",
shortname : "dark",
patches : [{offset : 0x71E57, off: [0x74, 0x3b], on : [0x90, 0x90]}]
},
{
name : "Remove Rainbow Banners",
shortname : "rainbows",
patches : [{offset : 0x12C355, off: [0x5F], on : [0x00]}]
},
{
name : "Volume Bug Fix",
shortname : "vol",
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",
shortname : "fp",
patches : [{offset : 0x150EA, off: [0xE0, 0x8F, 0x12, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
},
{
name : "Free play text to LED ticker (Upper left)",
shortname : "fpl",
patches : [{offset : 0xA4865, off: [0x74, 0x32], on : [0x90, 0x90]},
{offset : 0xA38C0, off: [0x54, 0x1D, 0x16, 0x10], on : [0x64, 0x99, 0x6A, 0x11]}]
},
{
name : "Debug mode (disables score saving!)",
shortname : "debug",
tooltip : "Press F1 in-game to open menu",
patches : [{offset : 0xa2ef0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
},
{
name : "Skip Card Entry",
shortname : "skipcard",
tooltip : "Useful for those without service or to prevent login",
patches : [{offset : 0x64014, off: [0x32], on : [0x20]}]
},
], "omnimix");
});
</script>
</head>