Skip to content
PracticeROMPublic

About

Ocarina of Time (Switch 2) PracticeROM utility based on the work of Ocarina of Time (N64)'s gz by glankk. Originally started as a solution using AI to create a foundation to start from for people to do research on Ocarina of Time (2026) without resorting to cheat engine or memory hacking software utilities.

Resources

Contributing

Stars

21 stars

Watchers

0 watching

Forks

Repository files navigation

sloperinaGZ

A gz-style practice menu for The Legend of Zelda: Ocarina of Time (Switch 2), built the way gz is: C code the game loads and runs itself (an exefs module, subsdk9, plus a build-specific IPS patch to main). It works from Atmosphère's LayeredFS, an emulator's mod folder (Lichii / Eden: load/) or an offline patcher.

Supported game versions are 1.0.0 (base) and 1.1.1 (update v131072), both under program 0400486024DEC000. Install both IPS files to switch versions automatically.

Source: github.com/PracticeROM/sloperina. Website: practicerom.com/oothd.

Open the menu with R + right stick down. L selects, the D-pad moves and changes values, R + D-left goes back. As in gz, every control can be rebound in settings > rebind commands.

Features

  • link: health, heart containers, rupees, age and reload map; position, speed and map.
  • warps: any map and spawn point, at once, with the game's own fade.
  • scene: reload the map; the map's air walls drawn over the game (collision); where Link voids out.
  • memfiles: 4 in-memory snapshot slots (full GameData, unsaved session flags, map, time, Link and camera), with fast in-place same-map reloads.
  • cheats: infinite health, rupees, magic and ammo; 2x movement speed.
  • inventory: items, equipment, collection (upgrades, strength, scale, magic), bottles, quest items, songs, dungeon items and small keys, all through the game's own code where it needs it.
  • equips.
  • watches: gz's watch list: built-in watches (position, speed, angles, camera, input, timer, lag...) and memory watches, with display types, labels (gz's keyboard), show/hide, reordering and the wrench to see the value in memory; the box can go in any corner or anywhere.
  • save management: a copy of the game's save folder on the SD card after each save, named and numbered archives on demand, and restoring one in place of the save.
  • story (quest stages, tutorials).
  • debug: heap, gz's memory viewer (edit, add watches, follow pointers), flag logging and the log.
  • settings: language, menu size and background, the input display (gz's row or a Switch 2 Pro Controller), levitate (L3 toggle, held X/B up/down, release to hover), frame advance (L, L + L3 to run) with gz's pause icons, and gz's commands menu (rebind commands) to rebind every control (the menu's own buttons too).
  • gz's log of what was done, bottom right.

Layout

  • src/ootgz/: the module (C). data.c is generated, by tools/gendata.py.
  • src/host/mkips.c: makes the IPS patch. lib/: the linker script and the list of symbols the module may import.
  • Makefile, docker-make: the build (devkitA64, or the devkitpro/devkita64 Docker image). VERSION: the release number shown in the about menu; CONTRIBUTORS.md, THANKS.md: the credits.
  • data/: the game's field names, hashes and types, story stages, warp and spawn points, air walls (derived from the game; inputs of tools/gendata.py and tools/build_docs.py; see docs/FINDINGS.md §1).
  • lang/: the translation template (tools/lang_template.py).
  • docs/: FINDINGS.md, BUILDING.md, COLLISION.md, INSTALLATION.md, and reference/, a browsable field / quest / tutorial reference (reference/index.html; rebuilt by tools/build_docs.py).
  • tools/: development tools in Python (not needed to play; tools/requirements.txt lists what they need):
    • gendata.py regenerates src/ootgz/data.c from data/; lang_template.py writes lang/template.json for translators; build_docs.py regenerates docs/reference/.
    • Reading the game's files from a dump (set OOTMENU_NUP to the .nup): nupfs.py, byml.py, gamefiles.py, airwalls.py (→ data/airwalls.json), spawnstarters.py (→ data/spawn_starters.json), evdump.py (event flows), phive.py (collision; see docs/COLLISION.md).
    • re64.py: static analysis of a dump of main (cross-references, disassembly with field names).
  • bin/, obj/, dist/: build output (not in git).

The first version was a Python overlay for Lichii (ootmenu) that read and wrote the game's memory from outside; FINDINGS.md still names its files where they're how something was found. It's in this repository's history (commit 6d8cdba and before) and archived next to it (ootmenu-python-overlay-2026-11-09.tar.gz).

No game files are included. The data files here are derived from the game and from community tools; you need your own copy of the game.

Licence

sloperinaGZ is free software under the GNU General Public License, version 3 (LICENSE), like gz.

Credits

  • Based on the work of OoT N64's Practice ROM, gz, by glankk. Font: Press Start 2P (codeman38, OFL).
  • Link's health and the guest address mapping come from the oot26-tools Cheat Engine table (github.com/mrissaoussama/oot26-tools), which also provided the warp list.
  • .nup layout from Hookshot's nx2/nup.py.
  • Field titles from the onif save editor's demo save.

About

Ocarina of Time (Switch 2) PracticeROM utility based on the work of Ocarina of Time (N64)'s gz by glankk. Originally started as a solution using AI to create a foundation to start from for people to do research on Ocarina of Time (2026) without resorting to cheat engine or memory hacking software utilities.

Resources

Contributing

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages