diff --git a/Update-RG351P.sh b/Update-RG351P.sh index ec29805be..6acfba7f7 100644 --- a/Update-RG351P.sh +++ b/Update-RG351P.sh @@ -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" @@ -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" @@ -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 diff --git a/Update-RGB10.sh b/Update-RGB10.sh index 51315a472..5816d8680 100644 --- a/Update-RGB10.sh +++ b/Update-RGB10.sh @@ -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" @@ -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" @@ -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 diff --git a/Update-RK2020.sh b/Update-RK2020.sh index b9231ba90..e8cc0acd2 100644 --- a/Update-RK2020.sh +++ b/Update-RK2020.sh @@ -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" @@ -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" @@ -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 diff --git a/changelogs/rg351p-changelog b/changelogs/rg351p-changelog index 1add4120e..e3bc78a49 100644 --- a/changelogs/rg351p-changelog +++ b/changelogs/rg351p-changelog @@ -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 \ No newline at end of file +- 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) \ No newline at end of file diff --git a/changelogs/rgb10-changelog b/changelogs/rgb10-changelog index 33f29b84a..d563e5fc0 100644 --- a/changelogs/rgb10-changelog +++ b/changelogs/rgb10-changelog @@ -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) \ No newline at end of file + * 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) \ No newline at end of file diff --git a/changelogs/rk2020-changelog b/changelogs/rk2020-changelog index c5535f5b0..087391c82 100644 --- a/changelogs/rk2020-changelog +++ b/changelogs/rk2020-changelog @@ -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) \ No newline at end of file + * 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) \ No newline at end of file