Repository navigation
Cheats: collectible hints on the map - #976
Quorthon13 wants to merge 2 commits into
Conversation
|
Heads up: this PR conflicts a little with #940 (Free sprint) and #961 (horse rearing).
I merged all three locally to check, and they build and work together. Each PR also works on its own, so they can go in in any order. When one of them is approved, I'll rebase the others on top. |
0154565 to
dae4f79
Compare
|
Rebased on the current They came from #940, #961 and quick inventory replacement (#621) landing in 22d36c9:
Nothing else changed. Since the Cheats tab now only shows with |
|
Thanks for this, the hints look great and reading the flags from the heap like Right now
The same goes for the regions. What I'd like instead:
Everything else (the drawing on the map, the switch in the F1 Cheats page, the console command, the translations) can stay as it is. Ping me when it's updated and I'll test it on a release-style build without |
The item list's BYML reader and MSBT text reader move out of items.c into runtime/services/formats.c, next to the Yaz0 and SARC readers, so other features can read the game's files the same way. BYML gains a reader for an array's or a dictionary's entries and for floats; MSBT gives each message's label and text to a callback. The item list reads the same names and items as before.
One switch in the Cheats tab, off by default. On the game's map, holding D-pad Down (or its keyboard key, 4 by default) fades in soft circles around the Korok seeds and shrines not found yet, each real spot at a fixed offset inside its circle, in the regions whose tower is activated. Hovering a circle says whether it is a Korok seed or a shrine. Top right, the region under the map's cursor shows its counts in the style of the game's own "Current Location" label, muted blue once everything there is found. A Hints prompt with the player's button sits on the map's own prompt bar. Nothing is shown in Hero's Path mode. The flags come from the game's heap, as for Infinite rupees: a thread finds each Korok's, shrine's and tower's game data flag by its hash and reads them about once a second while the map is up. What to look for is read at runtime from the player's own game files, once the game has opened them (with the option on; else the first time the map asks): the Korok seeds from the main field's map units, the shrine and tower markers from Static.smubin, the tower areas from MapTower.sbeco, every flag checked in gamedata, and the regions' names from the message files of the game's language. Nothing of it is in the build. It takes 0.06-0.7 s on its own thread. If the files don't have 900 Koroks, 120 shrines and 15 towers as expected, the log says why and no hints show. tools/gen_collectibles.py builds the same table, and make test-collectibles ROMFS=... compares the two. Measured on an RTX 5070 Ti at 2560x1440: drawing the hints costs at most 0.085 ms a frame (held, zoomed out), nothing with the option off.
dae4f79 to
ea3f5ac
Compare
|
Updated, thanks for the review @Revivedx. The table is now built at runtime from the player's own files, and the branch is rebased on the current
The exe has none of the flag hashes in it now. The hints and counts work in game, including after going back to the start screen and loading again. It's ready for your test on a build without |
…onfiguration, fixes From PRs: - Picking another game folder clears the old setup errors (PR #975). - --skip-launcher and --no-launcher (#970, PR #1014). - Weapon wear down to 0.125x (PR #1012), Stamina drain 25-400 % (#968, PR #1045), Dynamic HUD (PR #1003), Remember menu position (#959, PR #1046), the Console key can move off F12 (#1020, PR #1044). - Japanese voices inside Pack/TitleBG_*.pack are redirected too (#1007, PR #1013). - XeSS: the log names the size Dynamic picks (PR #1028); the velocity scale is set every frame (PR #1065). - macOS: the system's fullscreen follows Video > Fullscreen, and the log goes to savagewind.log (PR #993). - Missing or outdated shaders are precompiled before a start (PR #979). - PGO training driver and perf tools (PRs #990, #991, #992). - Vulkan: pre-indexed bindings, a cached identity scale table, a 4-way guest copy cache and batched vertex binds (PRs #1008, #1018); copies and feedback checks move to exec_copy.c and exec_feedback.c (PRs #1092, #1077); DLSS and frame generation share the camera motion, NGX parameters are cached (PR #1062, without its narrower DLSS barrier). - Free camera keyframe paths (PR #1017), Chinese item names by pinyin (PR #1047), an estimated VRAM bar and higher graphics options (PR #1006). - Reset to defaults keeps the hidden lock-on check on Guard (PRs #1086, #1085); no bare Sprint while the bow settles (#1051, PR #1089); quick drop after a weapon swap (PR #1069); 72 FPS (#1080, PRs #1090, #1087). - DLSS: DLAA, Render scale up to 100 % with temporal upscalers, no SMAA/FXAA on top (PR #1074); grass shimmer while running (PR #1075). - The game code is picked only for complete x86-64 levels (PR #1060). - Cheats: collectible hints on the map, read from the player's files (PR #976); the tab in sections (PR #1076); a quiet Link, the champion abilities, every shrine and tower on the map (PRs #1098, #1104, #1096). - Launcher: A and Enter press Play at once, and setting up again asks first (#1079, PRs #1071, #1088, ported). - Achievements (PR #236, ported), and they give the game's amiibo-only items, once per playthrough. - NVIDIA DLSS frame generation, 2x/3x/4x (PR #345). - A music volume slider (#1083, PR #1105), keep crouching after the camera (PR #1067), day and night length (PR #1059), three-axis mouse for shrine apparatus (PR #1094), sharper CJK text (PR #1107). - The section-GC tests link on Windows (PR #1101); CI actions updated (PR #1068). Savage Wind: - Configuration and the in-game menu in SWMM+'s look; Install SWMM+; the Mods page lists and switches SWMM+'s mods; savagewind.log names the mods a run loads; the title screen shows the version and the mods; Enable cheats on Home. - Video > Stars: the night sky's stars show at PC resolutions, Brightest by default. - The sun shadow cascade cuts are dithered, so the shadow detail doesn't stop on a line that follows the camera (SAVAGEWIND_NO_CASCADE_BLEND=1: the game's own). - Fixes: the HUD prompt label on the Xbox layout (#1055); Nintendo controllers stay with Steam Input (#136); DLSS gets the reactive mask (#1030); frame generation keeps its contexts when the render size changes (#1061); a far teleport moves the camera with Link; the conversation box on windows wider than 16:9 (#1093); tips' button marks follow A/B/X/Y (#1091); a damaged game code file is built again (#1084); the start backup takes the active save profile (#1114); ZL and ZR follow Guard and Bow once rebound (#1103); the free camera hides the minimap's stamps (#1117); the item list is read after the game's files mount; Dynamic HUD keeps the pouch replacement's row. - Pipeline seed: 12967 pipelines (+1352, a tour of every map section). Checked on Windows (RTX 3060): the unit tests touched by these changes pass (actions, pc-controls, output-scale, game-cpu, launch-flags, dlc-check, mods, assists, input-focus, gyro, control, achievements, pinyin and others), the UI text check has nothing missing, and hidden runs reach the world at 60 fps with DLAA, DLSS, TAA and FSR 3. A play test with a 100 % save found the item list, reward, pouch replacement and stars fixes above. Co-authored-by: jfpaardoo <juaparpar@alum.us.es> Co-authored-by: Fayber <contact@fayber.dev> Co-authored-by: Quorthon13 <44161862+Quorthon13@users.noreply.github.com> Co-authored-by: machinewrapped <10140676+machinewrapped@users.noreply.github.com> Co-authored-by: ashe27 <6131777@gmail.com> Co-authored-by: Kevin Peters <kevinigeligeligel@gmail.com> Co-authored-by: B0D0PAD <107306077+B0D0PAD@users.noreply.github.com> Co-authored-by: devall96 <313119844+devall96@users.noreply.github.com> Co-authored-by: Paimonshen <137417967+Paimonshen@users.noreply.github.com> Co-authored-by: lorenzo-zurini <lorenzo.zurini@icloud.com> Co-authored-by: jiangyangyang <inuyashajyy@gmail.com> Co-authored-by: gshlok <109033902+gshlok@users.noreply.github.com> Co-authored-by: abdillahagil5 <192623160+abdillahagil5@users.noreply.github.com> Co-authored-by: ShannoonRuaaa <90012158+ShannoonRuaaa@users.noreply.github.com> Co-authored-by: jordanyoong1 <40160073+jordanyoong1@users.noreply.github.com> Co-authored-by: DefinitelyNotSpammy <301402594+DefinitelyNotSpammy@users.noreply.github.com> Co-authored-by: Boyce Yi <1473416941@qq.com> Co-authored-by: byluki <steamluki424@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks! This is in the |
This one's a banger.
What this changes
Adds Collectible hints on the map to the Cheats tab of the Savage Wind menu (F1), off by default. It helps you find the Korok seeds and shrines you're still missing, without telling you exactly where they are.
Finding the last Koroks is the worst part of BotW. There are 900 of them, the game gives you no way to see which ones you already have, and it doesn't even tell you how many are left in an area. Most players either give up or play with a website open on a second screen. This keeps it in the game and keeps the searching: you still have to look around, you just know where to look.
On the game's map, hold D-pad Down (or its keyboard key, 4 by default):
Menu text: "Hold D-pad Down or 4 on the game's map to see faint circles around the Korok seeds and shrines you haven't found yet, and how many the region under the cursor has. Only in regions whose tower you have activated." The key in it is whatever D-pad Down is bound to in Controls.
How it works:
Static.smubin,MapTower.sbeco, the game data flags and the message files of the game's language. That happens once, on the same thread, as soon as the game has opened its files when the option is on (otherwise the first time the map asks), and takes a fraction of a second. Nothing of it is in the build. If the files don't have the 900 Korok seeds, 120 shrines and 15 towers as expected, the log says why and no hints show.tools/gen_collectibles.pybuilds the same list, to check against:make test-collectibles ROMFS=...compares the two.items.ctoruntime/services/formats.c(in its own commit), and both features use them.collectiblesconsole command (developer mode): it prints the counts for all of Hyrule and for each region, and which towers are activated.docs/cheats-and-assists.md.How it was tested
Windows 11, RTX 5070 Ti (driver 621.14), 2560x1440, game 1.9.0, on a copy of my own save.
make test-collectibles), including the region names in all 16 game languages. The exe has none of the flag hashes in it. The hints still work after going back to the start screen and loading again.tools/i18n_check.pypasses.Screenshots
The map at Hateno: as normal, then with D-pad Down held
One zoom level closer

Checklist
testand opened againsttest