From 8a5c999a9a296344139fcf597759ad00279df489 Mon Sep 17 00:00:00 2001 From: izzy2fancy <121840901+izzy2fancy@users.noreply.github.com> Date: Tue, 6 Feb 2024 08:07:36 -0500 Subject: [PATCH] Added newest scripts --- packages/bash/build-sm64ex-coop-render96.sh | 101 ++++++++++++++++++++ packages/bash/reset.sh | 11 +++ packages/bash/sm64_menu.sh | 67 ++++++++----- 3 files changed, 155 insertions(+), 24 deletions(-) create mode 100644 packages/bash/build-sm64ex-coop-render96.sh create mode 100644 packages/bash/reset.sh 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 <