With your script it gave me the correct IPS @mrdude referred to.Working fine here. This is the script I'm using atm - I slightly simplified it.
Code:#! /bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" mkdir -p dumped dumps files for f in ./firmware/*.nca; do ncasize="$(wc -c < "$f")" ncaname="$(basename "$f")" if [ $ncasize -lt 3145728 ] || [ $ncasize -gt 3450000 ]; then continue fi echo Found "$ncaname" with size "$ncasize" ./hactool -t nca -k ./keys.dat --disablekeywarns --romfsdir=./dumped "$f" &> /dev/null done { ./hactool -t pk21 -k ./keys.dat --disablekeywarns --outdir=./dumps ./dumped/nx/package2 ./hactool -t ini1 -k ./keys.dat --disablekeywarns --outdir=./files ./dumps/INI1.bin ./hactool -t kip1 -k ./keys.dat --disablekeywarns --uncompressed=./files/FS-dec.kip1 ./files/FS.kip1 } &> /dev/null #mv 3meg/* firmware/ #rm -r {3meg,dumps,dumped} python3 MakeIPS.py #rm -r files/ read -p "Press any key to finish ..."
This is the output from the terminal window:
Code:Found 0fd89afc0d0f1ee7021084df503bcc19.nca with size 3327488 Found 295926145fbd59982228a9c90f28c064.nca with size 3420160 Found 2ce2f151943a80fc719bd4179d7f6270.nca with size 3286528 Found 5c24763e70d04b110b25cddb1ad79c4c.nca with size 3430912 Found e399b2e4b955c41a211176371478e728.nca with size 3268608 IPS Offset patch address: 0xE3014 Press any key to finish ...
I think this one's good for release alongside the .bat, all that's needed is the .txt formatting for Hekate inside the MakePatch.py and that should be it.