Repository navigation
Add opt-in Ocarina of Time developer debug tools - #785
Merged
Merged
Conversation
Teleport: the Cheats page gains a Teleport list (31 destinations: 19 overworld areas including Lake Hylia, and 12 dungeons). A request builds the same EventRequestArg an entrance actor does and asks the EventMgr for Dm_SY_BancChangeGo with NextBanc / NextStartPos / BootEventName, so the game's own ReserveBancChange and ChangeBancOnEvent load the map. The map follows Link's age (Sequence_IsChildhood); requests are refused while an event plays or a map loads. Switch age: flips Sequence_IsChildhood in GameData storage and reloads the current map in the other age through the teleport (the Market when the map is not in the list). The Temple of Time's equipment swap is not reproduced. Inventory: a list of about 85 pouch contents (gpu/vk/oot_cheat_items.h, shared by the menu and the game side) with live counts from QueryGetPouchContentNumByActorName, edited through OneShotAddOrRemovePouchContent. Masks share one slot as in the game. List pages: section headings, 20 rows, hold-to-repeat on the arrows and D-pad, Page Up/Down and Home/End. Test runs can send any Cheats action with a "!cheat <action>" line in the HOS_INPUT_LIVE file. All guest addresses are for build e0f3ccfa, like the existing tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
Thanks! |
AR51AurA
added a commit
to AR51AurA/Hookshot
that referenced
this pull request
Nov 9, 2026
Conflicts with the OoT debug tools (NotRexed#785) in the host table: take_key_press first, then mic_count and mic_name, in the same order in host/rx_backend.c; MKWVK_API_VERSION 7. tests/test_audio_in.py reads the table across lines. Assisted-by: Claude Opus 5.5 (Anthropic) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NotRexed
pushed a commit
that referenced
this pull request
Nov 9, 2026
…light state and jump shortcut, stubbed off) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NotRexed
pushed a commit
that referenced
this pull request
Nov 9, 2026
…0.6 lacked oot_cheat_items.h: no Linux build finished) #785's debug tools added gpu/vk/oot_cheat_items.h, which host/hos_main.c includes, but scripts/linux/appimage.sh copied only gpu/vk/vk_api.h, so every Linux/Steam Deck build of v2.0.6 stopped there (issue 990). The script now copies each gpu/vk/<name>.h that host/ mentions; tests/test_appimage_headers.py fails if host/ includes a gpu header the AppImage does not ship. Checked: the copy loop under bash (set -e) picks oot_cheat_items.h and vk_api.h. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KrysGG
added a commit
to KrysGG/Hookshot
that referenced
this pull request
Nov 10, 2026
…ugh walls The flight stays on the Cheats page, behind HOS_OOT_CHEATS as NotRexed#785 has it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NotRexed
added a commit
that referenced
this pull request
Nov 10, 2026
…ug tab, sharper shadows (#1485) Tested together in the v2.0.12 candidate builds (verify215-219: flash checks, smoothness walks, an 8 GB card simulated). - Stutter: a frame's uploads have a budget (40 ms): new ASTC textures a draw samples past it come a frame or more later (RX_VK_UPLOAD_BUDGET_MS); descriptors are rebuilt when a texture is destroyed (RX_VK_DESC_REUSE_DGEN=0: off). - VRAM: on a card of 8 GB or less the textures' budget is 45% of what the driver allows, not 70% (the 3060 Ti/3070 slowdowns); RX_VK_TEST_ALLOWED_MB=<n> simulates a smaller card. - Shadows: depth-compare samplers filter linearly (percentage-closer): shadow edges no longer in stair steps (RX_VK_SHADOW_PCF=0: off). Nearest samplers named in the log; RX_VK_FORCE_LINEAR=1 (issue 1117's A/B). - Translator: Ampere LDSM between subgroup barriers (MEMBAR's subgroup scope); EDEN_NX2_GM_SPLIT/GM_PORT_PROGS. - HDR10 out (Insert menu: HDR Off / On / Native, paper white, peak brightness), applied at once. - A Frame rate cap row (60, 90, 120, 144, 165, 240; HOS_FPS_MAX), read at the start. - Discord status: "Playing Hookshot" with the time played through a local Discord client (Gameplay > Discord status). - The Debug tab: the OoT debug tools (#785) turned on from the menu (HOS_OOT_CHEATS=1 as before). - Diagnostics: the frame trace (RX_VK_FRAME_TRACE=1), slow uploads, self-sampling draws, slow program preparation and staging arena creation in the log; RX_VK_ASYNC_IMPORT=1 (opt-in) and RX_VK_PASS_BARRIER=game (off) to try. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
KrysGG
added a commit
to KrysGG/Hookshot
that referenced
this pull request
Nov 10, 2026
NotRexed#1485 gave the OoT debug tools (NotRexed#785) a tab of their own, DEBUG, with the free camera turned on from the menu. So no Cheats/Mods tab: the Screen filter and Filter strength rows join the Debug tab, the free camera row goes (main's Debug tools has it), and the HUD hiding stays, following the free camera. The menu's width and tab code are main's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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