This tool is designed for Nintendo Switch homebrew developers. It automates the process of updating the libnx source code within a project to the latest version.
This tool works on source code projects, not compiled .nro or .ovl files. Due to the complexities of compiled binaries, it is not feasible to patch them directly. The only reliable way to update the libnx version of an application is to recompile it from source with the updated library.
Before running the script, install the required dependency:
pip install -r requestsRun the script and provide the path to your homebrew project directory:
python3 main.py /path/to/your/project
The script will:
- Fetch the latest
libnxsource code from the official repository. - Find the
libnx(ornx) directory within your project. - Ask for your confirmation before replacing the old files with the new ones. (You can bypass this with the
-yflag). - Provide instructions for compiling your project.