mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
iidx: option to disable recording function (#445)
## Link to GitHub Issue, if one exists #442 ## Description of change Adds a new option that intentionally fails the recording functionality. ## Testing Tested on iidx32.
This commit is contained in:
@@ -539,6 +539,9 @@ int main_implementation(int argc, char *argv[]) {
|
||||
if (options[launcher::Options::IIDXRecQuality].is_active()) {
|
||||
nvenc_hook::VIDEO_CQP_STRING_OVERRIDE = options[launcher::Options::IIDXRecQuality].value_text();
|
||||
}
|
||||
if (options[launcher::Options::IIDXRecDisable].value_bool()) {
|
||||
nvenc_hook::FORCE_DISABLE = true;
|
||||
}
|
||||
#endif
|
||||
if (options[launcher::Options::LoadJubeatModule].value_bool()) {
|
||||
attach_jb = true;
|
||||
|
||||
@@ -2235,7 +2235,7 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
},
|
||||
{
|
||||
// IIDXRecQuality
|
||||
.title = "IIDX NVENC Quality",
|
||||
.title = "IIDX Recording Quality",
|
||||
.name = "iidxreccqp",
|
||||
.desc = "WARNING: double check if your network allows this & your hardware supports it.\n\n"
|
||||
"For TDJ Play Record feature, specify ConstQP quality settings for NVENC. Lower is higher quality but bigger file.\n\n"
|
||||
@@ -2244,6 +2244,15 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.game_name = "Beatmania IIDX",
|
||||
.category = "Game Options (Advanced)",
|
||||
},
|
||||
{
|
||||
// IIDXRecDisable
|
||||
.title = "IIDX Recording Force Disable",
|
||||
.name = "iidxnorec",
|
||||
.desc = "When enabled, this prevents the play record feature from being used",
|
||||
.type = OptionType::Bool,
|
||||
.game_name = "Beatmania IIDX",
|
||||
.category = "Game Options (Advanced)",
|
||||
},
|
||||
{
|
||||
// MidiAlgoVer
|
||||
.title = "MIDI Note Input Algorithm",
|
||||
|
||||
@@ -238,6 +238,7 @@ namespace launcher {
|
||||
spice2x_EnableSMXStage,
|
||||
spice2x_EnableSMXDedicab,
|
||||
IIDXRecQuality,
|
||||
IIDXRecDisable,
|
||||
MidiAlgoVer,
|
||||
MidiNoteSustain,
|
||||
InputRequiresFocus,
|
||||
|
||||
Reference in New Issue
Block a user