Merge branch 'cooker-0.7.5b'

This commit is contained in:
XargonWan 2023-12-13 15:26:07 +01:00
commit f169e4294b
24 changed files with 1913 additions and 1615 deletions

9
.gitmodules vendored
View file

@ -1,6 +1,9 @@
[submodule "rd-submodules/retroarch"]
path = rd-submodules/retroarch
url = https://github.com/flathub/org.libretro.RetroArch
[submodule "rd-submodules/shared-modules"] [submodule "rd-submodules/shared-modules"]
path = rd-submodules/shared-modules path = rd-submodules/shared-modules
url = https://github.com/flathub/shared-modules.git url = https://github.com/flathub/shared-modules.git
[submodule "rd-submodules/retroarch"]
path = rd-submodules/retroarch
url = https://github.com/flathub/org.libretro.RetroArch.git
[submodule "rd-submodules/ryujinx"]
path = rd-submodules/ryujinx
url = https://github.com/flathub/org.ryujinx.Ryujinx

View file

@ -7,6 +7,7 @@ hash^SAMEDUCKSHAPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/l
hash^PPSSPPBIOSHASHPLACEHOLDER^https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip hash^PPSSPPBIOSHASHPLACEHOLDER^https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip
hash^MSXBIOSHASHPLACEHOLDER^http://bluemsx.msxblue.com/rel_download/blueMSXv282full.zip hash^MSXBIOSHASHPLACEHOLDER^http://bluemsx.msxblue.com/rel_download/blueMSXv282full.zip
hash^XEMUHDDHASHPLACEHOLDER^https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip hash^XEMUHDDHASHPLACEHOLDER^https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip
hash^RANIGHTLYCORESPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch_cores.7z
latestcommit^UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER^https://github.com/Venomalia/UniversalDynamicInput^main latestcommit^UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER^https://github.com/Venomalia/UniversalDynamicInput^main
outside_info^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid outside_info^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid
branch^THISBRANCH branch^THISBRANCH

View file

@ -2,16 +2,27 @@
# WARNING: DANGEROUS! Don't use this script lightly # WARNING: DANGEROUS! Don't use this script lightly
git submodule deinit --all git submodule deinit -f --all
rm rd-submodules/retroarch
rm -rf rd-submodules/retroarch
git rm -rf --cached rd-submodules/retroarch git rm -rf --cached rd-submodules/retroarch
rm -rf .git/modules/rd-submodules/retroarch rm -rf .git/modules/rd-submodules/retroarch
rm -rf shared-modules
git rm -rf --cached shared-modules rm -rf rd-submodules/ryujinx
rm -rf .git/modules/shared-modules git rm -rf --cached rd-submodules/ryujinx
rm -rf .git/modules/rd-submodules/ryujinx
rm -rf rd-submodules/shared-modules
git rm -rf --cached rd-submodules/shared-modules
rm -rf .git/modules/rd-submodules/shared-modules
rm .gitmodules
# Do a commit here before giving the next commands
git submodule add https://github.com/flathub/shared-modules.git rd-submodules/shared-modules
git submodule add https://github.com/flathub/org.libretro.RetroArch.git rd-submodules/retroarch
git submodule add https://github.com/flathub/org.ryujinx.Ryujinx rd-submodules/ryujinx
git submodule init git submodule init
git submodule add https://github.com/flathub/shared-modules.git
git submodule add https://github.com/flathub/org.libretro.RetroArch rd-submodules/retroarch
git submodule update --remote --merge --recursive git submodule update --remote --merge --recursive

View file

@ -7,6 +7,7 @@
<language>0</language> <language>0</language>
<use_discord_presence>true</use_discord_presence> <use_discord_presence>true</use_discord_presence>
<fullscreen_menubar>false</fullscreen_menubar> <fullscreen_menubar>false</fullscreen_menubar>
<feral_gamemode>false</feral_gamemode>
<check_update>false</check_update> <check_update>false</check_update>
<save_screenshot>true</save_screenshot> <save_screenshot>true</save_screenshot>
<vk_warning>false</vk_warning> <vk_warning>false</vk_warning>
@ -90,11 +91,11 @@
<TVChannels>1</TVChannels> <TVChannels>1</TVChannels>
<PadChannels>1</PadChannels> <PadChannels>1</PadChannels>
<InputChannels>0</InputChannels> <InputChannels>0</InputChannels>
<TVVolume>50</TVVolume> <TVVolume>100</TVVolume>
<PadVolume>0</PadVolume> <PadVolume>100</PadVolume>
<InputVolume>50</InputVolume> <InputVolume>100</InputVolume>
<TVDevice>alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.HiFi__hw_acp5x_1__sink</TVDevice> <TVDevice>alsa_output.pci-0000_04_00.1.hdmi-stereo-extra2</TVDevice>
<PadDevice>alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.HiFi__hw_acp5x_1__sink</PadDevice> <PadDevice>alsa_output.pci-0000_04_00.1.hdmi-stereo-extra2</PadDevice>
<InputDevice>filter-chain-source</InputDevice> <InputDevice>filter-chain-source</InputDevice>
</Audio> </Audio>
<Account> <Account>

