diff --git a/functions.sh b/functions.sh index a6d78140..56e7ecee 100644 --- a/functions.sh +++ b/functions.sh @@ -47,14 +47,14 @@ file_browse() { while [ $file_selected == false ] do local target="$(zenity --file-selection --title="Choose $1")" - if [ ! -z $target ] #yes + if [ ! -z "$target" ] #yes then zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --cancel-label="No" --ok-label "Yes" \ --text="File $target chosen, is this correct?" if [ $? == 0 ] then file_selected=true - echo $target + echo "$target" break fi else @@ -129,15 +129,16 @@ validate_for_chd () { # USAGE: validate_for_chd $input_file local file="$1" + local normalized_filename=$(echo "$file" | tr '[:upper:]' '[:lower:]') local file_validated="false" current_run_log_file="chd_compression_$(basename "$file").log" echo "Validating file:" "$file" > "$logs_folder/$current_run_log_file" - if [[ "$file" == *".cue" ]] || [[ "$file" == *".gdi" ]] || [[ "$file" == *".iso" ]]; then + if [[ "$normalized_filename" == *".cue" ]] || [[ "$normalized_filename" == *".gdi" ]] || [[ "$normalized_filename" == *".iso" ]]; then echo ".cue/.iso/.gdi file detected" >> "$logs_folder/$current_run_log_file" local file_path=$(dirname "$(realpath "$file")") local file_base_name=$(basename "$file") local file_name=${file_base_name%.*} - if [[ "$file" == *".cue" ]]; then # Validate .cue file + if [[ "$normalized_filename" == *".cue" ]]; then # Validate .cue file echo "Validating .cue associated .bin files" >> "$logs_folder/$current_run_log_file" local cue_bin_files=$(grep -o -P "(?<=FILE \").*(?=\".*$)" "$file") echo "Associated bin files read:" >> "$logs_folder/$current_run_log_file" diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml index 67284209..08eea1b1 100644 --- a/net.retrodeck.retrodeck.appdata.xml +++ b/net.retrodeck.retrodeck.appdata.xml @@ -66,17 +66,31 @@ GPL-3.0 CC0-1.0 - + https://github.com/XargonWan/RetroDECK/releases/tag/0.6.3b +

New features - General:

  • Added support support for multiple file compression via CLI.
  • +
+

RetroDECK Configurator:

+
  • Added support support for multiple file compression in the Configurator.
  • +
  • Added safety y/n prompts to the reset functions.
  • Fixed some missing layout changes.
  • -
  • Removed the reset tools command.
  • +
  • Renamed "Reset All" to "Reset RetroDECK".
  • +
  • Moved configurator into the RO partition for futher enhancements.
  • +
+

Bug fixes and other changes:

+
  • Fixed a bug in the compression tool with certain filenames with spaces.
  • +
  • Fixed a bug where some folders were recursively symlinked.
  • +
  • Fixed a bug where some emulator configs were not correctly deployed.
  • +
  • Fixed the Configurator BIOS tool looking in the wrong location (Thanks sofauxboho for the report!).
  • Fixed a manifest bug that caused a conflict between Dolphin and Primehack in certain scenarios.
  • -
  • Shipped a new configuration to account for the config format changes made by Yuzu and Citra in the latest updates.
  • +
  • Implemented new configurations for Yuzu and Citra thanks to the big config file changes in the latest emulator updates in both emulators.
  • +
  • Removed leftover files from Legacy PCSX2.
  • +
  • Removed the legacy "Reset Tools" command from Configurator and CLI.
@@ -488,4 +502,4 @@
- + \ No newline at end of file diff --git a/rd-submodules/retroarch b/rd-submodules/retroarch index 0b1cfb79..717b7809 160000 --- a/rd-submodules/retroarch +++ b/rd-submodules/retroarch @@ -1 +1 @@ -Subproject commit 0b1cfb79e591e10488a3262d6b38db843c39a409 +Subproject commit 717b78093797270877ec416e58082f1c71d435d8 diff --git a/tools/configurator.sh b/tools/configurator.sh index 50f76f67..dee0cb3e 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -530,6 +530,8 @@ configurator_compress_multi_game_dialog() { zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --title "RetroDECK Configurator Utility - Compression in Progress" + configurator_generic_dialog "The compression process is complete!" + configurator_compress_games_dialog else if [[ ! -z $choice ]]; then # User clicked "Compress All" local post_compression_cleanup=$(configurator_compression_cleanup_dialog)