mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
otoca: add cam hook, fix printer rotation (#573)
## Link to GitHub Issue or related Pull Request, if one exists related to #154 though this PR doesn't fix it ## Description of change 1. Add an option for cam hook so that the game can be launched without any camera 1. Rotate image printed out by print-to-file so that it's right side up (portrait orientation) ## Testing Able to boot the game without any cameras, and tested printing in test menu. "Holo" printing remains broken.
This commit is contained in:
@@ -559,6 +559,10 @@ int main_implementation(int argc, char *argv[]) {
|
||||
nvenc_hook::FORCE_DISABLE = true;
|
||||
}
|
||||
#endif
|
||||
if (options[launcher::Options::OtocaCamHook].value_bool()) {
|
||||
games::otoca::BYPASS_CAMERA = true;
|
||||
}
|
||||
|
||||
if (options[launcher::Options::LoadJubeatModule].value_bool()) {
|
||||
attach_jb = true;
|
||||
}
|
||||
|
||||
@@ -2678,6 +2678,17 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.type = OptionType::Bool,
|
||||
.category = "Development",
|
||||
.disabled = true,
|
||||
},
|
||||
{
|
||||
// OtocaCamHook
|
||||
.title = "Otoca Camera Check Bypass",
|
||||
.name = "otocacamhook",
|
||||
.desc =
|
||||
"This game REQUIRES a (compatible) webcam to save progress. If you don't have any, check this "
|
||||
"option to bypass camera error during boot, allowing you to try out the game.",
|
||||
.type = OptionType::Bool,
|
||||
.game_name = "Otoca D'or",
|
||||
.category = "Game Options",
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -271,6 +271,7 @@ namespace launcher {
|
||||
LovePlusPrinterOutputFormat,
|
||||
LovePlusPrinterJPGQuality,
|
||||
OptionConflictResolution,
|
||||
OtocaCamHook,
|
||||
};
|
||||
|
||||
enum class OptionsCategory {
|
||||
|
||||
Reference in New Issue
Block a user