View file

@ -0,0 +1 @@
1201^1231^0000^2359^RetroDECK-Xmas-splash.svg

View file

@ -39,14 +39,14 @@ pcsx2=false
retroarch=false retroarch=false
[borders] [borders]
gb=true gb=false
gba=true gba=false
gbc=true gbc=false
genesis=true genesis=false
gg=true gg=false
n64=true n64=false
psx_ra=true psx_ra=false
snes=true snes=false
[widescreen] [widescreen]
genesis=false genesis=false

View file

@ -4,7 +4,7 @@ Buttons/A = SOUTH
Buttons/B = EAST Buttons/B = EAST
Buttons/X = NORTH Buttons/X = NORTH
Buttons/Y = WEST Buttons/Y = WEST
Buttons/Z = `Full Axis 5+` Buttons/Z = TR
Buttons/Start = START Buttons/Start = START
Main Stick/Up = `Axis 1-` Main Stick/Up = `Axis 1-`
Main Stick/Down = `Axis 1+` Main Stick/Down = `Axis 1+`
@ -20,8 +20,8 @@ C-Stick/Right = `Axis 3+`
C-Stick/Modifier = `Ctrl` C-Stick/Modifier = `Ctrl`
C-Stick/Modifier/Range = 50.0 C-Stick/Modifier/Range = 50.0
C-Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42 C-Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42
Triggers/L = TL Triggers/L = `Full Axis 2+`
Triggers/R = TR Triggers/R = `Full Axis 5+`
D-Pad/Up = `Axis 7-` D-Pad/Up = `Axis 7-`
D-Pad/Down = `Axis 7+` D-Pad/Down = `Axis 7+`
D-Pad/Left = `Axis 6-` D-Pad/Left = `Axis 6-`

View file

