add scribblers chuni stuff

This commit is contained in:
yurei
2024-04-15 00:21:59 +02:00
parent 345ca5c973
commit f92c32d1dc
6 changed files with 703 additions and 241 deletions
+81 -90
View File
@@ -11,108 +11,117 @@
new PatchContainer([
new Patcher("chusanApp.exe", "2.16.00", [
{
name: "Disable shop close lockout",
tooltip: "Disables ~12-8am lockout. Does not disable maint lockout from 6:30-7am JST",
name: "Force shared audio mode, system audio sample rate must be 48000Hz",
tooltip: "Improves compatibility, but may increase latency",
patches: [
{ offset: 0xBB74F3, off: [0x74], on: [0xEB] },
],
},
{
name: "Force shared audio mode, system audio samplerate must be 48000",
tooltip: "Improves compatibility but may increase latency",
patches: [
{ offset: 0xED689A, off: [0x01], on: [0x00] },
],
{offset: 0xed689a, off: [0x01], on: [0x00]}
]
},
{
name: "Force 2 channel audio output",
tooltip: "May cause bass overload",
patches: [
{ offset: 0xED6971, off: [0x75, 0x3F], on: [0x90, 0x90] },
],
},
{
name: "Disable Song Select Timer",
patches: [
{ offset: 0x9B9B0B, off: [0x74], on: [0xEB] },
],
},
{
name: "Set All Timers to 999",
patches: [
{ offset: 0x843800, off: [0x8B, 0x44, 0x24, 0x04, 0x69, 0xC0, 0xE8, 0x03, 0x00, 0x00], on: [0xB8, 0x58, 0x3E, 0x0F, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90] },
],
},
{
name: "Patch for head-to-head play",
tooltip: "Fix infinite sync while trying to connect to head to head play.",
patches: [
{ offset: 0x629263, off: [0x01], on: [0x00] },
{offset: 0xed6971, off: [0x75, 0x3f], on: [0x90, 0x90]}
]
},
{
name: "No Encryption",
tooltip: "Title server workaround",
name: "Disable song select timer",
patches: [
{ offset: 0x1D68450, off: [0xD2], on: [0x00] },
{ offset: 0x1D68454, off: [0xD2], on: [0x00] },
{offset: 0x9b9b0b, off: [0x74], on: [0xeb]}
]
},
{
name: "Unlimit Maximum Tracks",
tooltip: "You must check to play more than 7 tracks.",
name: "Set all timers to 999",
danger: "Breaks online matching functionality",
patches: [
{ offset: 0x6F1D87, off: [0xF0], on: [0xC0] },
],
{offset: 0x843800, off: [0x8b, 0x44, 0x24, 0x04, 0x69, 0xc0, 0xe8, 0x03, 0x00, 0x00], on: [0xb8, 0x58, 0x3e, 0x0f, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90]}
]
},
{
name: "Unlimited maximum tracks",
tooltip: "Must check to play more than 7 tracks per credit",
patches: [
{offset: 0x6f1d87, off: [0xf0], on: [0xc0]}
]
},
{
type: "number",
name: "Max Tracks",
offset: 0x397AE1,
name: "Maximum tracks",
offset: 0x397ae1,
size: 4,
min: 3,
max: 12,
max: 12
},
{
name: "Ignore some errors from amdaemon",
danger: "[DEPRECATED] May relieve some errors like error 6401, but may also cause problems elsewhere.",
name: "No encryption",
tooltip: "Will also disable TLS",
patches: [
{ offset: 0x37D6CB, off: [0x75], on: [0xEB] },
],
{offset: 0x1d68450, off: [0xd2], on: [0x00]},
{offset: 0x1d68454, off: [0xd2], on: [0x00]}
]
},
{
name: "CVT Mode",
danger: "[DEPRECATED] Check to use 60Hz",
name: "No TLS",
tooltip: "Title server workaround",
patches: [
{ offset: 0x1CD04, off: [0x01], on: [0x00] },
{ offset: 0x1CD3B, off: [0x01], on: [0x00] },
{ offset: 0x37B28B, off: [0x75], on: [0xEB] },
{ offset: 0x37CBEE, off: [0x84, 0xC0, 0x0F, 0x94, 0xC1], on: [0x90, 0x90, 0x90, 0x90, 0x90] },
{ offset: 0xEB9907, off: [0x80], on: [0x00] },
],
{offset: 0xeb9907, off: [0x80], on: [0x00]}
]
},
{
name: "Disable 1080p check",
danger: "[DEPRECATED]",
name: "Patch for head-to-head play",
tooltip: "Fix infinite sync while trying to connect to head to head play",
patches: [
{ offset: 0x1CCBF, off: [0x81, 0xBC, 0x24, 0xB8, 0x02, 0x00, 0x00, 0x80, 0x07, 0x00, 0x00, 0x75, 0x1F, 0x81, 0xBC, 0x24, 0xBC, 0x02, 0x00, 0x00, 0x38, 0x04, 0x00, 0x00, 0x75, 0x12], on: [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90] },
],
{offset: 0x629263, off: [0x01], on: [0x00]}
]
},
{
name: "Bypass 1080p monitor check",
patches: [
{offset: 0x1ccbf, off: [0x81, 0xbc, 0x24, 0xb8, 0x02, 0x00, 0x00, 0x80, 0x07, 0x00, 0x00, 0x75, 0x1f, 0x81, 0xbc, 0x24, 0xbc, 0x02, 0x00, 0x00, 0x38, 0x04, 0x00, 0x00, 0x75, 0x12], on: [0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90]}
]
},
{
name: "Bypass 120Hz monitor check",
patches: [
{offset: 0x1ccb1, off: [0x85, 0xc0], on: [0xeb, 0x30]}
]
},
{
name: "Force FREE PLAY credit text",
tooltip: "Replaces the credit count with FREE PLAY",
patches: [
{offset: 0x386f74, off: [0x3c, 0x01], on: [0x38, 0xc0]}
]
},
{
type: "hex",
name: "Custom FREE PLAY text",
tooltip: "Replace the FREE PLAY text when using Infinite credits",
offset: 0x1987894,
off: [0x46, 0x52, 0x45, 0x45, 0x20, 0x50, 0x4c, 0x41, 0x59],
},
{
name: "Disable shop close lockout",
danger: "[DEPRECATED] Just disable it in the test menu",
patches: [
{offset: 0xbb74f3, off: [0x74], on: [0xeb]}
]
},
{
name: "Bypass LED board check",
danger: "[DEPRECATED] Forces LED board check to good and auto continues",
patches: [
{ offset: 0x98BBAA, off: [0x01], on: [0x00] },
{ offset: 0x98BBAF, off: [0x00], on: [0x01] },
{offset: 0x98bbaa, off: [0x01], on: [0x00]},
{offset: 0x98bbaf, off: [0x00], on: [0x01]}
]
},
{
name: "Force 120hz check",
danger: "[DEPRECATED] Check to make the 120hz check pass always (don't use this with the CVT Mode patch)",
name: "Ignore some errors from amdaemon",
danger: "[DEPRECATED] May relieve some errors like error 6401, but may also cause problems elsewhere.",
patches: [
{ offset: 0x1CCB1, off: [0x85, 0xC0], on: [0xEB, 0x30] },
],
},
{offset: 0x37d6cb, off: [0x75], on: [0xeb]}
]
}
])
]);
new PatchContainer([
@@ -120,34 +129,16 @@
{
name: "Allow 127.0.0.1/localhost as the network server",
patches: [
{
offset: 0x3B6EF4,
off: [0xFF, 0x15, 0x3E, 0x79, 0x1A, 0x00, 0x8B],
on: [0x33, 0xC0, 0x48, 0x83, 0xC4, 0x28, 0xC3],
},
{
offset: 0x6BC83C,
off: [0x31, 0x32, 0x37, 0x2F],
on: [0x30, 0x2F, 0x38, 0x00],
},
],
},
{
name: "Free Play",
tooltip: "Endless credits",
patches: [
{ offset: 0x2BB928, off: [0x28], on: [0x08] },
{offset: 0x6bc83c, off: [0x31, 0x32, 0x37, 0x2f], on: [0x30, 0x2f, 0x38, 0x00]},
{offset: 0x3b6ef4, off: [0xff, 0x15, 0x3e, 0x79, 0x1a, 0x00, 0x8b], on: [0x33, 0xc0, 0x48, 0x83, 0xc4, 0x28, 0xc3]}
]
},
{
name: "Replace error 6401 with no error",
danger: "[DEPRECATED] Sets all instances of error 6401 to 0",
name: "Infinite credits",
patches: [
{ offset: 0x2220F6, off: [0x01, 0x19], on: [0x00, 0x00] },
{ offset: 0x22229E, off: [0x01, 0x19], on: [0x00, 0x00] },
{ offset: 0x222C87, off: [0x01, 0x19], on: [0x00, 0x00] },
],
},
{offset: 0x2bb928, off: [0x28], on: [0x08]}
]
}
])
]);
});