Skip to content
Projekte

Über uns

Unofficial read-only Windows companion journal for the Longshot Ocarina of Time PC recompilation. Not affiliated with Nintendo.

Spiele und Emulation

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+5
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Ocarina Journal logo

Ocarina Journal

CI Licence: GPL-3.0-or-later Latest release Downloads Contributors

Contributing · Common contribution guides · Discussions

An unofficial, read-only companion app for Windows and Linux for the native PC recompilation of The Legend of Zelda: Ocarina of Time (Longshot). It is a fan-made take on the idea behind Nintendo's Zelda Notes: a pocket journal that shows what you have found, what you have missed, and how your day of play went. It runs on your own PC, from your own saves and your own game files, and it can show the same journal on your phone, tablet or a second monitor (see Second screen).

Not affiliated with, endorsed by, or connected to Nintendo or the Longshot project. Ocarina Journal contains no game files, keys, Nintendo assets or Nintendo source code. All artwork in the app is original. "Zelda", "Ocarina of Time" and related names belong to Nintendo.

Status: 1.5.0. The Windows app (first released as 1.0.0) runs and reads real saves. The Linux build is new in 1.1.0: CI builds it and starts it in a virtual display, but it hasn't yet been run against a live Linux Longshot game, so treat Linux as an early release (see docs/research/LINUX.md). Expect rough edges, and see Known gaps for what is still unverified.

Screenshots

These are captures of the app's frontend in a browser, without native window chrome. Home and Ocarina show no-game states; My Journey and Today's Journal use invented demonstration data, including the place "Demo Meadow". They contain no player's saves, game-derived maps or text, or personal information.

Home screen in the no-game state My Journey medals with synthetic progress data Today's Journal timeline with synthetic events Ocarina controls in the no-game state

What it does

  • A pocket journal on your PC: twelve tiles for maps, rumours, foes, your day's journal, medals, history, the tapestry, the ocarina and more (below), read from your own saves and game files.
  • Live while you play: with Longshot's control bridge on, it follows the game as you play; without it, it still reads your saves.
  • Second screen: show it all, read-only, on a phone, tablet or another monitor on your network. Scan a QR code, type a 4-digit code, and keep it open next to the game. Devices stay paired, and each can be disconnected from the app or from the device itself. Details in Second screen.
  • Settings: choose your save folder, check for updates, and set how the window behaves (always on top, see-through, no title bar). See Settings.

The app has a freely resizable window with twelve tiles. The whole app shrinks with the window (down to about 160 px wide) and stays complete. The cog on the Home screen opens Settings, where the Window card lets you keep it on top of other windows, make it see-through (with a slider for how solid it is) to overlay it on a game, and hide the title bar (see Settings):

Tile What it shows
Map The game's own world, area and dungeon-floor maps (read from your game folder), with a Child/Adult switch, era-specific collectible counts where known, exits, floors, and Link live. Unspecified-era items stay visible. An optional layer marks the ten magic bean soil spots and draws the route of each bean ride
Rumor Hunt Rumours about landmarks in your own game (gossip stones, grottos, cows, frogs and more): go there with the bridge on and tap Found! for points, then spend them on ocarinas
Hall of Foes Enemies and bosses defeated, kill counts, Hall rematch records and the three trials, locked until the save opens the Hall
Today's Journal What each save gained today (works without the bridge, even with the app closed), plus a live timeline and stats with the bridge on
My Journey Medals up to Master, your picture, and what you are known for
Slot Compare Your save slots side by side
History Past days and what their saves gained, kept on your PC (a day runs 05:00 to 04:59)
Tapestry The game's own Threads of Time tapestry (read from your game folder), each section woven, in silhouette or empty to match your save's quests
Photo Album Shown as unavailable: the PC version has no photo capture for it to use
Ocarina Plays the game's own ocarina sounds (read from your game files) with the remake's buttons, ♭/♯ bends, songs on a staff with Guided Play and the game's own recordings, and your scores shared as QR cards
Quiz Egg (20) and Cucco (30) levels and the Cojiro Challenge; most questions are made from your game's own item and enemy descriptions and world map
amiibo Shown as unavailable: a PC has no NFC reader

It has three modes:

  • Live – the game is running with Longshot's control bridge on; data updates as you play.
  • Bridge off – the game is running without the bridge. Saved data still works, and the app can offer to turn the bridge on (after showing you exactly what it would change and asking first).
  • Offline – the game isn't running. The app reads your save files.

The names, categories, totals, map pictures and tapestry come from your own installed game files and saves, read by the app itself on your PC (see docs/research/GAME_MAPS.md). Nothing from the game is in this repository, and nothing is uploaded anywhere.

Settings

The cog on the Home screen opens a Settings page with a card for each of these:

  • Status: whether the bridge is connected, the game and app versions, and the game and save folders in use.
  • Game folder: the app looks for the game in Longshot's usual places, including the newer launcher's. For a portable launcher or an unusual place, choose your Longshot folder (or one above it) here. Newer builds read the game's files from your own .nup, and so does the app, read-only.
  • Save folder: if the app picks the wrong saves (or none), choose the folder that holds your slot_00, slot_01, ... folders with the Browse button, or paste it. The choice is remembered and the folder is only read. The automatic search also looks in Longshot's launcher data folder and uses whichever saves changed most recently.
  • Second screen: show the journal on a phone, tablet or another monitor (below).
  • Updates: "Check for updates", and a switch for the check that runs when the app starts (on by default). A newer release only brings up a question; "yes" opens its GitHub page. Nothing is downloaded or installed for you.
  • Controller (Windows; Xbox-style controllers and the Switch Pro Controller; off until switched on): X and a left stick click, or buttons you record, bring the app up over the game and hide it again (or leave it on screen while you play). The D-pad moves between buttons, the left stick is a pointer on maps, and you can pick which controller to use. The app only reads the controller, so the game still receives what you press.
  • Window: always on top, see-through with a slider, and hiding the title bar. While the second screen is on, the window's name shows how many devices have the page open.
  • About.

Second screen

An optional, read-only page the app serves while it runs, so a phone, tablet or second monitor can show your live journal, maps, tapestry, ocarina and saves progress. It is off until you turn it on (Settings, Second screen), and after that it starts again whenever the app does. It can't start the game, change a folder or turn the bridge on: game and save access stays read-only. Tile notification acknowledgements and app-owned journal progress (discoveries, landmarks, quiz scores and reward unlocks) sync between paired screens. Display preferences remain per device. Design and threat notes: docs/research/SECOND_SCREEN.md.

Using it

  1. Turn on "Show on another screen". By default only this PC can open it. Turn on "Allow other devices on my network" for a phone or tablet; the app then listens only on this PC's private network address (never on every address) and shows a QR code.
  2. On the other device scan the QR code (or open the address shown). The address carries the pairing code, so you only type the 4-digit code, which the app shows under "Show" and which changes every minute. If you type the address by hand, the page asks for the pairing code first, then the 4-digit code.
  3. Settings lists every paired device by name (for example "iPhone · Safari") with a Disconnect button for each, and New code signs all of them out.

What keeps it safe

  • A device that hasn't paired is sent only a small pairing page: no part of the app, no pictures, no data.
  • Pairing needs both codes; every attempt is rate-limited (6 a minute, with a countdown on the page), and 20 wrong tries in a row replace the codes.
  • A paired device stays paired, also across restarts, until you disconnect it, make a new code, or it stays away for 7 days (using the page, or having it open, starts the 7 days over). The app keeps only a hash of each device's cookie.
  • Requests must name an IP address as the host (against DNS rebinding), no cross-site calls are allowed, and the page and data are never reachable from the internet unless you forward the port yourself. Don't.

On the other device

  • The map index, world picture, tapestry, lore and rumors start loading as soon as the page opens. Opening Map fetches every area's eras and dungeon floors in the background, on desktop and second screens. You can use the map while that runs. Opening a location or changing layers keeps the current picture visible until the chosen destination is ready, then switches directly to it. Encoded files are cached for the session; the app retains only eight decoded pictures, plus active views, instead of decoding the whole catalogue on a phone. Selected maps take priority: new background transfers pause until the chosen picture is ready, then resume.
  • If the app is closed, or its second screen is switched off, the page says it can't reach the app and keeps trying, then reloads by itself when the app is back.
  • Its own Settings page has Add to home screen (an install button where the browser offers one, written steps otherwise) and Disconnect this device.

Safety and privacy

  • Read-only by default. The bridge client only sends the read-only status and subscribe requests. The protocol type in oj-protocol has no write commands.
  • Your saves are never modified. Save files are only read.
  • Local only. The bridge is a same-user Windows named pipe, or a same-user Unix socket on Linux, never a network port. The app opens no listening socket unless you turn on the optional second screen (Settings), which is read-only, needs two codes to pair and stays on after a restart once you turn it on, and by default listens on this PC only (see docs/research/SECOND_SCREEN.md). Its only network call is the update check: one plain HTTPS request to GitHub for the newest release, sent only when you press "Check for updates" or leave the start-up check on (it starts on, and one switch in Settings turns it off). A newer version only brings up a question; "yes" opens its GitHub page. Nothing is downloaded or installed for you.
  • Explicit consent for changes. The actions that change anything (on Windows, adding HOS_CONTROL to longshot_env.txt; on both, starting Longshot with the bridge on) show what will happen and need a button press. The first makes a backup copy of the file before writing. On Linux the app doesn't edit any Longshot file.
  • No circumvention. The project does not touch Nintendo's servers, accounts, tokens or app protections.