@ -7,7 +7,7 @@ Core:
Use LLVM CPU: "" Use LLVM CPU: ""
Max LLVM Compile Threads: 0 Max LLVM Compile Threads: 0
PPU LLVM Greedy Mode: false PPU LLVM Greedy Mode: false
PPU LLVM Precompilation: true LLVM Precompilation: true
Thread Scheduler Mode: Operating System Thread Scheduler Mode: Operating System
Set DAZ and FTZ: false Set DAZ and FTZ: false
SPU Decoder: Recompiler (LLVM) SPU Decoder: Recompiler (LLVM)
@ -33,9 +33,7 @@ Core:
MFC Commands Timeout: 0 MFC Commands Timeout: 0
MFC Commands Shuffling In Steps: false MFC Commands Shuffling In Steps: false
Enable TSX: Disabled Enable TSX: Disabled
Accurate xfloat: false XFloat Accuracy: Approximate
Approximate xfloat: true
Relaxed xfloat: true
Accurate PPU 128-byte Reservation Op Max Length: 0 Accurate PPU 128-byte Reservation Op Max Length: 0
Stub PPU Traps: 0 Stub PPU Traps: 0
Full Width AVX-512: false Full Width AVX-512: false
@ -61,6 +59,7 @@ Core:
Max CPU Preempt Count: 0 Max CPU Preempt Count: 0
Allow RSX CPU Preemptions: true Allow RSX CPU Preemptions: true
Sleep Timers Accuracy: As Host Sleep Timers Accuracy: As Host
Usleep Time Addend: 0
Performance Report Threshold: 500 Performance Report Threshold: 500
Enable Performance Report: false Enable Performance Report: false
Assume External Debugger: false Assume External Debugger: false
@ -74,15 +73,16 @@ Video:
Renderer: Vulkan Renderer: Vulkan
Resolution: 1280x720 Resolution: 1280x720
Aspect ratio: 16:9 Aspect ratio: 16:9
Frame limit: Auto Frame limit: 30
Second Frame Limit: 0 Second Frame Limit: 0
MSAA: Auto MSAA: Auto
Shader Mode: Async Shader Recompiler Shader Mode: Async Shader Recompiler
Shader Precision: High Shader Precision: Auto
Write Color Buffers: false Write Color Buffers: false
Write Depth Buffer: false Write Depth Buffer: false
Read Color Buffers: false Read Color Buffers: false
Read Depth Buffer: false Read Depth Buffer: false
Handle RSX Memory Tiling: false
Log shader programs: false Log shader programs: false
VSync: false VSync: false
Debug output: false Debug output: false
@ -104,7 +104,7 @@ Video:
Strict Texture Flushing: false Strict Texture Flushing: false
Multithreaded RSX: false Multithreaded RSX: false
Relaxed ZCULL Sync: false Relaxed ZCULL Sync: false
Enable 3D: false 3D Display Mode: Disabled
Debug Program Analyser: false Debug Program Analyser: false
Accurate ZCULL stats: true Accurate ZCULL stats: true
Consecutive Frames To Draw: 1 Consecutive Frames To Draw: 1
@ -123,13 +123,14 @@ Video:
Disable MSL Fast Math: false Disable MSL Fast Math: false
Output Scaling Mode: Bilinear Output Scaling Mode: Bilinear
Vulkan: Vulkan:
Adapter: AMD RADV VANGOGH Adapter: AMD Custom GPU 0405 (RADV VANGOGH)
Force FIFO present mode: false Force FIFO present mode: false
Force primitive restart flag: false Force primitive restart flag: false
Exclusive Fullscreen Mode: Automatic Exclusive Fullscreen Mode: Automatic
Asynchronous Texture Streaming 2: false Asynchronous Texture Streaming 2: false
FidelityFX CAS Sharpening Intensity: 50 FidelityFX CAS Sharpening Intensity: 50
Asynchronous Queue Scheduler: Fast Asynchronous Queue Scheduler: Fast
VRAM allocation limit (MB): 65536
Performance Overlay: Performance Overlay:
Enabled: false Enabled: false
Enable Framerate Graph: false Enable Framerate Graph: false
@ -186,9 +187,13 @@ Input/Output:
Turntable emulated controller: "Null" Turntable emulated controller: "Null"
GHLtar emulated controller: "Null" GHLtar emulated controller: "Null"
Pad handler mode: Single-threaded Pad handler mode: Single-threaded
Keep pads connected: false
Pad handler sleep (microseconds): 1000 Pad handler sleep (microseconds): 1000
Background input enabled: true Background input enabled: true
Show move cursor: false Show move cursor: false
Lock overlay input to player one: false
Emulated Midi devices: Keyboardßßß@@@Keyboardßßß@@@Keyboardßßß@@@
Load SDL GameController Mappings: true
System: System:
License Area: SCEE License Area: SCEE
Language: English (US) Language: English (US)
@ -197,6 +202,8 @@ System:
Console time offset (s): 0 Console time offset (s): 0
PSID high: 0 PSID high: 0
PSID low: 0 PSID low: 0
HDD Model Name: ""
HDD Serial Number: ""
Net: Net:
Internet enabled: Disconnected Internet enabled: Disconnected
IP address: 0.0.0.0 IP address: 0.0.0.0
@ -208,15 +215,18 @@ Net:
Savestate: Savestate:
Start Paused: false Start Paused: false
Suspend Emulation Savestate Mode: true Suspend Emulation Savestate Mode: true
Compatible Savestate Mode: false
Inspection Mode Savestates: false Inspection Mode Savestates: false
Save Disc Game Data: false Save Disc Game Data: false
Miscellaneous: Miscellaneous:
Automatically start games after boot: true Automatically start games after boot: true
Exit RPCS3 when process finishes: true Exit RPCS3 when process finishes: true
Pause emulation on RPCS3 focus loss: false
Start games in fullscreen mode: true Start games in fullscreen mode: true
Prevent display sleep while running games: true Prevent display sleep while running games: true
Show trophy popups: true Show trophy popups: true
Show shader compilation hint: true Show shader compilation hint: true
Show PPU compilation hint: true
Use native user interface: true Use native user interface: true
GDB Server: 127.0.0.1:2345 GDB Server: 127.0.0.1:2345
Silence All Logs: false Silence All Logs: false

View file

@ -1469,8 +1469,8 @@
<fullname>Sony PlayStation 3</fullname> <fullname>Sony PlayStation 3</fullname>
<path>%ROMPATH%/ps3</path> <path>%ROMPATH%/ps3</path>
<extension>.desktop .ps3 .PS3 .ps3dir .PS3DIR</extension> <extension>.desktop .ps3 .PS3 .ps3dir .PS3DIR</extension>
<command label="RPCS3 Directory (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command>
<command label="RPCS3 Shortcut (Standalone)">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command> <command label="RPCS3 Shortcut (Standalone)">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<command label="RPCS3 Directory (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command>
<platform>ps3</platform> <platform>ps3</platform>
<theme>ps3</theme> <theme>ps3</theme>
</system> </system>

View file

