Skip to content

Instantly share code, notes, and snippets.

@Vixeliz
Last active January 3, 2023 14:21
Show Gist options
  • Save Vixeliz/62bdbfa081a7716c3b71b30c101f2912 to your computer and use it in GitHub Desktop.
Save Vixeliz/62bdbfa081a7716c3b71b30c101f2912 to your computer and use it in GitHub Desktop.
#!/bin/sh
pkg update && pkg upgrade
pkg i bash cmake make vim clang git binutils
mkdir SwitchUpdatePatcher
cd SwitchUpdatePatcher
curl -o nsp_update_patcher.sh https://gist.githubusercontent.com/Vixeliz/eb2f038d59beafff14e49b56c14e469c/raw/a88f012227fb703e5b0a009d01a6f7670f5ba3e4/nsp_update_patcher.sh
chmod +x nsp_update_patcher.sh
git clone https://github.com/SciresM/hactool
mv hactool hactoolsrc
cd hactoolsrc
git checkout c2c907430e674614223959f0377f5e71f9e44a4a
mv config.mk.template config.mk
sed -i '372d' main.c
mv main.temp main.c
make
mv hactool ..
cd ..
git clone https://github.com/The-4n/hacPack
cd hacPack
git checkout 7845e7be8d03a263c33430f9e8c2512f7c280c88
mv config.mk.template config.mk
make
mv hacpack ..
cd ..
@washingleavesandthensome23-434
Copy link

washingleavesandthensome23-434 commented Jan 3, 2023

Of course ...from eshop, also I just fully removed termux and reinstalled, do I simply just follow your instructions? How do I use it ...since there are no commands I see for updating nsp, also folks over on sky discord are wondering if dlc support is coming aka not just patch base but patch base with update and dlc, also script no work:
line 32, curling the script does not work.
i think its looking for specific named files?
basensp? updatensp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment