Exlaunch is a framework for injecting C and C++ code into Nintendo Switch games and applications. For our usecase, we can use Exlaunch to hook our own code
into the Breath of the Wild exefs (executable).
The original repository for Exlaunch can be found here. However we will be using a fork I created based off of this version.
Requirements
You will want to begin by installing the necessary requirements to build Exlaunch. I personally work from Windows 11 with the Winch WSL
so the information following will be based off of this.
WSL (Windows Subsystem for Linux)
As previously stated I use Winch. While I would recommend using an Arch Linux based distribution, you can use debian or OSX.
devkitPro
devkitPro is a toolchain to help us target various Nintendo consoles, for this usecase you will only need the Nintendo Switch specific tools.