Requirements

  • Windows 10/11 (x64), or a 64-bit (x86_64) Linux desktop with WebKitGTK 4.1
  • A working Longshot install with its own game files (you supply these; this project doesn't and can't)
  • To build: Rust (stable), Node.js 20+, pnpm, and the Tauri 2 prerequisites for your system (Windows: WebView2 and the MSVC build tools; Linux: WebKitGTK and GTK development packages, see Linux)

Installers are published under Releases, unsigned. Your game files and saves are supplied separately and are never bundled. Downloads are manual: the app can tell you when a newer release exists (see Settings) but never downloads or installs anything. You can also build from source below.

Windows

The Windows x64 installer installs for the current Windows user and requires WebView2. To update, close Ocarina Journal and run the new -setup.exe. It updates the existing installation in the same folder, preserves your settings and journal data, and keeps one entry in Windows Installed apps. You do not need to uninstall first. Running the same version repairs it. New installers reject downgrades.

Linux

Releases include a .deb, an .rpm and an AppImage for x86_64, all unsigned. They are built on Ubuntu 22.04, so the glibc they need is that old or older. The app uses the system's WebKitGTK 4.1 (libwebkit2gtk-4.1) and GTK 3.

  • AppImage: chmod +x Ocarina.Journal_*.AppImage, then run it. It uses your system's graphics libraries (EGL, from Mesa or your GPU driver), which any desktop install has.
  • Debian, Ubuntu: sudo apt install ./Ocarina.Journal_*.deb
  • Fedora, openSUSE: sudo dnf install ./Ocarina.Journal-*.rpm

All three were installed and started on clean Ubuntu 22.04 and 24.04 and Fedora machines before release (see the 1.1.0 validation). They expect an ordinary desktop session, including a D-Bus session bus.