@ -113,7 +113,7 @@ configurator_move_folder_dialog() {
unlink "$dest_root/$rd_dir_path" # In case there is already a symlink at the picked destination unlink "$dest_root/$rd_dir_path" # In case there is already a symlink at the picked destination
move "$dir_to_move" "$dest_root/$rd_dir_path" move "$dir_to_move" "$dest_root/$rd_dir_path"
if [[ -d "$dest_root/$rd_dir_path" ]]; then # If the move succeeded if [[ -d "$dest_root/$rd_dir_path" ]]; then # If the move succeeded
eval "$rd_dir_name"="$dest_root/$rd_dir_path" # Set the new path for that folder variable in retrodeck.cfg declare -g "$rd_dir_name=$dest_root/$rd_dir_path" # Set the new path for that folder variable in retrodeck.cfg
if [[ "$rd_dir_name" == "rdhome" ]]; then # If the whole retrodeck folder was moved... if [[ "$rd_dir_name" == "rdhome" ]]; then # If the whole retrodeck folder was moved...
prepare_emulator "postmove" "retrodeck" prepare_emulator "postmove" "retrodeck"
fi fi
@ -146,7 +146,7 @@ configurator_move_folder_dialog() {
else # The folder to move was not found at the path pulled from retrodeck.cfg and it needs to be reconfigured manually. else # The folder to move was not found at the path pulled from retrodeck.cfg and it needs to be reconfigured manually.
configurator_generic_dialog "RetroDECK Configurator - Move Folder" "The $(basename $dir_to_move) folder was not found at the expected location.\n\nThis may have happened if the folder was moved manually.\n\nPlease select the current location of the folder." configurator_generic_dialog "RetroDECK Configurator - Move Folder" "The $(basename $dir_to_move) folder was not found at the expected location.\n\nThis may have happened if the folder was moved manually.\n\nPlease select the current location of the folder."
dir_to_move=$(directory_browse "RetroDECK $(basename $dir_to_move) directory location") dir_to_move=$(directory_browse "RetroDECK $(basename $dir_to_move) directory location")
eval "$rd_dir_name"="$dir_to_move" declare -g "$rd_dir_name=$dir_to_move"
prepare_emulator "postmove" "all" prepare_emulator "postmove" "all"
conf_write conf_write
configurator_generic_dialog "RetroDECK Configurator - Move Folder" "RetroDECK $(basename $dir_to_move) folder now configured at\n$dir_to_move." configurator_generic_dialog "RetroDECK Configurator - Move Folder" "RetroDECK $(basename $dir_to_move) folder now configured at\n$dir_to_move."

View file

@ -9,14 +9,14 @@ directory_browse() {
while [ $path_selected == false ] while [ $path_selected == false ]
do do
local target="$(zenity --file-selection --title="Choose $1" --directory)" local target="$(zenity --file-selection --title="Choose $1" --directory)"
if [ ! -z $target ] #yes if [ ! -z "$target" ] #yes
then 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" \ 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="Directory $target chosen, is this correct?" --text="Directory $target chosen, is this correct?"
if [ $? == 0 ] if [ $? == 0 ]
then then
path_selected=true path_selected=true
echo $target echo "$target"
break break
fi fi
else else
@ -161,7 +161,7 @@ conf_read() {
if [[ "$current_section" == "" || "$current_section" == "paths" || "$current_section" == "options" ]]; then if [[ "$current_section" == "" || "$current_section" == "paths" || "$current_section" == "options" ]]; then
local current_setting_name=$(get_setting_name "$current_setting_line" "retrodeck") # Read the variable name from the current line local current_setting_name=$(get_setting_name "$current_setting_line" "retrodeck") # Read the variable name from the current line
local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "$current_section") # Read the variables value from retrodeck.cfg local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "$current_section") # Read the variables value from retrodeck.cfg
eval "$current_setting_name=$current_setting_value" # Write the current setting name and value to memory declare -g "$current_setting_name=$current_setting_value" # Write the current setting name and value to memory
fi fi
fi fi
fi fi
@ -341,7 +341,7 @@ finit() {
local finit_dest_choice=$(configurator_destination_choice_dialog "RetroDECK data" "Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your RetroDECK data folder to be located?\n\nThis folder will contain all ROMs, BIOSs and scraped data." ) local finit_dest_choice=$(configurator_destination_choice_dialog "RetroDECK data" "Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your RetroDECK data folder to be located?\n\nThis folder will contain all ROMs, BIOSs and scraped data." )
echo "Choice is $finit_dest_choice" echo "Choice is $finit_dest_choice"
case $finit_dest_choice in case "$finit_dest_choice" in
"Back" | "" ) # Back or X button quits "Back" | "" ) # Back or X button quits
rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted
@ -352,8 +352,8 @@ finit() {
"Internal Storage" ) # Internal "Internal Storage" ) # Internal
echo "Internal selected" echo "Internal selected"
rdhome="$HOME/retrodeck" rdhome="$HOME/retrodeck"
if [[ -L $rdhome ]]; then #Remove old symlink from existing install, if it exists if [[ -L "$rdhome" ]]; then #Remove old symlink from existing install, if it exists
unlink $rdhome unlink "$rdhome"
fi fi
;; ;;
@ -366,9 +366,9 @@ finit() {
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK" \ --title "RetroDECK" \
--ok-label "Browse" \ --ok-label "Browse" \
--text="SD Card was not find in the default location.\nPlease choose the SD Card root.\nA retrodeck folder will be created starting from the directory that you selected." --text="SD Card was not found in the default location.\nPlease choose the SD Card root.\nA retrodeck folder will be created starting from the directory that you selected."
rdhome=$(finit_browse) # Calling the browse function rdhome="$(finit_browse)" # Calling the browse function
if [[ -z $rdhome ]]; then # If user hit the cancel button if [[ -z "$rdhome" ]]; then # If user hit the cancel button
rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted
exit 2 exit 2
fi fi
@ -395,8 +395,8 @@ finit() {
--title "RetroDECK" \ --title "RetroDECK" \
--ok-label "Browse" \ --ok-label "Browse" \
--text="Please choose the root folder for the RetroDECK data.\nA retrodeck folder will be created starting from the directory that you selected." --text="Please choose the root folder for the RetroDECK data.\nA retrodeck folder will be created starting from the directory that you selected."
rdhome=$(finit_browse) # Calling the browse function rdhome="$(finit_browse)" # Calling the browse function
if [[ -z $rdhome ]]; then # If user hit the cancel button if [[ -z "$rdhome" ]]; then # If user hit the cancel button
rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted
exit 2 exit 2
fi fi

View file

@ -126,9 +126,13 @@ if [[ ! -f "$rd_conf" ]]; then
fi fi
# Check if SD card path has changed from SteamOS update # Check if SD card path has changed from SteamOS update
if [[ ! -d $default_sd && "$(ls -A /run/media/deck/)" ]]; then if [[ ! -d "$default_sd" && "$(ls -A /run/media/deck/)" ]]; then
if [[ $(find media/deck/* -maxdepth 0 -type d -print | wc -l) -eq 1 ]]; then # If there is only one SD card found in the new Steam OS 3.5 location, assign it as the default
default_sd="$(find media/deck/* -maxdepth 0 -type d -print)"
else # If the default legacy path cannot be found, and there are multiple entries in the new Steam OS 3.5 SD card path, let the user pick which one to use
configurator_generic_dialog "RetroDECK Setup" "The SD card was not found in the expected location.\nThis may happen when SteamOS is updated.\n\nPlease browse to the current location of the SD card.\n\nIf you are not using an SD card, please click \"Cancel\"." configurator_generic_dialog "RetroDECK Setup" "The SD card was not found in the expected location.\nThis may happen when SteamOS is updated.\n\nPlease browse to the current location of the SD card.\n\nIf you are not using an SD card, please click \"Cancel\"."
default_sd=$(directory_browse "SD Card Location") default_sd="$(directory_browse "SD Card Location")"
fi
fi fi
cp $rd_defaults $rd_conf # Load default settings file cp $rd_defaults $rd_conf # Load default settings file

View file

@ -17,7 +17,7 @@ set_setting_value() {
sed -i '\^\['"$current_section_name"'\]^,\^\^'"$setting_name_to_change"'=^s^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1" sed -i '\^\['"$current_section_name"'\]^,\^\^'"$setting_name_to_change"'=^s^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1"
fi fi
if [[ "$4" == "retrodeck" && ("$current_section_name" == "" || "$current_section_name" == "paths" || "$current_section_name" == "options") ]]; then # If a RetroDECK setting is being changed, also write it to memory for immediate use if [[ "$4" == "retrodeck" && ("$current_section_name" == "" || "$current_section_name" == "paths" || "$current_section_name" == "options") ]]; then # If a RetroDECK setting is being changed, also write it to memory for immediate use
eval "$setting_name_to_change=$setting_value_to_change" declare -g "$setting_name_to_change=$setting_value_to_change"
fi fi
;; ;;

View file

@ -19,7 +19,7 @@ prepare_emulator() {
local current_setting_name=$(get_setting_name "$config_line" "retrodeck") local current_setting_name=$(get_setting_name "$config_line" "retrodeck")
if [[ ! $current_setting_name =~ (rdhome|sdcard) ]]; then # Ignore these locations if [[ ! $current_setting_name =~ (rdhome|sdcard) ]]; then # Ignore these locations
local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "paths") local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "paths")
eval "$current_setting_name=$rdhome/$(basename $current_setting_value)" declare -g "$current_setting_name=$rdhome/$(basename $current_setting_value)"
mkdir -p "$rdhome/$(basename $current_setting_value)" mkdir -p "$rdhome/$(basename $current_setting_value)"
fi fi
done < <(grep -v '^\s*$' $rd_conf | awk '/^\[paths\]/{f=1;next} /^\[/{f=0} f') done < <(grep -v '^\s*$' $rd_conf | awk '/^\[paths\]/{f=1;next} /^\[/{f=0} f')
@ -30,7 +30,7 @@ prepare_emulator() {
if [[ ! $current_setting_name =~ (rdhome|sdcard) ]]; then # Ignore these locations if [[ ! $current_setting_name =~ (rdhome|sdcard) ]]; then # Ignore these locations
local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "paths") local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "paths")
if [[ -d "$rdhome/$(basename $current_setting_value)" ]]; then # If the folder exists at the new ~/retrodeck location if [[ -d "$rdhome/$(basename $current_setting_value)" ]]; then # If the folder exists at the new ~/retrodeck location
eval "$current_setting_name=$rdhome/$(basename $current_setting_value)" declare -g "$current_setting_name=$rdhome/$(basename $current_setting_value)"
fi fi
fi fi
done < <(grep -v '^\s*$' $rd_conf | awk '/^\[paths\]/{f=1;next} /^\[/{f=0} f') done < <(grep -v '^\s*$' $rd_conf | awk '/^\[paths\]/{f=1;next} /^\[/{f=0} f')
@ -45,9 +45,9 @@ prepare_emulator() {
set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings" set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings"
set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings" set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings"
set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings" set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings"
dir_prep "$rdhome/gamelists" "/var/config/emulationstation/.emulationstation/gamelists"
emulationstation --home /var/config/emulationstation --create-system-dirs emulationstation --home /var/config/emulationstation --create-system-dirs
update_splashscreens update_splashscreens
dir_prep "$rdhome/gamelists" "/var/config/emulationstation/.emulationstation/gamelists"
fi fi
if [[ "$action" == "postmove" ]]; then if [[ "$action" == "postmove" ]]; then
set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings" set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings"

View file

@ -65,6 +65,27 @@
<project_license>GPL-3.0</project_license> <project_license>GPL-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<releases> <releases>
<release version="0.7.5b" date="2023-13-12">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.7.5b</url>
<description>
<p>Bug fixes and other changes:</p>
<ul>
<li>RetroDECK Team wishes you happy holidays with a festive loading screen!</li>
<li>Framework: Fixed the SD card path resolution for SteamOS 3.5</li>
<li>Configurator: Added the possibility to reset ES-DE configs via Configurator and CLI</li>
<li>RetroArch: Borders/Overlays are now disabled by default on fresh installs to prevent screen burn-in</li>
<li>RetroArch: added nightly cores, stable cores have priority over them</li>
<li>PS3: RPCS3 Shortcut (Standalone) is now the default emulator</li>
<li>RPCS3: tweaked confing to improve performance</li>
<li>Dolphin (SA): fixed GC buttons layout. Now R1 is Z and L2/R2 are L/R</li>
<li>CEMU: tweaked audio config to choose the correct output device when docked</li>
</ul>
<p>Updates:</p>
<ul>
<li>All standalone emulators to their latest versions (prior to llvm17 and 6.6 framework updates)</li>
</ul>
</description>
</release>
<release version="0.7.4b" date="2023-11-18"> <release version="0.7.4b" date="2023-11-18">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.7.4b</url> <url>https://github.com/XargonWan/RetroDECK/releases/tag/0.7.4b</url>
<description> <description>

View file

@ -78,8 +78,8 @@ modules:
# The version number is hardcoded in /app/retrodeck/version # The version number is hardcoded in /app/retrodeck/version
# #
# UPDATE STEPS FOR MAIN: # UPDATE STEPS FOR MAIN:
# [X] Update the VERSION variable on line containing "VERSION=THISBRANCH" # [ ] Update the VERSION variable on line containing "VERSION=THISBRANCH"
# [X] Update the appdata.xml with the version number and notes # [ ] Update the appdata.xml with the version number and notes
# #
- name: version-initialization - name: version-initialization
buildsystem: simple buildsystem: simple
@ -88,7 +88,7 @@ modules:
# on main please update this with the version variable, eg: VERSION='0.7.4b' # on main please update this with the version variable, eg: VERSION='0.7.4b'
# on cooker will be THISBRANCH # on cooker will be THISBRANCH
VERSION=0.7.4b VERSION=THISBRANCH
git checkout ${GITHUB_REF_NAME} git checkout ${GITHUB_REF_NAME}
@ -385,8 +385,10 @@ modules:
- -DENABLE_BOOST=OFF - -DENABLE_BOOST=OFF
sources: sources:
- type: archive - type: archive
url: https://gitlab.freedesktop.org/poppler/poppler/-/archive/poppler-22.11.0/poppler-poppler-22.11.0.tar.bz2 # original link not working, found a mirror
sha256: b8f618d5c62030034d5c8da4d3f6a740260b7620b9a31021679ce1914d327f81 url: https://poppler.freedesktop.org/poppler-22.11.0.tar.xz
#url: https://gitlab.freedesktop.org/poppler/poppler/-/archive/poppler-22.11.0/poppler-poppler-22.11.0.tar.bz2
sha256: 093ba9844ed774285517361c15e21a31ba4df278a499263d4403cca74f2da828
cleanup: cleanup:
- /lib/pkgconfig - /lib/pkgconfig
- /include - /include
@ -558,11 +560,22 @@ modules:
# RetroArch - END # RetroArch - END
# Not part of the offical RetroArch manifest # Not part of the offical RetroArch manifest
# retroarch-cores-nightly must be earlier than retroarch-cores as it will overwrite this cores with the stable ones
- name: retroarch-cores-nightly
buildsystem: simple
build-commands:
- mkdir -p /app/share/libretro/cores/
- mv -f ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
sources:
- type: archive
url: https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch_cores.7z
sha256: RANIGHTLYCORESPLACEHOLDER
- name: retroarch-cores - name: retroarch-cores
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p /app/share/libretro/cores/ - mkdir -p /app/share/libretro/cores/
- mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/ - mv -f ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
sources: sources:
- type: archive - type: archive
url: https://buildbot.libretro.com/stable/1.16.0/linux/x86_64/RetroArch_cores.7z url: https://buildbot.libretro.com/stable/1.16.0/linux/x86_64/RetroArch_cores.7z
@ -676,8 +689,8 @@ modules:
- ln -s "${FLATPAK_DEST}/yuzu/usr/bin/yuzu" "${FLATPAK_DEST}/bin/yuzu" - ln -s "${FLATPAK_DEST}/yuzu/usr/bin/yuzu" "${FLATPAK_DEST}/bin/yuzu"
sources: sources:
- type: file - type: file
url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1618/yuzu-mainline-20231112-3cff94a38.AppImage url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1648/yuzu-mainline-20231211-14c24e64e.AppImage
sha256: 4e92d6daeb1f288ca18950ed47b068fb971766ee386b012b9400b5caecad4246 sha256: d40f61c2abf8ddd0bb53098e2d9edf0c47e1cfd89e50cf5856b8cc27dbb25bd6
# Yuzu - END # Yuzu - END
@ -763,8 +776,8 @@ modules:
- ln -s "${FLATPAK_DEST}/pcsx2-qt/usr/bin/pcsx2-qt" "${FLATPAK_DEST}/bin/pcsx2-qt" - ln -s "${FLATPAK_DEST}/pcsx2-qt/usr/bin/pcsx2-qt" "${FLATPAK_DEST}/bin/pcsx2-qt"
sources: sources:
- type: file - type: file
url: https://github.com/PCSX2/pcsx2/releases/download/v1.7.5186/pcsx2-v1.7.5186-linux-appimage-x64-Qt.AppImage url: https://github.com/PCSX2/pcsx2/releases/download/v1.7.5284/pcsx2-v1.7.5284-linux-appimage-x64-Qt.AppImage
sha256: 9fd8108c11fd273a4a0c801a6ee2da802643966e61e0a53528f7dd023ece55dd sha256: b3cb23e07435f7efe7145cddd0cf4d473cc65eee8feae436b8a718fc3017721a
# PCSX2 - END # PCSX2 - END
@ -981,7 +994,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/RPCS3/rpcs3.git url: https://github.com/RPCS3/rpcs3.git
commit: 75d239356a773b8211354049477d79006597505e commit: f9d213650cfe4733937c43d93de91a17f8582820
# RPCS3 - END # RPCS3 - END
@ -1132,7 +1145,8 @@ modules:
url-template: https://github.com/fmtlib/fmt/archive/$version.tar.gz url-template: https://github.com/fmtlib/fmt/archive/$version.tar.gz
versions: {<: '10.0'} versions: {<: '10.0'}
- name: wxwidgets - name: wxWidgets
buildsystem: cmake-ninja
cleanup: cleanup:
- /bin - /bin
- /include - /include
@ -1141,13 +1155,14 @@ modules:
- /share - /share
sources: sources:
- type: archive - type: archive
url: https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.2.1/wxWidgets-3.2.2.1.tar.bz2 url: https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.4/wxWidgets-3.2.4.tar.bz2
sha256: dffcb6be71296fff4b7f8840eb1b510178f57aa2eb236b20da41182009242c02 sha256: 0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e
x-checker-data: x-checker-data:
type: anitya type: anitya
project-id: 5150 project-id: 5150
stable-only: true stable-only: true
url-template: https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2 url-template: https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2
versions: {'!=': 3.2.4-with-msvs2012-fix}
- name: Cemu - name: Cemu
buildsystem: cmake-ninja buildsystem: cmake-ninja
@ -1164,8 +1179,8 @@ modules:
x-checker-data: x-checker-data:
type: git type: git
tag-pattern: ^v([\d.]+-\d+)$ tag-pattern: ^v([\d.]+-\d+)$
tag: v2.0-59 tag: v2.0-61
commit: f3c95f72e74d8a5f5873061fbb994643c63ec9c5 commit: b6aaf6633063be47d89a8216e269e32aec5a4b49
- type: shell - type: shell
commands: commands:
- sed "s/set(EXPERIMENTAL_VERSION.*/set(EXPERIMENTAL_VERSION \"$(git describe - sed "s/set(EXPERIMENTAL_VERSION.*/set(EXPERIMENTAL_VERSION \"$(git describe

@ -1 +1 @@
Subproject commit 9dc439300e92338d5b2bc3fc680eedd4fe1d3b0c Subproject commit a96821769848a711db1ed0b71883f91383e2b4ab

1
rd-submodules/ryujinx Submodule

@ -0,0 +1 @@
Subproject commit f9e0cd83f366025c15de7de46621963cab793ea9

File diff suppressed because it is too large Load diff

View file

@ -1,7 +0,0 @@
#!/bin/sh
for i in {0..9}; do
test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
done
env DOTNET_EnableAlternateStackCheck=1 Ryujinx "$@"

@ -1 +1 @@
Subproject commit 76809270588f87c6c14df96fef2dde9a7bac84f4 Subproject commit 55a8e460c6343229597a13e973ba4855c27a1c4c

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -20,6 +20,7 @@ Arguments:
--compress-one <file> Compresses target file to a compatible format --compress-one <file> Compresses target file to a compatible format
--compress-all <format> Compresses all supported games into compatible format. Available formats are \"chd\", \"zip\", \"rvz\" and \"all\". --compress-all <format> Compresses all supported games into compatible format. Available formats are \"chd\", \"zip\", \"rvz\" and \"all\".
--reset-emulator <emulator> Reset one or more emulator configs to the default values --reset-emulator <emulator> Reset one or more emulator configs to the default values
--reset-emulationstation Reset EmulationStation DE to default settings
--reset-retrodeck Starts the initial RetroDECK installer (backup your data first!) --reset-retrodeck Starts the initial RetroDECK installer (backup your data first!)
For flatpak run specific options please run: flatpak run -h For flatpak run specific options please run: flatpak run -h
@ -73,6 +74,18 @@ https://retrodeck.net
exit exit
fi fi
;; ;;
--reset-emulationstation*)
echo "You are about to reset EmulationStation DE to default settings. Your scraped media, downloaded themes and gamelists will remain untouched."
read -p "Enter 'y' to continue, 'n' to stop: " response
if [[ $response == [yY] ]]; then
prepare_emulator "reset" "emulationstation" "cli"
read -p "The process has been completed, press Enter key to start RetroDECK."
shift # Continue launch after previous command is finished
else
read -p "The process has been cancelled, press Enter key to exit."
exit
fi
;;
--reset-retrodeck*) --reset-retrodeck*)
echo "You are about to reset RetroDECK completely!" echo "You are about to reset RetroDECK completely!"
read -p "Enter 'y' to continue, 'n' to stop: " response read -p "Enter 'y' to continue, 'n' to stop: " response

View file

@ -77,6 +77,7 @@ source /app/libexec/global.sh
# - Reset XEMU # - Reset XEMU
# - Reset Yuzu # - Reset Yuzu
# - Reset All Emulators # - Reset All Emulators
# - Reset EmulationStation DE
# - Reset RetroDECK # - Reset RetroDECK
# - RetroDECK: About # - RetroDECK: About
# - RetroDECK Version History # - RetroDECK Version History
@ -957,6 +958,7 @@ configurator_reset_dialog() {
--column="Choice" --column="Action" \ --column="Choice" --column="Action" \
"Reset Specific Emulator" "Reset only one specific emulator to default settings" \ "Reset Specific Emulator" "Reset only one specific emulator to default settings" \
"Reset All Emulators" "Reset all emulators to default settings" \ "Reset All Emulators" "Reset all emulators to default settings" \
"Reset EmulationStation DE" "Reset the ES-DE frontend" \
"Reset RetroDECK" "Reset RetroDECK to default settings" ) "Reset RetroDECK" "Reset RetroDECK to default settings" )
case $choice in case $choice in
@ -1025,6 +1027,20 @@ configurator_reset_dialog() {
fi fi
;; ;;
"Reset EmulationStation DE" )
if [[ $(configurator_reset_confirmation_dialog "EmulationStation DE" "Are you sure you want to reset EmulationStation DE to default settings?\n\nYour scraped media, downloaded themes and gamelists will not be touched.\n\nThis process cannot be undone.") == "true" ]]; then
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK Configurator Utility - Reset EmulationStation DE" \
--text="You are resetting EmulationStation DE to its default settings.\n\nAfter the process is complete you will need to exit RetroDECK and run it again."
prepare_emulator "reset" "emulationstation" "configurator"
configurator_process_complete_dialog "resetting EmulationStation DE"
else
configurator_generic_dialog "RetroDeck Configurator - EmulationStation DE: Reset" "Reset process cancelled."
configurator_reset_dialog
fi
;;
"Reset RetroDECK" ) "Reset RetroDECK" )
if [[ $(configurator_reset_confirmation_dialog "RetroDECK" "Are you sure you want to reset RetroDECK entirely?\n\nThis process cannot be undone.") == "true" ]]; then if [[ $(configurator_reset_confirmation_dialog "RetroDECK" "Are you sure you want to reset RetroDECK entirely?\n\nThis process cannot be undone.") == "true" ]]; then
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \ zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \