From 183519190abadcc8b0ee11df5620ad2ee26b443f Mon Sep 17 00:00:00 2001 From: conongnang <173552257+conongnang@users.noreply.github.com> Date: Sun, 1 Nov 2026 08:42:10 +0700 Subject: [PATCH] Bundle the cheat files for 1.2.1 and 1.4.3 and install them when the player has none The setup keeps a player's own file. A bundled file the tools refuse costs its cheats, not the install. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- THIRD_PARTY_NOTICES.md | 1 + docs/cheats.md | 10 +- installer/steps.py | 39 +- installer/text/en.json | 1 + installer/text/ru.json | 1 + tests/installer_test.py | 9 + tools/data/cheats/277178B7DBA1B6D4.txt | 444 ++++++++++++++++++++++ tools/data/cheats/9B4E43650501A4D4.txt | 496 +++++++++++++++++++++++++ 9 files changed, 990 insertions(+), 13 deletions(-) create mode 100644 tools/data/cheats/277178B7DBA1B6D4.txt create mode 100644 tools/data/cheats/9B4E43650501A4D4.txt diff --git a/README.md b/README.md index c0257261..969b3450 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Report problems as issues, following [CONTRIBUTING.md](CONTRIBUTING.md). - Keyboard, mouse and gamepad with remapping, rumble and gyro - Xbox button prompts: a layout that keeps the Switch button positions and shows the Xbox labels - Shaders prepared at install instead of during play -- Atmosphère cheat files: bring your own, switch cheats in the menu ([docs/cheats.md](docs/cheats.md)) +- Atmosphère cheats: files for 1.2.1 and 1.4.3 included, switch them in the menu, or bring your own ([docs/cheats.md](docs/cheats.md)) ## Planned diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 27c6106e..ac4f2c5e 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -100,3 +100,4 @@ folder's `licenses/` and in each component's own folder. | `totk_xlate` (NativeAOT linux-x64 build of `tools/xlate/`, linked with the folder's clang, lld and sysroot) | built by `tools/build_xlate.py --llvm --sysroot` | MIT | `bin/totk_xlate` | | AppImage type-2 runtime (static; includes libfuse and squashfuse), the AppImage's first part; appimagetool packs the folder and is not distributed | https://github.com/AppImage/type2-runtime | MIT; libfuse LGPL-2.1; squashfuse BSD-2-Clause | the AppImage header | | MacNativeGames shader variant list | as in the installer release row above | MIT | `data/shader_list.tsv` | +| MyNXCheats cheat files for TotK 1.2.1 and 1.4.3 (data, unchanged below an added credit comment) | https://github.com/Arch9SK7/MyNXCheats @ `6066c82322d4668dd71ff94354fe9e0653a6a4f1` (`The Legend Of Zelda Tears Of The Kingdom/0100F2C0115B6000/cheats/`), by Skyla Kikari (Arch9SK7) and the people that repository credits | None stated: the repository has no licence file, so reuse rests on the author's permission, which is not recorded here | `tools/data/cheats/` | diff --git a/docs/cheats.md b/docs/cheats.md index f402fadf..f41ff58d 100644 --- a/docs/cheats.md +++ b/docs/cheats.md @@ -1,8 +1,12 @@ # Cheats -The port reads Atmosphère cheat files, the format Switch homebrew and the emulators use. No cheats ship with the port: bring your own file for your game update. +The port reads Atmosphère cheat files, the format Switch homebrew and the emulators use. The setup installs a cheat file for 1.2.1 and for 1.4.3, all cheats off: open the menu (F1) and switch them on the Cheats tab. The switches are saved under `[cheats]` in `totk.ini`. -## Adding a cheat file +The two files are from [MyNXCheats](https://github.com/Arch9SK7/MyNXCheats) by Skyla Kikari (Arch9SK7) and stay in `tools/data/cheats/` with that credit at the top. Only the 1.4.3 file has been tried in game. + +## Adding your own cheat file + +A file of your own replaces the one the setup installed. The setup never overwrites a file you changed. 1. Find the cheat file for your update. It is named after the first 8 bytes of the game's build id: @@ -14,7 +18,7 @@ The port reads Atmosphère cheat files, the format Switch homebrew and the emula The Cheats tab of the menu names the file the installed game reads, and `logs\totk.log` says `cheats: no cheats\.txt` when it is missing. 2. Put it in a `cheats` folder next to `totk.exe`: `cheats\277178B7DBA1B6D4.txt`. 3. Run `TotK-Setup.exe` again on the same folder. It builds the cheats that change the game's code into the game (about three minutes); saves and settings are kept. A file with only data cheats works without this step. -4. In game, open the menu (F1) and switch cheats on and off on the Cheats tab. The switches are saved under `[cheats]` in `totk.ini`. +4. Switch the cheats on the Cheats tab of the menu. ## The file format diff --git a/installer/steps.py b/installer/steps.py index 5f78d654..8c38e3fd 100644 --- a/installer/steps.py +++ b/installer/steps.py @@ -533,11 +533,20 @@ EMITTED = re.compile(r'^emitted (\d+)/(\d+) chunks') DISCOVERED = re.compile(r'^(\w+): \d+ functions \(.*discovery') +def bundled_cheats(ctx): + """The folder of cheat files the release carries, one per update, tools/data/cheats/.txt.""" + return ctx.layout.tools / 'data' / 'cheats' + + def cheat_files(ctx): """The Atmosphere cheat files in /cheats, for the lift key. All of them: the one the build reads goes by the build id of the installed main, and the keys are computed before Extract runs (runner plan), when a fresh install - has no main and an update may still have another version's. The .status files beside them are lift's own output.""" - return sorted((ctx.dest / 'cheats').glob('*.txt')) + has no main and an update may still have another version's. The .status files beside them are lift's own output. + A file the same as the bundled one of its name is left out, or installing it would change the key of the next run: + the key covers the bundled folder anyway.""" + bundled = bundled_cheats(ctx) + return [f for f in sorted((ctx.dest / 'cheats').glob('*.txt')) + if not (bundled / f.name).is_file() or f.read_bytes() != (bundled / f.name).read_bytes()] def cheats_file(ctx): @@ -557,7 +566,7 @@ class Lift(Step): def key(self, ctx): return fingerprint('lift-2', ctx.keys['extract'], ctx.layout.recomp, ctx.layout.patches(game_version(ctx)), - ctx.layout.tools / 'cheats.py', *cheat_files(ctx)) + ctx.layout.tools / 'cheats.py', bundled_cheats(ctx), *cheat_files(ctx)) def current(self, ctx, record): gen = ctx.temp / 'gen' @@ -575,20 +584,32 @@ class Lift(Step): rep.progress('lift', 'emit', int(m.group(1)), int(m.group(2)), 'chunks') # The code cheats of the cheat file become patch sets (tools/cheats.py); its status file tells the runtime - # which cheats the build has. - patches, cheats = layout.patches(game_version(ctx)), cheats_file(ctx) + # which cheats the build has. A player's own file wins over the bundled one, which is installed when there is + # none. The player did not choose a bundled file, so one the tools refuse costs its cheats, not the install. + plain, cheats = layout.patches(game_version(ctx)), cheats_file(ctx) + patches, skipped, bundled = plain, None, bundled_cheats(ctx) / cheats.name + ours = bundled.is_file() and (not cheats.is_file() or cheats.read_bytes() == bundled.read_bytes()) + if ours and not cheats.is_file(): + cheats.parent.mkdir(exist_ok=True) + shutil.copyfile(bundled, cheats) if cheats.is_file(): combined = ctx.temp / 'patches-cheats.txt' code, log = run_tool(ctx, 'lift', layout.tools / 'cheats.py', ['--exefs', ctx.dest / 'exefs', '--cheats', cheats, '--patches', patches, '--out', combined, '--status', cheats.with_suffix('.status')]) - if code: + if code and not ours: raise InstallError('lift.failed', code=code, log=str(log)) - patches = combined - code, log = run_tool(ctx, 'lift', layout.recomp / 'gen.py', - ['--exefs', ctx.dest / 'exefs', '--out', gen, '--patches', patches], parse) + patches, skipped = (plain, log) if code else (combined, None) + args = ['--exefs', ctx.dest / 'exefs', '--out', gen] + code, log = run_tool(ctx, 'lift', layout.recomp / 'gen.py', args + ['--patches', patches], parse) + if code and ours and patches != plain: + skipped = log + remove(gen) + code, log = run_tool(ctx, 'lift', layout.recomp / 'gen.py', args + ['--patches', plain], parse) if code: raise InstallError('lift.failed', code=code, log=str(log)) + if skipped: + rep.warning('warn.cheats_skipped', log=str(skipped)) (gen / STAMP).write_text(ctx.keys['lift'] + '\n') return {} diff --git a/installer/text/en.json b/installer/text/en.json index c792391e..36604af2 100644 --- a/installer/text/en.json +++ b/installer/text/en.json @@ -83,6 +83,7 @@ "warn.lang_needs_fonts": "Text in {lang} needs the Switch system fonts, which the installer does not extract; some text may not show.", "warn.npdm_differs": "main.npdm differs from the reference {version} dump; only the code modules are used.", + "warn.cheats_skipped": "The bundled cheats that change the game's code could not be built; the game installs without them. Details: {log}", "warn.xbox_prompts_failed": "The Xbox button prompts could not be prepared (exit code {code}); the game keeps the Switch prompts. Details: {log}", "warn.kernel_old": "Linux {version} lacks the write tracking the game relies on (6.7 or later); the game may run very slowly. Updating the system fixes this.", diff --git a/installer/text/ru.json b/installer/text/ru.json index e3a668ba..a7a7a5f3 100644 --- a/installer/text/ru.json +++ b/installer/text/ru.json @@ -83,6 +83,7 @@ "warn.lang_needs_fonts": "Для языка «{lang}» нужны системные шрифты Switch, которые установка не извлекает; часть текста может не отображаться.", "warn.npdm_differs": "main.npdm отличается от эталонного дампа {version}; используются только модули с кодом.", + "warn.cheats_skipped": "Не удалось собрать встроенные читы, меняющие код игры; игра установится без них. Подробности: {log}", "warn.xbox_prompts_failed": "Не удалось подготовить подсказки кнопок Xbox (код выхода {code}); игра оставит подсказки Switch. Подробности: {log}", "warn.kernel_old": "В Linux {version} нет отслеживания записи, на которое опирается игра (нужна версия 6.7 или новее); игра может работать очень медленно. Обновление системы это исправит.", diff --git a/tests/installer_test.py b/tests/installer_test.py index 0357a5d5..b11f499b 100644 --- a/tests/installer_test.py +++ b/tests/installer_test.py @@ -239,6 +239,15 @@ class LiftKeyTest(unittest.TestCase): self.add_cheats('277178B7DBA1B6D4.txt', '[b]') self.assertNotEqual(self.key(), added) + def test_installed_bundled_file_keeps_the_key(self): + (self.dest / 'no-tools' / 'data' / 'cheats').mkdir(parents=True) + (self.dest / 'no-tools' / 'data' / 'cheats' / '277178B7DBA1B6D4.txt').write_text('[a]') + before = self.key() + self.add_cheats('277178B7DBA1B6D4.txt', '[a]') + self.assertEqual(self.key(), before) + self.add_cheats('277178B7DBA1B6D4.txt', '[edited by the player]') + self.assertNotEqual(self.key(), before) + def test_status_file_keeps_the_key(self): self.add_cheats('277178B7DBA1B6D4.txt', '[a]') before = self.key() diff --git a/tools/data/cheats/277178B7DBA1B6D4.txt b/tools/data/cheats/277178B7DBA1B6D4.txt new file mode 100644 index 00000000..2e306fd6 --- /dev/null +++ b/tools/data/cheats/277178B7DBA1B6D4.txt @@ -0,0 +1,444 @@ +# TotK 1.4.3 cheats from MyNXCheats by Skyla Kikari (Arch9SK7) and the people that repository credits. +# https://github.com/Arch9SK7/MyNXCheats, commit 6066c82322d4668dd71ff94354fe9e0653a6a4f1 +# The Legend Of Zelda Tears Of The Kingdom/0100F2C0115B6000/cheats/277178B7DBA1B6D4.txt +# Everything below this comment is that file, unchanged. Readers skip the lines before the first [. + +[The Legend of Zelda: Tears of the Kingdom v720896 TID=0100F2C0115B6000 BID=277178B7DBA1B6D4] + +[Restore Code (Use after unchecking any cheats below)] +040A0000 004407D0 F9400008 +040A0000 0031D398 1F080800 +080A0000 006E0838 BD401D00 9B292908 +040A0000 006E0840 BD000260 +040A0000 0078251C BD004668 +040A0000 00782568 BD004668 +040A0000 0233765C 71000508 +040A0000 004C4D14 1E204100 +040A0000 004CB9BC 1E200C20 +040A0000 00324C14 B9400008 +040A0000 0072AE28 1A9F57E0 +040A0000 0072B124 BD400009 +040A0000 004414FC 1A89C115 +040A0000 00441520 52800095 +040A0000 001AE99C 1E212000 +040A0000 001B5B2C 1E280400 +040A0000 006343D0 1E212000 +040A0000 01B7A460 1E201C20 +040A0000 023BBE00 1E204100 +040A0000 023BCD2C 2D1F8260 +040A0000 00335C40 1E2E1008 +040A0000 00335CA0 BD400008 +040A0000 0047E09C 52A7F008 +040A0000 023F0864 97DD371F +040A0000 00BD3788 1E211C41 +040A0000 023F6448 396B6288 +040A0000 00A77B40 0B0300C3 +040A0000 0250767C 5A980715 +040A0000 021ECA9C 1B09A148 +040A0000 00282E58 B9400901 +040A0000 002829F4 B9400901 +040A0000 01B78CD0 12800001 +040A0000 020B2A1C 12800001 +040A0000 01CCC718 1E201C42 +040A0000 020B3ABC 12800001 +040A0000 020B3B98 54FFFE2C +040A0000 003067F4 BD415E80 +040A0000 01F87E08 370001E0 +040A0000 020F6F10 D10183FF +040A0000 020F6F14 FD0013EA +040A0000 007362D0 D101C3FF +040A0000 007362D4 FD001BEA +040A0000 020FC7A4 39407688 +040A0000 020F6FF0 34000248 +040A0000 00736614 340002C8 +040A0000 020FD158 34FFFBE8 +040A0000 020FEDD4 34FFFBE8 +040A0000 00736CE0 394073A8 +040A0000 020F9F9C 340000E8 +040A0000 00736488 34FFFE4D +040A0000 007364F8 394063E8 +040A0000 020FE2BC 34FFFBA8 +040A0000 020FE2BC 34FFFBA8 +040A0000 020FDC68 34FFFB48 +040A0000 020F8068 34000988 +040A0000 020FCCE4 34FFFA88 +040A0000 00ECCDBC 34FFF7E8 +040A0000 01C0BA70 B9401268 +040A0000 0068C15C BD403E69 +040A0000 0068C15C BD403E69 +040A0000 0068C15C BD403E69 +040A0000 0067FCC4 1E2E1003 +040A0000 01FD39CC 1E2E1001 + +[Link] +20000000 + +[№ 1. Inf. Health] +080A0000 02BB9FF8 176219F6 F9400008 +080A0000 02BB9FF0 B9000808 34000048 +040A0000 02BB9FEC B9401808 +040A0000 004407D0 149DE607 + +[№ 2. Inf. Stamina] +040A0000 0031D398 1E204040 + +[№ 3. Inf. Stamina (Use Only For Master Sword Quest)] +080A0000 006E0838 F2B0000F D2A8B76F +040A0000 006E0840 B900026F + +[№ 4. Inf. Battery] +040A0000 0078251C BD004662 +040A0000 00782568 BD004662 + +[№ 5. Inf. Horse Stamina] +040A0000 0233765C D503201F + +[№ 6. Stealth Mode] +040A0000 004C4D14 1E2703E0 +040A0000 004CB9BC 1E2703E0 + +[№ 7. Perfect Thermometer (No Fire, Heat, Cold)] +040A0000 00324C14 52800068 +040A0000 0072AE28 2A1F03E0 +040A0000 0072B124 BD400809 + +[№ 8. Ignore Gloom Effects] +040A0000 004414FC 1A89C135 +040A0000 00441520 2A1F03F5 + +[Link] +20000001 + +[Combat] +20000000 + +[№ 9. Instant Companion Skills (No CDs)] +040A0000 001AE99C 1E212020 +040A0000 001B5B2C 1E282100 +040A0000 006343D0 1E212020 + +[№10. Faster Weapon Charge] +040A0000 01B7A460 1E211000 + +[№11. Faster Bow Charge] +040A0000 023BBE00 1E209000 + +[№12. Quickfire Bow] +040A0000 023BCD2C 291FA268 + +[№13. Damage Multiplier (2x)] +040A0000 00335C40 1E201008 +040A0000 00335CA0 1E201008 + +[№14. Damage Multiplier (4x)] +040A0000 00335C40 1E221008 +040A0000 00335CA0 1E221008 + +[№15. Damage Multiplier (10x)] +040A0000 00335C40 1E249008 +040A0000 00335CA0 1E249008 + +[№16. Damage Multiplier (30x)] +040A0000 00335C40 1E27D008 +040A0000 00335CA0 1E27D008 + +[Combat] +20000001 + +[Movement] +20000000 + +[№17. Hold (X) Moon Jump] +80000004 +580F0000 03AD99B8 +580F1000 00000070 +580F1000 00000040 +580F1000 000000D0 +580F1000 000000C0 +580F1000 00000198 +580F1000 00000038 +780F0000 000000F4 +640F0000 00000000 41200000 +20000000 + +[№18. Glider Speed (1.5x) (Hold A)] +80000001 +040A0000 02D01D70 3F000000 +21000000 +040A0000 02D01D70 3D088889 +20000000 + +[№19. Glider Speed (2.0x) (Hold A)] +80000001 +040A0000 02D01D70 3F28F5C3 +21000000 +040A0000 02D01D70 3D088889 +20000000 + +[№20. Glider Speed (3.0x) (Hold A)] +80000001 +040A0000 02D01D70 3F7D70A4 +21000000 +040A0000 02D01D70 3D088889 +20000000 + +[№21. Glider Speed (3.8x) (Hold A)] +80000001 +040A0000 02D01D70 3FA08312 +21000000 +040A0000 02D01D70 3D088889 +20000000 + +[№22. Movement Speed (2x)] +80000002 +040A0000 0047E09C 52A80008 +21000000 +040A0000 0047E09C 52A7F008 +20000000 + +[№23. Movement Speed (3x)] +80000002 +040A0000 0047E09C 52A80808 +21000000 +040A0000 0047E09C 52A7F008 +20000000 + +[№24. Movement Speed (10x)] +80000002 +040A0000 0047E09C 52A82408 +21000000 +040A0000 0047E09C 52A7F008 +20000000 + +[№25. Dive Boost] +040A0000 023F0864 1E211000 + +[№26. Jump Higher] +040A0000 00BD3788 1E209001 + +[№27. Default Movement is Running] +040A0000 023F6448 52800028 + +[№28. Default Movement is Walking] +040A0000 023F6448 396B6288 + +[Movement] +20000001 + +[Inventory] +20000000 + +[№29. Items x999] +040A0000 00A77B40 52807CE3 + +[№30. Free Shopping] +040A0000 0250767C 1A9813F5 + +[№31. Inf. Equipment Durability] +040A0000 021ECA9C 1B09A3E8 +080A0000 02BB9FE4 D65F03C0 B9000901 +040A0000 02BB9FE0 B9401901 +040A0000 00282E58 94A4DC62 +040A0000 002829F4 94A4DD7B + +[№32. Inf. Arrow(s)] +040A0000 01B78CD0 2A1F03E1 + +[№33. Inf. Zonai Devices] +040A0000 020B2A1C 2A1F03E1 + +[№34. Inf. Zonai Device Duration (No Blink + Despawn)] +040A0000 01CCC718 1E2703E2 + +[№35. Inf. Food Items] +040A0000 020B3ABC 2A1F03E1 +040A0000 020B3B98 17FFFFF2 + +[№36. Inf. Food Buff Timer] +080A0000 02BB9FD8 D65F03C0 BD015E80 +040A0000 02BB9FD4 BD416280 +040A0000 003067F4 94A2CDF8 + +[№37. Inf. Amiibo Usage] +040A0000 01F87E08 D503201F + +[Inventory] +20000001 + +[Map] +20000000 + +[№38. Show All Shrine and Cave Locations] +040A0000 020F6F10 52800020 +040A0000 020F6F14 D65F03C0 +040A0000 007362D0 52800020 +040A0000 007362D4 D65F03C0 + +[№39. Show All Korok Seed Locations (Must Zoom In)] +040A0000 020FC7A4 1400002E + +[№40. Show all All Shrine And Roots] +040A0000 020F6FF0 D503201F + +[№41. Show all All Skyview Towers] +040A0000 00736614 D503201F + +[№42. Show all Tears of the Dragon] +040A0000 020FD158 D503201F + +[№43. Show all Devil Statue] +040A0000 020FEDD4 D503201F + +[№44. Show all village and Stable] +040A0000 00736CE0 52800028 + +[№45. Show all venue not visited] +040A0000 020F9F9C D503201F + +[№46. Show all caves, Wells And Chasm] +040A0000 00736488 D503201F +040A0000 007364F8 52800028 + +[№47. Show all Great Fairy] +040A0000 020FE2BC D503201F + +[№48. Show all Miskos treasure] +040A0000 020FE2BC D503201F + +[№49. Show all old map] +040A0000 020FDC68 D503201F + +[№50. Show all Five Great Temples] +040A0000 020F8068 D503201F + +[№51. Show all All Zonai Device Dispenser] +040A0000 020FCCE4 D503201F + +[№52. Show all game field and restaurant] +040A0000 00ECCDBC D503201F + +[Map] +20000001 + +[Misc] +20000000 + +[№53. Remove 21 Zonai Device Spawn Limit] +040A0000 01C0BA70 52800028 + +[№54. Time Stop] +040A0000 0068C15C D503201F + +[№55. Time Resume] +040A0000 0068C15C BD403E69 + +[№56. Time RW (ZL+R3Left)] +80100100 +040A0000 0068C15C 1E37D009 +21000000 +040A0000 0068C15C BD403E69 +20000000 + +[№57. Time FF (ZL+R3Right)] +80400100 +040A0000 0068C15C 1E27D009 +21000000 +040A0000 0068C15C BD403E69 +20000000 + +[№58. 2x Longer Days] +040A0000 0068C15C 1E2E1009 + +[№59. 3x Longer Days] +040A0000 0068C15C 1E2C1009 + +[№60. 4x Longer Days] +040A0000 0068C15C 1E2A1009 + +[№61. Add 60 Seconds To Mission Timer (L3+R3)] +040A0000 02AA1034 BD401D00 +80000030 +080A0000 02BB9FCC 17FB9C1A BD001D00 +080A0000 02BB9FC4 1E2A2800 1E2B094A +080A0000 02BB9FBC 1E20100B 1E2A094A +080A0000 02BB9FB4 1E27D00A 340000F5 +080A0000 02BB9FAC B9401115 54000120 +080A0000 02BB9FA4 1E202008 BD401D00 +040A0000 02AA1034 140463DC +20000000 + +[№62. Handheld 480p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 000001E0 00000356 + +[№63. Handheld 540p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 0000021C 000003C0 + +[№64. Handheld 612p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 00000264 00000440 + +[№65. Handheld 648p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 00000288 00000480 + +[№66. Default Handheld 720p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 000002D0 00000500 + +[№67. Docked 720p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 00000360 00000600 + +[№68. Docked 810p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 000003CC 000006C0 + +[№69. Default Docked 1080p] +580F0000 03ACDF90 +580F1000 000000D8 +580F1000 00000578 +780F0000 00000010 +680F01D0 00000438 00000780 + +[Misc] +20000001 + +[Environment] +20000000 + +[№70. Disable Fog] +040A0000 0067FCC4 1E2703E3 + +[№71. ReEnable Fog] +040A0000 0067FCC4 1E2E1003 + +[№72. Instant Bloodmoon] +040A0000 01FD39CC 1E3E1001 + +[Environment] +20000001 + +[This set of cheats is created by All Credited, enjoy!] diff --git a/tools/data/cheats/9B4E43650501A4D4.txt b/tools/data/cheats/9B4E43650501A4D4.txt new file mode 100644 index 00000000..9fb7f810 --- /dev/null +++ b/tools/data/cheats/9B4E43650501A4D4.txt @@ -0,0 +1,496 @@ +# TotK 1.2.1 cheats from MyNXCheats by Skyla Kikari (Arch9SK7) and the people that repository credits. +# https://github.com/Arch9SK7/MyNXCheats, commit 6066c82322d4668dd71ff94354fe9e0653a6a4f1 +# The Legend Of Zelda Tears Of The Kingdom/0100F2C0115B6000/cheats/9B4E43650501A4D4.txt +# Everything below this comment is that file, unchanged. Readers skip the lines before the first [. + +[The Legend of Zelda Tears of the Kingdom (US) v393216 TID=0100F2C0115B6000 BID=9B4E43650501A4D4] + +[Restore Code (Use after unchecking any cheats below)] +040A0000 0083E86C 6B09011F +040A0000 0064C008 F9400008 +040A0000 009F1DC4 1E212841 +080A0000 00A5DD98 BD401D00 9B292908 +040A0000 00A5DDA0 BD000260 +040A0000 00B96074 BD004668 +040A0000 00B960EC BD004668 +040A0000 01CADA90 71000508 +040A0000 00695E28 4EA81D00 +040A0000 00699360 1E200D00 +040A0000 009E442C 35FFED88 +040A0000 00B7D13C 1A9F57E0 +040A0000 00B7D208 1A9FD7E0 +040A0000 0064C7A8 52800088 +040A0000 0064C92C 1A89C108 +040A0000 009E33BC 3949CA69 +040A0000 009E6874 B9402668 +040A0000 009F5750 3946D289 +040A0000 00BAA738 1E212000 +040A0000 00DAB18C 1E212000 +040A0000 015D79E0 1E201C20 +040A0000 015D7A0C 1E201C20 +040A0000 01D2F89C 4EA81D00 +040A0000 01D2FE5C 2D1F8260 +040A0000 009FA138 1E2E1008 +040A0000 009FA174 BD400000 +040A0000 01E36238 BD400000 +040A0000 01D57248 52800034 +080A0000 01D6EDEC 396C1AA8 37080128 +040A0000 01D6EE0C 1E20CC20 +040A0000 0065B1C8 1E200D28 +040A0000 0065B1E8 1E200908 +040A0000 0171E90C 1E281C08 +040A0000 01D64AA8 940000C0 +040A0000 0107EA8C 1E281C21 +040A0000 01D6AEF0 396B6288 +040A0000 02416324 0B01014A +040A0000 01E8B2A0 5A980716 +040A0000 01B73A14 1B09A148 +040A0000 00836440 B9400901 +040A0000 00835F58 B9400901 +040A0000 015D66C0 12800001 +040A0000 01A6949C 12800001 +040A0000 0118E5CC 1E211C41 +040A0000 01A6D2C0 12800001 +040A0000 01A6D3D0 54FFFCCC +040A0000 009E3B7C BD415E80 +040A0000 00882A54 F9401508 +040A0000 0162A408 52800021 +040A0000 0194C8EC 36000280 +040A0000 01B0433C 2A2003E8 +040A0000 0204BFC8 12000281 +040A0000 02050788 37000339 +040A0000 012E42C8 6B09011F +040A0000 01A5AF78 54FFF26B +040A0000 01FC757C 360000A0 +040A0000 02122D08 360000E0 +080A0000 00EC206C FD0013EA D10183FF +080A0000 00D23F60 FD001BEA D101C3FF +040A0000 00D25670 39407688 +040A0000 00C6A3CC B9401268 +040A0000 00B3920C BD403E68 +040A0000 00D7D69C BD401D00 +040A0000 0280A5D8 1E2E1001 +040A0000 0062E868 1E210800 + +[--SectionStart:Link--] +20000000 + +[♯ 1. Invincible (Ignore Hits)] +080A0000 02B19FF8 D65F03C0 6B09011F +080A0000 02B19FF0 2A0903E8 34000042 +080A0000 02B19FE8 B940EEC2 35000083 +080A0000 02B19FE0 B9406043 F9403842 +080A0000 02B19FD8 F9400442 F94007E2 +080A0000 02B19FD0 37300121 B94032C1 +040A0000 0083E86C 948B6DD9 + +[♯ 2. Inf. Health] +080A0000 02B19FC8 176CC810 F9400008 +080A0000 02B19FC0 B9000808 34000048 +040A0000 02B19FBC B9401808 +040A0000 0064C008 149337ED + +[♯ 3. Inf. Stamina] +040A0000 009F1DC4 1E204041 + +[♯ 4. Inf. Stamina (Use Only For Master Sword Quest)] +080A0000 00A5DD98 F290000F D2A8B76F +040A0000 00A5DDA0 B900026F + +[♯ 5. Inf. Battery] +040A0000 00B96074 BD004669 +040A0000 00B960EC BD004669 + +[♯ 6. Inf. Horse Stamina] +040A0000 01CADA90 D503201F + +[♯ 7. Stealth Mode] +040A0000 00695E28 1E2703E0 +040A0000 00699360 1E2703E0 + +[♯ 8. Ignore Fall Damage & Reaction] +040A0000 009E442C 17FFFF6C + +[♯ 9. Perfect Goldilocks Thermometer (No Hot or Cold)] +040A0000 00B7D13C 2A1F03E0 +040A0000 00B7D208 2A1F03E0 + +[♯10. Ignore Gloom Effects] +040A0000 0064C7A8 2A1F03E8 +040A0000 0064C92C 1A89C128 + +[♯11. Ignore Paralysis & Slow Effects] +080A0000 02B19FB4 D65F03C0 52800169 +080A0000 02B19FAC 54000041 6B02003F +080A0000 02B19FA4 72AF2C22 528D8A02 +080A0000 02B19F9C B845D021 F9400E81 +040A0000 02B19F98 3949CA69 +040A0000 009E33BC 9484DAF7 + +[♯12. Ignore Cold & Freeze Effects] +080A0000 02B19F90 177B3239 177B323A +080A0000 02B19F88 54000041 6B02003F +080A0000 02B19F80 72AF2C22 528D8A02 +080A0000 02B19F78 B845D021 F9400E61 +040A0000 02B19F74 B9402668 +040A0000 009E6874 1484CDC0 + +[♯13. Ignore Fire & Flame Effects] +080A0000 02B19F6C 177B6DF9 177B6DFA +080A0000 02B19F64 54000041 6B02003F +080A0000 02B19F5C 72AF2C22 528D8A02 +080A0000 02B19F54 B845D021 F9400E61 +040A0000 02B19F50 3946D289 +040A0000 009F5750 14849200 + +[--SectionEnd:Link--] +20000001 + +[--SectionStart:Combat--] +20000000 + +[♯14. Instant Companion Skills (No CDs)] +040A0000 00BAA738 1E212020 +040A0000 00DAB18C 1E212020 + +[♯15. No Stamina Cost For Weapon Charge] +080A0000 02B19F48 17AAF6A6 1E2703E0 +080A0000 02B19F40 54000040 7100041F +040A0000 02B19F3C 1E201C20 +040A0000 015D79E0 14550957 + +[♯16. Faster Weapon Charge] +040A0000 015D7A0C 1E211000 + +[♯17. Faster Bow Charge] +040A0000 01D2F89C 1E209000 + +[♯18. Quickfire Bow] +040A0000 01D2FE5C 291FA268 + +[♯19a Damage Multiplier (2x)] +040A0000 009FA138 1E201008 +040A0000 009FA174 1E201000 + +[♯19b Damage Multiplier (4x) ★] +040A0000 009FA138 1E221008 +040A0000 009FA174 1E221000 + +[♯19c Damage Multiplier (10x)] +040A0000 009FA138 1E249008 +040A0000 009FA174 1E249000 + +[♯19d Damage Multiplier (30x)] +040A0000 009FA138 1E27D008 +040A0000 009FA174 1E27D000 + +[♯20. Master Sword Beam Upgrade] +040A0000 01E36238 1E201000 + +[--SectionEnd:Combat--] +20000001 + +[--SectionStart:Movement--] +20000000 + +[♯21. Spider-Man Mode (No Falling While Climbing)] +040A0000 01D57248 2A1F03F4 + +[♯22. Hold (X) Moon Jump] +580F0000 0471DCB0 +580F1000 000000C8 +580F1000 00000178 +580F1000 00000030 +780F0000 000000FC +80000004 +640F01D0 00000000 41200000 +20000000 + +[#8. Character Speed x3 (Hold B)] +040A0000 03877F34 3F800000 +80000002 +040A0000 03877F34 40400000 +20000000 + +[♯23. Glider Speed (3x) (Hold A)] +040A0000 03811EAC 3D088889 +80000001 +040A0000 03811EAC 3E000000 +20000000 + +[♯24a Glider Speed (1.5x)] +080A0000 01D6EDEC 1E2F1002 D503201F +040A0000 01D6EE0C 1E220820 + +[♯25a Glider Speed (2.0x)] +080A0000 01D6EDEC 1E201002 D503201F +040A0000 01D6EE0C 1E220820 + +[♯26a Glider Speed (3.0x)] +080A0000 01D6EDEC 1E211002 D503201F +040A0000 01D6EE0C 1E220820 + +[♯27. Climbing Speed (2x)] +040A0000 0065B1C8 1E209008 + +[♯28. Swimming Speed (3x)] +040A0000 0065B1E8 1E211008 +040A0000 0171E90C 1E221008 + +[♯29a Movement Speed (1x)] +040A0000 03877F34 3F800000 + +[♯29b Movement Speed (1.5x)] +040A0000 03877F34 3FC00000 + +[♯29c Movement Speed (2x) ★] +040A0000 03877F34 40000000 + +[♯29d Movement Speed (3x)] +040A0000 03877F34 40400000 + +[♯30. Dive Boost] +040A0000 01D64AA8 1E211000 + +[♯31. Jump Higher] +040A0000 0107EA8C 1E209001 + +[#12a Attack Speed (1x)] +040A0000 0062E868 1E2E1000 + +[#12b Attack Speed (1.5x) ★] +040A0000 0062E868 1E2F1000 + +[#12c Attack Speed (2x)] +040A0000 0062E868 1E201000 + +[♯32. Default Movement is Running] +040A0000 01D6AEF0 52800028 + +[♯33. Default Movement is Walking] +040A0000 01D6AEF0 396B6288 + +[walk through gate] +040A0000 0020804C FD400678 +040A0000 0020804C 14A447B7 +040A0000 02B19F28 5C000078 +080A0000 02B19F2C 175BB848 FD000678 +040A0000 02B19F34 3F800000 +040A0000 02B19F38 3F800000 +80000101 +040A0000 02B19F38 C2C80000 +040A0000 02B19F34 C2C80000 +20000000 + +[--SectionEnd:Movement--] +20000001 + +[--SectionStart:Inventory--] +20000000 + +[Items x999] +040A0000 02416324 52807CEA + +[♯34. Free Shopping] +040A0000 01E8B2A0 1A9813F6 + +[♯35. Inf. Equipment Durability (Fire will still break it.)] +040A0000 01B73A14 1B09A3E8 +080A0000 02B19E54 D65F03C0 B9000901 +040A0000 02B19E50 B9401901 +040A0000 00836440 948B8E84 +040A0000 00835F58 948B8FBE + +[♯36. Inf. Arrow(s)] +040A0000 015D66C0 2A1F03E1 + +[♯37. Inf. Zonai Devices] +040A0000 01A6949C 2A1F03E1 + +[♯38. Inf. Zonai Device Duration (No Blink + Despawn)] +040A0000 0118E5CC 1E2703E1 + +[♯39. Inf. Food Items] +040A0000 01A6D2C0 2A1F03E1 +040A0000 01A6D3D0 17FFFFE6 + +[♯40. Inf. Food Buff Timer] +080A0000 02B19F20 D65F03C0 BD015E80 +040A0000 02B19F1C BD416280 +040A0000 009E3B7C 9484D8E8 + +[♯41. Inf. Materials & Zonai Devices (Set To Minimum Qty.500)] +080A0000 02B19F14 1775A2D0 F9401508 +080A0000 02B19F0C 1775A2D5 B8695908 +080A0000 02B19F04 B8295904 5400004C +080A0000 02B19EFC 6B0400BF 52803E84 +080A0000 02B19EF4 B8695905 F9401508 +080A0000 02B19EEC 1A9F82E9 6B17013F +080A0000 02B19EE4 54000161 7100F09F +080A0000 02B19EDC 54000060 7107F89F +040A0000 02B19ED8 B9403104 +040A0000 00882A54 148A5D21 + +[♯42a Item Pickup Multiplier (2x)] +040A0000 0162A408 52800041 + +[♯42b Item Pickup Multiplier (4x)] +040A0000 0162A408 52800081 + +[♯42c Item Pickup Multiplier (8x)] +040A0000 0162A408 52800101 + +[♯43. Inf. Amiibo Usage] +040A0000 0194C8EC 14000014 + +[♯44. Ignore Material Requirements for Upgrades (Horse and Armor)] +040A0000 01B0433C 2A1F03E8 +040A0000 0204BFC8 32000281 +040A0000 02050788 14000019 +040A0000 012E42C8 6B09013F +040A0000 01A5AF78 D503201F +040A0000 01FC757C D503201F +040A0000 02122D08 D503201F + +[--SectionEnd:Inventory--] +20000001 + +[--SectionStart:Map--] +20000000 + +[♯45. Show All Shrine and Cave Locations] +080A0000 00EC206C D65F03C0 52800020 +080A0000 00D23F60 D65F03C0 52800020 + +[♯46. Show All Korok Seed Locations (Must Zoom In)] +040A0000 00D25670 14000019 + +[--SectionEnd:Map--] +20000001 + +[--SectionStart:Misc--] +20000000 + +[♯47. Remove 21 Zonai Device Spawn Limit] +040A0000 00C6A3CC 52800028 + +[♯48. Time Stop (ZL+R3Down)] +80800100 +040A0000 00B3920C D503201F +20000000 + +[♯49. Time Resume (ZL+R3Up)] +80200100 +040A0000 00B3920C 1E212901 +20000000 + +[♯50. Time RW (ZL+R3Left)] +040A0000 00B3920C BD403E68 +80100100 +040A0000 00B3920C 1E37D008 +20000000 + +[♯51. Time FF (ZL+R3Left)] +040A0000 00B3920C BD403E68 +80400100 +040A0000 00B3920C 1E27D008 +20000000 + +[♯52. 2x Longer Days] +040A0000 00B3920C 1E2E1008 + +[♯53. 3x Longer Days] +040A0000 00B3920C 1E2C1008 + +[♯54. 4x Longer Days] +040A0000 00B3920C 1E2A1008 + +[#55. Add 60 Seconds To Mission Timer (L3+R3)] +080A0000 02B19E28 17898E1D BD001D00 +080A0000 02B19E20 1E2A2800 1E2B094A +080A0000 02B19E18 1E20100B 1E2A094A +080A0000 02B19E10 1E27D00A 340000F5 +080A0000 02B19E08 B9401115 54000120 +080A0000 02B19E00 1E202008 BD401D00 +040A0000 00D7D69C BD401D00 +80000030 +040A0000 00D7D69C 147671D9 +20000000 + +[♯56a Handheld 480p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 000001E0 00000356 + +[♯56b Handheld 540p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 0000021C 000003C0 + +[♯56c Handheld 612p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 00000264 00000440 + +[♯56d Handheld 648p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 00000288 00000480 + +[♯56e Default Handheld 720p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 000002D0 00000500 + +[♯56f Docked 720p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 00000360 00000600 + +[♯56g Docked 810p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 000003CC 000006C0 + +[♯56h Default Docked 900p] +580F0000 04716F50 +580F1000 00000090 +780F0000 000000F0 +680F01D0 00000438 00000780 + +[--SectionEnd:Misc--] +20000001 + +[--SectionStart:Environment--] +20000000 + +[Brighten World (ON)] +040A0000 0126C374 1E251001 + +[Brighten World (OFF)] +040A0000 0126C374 1E2E1001 + +[Disable Particles] +040A0000 0080B074 1E2703E0 + +[ReEnable Particles] +040A0000 0080B074 1E2E1000 + +[Disable Fog] +040A0000 009ADB48 1E2703E4 + +[ReEnable Fog] +040A0000 009ADB48 1E2E1004 + +[Instant Bloodmoon] +040A0000 0280A5D8 1E3E1001 + +[--SectionEnd:Environment--] +20000001 \ No newline at end of file