From be388f7b49f8ee96f500827986cb987f199e2208 Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Mon, 9 Mar 2026 02:54:04 -0700 Subject: [PATCH] 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. --- src/spice2x/games/io.cpp | 1 + src/spice2x/games/otoca/io.cpp | 5 + src/spice2x/games/otoca/io.h | 1 + src/spice2x/games/otoca/otoca.cpp | 142 +++++++++++++++++++++++++++ src/spice2x/games/otoca/otoca.h | 2 + src/spice2x/games/shared/printer.cpp | 2 +- src/spice2x/launcher/launcher.cpp | 4 + src/spice2x/launcher/options.cpp | 11 +++ src/spice2x/launcher/options.h | 1 + 9 files changed, 168 insertions(+), 1 deletion(-) diff --git a/src/spice2x/games/io.cpp b/src/spice2x/games/io.cpp index e350be9..2e0d563 100644 --- a/src/spice2x/games/io.cpp +++ b/src/spice2x/games/io.cpp @@ -256,6 +256,7 @@ namespace games { const std::string otoca("Otoca D'or"); games.push_back(otoca); buttons.insert({ otoca, otoca::get_buttons() }); + buttons_help.insert({ otoca, otoca::get_buttons_help() }); file_hints[otoca].emplace_back("arkkep.dll"); // winning eleven diff --git a/src/spice2x/games/otoca/io.cpp b/src/spice2x/games/otoca/io.cpp index 54d781b..f129026 100644 --- a/src/spice2x/games/otoca/io.cpp +++ b/src/spice2x/games/otoca/io.cpp @@ -23,6 +23,11 @@ std::vector