mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Merge pull request #389 from icenine451/cooker-0.7.0b-icenine451
Cooker 0.7.0b icenine451
This commit is contained in:
commit
a74247bb9d
|
@ -5,3 +5,8 @@ change^cheevos^cheevos_enable^true
|
||||||
change^cheevos^cheevos_token^$cheevos_token
|
change^cheevos^cheevos_token^$cheevos_token
|
||||||
change^cheevos^cheevos_username^$cheevos_username
|
change^cheevos^cheevos_username^$cheevos_username
|
||||||
change^cheevos_hardcore^cheevos_hardcore_mode_enable^true
|
change^cheevos_hardcore^cheevos_hardcore_mode_enable^true
|
||||||
|
change^borders^input_overlay^/var/config/retroarch/overlays/borders/pegasus/snes87.cfg
|
||||||
|
change^borders^input_overlay_aspect_adjust_landscape^0.305000
|
||||||
|
change^borders^input_overlay_scale_landscape^1.050000
|
||||||
|
change^borders^input_overlay_enable^true
|
||||||
|
change^widescreen^aspect_ratio_index^24
|
||||||
|
|
|
@ -29,12 +29,12 @@ default_user=
|
||||||
developer_options=false
|
developer_options=false
|
||||||
|
|
||||||
[cheevos]
|
[cheevos]
|
||||||
PCSX2=false
|
|
||||||
Duckstation=false
|
Duckstation=false
|
||||||
SNES=false
|
PCSX2=false
|
||||||
|
RetroArch=false
|
||||||
|
|
||||||
[cheevos_hardcore]
|
[cheevos_hardcore]
|
||||||
SNES=false
|
RetroArch=false
|
||||||
|
|
||||||
[borders]
|
[borders]
|
||||||
SNES=false
|
SNES=false
|
||||||
|
|
|
@ -2569,8 +2569,10 @@ get_cheevos_token_dialog() {
|
||||||
--add-password="Password")
|
--add-password="Password")
|
||||||
|
|
||||||
IFS='^' read -r cheevos_username cheevos_password < <(printf '%s\n' "$cheevos_info")
|
IFS='^' read -r cheevos_username cheevos_password < <(printf '%s\n' "$cheevos_info")
|
||||||
cheevos_token=$(curl --silent --data "r=login&u=$cheevos_username&p=$cheevos_password" $RA_API_URL | jq .Token | tr -d '"')
|
local cheevos_response=$(curl --silent --data "r=login&u=$cheevos_username&p=$cheevos_password" $RA_API_URL)
|
||||||
if [[ ! "$cheevos_token" == "null" ]]; then
|
local cheevos_success=$(echo $cheevos_response | jq .Success | tr -d '"')
|
||||||
|
local cheevos_token=$(echo $cheevos_response | jq .Token | tr -d '"')
|
||||||
|
if [[ "$cheevos_success" == "true" ]]; then
|
||||||
echo "$cheevos_username,$cheevos_token"
|
echo "$cheevos_username,$cheevos_token"
|
||||||
else
|
else
|
||||||
echo "failed"
|
echo "failed"
|
||||||
|
|
11
global.sh
11
global.sh
|
@ -67,13 +67,10 @@ dolphinqtconf="/var/config/dolphin-emu/Qt.ini"
|
||||||
|
|
||||||
# PCSX2 config files
|
# PCSX2 config files
|
||||||
|
|
||||||
pcsx2conf="/var/config/PCSX2/inis/GS.ini"
|
pcsx2conf="/var/config/PCSX2/inis/PCSX2.ini"
|
||||||
pcsx2uiconf="/var/config/PCSX2/inis/PCSX2_ui.ini"
|
pcsx2gsconf="/var/config/PCSX2/inis/GS.ini" # This file should be deprecated since moving to PCSX2-QT
|
||||||
pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini"
|
pcsx2uiconf="/var/config/PCSX2/inis/PCSX2_ui.ini" # This file should be deprecated since moving to PCSX2-QT
|
||||||
|
pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini" # This file should be deprecated since moving to PCSX2-QT
|
||||||
# PCSX2-QT config file
|
|
||||||
|
|
||||||
pcsx2qtconf="/var/config/PCSX2/inis/PCSX2.ini"
|
|
||||||
|
|
||||||
# Primehack config files
|
# Primehack config files
|
||||||
|
|
||||||
|
|
|
@ -189,6 +189,7 @@ modules:
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- cp jq-linux64 ${FLATPAK_DEST}/bin/jq
|
- cp jq-linux64 ${FLATPAK_DEST}/bin/jq
|
||||||
|
- chmod +x ${FLATPAK_DEST}/bin/jq
|
||||||
sources:
|
sources:
|
||||||
- type: file
|
- type: file
|
||||||
url: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
|
url: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
|
||||||
|
@ -198,6 +199,7 @@ modules:
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- cp yq_linux_amd64 ${FLATPAK_DEST}/bin/yq
|
- cp yq_linux_amd64 ${FLATPAK_DEST}/bin/yq
|
||||||
|
- chmod +x ${FLATPAK_DEST}/bin/yq
|
||||||
sources:
|
sources:
|
||||||
- type: file
|
- type: file
|
||||||
url: https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_amd64
|
url: https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_amd64
|
||||||
|
|
|
@ -199,5 +199,10 @@ post_update() {
|
||||||
|
|
||||||
version=$hard_version
|
version=$hard_version
|
||||||
conf_write
|
conf_write
|
||||||
changelog_dialog "$version"
|
|
||||||
|
if grep -qF "cooker" <<< $hard_version; then
|
||||||
|
changelog_dialog "$(echo $version | cut -d'-' -f2)"
|
||||||
|
else
|
||||||
|
changelog_dialog "$version"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 78786102fc04cf104ef9bf2f0ebcacbdda357ae0
|
Subproject commit 0b1cfb79e591e10488a3262d6b38db843c39a409
|
|
@ -1 +1 @@
|
||||||
Subproject commit 50314360ded6fa3b9f0b602513b1164b7a6636ed
|
Subproject commit a2441b964afefd8cd1cebcdf562c7878670daf42
|
|
@ -48,6 +48,7 @@ https://retrodeck.net
|
||||||
cli_compress_all_games "$2"
|
cli_compress_all_games "$2"
|
||||||
;;
|
;;
|
||||||
--configurator*)
|
--configurator*)
|
||||||
|
launched_from_cli="true"
|
||||||
sh /app/tools/configurator.sh
|
sh /app/tools/configurator.sh
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -138,7 +138,8 @@ configurator_welcome_dialog() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"" )
|
"" )
|
||||||
if [[ $(check_desktop_mode) == "true" ]]; then
|
if [[ $(check_desktop_mode) == "true" && "$launched_from_cli" == "true" ]]; then
|
||||||
|
launched_from_cli="false"
|
||||||
launch_rd_after_exit=$(configurator_generic_question_dialog "RetroDECK Configurator" "Would you like to launch RetroDECK after closing the Configurator?")
|
launch_rd_after_exit=$(configurator_generic_question_dialog "RetroDECK Configurator" "Would you like to launch RetroDECK after closing the Configurator?")
|
||||||
fi
|
fi
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -198,9 +199,10 @@ configurator_global_presets_and_settings_dialog() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"RetroAchievements Login" )
|
"RetroAchievements Login" )
|
||||||
cheevos_response=$(get_cheevos_token_dialog)
|
local cheevos_creds=$(get_cheevos_token_dialog)
|
||||||
if [[ ! "$cheevos_response" == "failed" ]]; then
|
if [[ ! "$cheevos_creds" == "failed" ]]; then
|
||||||
IFS=',' read -r cheevos_username cheevos_token < <(printf '%s\n' "$cheevos_response")
|
configurator_generic_dialog "RetroDECK Configurator Utility - RetroAchievements" "RetroAchievements login successful, please select systems you would like to enable achievements for in the next dialog."
|
||||||
|
IFS=',' read -r cheevos_username cheevos_token < <(printf '%s\n' "$cheevos_creds")
|
||||||
change_preset_dialog "cheevos"
|
change_preset_dialog "cheevos"
|
||||||
else
|
else
|
||||||
configurator_generic_dialog "RetroDECK Configurator Utility - RetroAchievements" "RetroAchievements login failed, please verify your username and password and try the process again."
|
configurator_generic_dialog "RetroDECK Configurator Utility - RetroAchievements" "RetroAchievements login failed, please verify your username and password and try the process again."
|
||||||
|
|
Loading…
Reference in a new issue