Repository navigation
|
Hi, I just did my first build on my M4 MacBook Air with 16 GB RAM. Great play experience so far, but my question is: how do I update this app? I know "git pull origin main" in terminal updates my local copy of the GitHub repo for nxnative, but after each repo update, do I have to completely rebuild the Mac app for the game from scratch, or is there a way to patch in the updates? Thanks in advance. |
Replies: 1 comment 1 reply
|
Short answer: you rebuild, but it's not "from scratch". There's no patch-in mechanism; you just re-run the same build command, and it reuses most of the earlier work. Update steps: cd nxnative
git pull origin main
# only needed if the Python requirements changed in the update; harmless otherwise
python3 -m pip install lz4 "capstone>=5,<6" fonttools nsz zbic "backports.zstd; python_version < '3.14'"
# same command you used the first time
python3 scripts/build_ipa_from_nsp.py ~/Games/YourGame -k ~/keys/prod.keys --platform mac-appWhy it's faster the second time: the first build extracts the game into a
Two things worth checking after a pull:
If a rebuild after a pull ever behaves oddly, deleting the |
Short answer: you rebuild, but it's not "from scratch". There's no patch-in mechanism; you just re-run the same build command, and it reuses most of the earlier work.
Update steps:
Why it's faster the second time: the first build extracts the game into a
<title ID>_buildfolder (ExeFS + the merged RomFS image), and that folder is kept by d…