Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhaitian committed Feb 3, 2021
1 parent 20d14db commit 65dba58
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 9 deletions.
34 changes: 32 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="01292021"
UPDATE_DATE="02032021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

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

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

printf "\nAdd platform name for scummvm\nFix scummvm scan games script to allow for spaces in directory name\nAdd workaround for OpenBor sleep issue\nFix loading of scummvm games in retroarch\nUpdate dosbox_pure 0.10 for performance\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01292021/arkosupdate01292021.zip -O /home/ark/arkosupdate01292021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01292021.zip | tee -a "$LOG_FILE"
Expand All @@ -1478,6 +1478,36 @@ 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/.update01292021"
fi

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

printf "\nAdd TI99 emulator\nAdd retroarch core options reset to default\nUpdate ES to support ti99 scraping\nAdd ti99 image to nes-box theme\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/02032021/arkosupdate02032021.zip -O /home/ark/arkosupdate02032021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate02032021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate02032021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
sudo cp -v /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.cfg.update02032021.bak | tee -a "$LOG_FILE"
sudo sed -i -e '/<theme>msdos<\/theme>/{r /home/ark/add_ti99.txt' -e 'd}' /etc/emulationstation/es_systems.cfg
sudo rm -v /home/ark/add_ti99.txt | tee -a "$LOG_FILE"
sudo systemctl daemon-reload
if [ ! -d "/roms/ti99/" ]; then
sudo mkdir -v /roms/ti99 | tee -a "$LOG_FILE"
fi
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 "\nAdd support for .hdf for Amiga\n" | tee -a "$LOG_FILE"
sed -i '/<extension>.lha .LHA .adf .ADF .m3u .M3U/s//<extension>.lha .LHA .hdf .HDF .adf .ADF .m3u .M3U/' /etc/emulationstation/es_systems.cfg

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
34 changes: 32 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="01292021"
UPDATE_DATE="02032021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

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

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

printf "\nAdd platform name for scummvm\nFix scummvm scan games script to allow for spaces in directory name\nFix loading of scummvm games in retroarch\nUpdate dosbox_pure 0.10 for performance\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01292021/rgb10rk2020/arkosupdate01292021.zip -O /home/ark/arkosupdate01292021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01292021.zip | tee -a "$LOG_FILE"
Expand All @@ -513,6 +513,36 @@ 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/.update01292021"
fi

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

printf "\nAdd TI99 emulator\nAdd retroarch core options reset to default\nUpdate ES to support ti99 scraping\nAdd ti99 image to nes-box theme\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/02032021/rgb10/arkosupdate02032021.zip -O /home/ark/arkosupdate02032021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate02032021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate02032021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
sudo cp -v /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.cfg.update02032021.bak | tee -a "$LOG_FILE"
sudo sed -i -e '/<theme>msdos<\/theme>/{r /home/ark/add_ti99.txt' -e 'd}' /etc/emulationstation/es_systems.cfg
sudo rm -v /home/ark/add_ti99.txt | tee -a "$LOG_FILE"
sudo systemctl daemon-reload
if [ ! -d "/roms/ti99/" ]; then
sudo mkdir -v /roms/ti99 | tee -a "$LOG_FILE"
fi
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 "\nAdd support for .hdf for Amiga\n" | tee -a "$LOG_FILE"
sed -i '/<extension>.lha .LHA .adf .ADF .m3u .M3U/s//<extension>.lha .LHA .hdf .HDF .adf .ADF .m3u .M3U/' /etc/emulationstation/es_systems.cfg

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
34 changes: 32 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="01292021"
UPDATE_DATE="02032021"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

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

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

printf "\nAdd platform name for scummvm\nFix scummvm scan games script to allow for spaces in directory name\nFix loading of scummvm games in retroarch\nUpdate dosbox_pure 0.10 for performance\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/01292021/rgb10rk2020/arkosupdate01292021.zip -O /home/ark/arkosupdate01292021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate01292021.zip | tee -a "$LOG_FILE"
Expand All @@ -513,6 +513,36 @@ 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/.update01292021"
fi

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

