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:
bicarus
2026-03-09 02:54:04 -07:00
committed by GitHub
parent 34ef034345
commit be388f7b49
9 changed files with 168 additions and 1 deletions
+4
View File
@@ -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;
}
+11
View File
@@ -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",
}
};
+1
View File
@@ -271,6 +271,7 @@ namespace launcher {
LovePlusPrinterOutputFormat,
LovePlusPrinterJPGQuality,
OptionConflictResolution,
OtocaCamHook,
};
enum class OptionsCategory {