Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TKVSCNew to Visual Studio Code? Get it now.
TKVSC

TKVSC

Bladesaw Studios

|
1 install
| (0) | Free
Canonically Amazing
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tears of the Kingdom VSCode Extension

Discord   Latest Release   Stars

  Downloads


The Tears of the Kingdom Visual Studio Code Extension or TKVSC is a Visual Studio Code extension for editing and browsing Tears of the Kingdom (TotK) game files.

It also pairs well with TKMM!

TKVSC Website: https://tkvsc.dev/

TKVSC GameBanana page: https://gamebanana.com/tools/22893

Game Dump Guide (required): https://gamebanana.com/tuts/19858

DISCLAIMER

WE ARE NOT RESPONSIBLE IF YOUR MOD BREAKS. THIS TOOL IS IN ACTIVE DEVELOPMENT AND THINGS CAN BREAK. MAKE FREQUENT BACKUPS

Features

Preview and edit subfiles of SARC and BNTX archives

Supported Filetypes

Text Editor

  • BYML
  • BGYML
  • AAMP
  • MSBT
  • XLINK
  • PCHTXT
  • PTCL
  • BFRES texture pattern animations (.anim.bfres)
  • TKMM Config Files

Texture Viewer/Replacer

  • BNTX
  • Tex2Go
  • Unsupported
    • VSP

Model Viewer/Replacer

  • BFRES
  • MeshCodec (.bfres.mc)

Audio Player/Replacer

  • Bars
  • BWAV

Font Viewer/Replacer

  • bfttf
  • bfotf

Activity Bar Tabs

Your Projects

  • Add the current folder open in VS Code to a list of Project Folders

Game Dump

  • Browse your dump of TotK in Read-Only mode. Right click to add a file to the correct romfs path within a Project Folder of your choosing

Additional capabilities:

  • Archives within archives (e.g. a .sarc inside a .pack) can be browsed and edited
  • Search for romfs contents, including filenames inside of SARCs
  • Right-click a file within an archive to export it to a Project Folder.
  • File templates: Rather than the typical method of copying, pasting, and wiping an existing file to make a new file of the same format, TKVSC can create empty files of formats supported by the editor.
  • Preview .bntx subfiles and .txtg files as PNGs
  • Visual editor for TKMM .tkproj files
  • For files TKVSC does not support, such as .bfres, the user can choose external programs to open them in by default (separate from similar features in the OS).

Canonical Path Saving

The canonical path of a file is where the file exists in the game's memory, as opposed to the romfs path which describes its location within a game dump. Using the romfs file located at \Pack\Actor\Armor_001_Head.pack.zs\Component\ArmorParam\Armor_001_Head.game__component__ArmorParam.bgyml as an example, the canonical path would be \Component\ArmorParam\Armor_001_Head.game__component__ArmorParam.bgyml.

Anyone who has made changes to an upgradeable armor set, or to any parameter file that is parented to a file used in another actor pack, is familiar with needing to make the same edits to an identically named file in several different locations in order for everything to work nicely ingame. TKVSC builds a database of all canonical paths in your game dump and in each of your mod projects and automatically saves changes to all instances of a file's canonical path, pulling files in from the game dump as needed when it isn't already present in your mod project.

To demonstrate with a direct comparison, modifying the defense of every level of the Champion's Leathers would take 15 file modifications without TKVSC, and only 5 with TKVSC.

Planned Features

( if there are any features you don't see on here, feel free to make an issue on this GitHub! )

  • BFRES Support (Preview, Editing.)

  • Actor Tooling (Automating the process as much as possible.)

  • Full romfs file content string searching

  • PTCL/Effect support is being researched but not confirmed.

Setup

Requirements

  • Node.js and the .NET 10 SDK (if building extension from source; see host/README.md)
  • Valid TotK dump

Steps

  1. Download the VSIX for your platform from Releases (win32-x64, linux-x64, darwin-x64 or darwin-arm64) and install it.
  2. Follow the prompt to select your romfs dump path.

Other games

Add-ons add support for Splatoon 3 and Ocarina of Time.

Build Instructions

A VSIX file is the installable extension package. It carries the C# host for one platform, so it is built per platform. You need Node.js and the .NET 10 SDK:

git clone --recurse-submodules https://github.com/BladesawStudios/totk-vscode.git
cd totk-vscode
npm install
npm run package:vsix                      # for this machine
node scripts/package-vsix.js linux-x64    # or win32-x64, linux-x64, darwin-x64, darwin-arm64

That produces out/totk-vscode-<target>-<version>.vsix (version comes from package.json).

Contributing:

See: CONTRIBUTING.md

Addon development

Companion VS Code extensions can extend TKVSC via the exported API. See docs/api/addon-development.md (guide) and docs/api/v1.md (full API reference).

Credits

TKVSC Team

Mind - Project Lead, Developer
The5thTear - Developer, Research
Aster - Graphics, Documentation

Contributors

Clonephaze - GitHub Template Refactor
Bryn - ASB Splatoon 3 Formats (since removed)
lucythegoosey07 - RSTB Support (since removed)

Third-Parties

dt13245: References for many formats within the game
AeonSake: MSBT Editor - TotK Config included
LordBubbles: TKMM - Assistance with implementing TKMM compatibility
KillzXGaming: Switch Toolbox - image handling referenced
Arch Leaders: NX Editor - text formatting referenced
MacSpazzy & MrCheeze: TotK save variable hashes - cracked names for the GameDataList hashes, bundled as vendor/zelda-totk.hashes.csv
SolidLink: Totkbits - Tag.Product & text formatting referenced
lostromb: Concentus (BSD-3-Clause) - Opus decoding for BWAV audio

Licences of the libraries bundled with TKVSC are in THIRD_PARTY_NOTICES.md.

Help and Community

  • Discord Server
  • Documentation
  • Patreon
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft