Added scripts

master
Leo Coogan 5 years ago
parent fc3e9b63d2
commit 325c366f8d

@ -29,3 +29,7 @@ matrix-decrypt is licensed under ISC. A license copy is provided in LICENSES/ISC
Copyright (c) 2018 Damir Jelić <poljar@termina.org.uk>
gplopnm - Copyright (c) 2021 Liam Quin (https://www.delightfulcomputing.com/). All Rights Reserved.
unpack is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.
repack is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.

@ -16,3 +16,5 @@ Scripts I and others have made out of necessity.
| ugrade | Upgrade packages for every package manager. |
| yt-dl | youtube-dl "magic" download. |
| yt-mpeg | Turn wav/cover image into a video optimised for yt. |
| unpack | Completely unpack an NDS rom with `ndstool`. |
| repack | Completely repack an NDS rom with `ndstool`. |

@ -0,0 +1,4 @@
#!/bin/dash
echo ROM?
read rom
ndstool -c $rom -9 arm9.bin -9i arm9i.bin -7 arm7.bin -7i arm7i.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin

@ -0,0 +1,4 @@
#1/bin/dash
echo ROM?
read rom
ndstool -x $rom -9 arm9.bin -9i arm9i.bin -7 arm7.bin -7i arm7i.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
Loading…
Cancel
Save