Skip to content

Commit

Permalink
Amstrad GX4000 running slow on retroarch 1.9.14 so changed this syste…
Browse files Browse the repository at this point in the history
…m to run with retroarch 1.9.6
  • Loading branch information
Wayne Lymbery committed Jan 13, 2022
1 parent 9b55cce commit 5f89a33
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Binary file added 01142022/arkosupdate01142022.zip
Binary file not shown.
26 changes: 25 additions & 1 deletion Update-RG351P.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="10132022-1"
UPDATE_DATE="10142022-1"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -225,6 +225,30 @@ if [ ! -f "/home/ark/.config/.update01132022" ]; then
touch "/home/ark/.config/.update01132022"
fi

if [ ! -f "/home/ark/.config/.update01142022" ]; then

printf "\nGX4000 now using retroarch 1.9.6\n" | tee -a "$LOG_FILE"
sudo wget --no-check-certificate https://github.com/wummle/arkos/raw/main/01142022/arkosupdate01142022.zip -O /home/ark/arkosupdate01142022.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01142022.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate01142022.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate01142022.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate01142022.zip | tee -a "$LOG_FILE"
else
printf "\nThe update couldn't complete because the package did not download correctly.\nPlease retry the update again." | tee -a "$LOG_FILE"
sleep 3
echo $c_brightness > /sys/devices/platform/backlight/backlight/backlight/brightness
exit 1
fi

printf "\nEnsure 64bit and 32bit sdl2 is still properly linked\n" | tee -a "$LOG_FILE"
sudo ln -sfv /usr/lib/aarch64-linux-gnu/libSDL2-2.0.so.0.14.1 /usr/lib/aarch64-linux-gnu/libSDL2-2.0.so.0 | tee -a "$LOG_FILE"
sudo ln -sfv /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.10.0 /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0 | tee -a "$LOG_FILE"

printf "\nUpdate boot text to reflect final current version of ArkOS for the 351 P/M \n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 351P/M wummle fork" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update01142022"
fi


if [ ! -f "$UPDATE_DONE" ]; then

Expand Down

0 comments on commit 5f89a33

Please sign in to comment.