From d0ae973068a4da82dc7eac9065e34ef5cc69a021 Mon Sep 17 00:00:00 2001 From: xargon Date: Sat, 2 Jul 2022 09:20:47 +0200 Subject: [PATCH] RELEASE: removed new tools --- es-configs/tools-gamelist.xml | 28 -------------------- tools/clean-miximages.sh | 24 ------------------ tools/configure-emulators.sh | 48 ----------------------------------- tools/move-roms.sh | 29 --------------------- tools/overlays.sh | 39 ---------------------------- 5 files changed, 168 deletions(-) delete mode 100644 tools/clean-miximages.sh delete mode 100644 tools/configure-emulators.sh delete mode 100644 tools/move-roms.sh delete mode 100644 tools/overlays.sh diff --git a/es-configs/tools-gamelist.xml b/es-configs/tools-gamelist.xml index 9221a5a3..5d0c4b99 100644 --- a/es-configs/tools-gamelist.xml +++ b/es-configs/tools-gamelist.xml @@ -63,32 +63,4 @@ true true - - ./move-roms.sh - Move roms folder - Move roms folder from internal to external and vice versa. - true - true - - - ./overlays.sh - Overlays configuration - Configure or disable borders and shaders. - true - true - - - ./clean-miximages.sh - Clean MixImages - Clean the MixImages in order to beautify the new theme. This is needed if you got scraped data since v0.4.2 or earlier. - true - true - - - ./configure-emulators.sh - Configure Emulators - Choose an emulator to configure. - true - true - \ No newline at end of file diff --git a/tools/clean-miximages.sh b/tools/clean-miximages.sh deleted file mode 100644 index e11b17e6..00000000 --- a/tools/clean-miximages.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -zenity \ ---icon-name=net.retrodeck.retrodeck \ ---question \ ---no-wrap \ ---window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ ---title "RetroDECK" \ ---ok-label "Yes" \ ---cancel-label "No" \ ---text="This tool is will clean the MixImages in order to beautify the theme.\nDo you want to delete them?" - -if [ $? == 0 ] #yes - Internal -then - find ~/retrodeck/.downloaded_media -name miximages -type d -print0|xargs -0 rm -rfv -- -fi - -zenity \ ---icon-name=net.retrodeck.retrodeck \ ---info \ ---no-wrap \ ---window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ ---title "RetroDECK" \ ---text="Miximages successfully cleaned, please restart RetroDECK to reload the games list." \ No newline at end of file diff --git a/tools/configure-emulators.sh b/tools/configure-emulators.sh deleted file mode 100644 index a7a2d8d9..00000000 --- a/tools/configure-emulators.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -zenity --title "RetroDECK" --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="Doing some changes in the emulator's configuration may create serious issues,\nplease continue only if you know what you're doing.\n\nDo you want to continue?" -if [ $? == 1 ] #no -then - exit 0 -fi - -border="$(zenity --list \ ---title "RetroDECK" \ ---window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ ---text="Which emulator do you want to configure?" \ ---hide-header \ ---column=Border \ -"RetroArch" \ -"Citra" \ -"Dolphin" \ -"MelonDS" \ -"PCSX2" \ -"PPSSPP" \ -"RPCS3" \ -"Yuzu")" - -if [ $border == "RetroArch" ] -then - retroarch -elif [ $border == "Citra" ] -then - citra-qt -elif [ $border == "Dolphin" ] -then - dolphin-emu -elif [ $border == "MelonDS" ] -then - melonDS -elif [ $border == "PCSX2" ] -then - pcsx2 -elif [ $border == "PPSSPP" ] -then - PPSSPPSDL -elif [ $border == "RPCS3" ] -then - rpcs3 -elif [ $border == "Yuzu" ] -then - yuzu -fi \ No newline at end of file diff --git a/tools/move-roms.sh b/tools/move-roms.sh deleted file mode 100644 index a6bfafce..00000000 --- a/tools/move-roms.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -if [ -d ~/retrodeck/roms ] && [ -d /run/media/mmcblk0p1/retrodeck/roms ] -then # found both internal and sd folders - zenity --title "RetroDECK" --warning --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="I found a roms folder both in internal and SD Card,\nin order to make this tool useful you should remove one of the two or merge them." - exit 0 -fi - -if [ -d ~/retrodeck/roms ] && [ ! -d /run/media/mmcblk0p1/retrodeck/roms ] -then # found internal folder and not the external - roms_path=~/retrodeck - new_roms_path=/run/media/mmcblk0p1/retrodeck -fi - -if [ ! -d ~/retrodeck/roms ] && [ -d /run/media/mmcblk0p1/retrodeck/roms ] -then # found external folder and not the internal - roms_path=/run/media/mmcblk0p1/retrodeck - new_roms_path=~/retrodeck -fi - -zenity --title "RetroDECK" --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="Should I move the roms from\n\n$roms_path/roms\n\nto\n\n$new_roms_path/roms?" -if [ $? == 0 ] #yes -then - mkdir -p $new_roms_path - mv -f $roms_path/roms $new_roms_path/roms - rm -f /var/config/emulationstation/ROMs - ln -s $new_roms_path/roms /var/config/emulationstation/ROMs - rm -f $roms_path/roms -fi diff --git a/tools/overlays.sh b/tools/overlays.sh deleted file mode 100644 index d483a20e..00000000 --- a/tools/overlays.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -border="$(zenity --list \ ---title "RetroDECK" \ ---window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ ---text="Select the borders type" \ ---hide-header \ ---column=Border \ -"None" \ -"Light" \ -"Dark")" - -if [ $border == "None" ] -then - return -elif [ $border == "Light" ] -then - return -elif [ $border == "Dark" ] -then - return -fi - -shader="$(zenity --list \ ---title "RetroDECK" \ ---window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ ---text="Select the shader type" \ ---hide-header \ ---column=Border \ -"None" \ -"Retro")" - -if [ $shader == "None" ] -then - return -elif [ $shader == "Retro" ] -then - return -fi \ No newline at end of file