Add teleporting and cutscene starting to the debug menu.

The Teleport tab lists every area of the game with its named start positions, read from the player's own game files: the warp songs' pads, both sides of the loading zones and the boss rooms among them. A click changes area the way the game's own doors do: during a short event of the game that only waits, the menu reserves the next area and start position in the game's data and asks the game's sequence for the change, so the area unloads and loads as in play, a first visit's cutscene plays and a boss room starts its fight.

The Cutscenes tab lists the game's event scripts by name and starts one through the game's event manager.

Tested from Hyrule Field to Kakariko Village, the Forest Temple, Kokiri Forest in the child's time, the bottom of Lake Hylia, Volvagia's room, and the pads of two warp songs, four of them in one run, with Link walking afterwards; the Kakariko arrival cutscene started by name.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-11 07:29:17 -05:00
parent 5a69bdc91f
commit fe3126e9a7
7 changed files with 434 additions and 27 deletions

View File

@@ -37,14 +37,20 @@ Draft notes for the release after 0.7.1. The version number is not decided yet.
rate as before and showed clean frames in a fast camera turn. It is off unless you set it, and when it fails the FSR
3.1 library takes over. Please report how it looks on an RX 9000.
- **A debug menu for testing** (off by default: Game tab, *Debug menu (F9)*, or `debug_menu = 1` in `nx2navi.ini`). F9
opens a panel on the left edge, in the performance overlay's look, with the game in view beside it. It has three
opens a panel on the left edge, in the performance overlay's look, with the game in view beside it. It has five
tabs. *Flags*: the game's 11,292 on/off flags with a search box, about 2,250 of them by name (the names are found in
your own game's event files; the rest show their hash), each switched with a click through the game's own function,
with the last changes listed to put back. *World*: Link's position and the game's speed, from 0.05x to 8x. *Memory*:
a search of the game's memory for a number (1, 2 or 4 bytes, or a float), narrowed down by equals, changed,
unchanged, went up or went down, with a value to set at a place or to hold there. Teleporting, a free camera and
starting cutscenes are not in it yet: they need the game's own scene-change, warp and event functions. Changing
flags or memory can break a save, so keep a copy first.
with the last changes listed to put back. *Teleport*: every area of the game with its named start positions, 415
places read from your own game's files, with a search box and buttons for the warp songs' pads, both sides of the
loading zones and the boss rooms. A click takes Link there through the game's own change of area, as a door or a
warp song does, so the area loads as in play, a first visit's cutscene plays and a boss room starts its fight.
*Cutscenes*: the game's 653 event scripts by name (cutscenes, conversations, scripted moments), each started with a
click as if its trigger had fired. The game takes a teleport or an event only while Link stands free: not during a
cutscene or a conversation, and not while he swims. *World*: Link's position and the game's speed, from 0.05x to
8x. *Memory*: a search of the game's memory for a number (1, 2 or 4 bytes, or a float), narrowed down by equals,
changed, unchanged, went up or went down, with a value to set at a place or to hold there. A free camera is not in
it yet. Changing flags or memory, teleporting and starting events can break a save, and the game saves by itself
after a change of area, so keep a copy first.
- **Add to Steam** in Customize Launcher (Windows): adds the game to your Steam library as *The Legend of Zelda
Ocarina of Time*, with Navi as its icon and the title screen's artwork and logo. Starting it from Steam starts the
game. Steam restarts once while it is added.