Remove shortname entirely, fix omnimix

This commit is contained in:
Will Toohey 2018-01-07 22:27:01 +10:00
parent 7a97429a35
commit 98a9058fbb
12 changed files with 26 additions and 124 deletions

View File

@ -13,19 +13,16 @@
new DllPatcher("beatstream", [
{
name : "E: drive fix",
shortname : "efix",
tooltip: "Fix crash caused by no E: drive",
patches : [{offset : 0x8645FC, off: [0x65, 0x3A, 0x2F], on : [0x64, 0x65, 0x76]}]
},
{
name : "Unlock all songs",
shortname : "songunlock",
patches : [{offset : 0x16CCB1, off: [0x48, 0x83, 0xFD, 0x10, 0x72, 0x03, 0x48, 0x8B, 0x09, 0x41],
on : [0xBE, 0x00, 0x00, 0x00, 0x00, 0xE9, 0x3A, 0x01, 0x00, 0x00]}]
},
{
name : "Nightmare difficulty unlock",
shortname : "diffunlock",
patches : [{offset : 0x16EADE, off: [0x8B, 0xCB, 0xE8, 0xDB, 0xB4, 0x0E],
on : [0xB0, 0x01, 0xE9, 0xAD, 0x00, 0x00]}]
},

View File

@ -13,86 +13,71 @@
new 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]}]
},
// By mon - modifies a few more bytes than needed but whatever
{
name : "Premium Free (2 player mode)",
shortname : "pfree2",
patches : [{offset : 0x56424, off: [0x74, 0x2f], on : [0x90, 0x90]},
{offset : 0x56435, off: [0x0f, 0x85, 0x3b], on : [0xe9, 0x3c, 0xff]},
{offset : 0x5643a, off: [0xff], on : [0x90]}]
},
{
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 : "Level 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",
tooltip : "After song finishes, song select remains on previous song",
patches : [{offset : 0x63722, 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 : 0x6F3FF, off: [0x7C], on : [0xEB]}]
},
{
name : "Disable HCN Tutorial",
shortname : "hcntut",
tooltip : "Don't show tutorial for Hell Charge Notes",
patches : [{offset : 0x6F3E6, off: [0x5E, 0xE9, 0x24, 0xFF, 0xFF, 0xFF], on : [0x00, 0x00, 0x00, 0x00, 0x00, 0x00]}]
},
{
name : "Dark Mode",
shortname : "dark",
patches : [{offset : 0x68833, off: [0x74, 0x32], on : [0x90, 0x90]}]
},
{
name : "Volume Bug Fix",
shortname : "vol",
tooltip : "If your volume gets forced to max, turn this on",
patches : [{offset : 0xCB2B9, off: [0x00], on : [0x01]}]
},
{
type : "union",
name : "FREE PLAY text",
shortname : "freetext",
offset : 0x1379A,
patches : [
{
name : "On",
shortname : "default",
patch : [0x88, 0x3D, 0x11, 0x10],
},
{
name : "Off",
shortname : "off",
patch : [0x87, 0x3D, 0x11, 0x10],
},
{
name : "Replace with song name",
shortname : "song",
patch : [0x54, 0x1D, 0x42, 0x11],
},
]

View File

@ -13,14 +13,12 @@
new DllPatcher("mdxja_", [
{// Created by Renard1911
name : "Premium Free",
shortname : "pfree",
tooltip: "Song clears/scores only. Profile progress and custom settings do not save. Reboot game to re-query for scores.",
patches : [{offset : 0x23C5, off: [0xFF, 0x80, 0xE4, 0x16, 0x00, 0x00], on : [0x90, 0x90, 0x90, 0x90, 0x90, 0x90]}]
},
// These patches were auto-generated and thus very verbose
{
name : "Unlock all songs",
shortname : "unlock",
patches : [{offset : 0x205c70, off: [0xeb], on : [0x00]},
{offset : 0x205c74, off: [0xf7, 0x01], on : [0x00, 0x00]},
{offset : 0x205c78, off: [0xf5], on : [0x00]},

View File

@ -1,21 +1,29 @@
(function(window, document) {
"use strict";
// form labels often need unique IDs - this can be used to generate some
window.DllPatcher_uniqueid = 0;
var createID = function() {
window.DllPatcher_uniqueid++;
return "dllpatch_" + window.DllPatcher_uniqueid;
}
// Each unique kind of patch should have createUI, validatePatch, applyPatch,
// updateUI
var StandardPatch = function(options) {
this.name = options.name;
this.shortname = options.shortname;
this.patches = options.patches;
this.tooltip = options.tooltip;
};
StandardPatch.prototype.createUI = function(parent) {
var id = this.shortname;
var id = createID();
var label = this.name;
var patch = $('<div>', {'class' : 'patch'});
patch.append('<input type="checkbox" id="' + id + '"><label for="' + id + '">' + label + '</label>');
this.checkbox = $('<input type="checkbox" id="' + id + '">')[0];
patch.append(this.checkbox);
patch.append('<label for="' + id + '">' + label + '</label>');
if(this.tooltip) {
patch.append('<div class="tooltip">' + this.tooltip + '</div>');
}
@ -23,9 +31,7 @@ StandardPatch.prototype.createUI = function(parent) {
};
StandardPatch.prototype.updateUI = function(file) {
var id = this.shortname;
var elem = document.getElementById(id);
elem.checked = this.checkPatchBytes(file) == "on";
this.checkbox.checked = this.checkPatchBytes(file) == "on";
};
StandardPatch.prototype.validatePatch = function(file) {
@ -40,10 +46,7 @@ StandardPatch.prototype.validatePatch = function(file) {
};
StandardPatch.prototype.applyPatch = function(file) {
var id = this.shortname;
var enabled = document.getElementById(id).checked;
this.replaceAll(file, enabled);
return enabled ? this.shortname : "";
this.replaceAll(file, this.checkbox.checked);
};
StandardPatch.prototype.replaceAll = function(file, featureOn) {
@ -82,20 +85,26 @@ StandardPatch.prototype.checkPatchBytes = function(file) {
// The DEFAULT state is always the 1st element in the patches array
var UnionPatch = function(options) {
this.name = options.name;
this.shortname = options.shortname;
this.offset = options.offset;
this.patches = options.patches;
};
UnionPatch.prototype.createUI = function(parent) {
this.radios = [];
var radio_id = createID();
var container = $("<div>", {"class": "patch-union"});
container.append('<span class="patch-union-title">' + this.name + ':</span>');
for(var i = 0; i < this.patches.length; i++) {
var patch = this.patches[i];
var id = this.shortname + '-' + patch.shortname;
var id = createID();
var label = patch.name;
var patchDiv = $('<div>', {'class' : 'patch'});
patchDiv.append('<input type="radio" id="' + id + '" name="' + this.shortname + '"><label for="' + id + '">' + label + '</label>');
var radio = $('<input type="radio" id="' + id + '" name="' + radio_id + '">')[0];
this.radios.push(radio);
patchDiv.append(radio);
patchDiv.append('<label for="' + id + '">' + label + '</label>');
if(patch.tooltip) {
patchDiv.append('<div class="tooltip">' + patch.tooltip + '</div>');
}
@ -107,12 +116,12 @@ UnionPatch.prototype.createUI = function(parent) {
UnionPatch.prototype.updateUI = function(file) {
for(var i = 0; i < this.patches.length; i++) {
if(bytesMatch(file, this.offset, this.patches[i].patch)) {
document.getElementById(this.shortname + '-' + this.patches[i].shortname).checked = true;
this.radios[i].checked = true;
return;
}
}
// Default fallback
document.getElementById(this.shortname + '-' + this.patches[0].shortname).checked = true;
this.radios[0].checked = true;
};
UnionPatch.prototype.validatePatch = function(file) {
@ -127,14 +136,12 @@ UnionPatch.prototype.validatePatch = function(file) {
UnionPatch.prototype.applyPatch = function(file) {
var patch = this.getSelected();
var name = this.shortname + patch.shortname;
replace(file, this.offset, patch.patch);
return patch.shortname == "default" ? "" : name;
};
UnionPatch.prototype.getSelected = function() {
for(var i = 0; i < this.patches.length; i++) {
if(document.getElementById(this.shortname + '-' + this.patches[i].shortname).checked) {
if(this.radios[i].checked) {
return this.patches[i];
}
}
@ -244,11 +251,7 @@ DllPatcher.prototype.saveDll = function() {
var fname = this.filename;
for(var i = 0; i < this.mods.length; i++) {
var enabledStr = this.mods[i].applyPatch(this.dllFile);
/* disabled as it can get kinda hectic with many patches
if(enabledStr) {
fname += '-' + enabledStr;
} */
this.mods[i].applyPatch(this.dllFile);
}
fname += '.dll';

View File

@ -13,19 +13,16 @@
new DllPatcher("jubeat", [
{
name : "Disable tutorial",
shortname : "notut",
patches : [{offset : 0x81F79, off: [0x0F, 0x85, 0xC7], on : [0xE9, 0xC6, 0x01]}]
},
{
name : "SELECT MUSIC timer lock",
shortname : "selectlock",
patches : [{offset : 0x16E64D, off : [0x75], on : [0xEB]}]
},
]);
new DllPatcher("music_db", [
{
name : "Unlock all songs",
shortname : "unlock",
patches : [{offset : 0x266D, off: [0x02], on : [0x1f]}]
},
]);

View File

@ -13,19 +13,16 @@
new DllPatcher("jubeat", [
{
name : "Disable tutorial",
shortname : "notut",
patches : [{offset : 0xAAC32, off: [0x75, 0x4A, 0x53, 0x68, 0x00], on : [0xE9, 0x90, 0x00, 0x00, 0x00]}]
},
{
name : "SELECT MUSIC timer lock",
shortname : "selectlock",
patches : [{offset : 0x80576, off : [0x75], on : [0xEB]}]
},
]);
new DllPatcher("music_db", [
{
name : "Unlock all songs",
shortname : "unlock",
patches : [{offset : 0x17DF, off: [0x74, 0x09], on : [0x90, 0x90]}]
},
]);

View File

@ -6,14 +6,6 @@
<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>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45859786-5', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="js/FileSaver.min.js"></script>
<script type="text/javascript" src="js/dllpatcher.js"></script>
<script type="text/javascript">
@ -21,45 +13,37 @@ ga('send', 'pageview');
new DllPatcher("bm2dx", [
{
name : "Timer Freeze",
shortname : "freeze",
patches : [{offset : 0x9c55e, off: [0x74], on : [0xEB]}]
},
{
name : "Premium Free",
shortname : "pfree",
patches : [{offset : 0x5d31b, off: [0x75], on : [0xEB]}]
},
{
name : "Premium Free Timer Freeze",
shortname : "pfreeze",
patches : [{offset : 0x563ad, off: [0x48], on : [0x90]}]
},
{
name : "Unlock All Songs",
shortname : "unlock",
patches : [{offset : 0x58b3e, off: [0x74, 0x0a], 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 : 0x77cf6, off: [0x7C], on : [0xEB]}]
},
{
name : "Cursor lock",
shortname : "cursor",
tooltip : "After song finishes, song select remains on previous song",
patches : [{offset : 0x6BF3A, off: [0x74, 0x23], on : [0x90, 0x90]}]
},
{
name : "Volume Bug Fix",
shortname : "vol",
tooltip : "If your volume gets forced to max, turn this on",
patches : [{offset : 0xD5D09, off: [0x00], on : [0x01]}]
},
{
name : "Replace FREE PLAY text with song name",
shortname : "fp",
patches : [{offset : 0x14C3A, off: [0x90, 0x3F, 0x12, 0x10], on : [0x24, 0xAA, 0x43, 0x11]}]
},
]);

View File

@ -13,7 +13,6 @@
new DllPatcher("popn22", [
{
name : "Unlock all the things",
shortname : "unlock",
// Auto generated and thus filthy
patches : [{offset : 0x84410, off: [0x53, 0x56, 0x57, 0xe8, 0x28], on : [0xb0, 0x01, 0xc2, 0x04, 0x00]},
{offset : 0x84672, off: [0x75, 0x1c, 0x83, 0x7c, 0x24, 0x10, 0x02, 0x74, 0x15], on : [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90]},
@ -513,13 +512,11 @@
},
{
name : "E: drive fix",
shortname : "efix",
tooltip: "Fix crash caused by no E: drive",
patches : [{offset : 0x442D30, off: [0x65, 0x3A, 0x2F, 0x00, 0x2F, 0x65, 0x5F, 0x64, 0x72, 0x69, 0x76, 0x65], on : [0x00, 0x2F, 0x65, 0x5F, 0x64, 0x72, 0x69, 0x76, 0x65, 0x00, 0x00, 0x00]}]
},
{
name : "HDMI audio fix",
shortname : "audiofix",
patches : [{offset : 0x13752C, off: [0x85, 0xC0, 0x75, 0x96], on : [0x90, 0x90, 0x90, 0x90]}]
},
]);

View File

@ -13,7 +13,6 @@
new DllPatcher("popn23", [
{
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,
@ -97,24 +96,20 @@
},
{
name : "Unlock Classic 8 EX as a 49",
shortname : "c8ex",
patches : [{offset : 0x2EFE87, off: [0x05], on : [0x07]},
{offset : 0x2EFE95, off: [0x01], on : [0x31]}]
},
{
name : "E: drive fix",
shortname : "efix",
tooltip: "Fix crash caused by no E: drive",
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]}]
},
{
name : "Boot to event mode",
shortname : "event",
patches : [{offset : 0xF0D30, off: [0x8B, 0x00, 0xC3, 0xCC], on : [0x31, 0xC0, 0x40, 0xC3]}]
},
]);

View File

@ -18,13 +18,11 @@
new DllPatcher("reflecbeat", [
{
name : "E: drive fix",
shortname : "efix",
tooltip: "Fix crash caused by no E: drive",
patches : [{offset : 0x2E3BF8, off: [0x65, 0x3A, 0x2F], on : [0x64, 0x65, 0x76]}]
},
{
name : "All songs unlocked",
shortname : "unlock",
patches : [{offset : 0x214b40, off: [0x02], on : [0x03]},
{offset : 0x214d4c, off: [0x02], on : [0x03]},
{offset : 0x214f58, off: [0x02], on : [0x03]},

View File

@ -14,7 +14,6 @@
new DllPatcher("soundvoltex", [
{
name : "All songs unlocked",
shortname : "unlocked",
patches : [{offset : 0x13AF9B, off: [0xE8, 0xF0, 0xE2, 0x01], on : [0xB8, 0x0B, 0x00, 0x00]},
// Augmented by mon to work offline too
{offset: 0x187AEF,
@ -23,46 +22,39 @@
},
{
name : "All songs \"Safe\"",
shortname : "safe",
tooltip : "Failing early won't drop you out of your session",
patches : [{offset : 0x1554F7, off: [0x32, 0xC0], on : [0xB0, 0x01]}]
},
{
// Created by mon
name : "No \"Safe\" banner on jackets",
shortname : "nobanner",
tooltip : "Remove visual clutter",
patches : [{offset : 0x28F4AC, off: [0x73], on : [0x00]}]
},
{
name : "Prevent Windows volume change on boot",
shortname : "vol",
tooltip : "If your volume gets forced to max, turn this on",
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]}]
},
{
// created by zini
name : "Disable EVENT MODE/FREE PLAY text",
shortname : "infotext",
patches : [{offset : 0x0AA910, off : [0xE8, 0x0B], on : [0xEB, 0x03]}]
},
{
// created by zini
name : "Replace EVENT MODE/FREE PLAY text with player name",
shortname : "nametext",
patches : [{offset : 0xAA884, off : [0x4C, 0x10, 0x29, 0x10], on : [0xB9, 0x0A, 0x15, 0x18]},
{offset : 0xAA890, off : [0x58, 0x10, 0x29, 0x10], on : [0xB9, 0x0A, 0x15, 0x18]}]
},
{
// Ported from the S1 PFree by mon
name : "PFree (Unlimited plays)",
shortname : "pfree",
tooltip : "Song clears/scores only, mission progress and custom settings do not save",
patches : [{offset : 0x196BDF, off : [0x00], on : [0x02]},
{offset : 0x196C66,
@ -72,7 +64,6 @@
{// 12 hours of mon
name : "Levels up to 99",
tooltip : "Use with modified music_db.xml for SDVX IV difficulties",
shortname : "nocap",
patches : [{offset : 0x188E46, off : [0x74, 0x03], on : [0x90, 0x90]},
{offset : 0x1889C4, off : [0x0F], on : [0x62]},
{offset : 0x186BD7, off : [0x10], on : [0x63]},
@ -81,7 +72,6 @@
{// Created by mon
name : "Level folders from 5-20",
tooltip : "Default 1-16. Requires 'Levels up to 99'",
shortname : "fold20",
patches : [{offset : 0x9D082, off : [0x07], on : [0x03]}, // offset
{offset : 0x9D09A, off : [0x10], on : [0x14]}, // bounds
{offset : 0xA2FFE, off : [0x07], on : [0x03]}, // clear calcs offset
@ -106,7 +96,6 @@
{// Created by mon
name : "Hispeed values from 0.1 to 20.0",
tooltip : "Default 0.5-7.0",
shortname : "hispeed",
patches : [{offset : 0x1193C5, off : [0xDD, 0x05, 0xF8, 0x05, 0x28, 0x10], // load float 20.0 instead of double 7.0
on : [0xD9, 0x05, 0xA0, 0x07, 0x28, 0x10]},
{offset : 0x1193DE, off : [0xDD, 0x05, 0x00, 0x06, 0x28, 0x10], // load float 0.1 instead of double 0.5
@ -119,13 +108,11 @@
{
type : "union",
name : "Score",
shortname : "score",
offset : 0x1FBD9,
patches : [
{
name : "Default",
tooltip : "NEAR+CRITICAL add to score from 0",
shortname : "default",
patch : [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,
@ -139,7 +126,6 @@
// Created by mon
name : "Subtractive",
tooltip : "NEAR+ERROR subtract score from 10,000,000",
shortname : "subtract",
patch : [0x56, 0x57, 0x52, 0x51, 0xBE, 0x90, 0x71, 0x7C, 0x18, 0x8B, 0x46, 0x5C, 0x6A, 0x00, 0x99, 0x6A,
0x02, 0x52, 0x50, 0xE8, 0x3F, 0xC4, 0x21, 0x00, 0x8B, 0xC8, 0x8B, 0x46, 0x58, 0x8B, 0xFA, 0x99,
0x6A, 0x00, 0x01, 0xC1, 0x11, 0xD7, 0x68, 0x80, 0x96, 0x98, 0x00, 0x57, 0x51, 0xE8, 0x25, 0xC4,
@ -152,7 +138,6 @@
// Created by mon
name : "Average",
tooltip : "Osu style % display",
shortname : "avg",
patch : [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,

View File

@ -13,102 +13,84 @@
new DllPatcher("bm2dx", [
{
name : "Timer Freeze",
shortname : "freeze",
patches : [{offset : 0x9BAEE, off: [0x74], on : [0xEB]}]
},
{
name : "Premium Free",
shortname : "pfree",
patches : [{offset : 0x60A1B, off: [0x75], on : [0xEB]}]
},
{
name : "Premium Free (2 player mode)",
shortname : "pfree2",
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",
shortname : "pfreeze",
patches : [{offset : 0x5DEAD, off: [0x48], on : [0x90]}]
},
{
name : "Level 12 Unlocked",
shortname : "12",
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",
shortname : "unlock",
patches : [{offset : 0x5C005, off: [0x74, 0x15], on : [0x90, 0x90]}]
},
{
name : "Unlock All Daily Bonuses",
shortname : "bonus",
patches : [{offset : 0x5E180, off: [0x56, 0x8B, 0xF1, 0xE8, 0x58, 0x57, 0xFD, 0xFF],
on : [0xB8, 0x01, 0x00, 0x00, 0x00, 0xC2, 0x04, 0x00]}]
},
{
name : "Cursor lock",
shortname : "cursor",
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",
shortname : "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",
shortname : "dark",
patches : [{offset : 0x71cb7, off: [0x74, 0x3b], on : [0x90, 0x90]}]
},
{
name : "Disable Bar Lines",
shortname : "bar",
patches : [{offset : 0x3d540, off: [0x75], on : [0xEB]}]
},
{
name : "Remove Rainbow Banners",
shortname : "rainbows",
patches : [{offset : 0x12C34D, off: [0x5F], on : [0x00]}]
},
{
name : "Volume Bug Fix",
shortname : "vol",
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",
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 : 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!)",
shortname : "debug",
tooltip : "Press F1 in-game to open menu",
patches : [{offset : 0x579B0, off: [0x32, 0xC0], on : [0x0C, 0x01]}]
},
{
name : "Skip Card Entry",
shortname : "skipcard",
tooltip : "Useful for those without service or to prevent login",
patches : [{offset : 0x63E34, off: [0x32], on : [0x20]}]
},
{
name : "Quick Retry",
shortname : "qr",
tooltip : "Hold VEFX and Effect during a song to restart",
patches : [{offset : 0x4e284, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
},
@ -116,90 +98,74 @@
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 : "Disable Bar Lines",
shortname : "bar",
patches : [{offset : 0x3d450, off: [0x75], on : [0xEB]}]
},
{
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 : 0xA4880, off: [0x8c, 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]}]
},
{
name : "Quick Retry",
shortname : "qr",
tooltip : "Hold VEFX and Effect during a song to restart",
patches : [{offset : 0x4e154, off: [0x8A, 0xC3], on : [0xB0, 0x01]}]
},