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
+27 -15
View File
@@ -15,32 +15,44 @@
{ {
name: "Disable power change", //patch by Xyen name: "Disable power change", //patch by Xyen
tooltip: "Prevents power mode change on startup", tooltip: "Prevents power mode change on startup",
patches: [ patches: [{ offset: 0x1ec553, off: [0x75], on: [0xeb] }],
{ offset: 0x1EC553,
off: [0x75], on: [0xEB]},
],
}, },
{ {
name: "Disable monitor change", //patch by Xyen name: "Disable monitor change", //patch by Xyen
tooltip: "Prevents monitor setting changes on startup", tooltip: "Prevents monitor setting changes on startup",
patches: [ patches: [{ offset: 0x1ec5eb, off: [0x75], on: [0xeb] }],
{ offset: 0x1EC5EB,
off: [0x75], on: [0xEB]},
],
}, },
{ {
name: "Shared mode WASAPI", name: "Shared mode WASAPI",
tooltip: "Only replaces the first audio device init attempt. Set output to 44100Hz 16bit if it doesn\'t work.", tooltip:
patches: [ "Only replaces the first audio device init attempt. Set output to 44100Hz 16bit if it doesn't work.",
{ offset: 0x42B089, patches: [{ offset: 0x42b089, off: [0x04], on: [0x00] }],
off: [0x04], on: [0x00]},
],
}, },
{ {
name: "Timer freeze", // ikaros14 name: "Timer freeze", // ikaros14
patches: [{ offset: 0x71166, off: [0x84], on: [0x85] }],
},
{
type: "union",
name: "Premium Time Length",
offset: 0x297996,
patches: [ 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],
},
], ],
}, },
]), ]),