Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhaitian committed Jan 18, 2021
1 parent 50c4560 commit 8e44d50
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 9 deletions.
29 changes: 27 additions & 2 deletions Update-RG351P.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="01162021"
UPDATE_DATE="01172021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -1272,7 +1272,7 @@ if [ ! -f "/home/ark/.config/.update01152021" ]; then
touch "/home/ark/.config/.update01152021"
fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update01162021" ]; then

printf "\nAdd lr-Uzebox emulator\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01162021/arkosupdate01162021.zip -O /home/ark/arkosupdate01162021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01162021.zip | tee -a "$LOG_FILE"
Expand All @@ -1294,6 +1294,31 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

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

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

printf "\nUpdate 64 bit libSDL2 to updated 64bit libSDL2 2.0.14.1 compiled by kreal\nImprove audio for N64\nImprove audio for PSP\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01172021/arkosupdate01172021.zip -O /home/ark/arkosupdate01172021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01172021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate01172021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate01172021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate01172021.zip | 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"
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 "\nLet's finally ensure that Drastic's performance has not been negatively impacted by these updates and future updates...\n" | 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"
sudo rm -v /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.12.0 | tee -a "$LOG_FILE"

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
29 changes: 27 additions & 2 deletions Update-RGB10.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="01162021"
UPDATE_DATE="01172021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -313,7 +313,7 @@ if [ ! -f "/home/ark/.config/.update01112021" ]; then
touch "/home/ark/.config/.update01112021"
fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update01162021" ]; then

printf "\nAdd lr-Uzebox emulator\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01162021/arkosupdate01162021.zip -O /home/ark/arkosupdate01162021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01162021.zip | tee -a "$LOG_FILE"
Expand All @@ -335,6 +335,31 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

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

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

printf "\nUpdate 64 bit libSDL2 to updated 64bit libSDL2 2.0.14.1 compiled by kreal\nImprove audio for N64\nImprove audio for PSP\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01172021/arkosupdate01172021.zip -O /home/ark/arkosupdate01172021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01172021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate01172021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate01172021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate01172021.zip | 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"
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 "\nLet's finally ensure that Drastic's performance has not been negatively impacted by these updates and future updates...\n" | 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"
sudo rm -v /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.12.0 | tee -a "$LOG_FILE"

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
29 changes: 27 additions & 2 deletions Update-RK2020.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="01162021"
UPDATE_DATE="01172021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -313,7 +313,7 @@ if [ ! -f "/home/ark/.config/.update01112021" ]; then
touch "/home/ark/.config/.update01112021"
fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update01162021" ]; then

printf "\nAdd lr-Uzebox emulator\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01162021/arkosupdate01162021.zip -O /home/ark/arkosupdate01162021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01162021.zip | tee -a "$LOG_FILE"
Expand All @@ -335,6 +335,31 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

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

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

printf "\nUpdate 64 bit libSDL2 to updated 64bit libSDL2 2.0.14.1 compiled by kreal\nImprove audio for N64\nImprove audio for PSP\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01172021/arkosupdate01172021.zip -O /home/ark/arkosupdate01172021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01172021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate01172021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate01172021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate01172021.zip | 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"
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 "\nLet's finally ensure that Drastic's performance has not been negatively impacted by these updates and future updates...\n" | 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"
sudo rm -v /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.12.0 | tee -a "$LOG_FILE"

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
7 changes: 6 additions & 1 deletion changelogs/rg351p-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,9 @@ v1.5 (01/15/2021)
v1.5 (01/16/2021)
- Added Uzebox (lr-uzem) emulator - Performance is slow
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#uzebox)
- Properly update ArkOS version boot text screen
- Properly update ArkOS version boot text screen

v1.5 (01/17/2021)
- Updated 64 bit libSDL2 2.10 to libSDL2 2.0.14.1 to fix some tearing (Thanks to Johnny on Flame for suggestion and kreal for compilation)
- Increase audio period and buffer sizes temporarily when running N64 (may improve performance in some games)
- Increase audio period and buffer sizes temporarily when running PSP (may improve performance in some games)
7 changes: 6 additions & 1 deletion changelogs/rgb10-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,9 @@ v1.5 (01/11/2021)

v1.5 (01/16/2021)
- Added Uzebox (lr-uzem) emulator - Performance is slow
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#uzebox)
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#uzebox)

v1.5 (01/17/2021)
- Updated 64 bit libSDL2 2.10 to libSDL2 2.0.14.1 to fix some tearing (Thanks to Johnny on Flame for suggestion and kreal for compilation)
- Increase audio period and buffer sizes temporarily when running N64 (may improve performance in some games)
- Increase audio period and buffer sizes temporarily when running PSP (may improve performance in some games)
7 changes: 6 additions & 1 deletion changelogs/rk2020-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,9 @@ v1.5 (01/11/2021)

v1.5 (01/16/2021)
- Added Uzebox (lr-uzem) emulator - Performance is slow
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#uzebox)
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#uzebox)

v1.5 (01/17/2021)
- Updated 64 bit libSDL2 2.10 to libSDL2 2.0.14.1 to fix some tearing (Thanks to Johnny on Flame for suggestion and kreal for compilation)
- Increase audio period and buffer sizes temporarily when running N64 (may improve performance in some games)
- Increase audio period and buffer sizes temporarily when running PSP (may improve performance in some games)

0 comments on commit 8e44d50

Please sign in to comment.