[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114686":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":12,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":15,"starSnapshotCount":15,"syncStatus":12,"lastSyncTime":38,"discoverSource":39},114686,"totk-progress","phatnguyen-v1\u002Ftotk-progress","phatnguyen-v1","Live progress map for The Legend of Zelda: Tears of the Kingdom (TotK Recomp, game 1.2.1 and 1.4.3): collectibles and quests from your save",null,"Python",67,2,59,1,0,4,7,6,48.13,"MIT License",false,"main",true,[25,26,27,28,29,30,31,32,33],"companion-app","interactive-map","leaflet","python","save-viewer","tears-of-the-kingdom","totk","totk-recomp","zelda","2026-11-15 12:24:30","2026-11-23 11:22:06","# TotK Progress Map\n\n[![Sponsor](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSponsor-%E2%9D%A4-db61a2?logo=githubsponsors&logoColor=white)](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fphatnguyen-v1)\n\n![The map: what's still missing around Link's last save, with Korok puzzle routes](docs\u002Fscreenshots\u002Fmap.webp)\n\nA companion app for [TotK Recomp](https:\u002F\u002Fgithub.com\u002Fvalentderah\u002Ftotk-pc-recomp), the native PC port of *Tears of the Kingdom*.\nIt reads your save and shows what you have and haven't\nfound on the map: Korok seeds (with their puzzle paths), shrines (including ones you found but haven't\nfinished), lightroots, caves, Bubbul frogs, wells, chasms, locations, Skyview Towers, Great Fairies,\nbosses, Lynels, Sage's Wills, old maps, Addison's signs, schema stones, Yiga schematics, Dragon's Tears,\narmor chests and every other treasure chest (with what's inside), on the sky, surface and depths layers. A yellow arrow marks where Link was when the\ngame last saved; the **Link** button at the top jumps there.\n\nThe **Quests** tab lists all 253 adventure-log quests (Main Quests, Side Adventures, Side Quests,\nShrine Quests) with their status (in progress, not started, locked, done), the quest giver and\nregion, and the adventure log text of the step you're on. \"Show on map\" jumps to the current\nstep's destination, and active quest targets can be shown on the map (gold).\n\nFor quests you haven't started, \"Where to start quests\" puts a blue **!** where the quest giver\nstands (160 quests; NPCs may walk around during the day) or, when the game data doesn't place the\ngiver, a lighter **!** at the quest's first destination (92 quests, approximate).\n\nStatus meanings: **Locked** = the game hasn't unlocked it yet; the app evaluates the quest's\nprerequisite from the game data against your save and names the quests it waits on. **Not started**\n= unlocked; talk to the quest giver to begin. Some givers only appear after story events, which\nthe quest data doesn't describe, so \"not started\" isn't a guarantee the giver is there yet.\n**Queued** = unlocked in the save, but the same character hands out the previous quest of the\nseries first (e.g. Hoz: Bring Peace to Hyrule Field! before ... to Necluda!). The game decides that\nin dialogue scripts; the app infers series from quests by the same NPC that are next to each other\nin the adventure log (36 quests). Letters, statues and the Mysterious Voice aren't series.\n\n| Quests tab | The whole map |\n|---|---|\n| ![Quests tab with the current step of a quest](docs\u002Fscreenshots\u002Fquests.webp) | ![Zoomed out: everything still missing on the surface](docs\u002Fscreenshots\u002Foverview.webp) |\n\nThe **Outfits** tab lists every armor piece (135, in 52 sets) with its picture: whether you have it\nand at which upgrade level, the Great Fairy upgrade materials and rupees with how many of each you\ncarry, and where to get it: the shop and its price (rupees, or poes at the Bargainer statues), or the\ntreasure chest. \"Show on map\" marks the shop or chest. Filters: Missing, Have, Upgrade (have it, not\nfully upgraded), All.\n\n**Spoiler-free mode** (the checkbox at the top of the map legend) shows everything you haven't found\nyet as a plain **?**: no name, no chest contents, no Korok puzzle. Things you've found keep their\nicons. All the **?** markers share one *Undiscovered* filter, so the filters can't give away what each one is.\n\nIt re-reads the save every few seconds, so the map updates on its own whenever the game saves.\nIt only ever reads your game and save files; it never writes to them.\n\nPlaying *Breath of the Wild* too? Its sister app, [BotW Progress Map](https:\u002F\u002Fgithub.com\u002Fphatnguyen-v1\u002Fbotw-progress),\ndoes the same for [Savage Wind Recomp](https:\u002F\u002Fgithub.com\u002FRevivedx\u002FSavageWindRecomp), the native PC port of BotW.\n\n## Get started\n\nYou need [TotK Recomp](https:\u002F\u002Fgithub.com\u002Fvalentderah\u002Ftotk-pc-recomp) installed with your game files (tested with game\nversions 1.2.1 and 1.4.3). The app builds its map, collectibles and quests from those files.\n\n1. Download `TotKProgressMap.exe` from [Releases](..\u002F..\u002Freleases\u002Flatest) and put it anywhere.\n2. Double-click it. The app window opens with the setup page (Windows may say the app is unrecognized:\n   *More info* → *Run anyway*; the exe isn't code-signed).\n3. Pick your TotK Recomp folder (the one with `totk.exe`). The app looks on your drives and usually\n   finds it; otherwise click **Browse…**. It tells you if the folder has game files and saves.\n4. Click **Set up**. It draws the map and finds every shrine, Korok, cave, boss and quest in your own\n   game files (about a minute). Then the map opens with your progress.\n\nClose the window to stop the app; opening the exe again while it runs brings the window to the front.\n**⚙** at the top of the panel changes the game folder and has *Open in browser*, to show the same map\nin your web browser too.\n\n### Linux\n\nFor TotK Recomp's Linux build (also on a Steam Deck, in Desktop Mode). Needs glibc 2.35 or later\n(Ubuntu 22.04, Debian 12, Fedora 36, SteamOS 3).\n\n1. Download `TotKProgressMap-linux-x86_64` from [Releases](..\u002F..\u002Freleases\u002Flatest) and put it anywhere.\n2. Make it executable and start it: `chmod +x TotKProgressMap-linux-x86_64`, then\n   `.\u002FTotKProgressMap-linux-x86_64` (or double-click it in your file manager).\n3. The setup page opens in your web browser. Pick your TotK Recomp folder (the one with `totk`) and click\n   **Set up**, as on Windows. The app finds the folder TotK Recomp's setup installed to; **Browse…** uses\n   your desktop's folder window (`zenity` or `kdialog`).\n\nOn Linux the map is a tab in your browser instead of an app window: stop the app with **⚙** → *Quit app*;\nstarting it again while it runs opens the tab again. Settings and data are kept in\n`~\u002F.local\u002Fshare\u002FTotKProgressMap` (`$XDG_DATA_HOME`), with `app.log` when it wasn't started from a terminal.\nFor phones, allow the app's port (8787) in your firewall if you use one.\n\n**On your phone:** click the phone button at the bottom right of the map, *Turn on*, and scan the QR\ncode (also in ⚙). Only phones and tablets on the **same Wi-Fi or network** as your PC can open it (not\nover mobile data). They get the same map, read-only: they can't change settings or anything on your PC (Windows\nmay ask once to allow the app on private networks). It stays on until you turn it off.\n\nThe map starts with a few categories (shrines, lightroots, caves, Bubbul frogs, towers, Great Fairies,\ncollectibles, armor chests) because all ~3,500 markers at once are slow; turn on more in the legend. Your choices (legend, filters, layer,\ntab) are saved by the app and kept when you close it.\n\nPlace, item and quest names and the quest texts come from your game files, in the language TotK Recomp\nis set to (its `totk.ini`). Pick another of the game's 15 languages in **⚙** → *Language*; the app's own\ninterface switches with it. The interface translations (`web\u002Fi18n`) are drafts: corrections are welcome as\npull requests. Game terms in them (Korok seeds, Skyview Towers, quest categories, ...) are taken from the\ngame's own text where it has one.\n\nThe window uses Microsoft Edge WebView2, which comes with Windows 10 and 11;\nwithout it the app uses your browser instead and you stop it with **⚙** → *Quit app*.\nSettings and the data built from your game files are kept in `%LOCALAPPDATA%\\TotKProgressMap`; delete that folder to reset.\n\n## Run from source\n\nNeeds Python 3.10+. Double-click `start.bat` (Linux: `sh start.sh`, which makes a `.venv` when the\nsystem Python lacks the packages), or:\n\n```\npip install -r requirements.txt   # zstandard, to read the game's compressed files\npython server.py                  # opens http:\u002F\u002Flocalhost:8787\u002F and walks you through setup\n```\n\nRunning from source keeps data next to the code (`assets\u002F`, `config.json`). `build_exe.bat` builds\n`dist\\TotKProgressMap.exe` with PyInstaller and `sh build_linux.sh` builds\n`dist\u002FTotKProgressMap-linux-x86_64`; pushing a `v*` tag builds both on GitHub Actions and\nattaches them to a release. On Linux, running from source shows the app's own window when your Python\nhas pywebview with GTK or Qt (e.g. `python3-webview` on Debian and Ubuntu); otherwise it uses the browser.\n\nCommand-line tools: `python build_mapdata.py --romfs \u003Cinstall>\\romfs` extracts the map data,\n`python -c \"import gamefiles, maptiles; maptiles.build_tiles(gamefiles.Romfs(r'\u003Cinstall>\\romfs'), 'assets\u002Ftiles')\"`\ndraws the map tiles, `python build_icons.py --romfs \u003Cinstall>\\romfs` the map icons,\n`python build_quests.py [--romfs DIR] [--lang EUen]` rebuilds the quest list (other\nlanguages: `EUen`, `EUfr`, `EUde`, `JPja`, ...). `server.py` options: `--save-dir \u003Cfolder>` (read\nsaves from there instead of the configured install), `--port 8787`, `--host 127.0.0.1`, `--browser` (use the browser instead of the app window),\n`--no-browser` (no window or browser, just the local server).\n\nThe map page loads Leaflet from cdnjs, so the browser needs internet. The app also asks GitHub for its\nlatest release when it starts and every 12 hours, and shows a notice when there's a newer version;\nnothing is downloaded or sent about you or your game. Turn it off in **⚙** → *Updates*.\n\n## How it works\n\n- `savefile.py` reads `progress.sav`: a table of `(u32 hash, u32 value)` pairs from offset `0x28`\n  up to `MetaData.SaveTypeHash` (`0xa3db7114`), whose value points at a `u64` GUID array.\n  An object is done when its completion hash has a non-zero value; shrines and Korok friends need\n  `Clear`, lightroots `Open`; a shrine at `Open` or `Enter` is found but not finished. Sage's Wills,\n  Addison's signs and treasure chests are done when their GUID is in the array. Skyview Towers use\n  `IsOpenCannon.\u003Ctower>`, Dragon's Tears `Complete_DragonTearsNN`, Great Fairies `IsAppear_DressFairy_NN`.\n  Lynels are only shown, not tracked: their defeat flags reset with every Blood Moon.\n- Quests: the game's Challenge table lists each quest's steps (`Ready`, `Step1`, `Step1a`, …,\n  `Complete`) with destination points; the save holds an enum `Step_\u003Cquest>` whose value is the\n  murmur3 hash of the current step name (`NotReady` = locked, `Ready` = not started). The message\n  file `ChallengeMsg\u002FInfo_\u003Cquest>` has the quest name and the log text under the same step labels.\n  A quest's prerequisite (`DependFlagName`) is a flag or a BoolExp from `GameData\u002FGameDataList`: a\n  postfix program (0 GetBool, 10 BoolExp, 1\u002F12 + 2 enum `==`\u002F`>` value, 3 AND, 4 OR, 5 NOT) that\n  `savefile.evaluate` runs against the save.\n  `gamefiles.py` has small readers for the formats involved (zstd with the game's dictionaries,\n  SARC, MSBT, BYML).\n- `server.py` serves the page and `\u002Fapi\u002Fslots`, `\u002Fapi\u002Fprogress?slot=latest|0-5`. \"Latest\" is the slot\n  written most recently. It only reads the save folder, never writes to it.\n- `web\u002F` is the map (Leaflet). World `(x, z)` maps to pixel `750 + x\u002F8, 750 + z\u002F8` on a 1500 px map;\n  height `y >= 750` is sky and `y \u003C -50` is depths.\n\nThe map, the collectibles and the quests are read from your own TotK Recomp game files on your PC\n(`maptiles.py`, `build_mapdata.py`, `build_quests.py`, `build_icons.py`); see [docs\u002FPROGRESS.md](docs\u002FPROGRESS.md)\nfor the formats and save flags. The map icons are the game's own map, item and compendium icons, also\ntaken from your files; the app's own SVG icons (`web\u002Ficons\u002F`) are used when they're not available.\nKorok puzzle types and routes come from the game's placement data too. Nothing is downloaded, and\nnothing game-derived is shipped in this repository, so the app needs TotK Recomp's game files.\n\n## License\n\nThe code in this repository is under the [MIT License](LICENSE). It covers this project's own code\nonly: the game data and maps that the app builds or downloads into `assets\u002F`\ncome from *The Legend of Zelda: Tears of the Kingdom* and are not part of it. This is an\nunofficial fan project, not affiliated with or endorsed by Nintendo.\n","这是一个为《塞尔达传说：王国之泪》PC重制版（TotK Recomp）设计的实时进度追踪工具，通过解析本地存档文件，在交互式地图上可视化展示玩家已收集与未收集的各类要素。核心功能包括分层（天空、地表、深渊）显示科洛克种子（含解谜路径）、神庙、光根、洞穴、宝箱等内容，以及完整追踪253个冒险日志任务的状态、触发条件与位置，并支持装备收集状态管理。基于Leaflet构建，使用Python解析存档数据，提供精准的存档驱动式导航辅助。适用于PC平台TotK Recomp玩家进行高效探索规划与全收集目标管理。","2026-11-24 04:49:23","CREATED_QUERY"]