printf "\nAdd TI99 emulator\nAdd retroarch core options reset to default\nUpdate ES to support ti99 scraping\nAdd ti99 image to nes-box theme\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/02032021/rk2020/arkosupdate02032021.zip -O /home/ark/arkosupdate02032021.zip -a "$LOG_FILE" || rm -f /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
if [ -f "/home/ark/arkosupdate02032021.zip" ]; then
sudo unzip -X -o /home/ark/arkosupdate02032021.zip -d / | tee -a "$LOG_FILE"
sudo rm -v /home/ark/arkosupdate02032021.zip | tee -a "$LOG_FILE"
sudo cp -v /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.cfg.update02032021.bak | tee -a "$LOG_FILE"
sudo sed -i -e '/<theme>msdos<\/theme>/{r /home/ark/add_ti99.txt' -e 'd}' /etc/emulationstation/es_systems.cfg
sudo rm -v /home/ark/add_ti99.txt | tee -a "$LOG_FILE"
sudo systemctl daemon-reload
if [ ! -d "/roms/ti99/" ]; then
sudo mkdir -v /roms/ti99 | tee -a "$LOG_FILE"
fi
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 "\nAdd support for .hdf for Amiga\n" | tee -a "$LOG_FILE"
sed -i '/<extension>.lha .LHA .adf .ADF .m3u .M3U/s//<extension>.lha .LHA .hdf .HDF .adf .ADF .m3u .M3U/' /etc/emulationstation/es_systems.cfg

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
12 changes: 11 additions & 1 deletion changelogs/rg351p-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,14 @@ v1.5 (01/29/2021)
- Fixed scummvm scan games script to allow for spaces in directory name (Thanks to kreal for fix)
- Added workaround for OpenBor sleep issue
- Fixed loading of scummvm games in retroarch (Thanks to southoz for suggested fix)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)

v1.5 (02/03/2021)
- Added TI-99 emulator
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#ti-99)
* for key configuration, see the global events TI99 Standalone emulator section in the FAQ (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RG351P#q-what-are-the-global-event-keys-and-emulator-event-keys-in-arkos)
* To exit the emulator, hit Select+Start
- Added retroarch core options reset to default script in Options/Advanced section
- Updated Emulationstation to support ti99 scraping
- Updated TI99 system and background images for nes-box theme (Thanks to Jetup)
- Added support for .hdf extension for Amiga
12 changes: 11 additions & 1 deletion changelogs/rgb10-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ v1.5 (01/29/2021)
- Added platform name for scummvm
- Fixed scummvm scan games script to allow for spaces in directory name (Thanks to kreal for fix)
- Fixed loading of scummvm games in retroarch (Thanks to southoz for suggested fix)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)

v1.5 (02/03/2021)
- Added TI-99 emulator
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#ti-99)
* for key configuration, see the global events TI99 Standalone emulator section in the FAQ (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RGB10#q-what-are-the-global-event-keys-and-emulator-event-keys-in-arkos)
* To exit the emulator, hit Minus+Start
- Added retroarch core options reset to default script in Options/Advanced section
- Updated Emulationstation to support ti99 scraping
- Updated TI99 system and background images for nes-box theme (Thanks to Jetup)
- Added support for .hdf extension for Amiga
12 changes: 11 additions & 1 deletion changelogs/rk2020-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ v1.5 (01/29/2021)
- Added platform name for scummvm
- Fixed scummvm scan games script to allow for spaces in directory name (Thanks to kreal for fix)
- Fixed loading of scummvm games in retroarch (Thanks to southoz for suggested fix)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)
- Recompiled dosbox_pure 0.10 core to improve performance (Thanks to Stino for updated Makefile)

v1.5 (02/03/2021)
- Added TI-99 emulator
* for rom loading, see emulators and ports section (https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#ti-99)
* for key configuration, see the global events TI99 Standalone emulator section in the FAQ (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RK2020#q-what-are-the-global-event-keys-and-emulator-event-keys-in-ArkOS)
* To exit the emulator, hit Select+Start
- Added retroarch core options reset to default script in Options/Advanced section
- Updated Emulationstation to support ti99 scraping
- Updated TI99 system and background images for nes-box theme (Thanks to Jetup)
- Added support for .hdf extension for Amiga

0 comments on commit 65dba58

Please sign in to comment.