add Premium Time Length

This commit is contained in:
bemaninerd 2021-05-24 16:14:41 +00:00 committed by Will
parent 95d48a707a
commit 58db5cbcfd

View File

@ -15,32 +15,44 @@
{
name: "Disable power change", //patch by Xyen
tooltip: "Prevents power mode change on startup",
patches: [
{ offset: 0x1EC553,
off: [0x75], on: [0xEB]},
],
patches: [{ offset: 0x1ec553, off: [0x75], on: [0xeb] }],
},
{
name: "Disable monitor change", //patch by Xyen
tooltip: "Prevents monitor setting changes on startup",
patches: [
{ offset: 0x1EC5EB,
off: [0x75], on: [0xEB]},
],
patches: [{ offset: 0x1ec5eb, off: [0x75], on: [0xeb] }],
},
{
name: "Shared mode WASAPI",
tooltip: "Only replaces the first audio device init attempt. Set output to 44100Hz 16bit if it doesn\'t work.",
patches: [
{ offset: 0x42B089,
off: [0x04], on: [0x00]},
],
tooltip:
"Only replaces the first audio device init attempt. Set output to 44100Hz 16bit if it doesn't work.",
patches: [{ offset: 0x42b089, off: [0x04], on: [0x00] }],
},
{
name: "Timer freeze", // ikaros14
patches: [{ offset: 0x71166, off: [0x84], on: [0x85] }],
},
{
type: "union",
name: "Premium Time Length",
offset: 0x297996,
patches: [
{ offset: 0x71166,
off: [0x84], on: [0x85]},
{
name: "Default (10 Minutes)",
patch: [0x00, 0x70, 0xc9, 0xb2, 0x8b, 0x00, 0x00, 0x00],
},
{
name: "20 Minutes",
patch: [0x00, 0xe0, 0x92, 0x65, 0x17, 0x01, 0x00, 0x00],
},
{
name: "30 Minutes",
patch: [0x00, 0x50, 0x5c, 0x18, 0xa3, 0x01, 0x00, 0x00],
},
{
name: "1 Hour",
patch: [0x00, 0xa0, 0xb8, 0x30, 0x46, 0x03, 0x00, 0x00],
},
],
},
]),