Add opt-in Ocarina of Time developer debug tools #785
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!785
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/oot-debug-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this adds
An opt-in Ocarina of Time developer debug panel for reproducing gameplay and rendering issues. It can move Link or the camera to inspect a scene, return Link to a marked position, travel to another map, switch Link's age, edit his inventory, and set up time-of-day or damage test cases.
Dm_SY_BancChangeGoevent an entrance uses, with the destination map, spawn anchor and arrival event, picking the child or adult map from Link's current age. Destinations: 19 overworld areas (Kokiri Forest through Desert Colossus, including Lake Hylia) and 12 dungeons; Hyrule Castle is Ganon's Castle grounds as an adult and Gerudo Fortress is adult only. Enter on the Teleport row opens a list page grouped into Overworld and Dungeons. Requests are refused while an event plays or a map loads.Sequence_IsChildhoodflag, as the Temple of Time does, and reloads the current map in the other age through the same map change (the Market when the current map is not in the teleport list). The flag is restored if the map change cannot be requested. The Temple of Time event's equipment swap is not reproduced.OneShotAddOrRemovePouchContent; counts come fromQueryGetPouchContentNumByActorName. Masks share one slot as in the game, so choosing a mask first returns the one held. The item list lives ingpu/vk/oot_cheat_items.h, shared by the menu and the game side.The panel is hidden by default. On Windows, add
HOS_OOT_CHEATS=1tohookshot_env.txt, then open Insert → Gameplay → Cheats. The translated hooks are gated to the supported OOT build (e0f3ccfa). Flight, free camera, and the position mark reset at exit.Validation
Thanks!