diff --git a/packages/bash/build-sm64ex-coop-render96.sh b/packages/bash/build-sm64ex-coop-render96.sh new file mode 100644 index 00000000000000..62a0e9a94a2409 --- /dev/null +++ b/packages/bash/build-sm64ex-coop-render96.sh @@ -0,0 +1,101 @@ +#!/data/data/com.termux/files/usr/bin/bash +RESTART_INSTRUCTIONS="Dropping to shell. To rebuild, swipe from the top of your screen, touch the arrow on the right side of your Termux Notificiation, touch "Exit", then relaunch this app." +if ! ls /storage/emulated/0 >/dev/null 2>&1 +then + yes | pkg install termux-am + yes | termux-setup-storage +fi +cat </dev/null | grep '^20b854b239203baf6c961b850a4a51a2' | head -n1 | cut -d'/' -f2- | xargs -I "%" echo /%) +fi +BLOCKS_FREE=$(awk -F ' ' '{print $4}' <(df | grep emulated)) +if (( 7340032 > BLOCKS_FREE )) +then + cat <&1 | tee build.log +if ! [ -f build/us_pc/sm64.us.apk ] +then + cat <