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:
bicarus-dev
2025-12-11 22:03:51 -08:00
committed by GitHub
parent 6856a0950c
commit c3428236f8
5 changed files with 26 additions and 1 deletions
+3
View File
@@ -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;
+10 -1
View File
@@ -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",
+1
View File
@@ -238,6 +238,7 @@ namespace launcher {
spice2x_EnableSMXStage,
spice2x_EnableSMXDedicab,
IIDXRecQuality,
IIDXRecDisable,
MidiAlgoVer,
MidiNoteSustain,
InputRequiresFocus,