Where it looks, on Linux, for what it reads (verified against Longshot's own documentation; details and what is still unverified are in docs/research/LINUX.md):

What Where
The game ~/Games/Longshot, directly or inside a channel folder such as stable/ (or the folder of a running longshot; OJ_GAME overrides)
Your saves ~/.local/share/longshot, including each launcher profile's saves; of several, the ones played last (OJ_SAVE_DIR selects one user folder)
This app's own data (journal, save log) ~/.local/share/ocarina-journal (private, mode 0700)

For live mode, use Start game on the Home screen: it starts bin/longshot with the bridge on at a private Unix socket inside this app's data folder, for that launch only. The persistent "turn the bridge on" switch is Windows only. To start Longshot yourself with the bridge on, set HOS_CONTROL to the same socket path (OJ_PIPE changes the path; it must be absolute and short, in a folder only you can write to).

Build and run

git clone https://github.com/KeyErrorFinn/ocarina-journal.git
cd ocarina-journal

cd app
pnpm install
pnpm tauri dev        # development window with hot reload
pnpm tauri build      # installer or packages under target/release/bundle (workspace target directory)

On Linux, first install the build prerequisites. On Debian or Ubuntu:

sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev librsvg2-dev libayatana-appindicator3-dev patchelf build-essential

(Other distributions: see the Tauri prerequisites.) pnpm tauri build then produces the .deb, .rpm and AppImage; the Windows build produces the NSIS installer.

To use Live mode, start Longshot with the bridge on. The app can do this for you from its Home screen. On Windows you can also set HOS_CONTROL=longshot in the environment or in longshot_env.txt yourself. The app looks for the game in the usual Longshot folders and also picks up the folder of a running Longshot process.

Repository layout

app/                  Tauri 2 desktop app (React + TypeScript + Vite) and its Rust backend (app/src-tauri)
crates/oj-protocol    Bridge request/response types (read-only commands only)
crates/oj-bridge      Bridge client with reconnect (Windows named pipe, Linux Unix socket)
crates/oj-journal     Turns live samples into a timeline and daily totals
crates/oj-savefile    Reader for the game's save files (progress.sav flag table)
crates/oj-gamedata    Reads names, categories and maps from your game files (zstd, SARC, BYML, MSBT, BNTX)
crates/oj-remote      The second screen's read-only web server (pairing, rate limits, allowlisted commands)
crates/oj-testkit     Fake bridge and synthetic fixtures for tests
docs/research/        Investigation notes, formats, architecture, risks and open questions
docs/workflows/       Step-by-step guides for common contributions

Run the tests with:

cargo test --workspace

The game-data integration tests skip silently unless you set OJ_TEST_GAME to your own install's folder holding romfs. The golden comparison also needs OJ_TEST_SAVE and OJ_TEST_GOLDEN. Other live tests use OJ_TEST_REAL=1; see Contributing and each test's header.

Known gaps

Honesty about what hasn't been confirmed is part of this project. Open items:

  • Hall record times: the unit of the saved best time is assumed to be 60 frames per second. No save with a recorded rematch has been checked yet.
  • Map details: the Water Temple's water level and dungeon room states aren't read yet; the map shows the first of each (see docs/research/GAME_MAPS.md).
  • Tapestry states: when the game shows a section as a silhouette rather than empty is our reading (once its quest has started), and the bottom band is assumed to appear when Ganon is defeated. Neither has been checked against the game (see docs/research/GAME_MAPS.md).
  • Daily stat counters (grass cut, jumps, and similar): no matching save flags were found, so Today's Journal doesn't show them.
  • Launcher behaviour: starting Longshot's binary directly needs --user <your Longshot data folder> to use your real saves. Whether the official Launcher does the same hasn't been confirmed.
  • Linux: the Linux app has been built and started in a virtual display by CI, and its bridge client is tested against a real Unix socket, but it hasn't been run against a live Linux Longshot game. Wayland behaviour and distributions other than Ubuntu are untested. Whether Longshot reads an environment file on Linux (so the app could offer a persistent bridge switch there) isn't established.
  • Second screen on Linux and macOS: the second screen is built for all platforms but has only been run on Windows. Browsers only offer a real "install" on secure (https) pages, which a home-network address isn't, so Add to home screen is usually a shortcut made by hand, and a home-screen app may need to pair again (it can keep its own cookies).
  • Screenshots in the timeline: not available; capturing the game would need a write-capable command with its own consent step.
  • Online features: global comparison, leaderboards and amiibo depend on Nintendo's services or the console and are not possible here.

See docs/research/RISKS_AND_LIMITATIONS.md and docs/research/IN_APP_NAME_READER.md for the details.

Help wanted

Start with good first issues, help wanted, or research findings. Questions and ideas go in Discussions.

If you own the real Zelda Notes in the Nintendo Switch app and are willing to help, the most useful things are the ones nobody can derive from the game files:

  • Tell us how the daily stats and medal tiers behave (what counts, and at which numbers a tier changes).
  • Confirm the Hall of Fallen Foes record display (the time format of rematch records).
  • Share your own descriptions or notes of screens, wording and flow. Please do not send Nintendo's artwork, screenshots of copyrighted art, or anything that would require bypassing the app's protections; we can't use those.

Players of the PC recompilation can also help by running the app against their saves and reporting what looks wrong. Open an issue and say which game revision and Longshot version you used.

Contributing

Small fixes, original art and documented research are welcome. Read CONTRIBUTING.md, the project rules and do's and don'ts before starting. The workflow guides cover quiz questions, medals, save flags, map kinds, landmarks and screen fixes. For larger features, redesigns or platform ports, open an issue to agree on scope before building them, then contribute through focused pull requests.

Maintainers: repository activation and release checklist and review policy.

Contributors

Thank you to everyone who has contributed to Ocarina Journal.

The pictures above and the badges at the top (total release downloads, contributor count) update by themselves and are drawn by third-party services (contrib.rocks, shields.io), so viewing this page contacts them; the app itself never does. The download count includes every file attached to a release (installers, packages, checksums and source archives). Descriptions, research and testing count as contributions too; if you helped without a commit, open an issue or discussion and we'll credit you in the changelog.

Stars and downloads

Star history chart Download history chart

This repository draws these charts itself (the workflow): a new star or release redraws them, and downloads are read every hour. Downloads count installers and packages only. GitHub keeps no history of them, so before 2 December 2026 that line only joins the few totals noted at the time.

Legal

This is an unofficial fan project. It is not licensed by Nintendo. The code is declared GPL-3.0-or-later in the Cargo manifests. The save catalogue rules are conservatively treated as adapted GPL work from the Longshot save-editor contributions, with attribution and source supplied under the same licence. See third-party notices and the provenance review. Nothing here is legal advice.

Created in T3 Code.

Ähnliche Projekte entdecken

Wird geladen…