Merge remote-tracking branch 'upstream/cooker-0.8.0b' into cooker-0.8.0b-icenine451

This commit is contained in:
icenine451 2024-01-24 09:31:41 -05:00
commit e9f34a81b7
7 changed files with 439 additions and 18 deletions

View file

@ -8,7 +8,8 @@ hash^MSXBIOSHASHPLACEHOLDER^http://bluemsx.msxblue.com/rel_download/blueMSXv282f
hash^XEMUHDDHASHPLACEHOLDER^https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip
hash^VITA3KSHAPLACEHOLDER^https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip
hash^RANIGHTLYCORESPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch_cores.7z
#hash^RETRODECKMAMEPLACEHOLDER^
hash^RETRODECKMAMEPLACEHOLDER^"https://github.com/XargonWan/RetroDECK-MAME/releases/download/$(curl -s https://api.github.com/repos/XargonWan/RetroDECK-MAME/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-MAME-Artifact.tar.gz"
url^RETRODECKMAMEURLPLACEHOLDER^"https://github.com/XargonWan/RetroDECK-MAME/releases/download/$(curl -s https://api.github.com/repos/XargonWan/RetroDECK-MAME/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-MAME-Artifact.tar.gz"
latestcommit^UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER^https://github.com/Venomalia/UniversalDynamicInput^main
outside_info^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid
branch^THISBRANCH

View file

@ -44,9 +44,10 @@ do
elif [[ "$action" == "hash" ]]; then
echo
echo "Placeholder text: $placeholder"
echo "URL to hash: $url"
calculated_url=$(eval echo "$url") # in case the url has to be calculated from an expression
echo "URL to hash: $calculated_url"
echo
hash=$(curl -sL "$url" | sha256sum | cut -d ' ' -f1)
hash=$(curl -sL "$calculated_url" | sha256sum | cut -d ' ' -f1)
echo "Hash found: $hash"
/bin/sed -i 's^'"$placeholder"'^'"$hash"'^' $rd_manifest
elif [[ "$action" == "latestcommit" ]]; then
@ -77,6 +78,14 @@ do
echo "Information being injected: $(cat $url)"
echo
/bin/sed -i 's^'"$placeholder"'^'"$(cat $url)"'^' $rd_manifest
elif [[ "$action" == "url" ]]; then
# this is used to calculate a dynamic url
echo
echo "Placeholder text: $placeholder"
calculated_url=$(eval echo "$url")
echo "Information being injected: $calculated_url"
echo
/bin/sed -i 's^'"$placeholder"'^'"$calculated_url"'^' $rd_manifest
fi
fi
done < "$automation_task_list"

View file

@ -2,17 +2,17 @@
{
"version" "3"
"revision" "81"
"title" "RetroDECK: DualShock 4"
"title" "RetroDECK: DualShock 4 v.1b"
"description" "RetroDECK: PS4 - DualShock 4 - v.1b"
"creator" ""
"progenitor" ""
"url" "workshop://3115335528"
"url" ""
"export_type" ""
"controller_type" "controller_ps4"
"controller_caps" "35085311"
"controller_caps" ""
"major_revision" "0"
"minor_revision" "0"
"Timestamp" "-954028624"
"Timestamp" "1079447734"
"actions"
{
"Default"
@ -1134,6 +1134,414 @@
}
}
"group"
{
"id" "37"
"mode" "radial_menu"
"name" "Global Radial"
"description" ""
"inputs"
{
"touch_menu_button_0"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press FORWARD_SLASH, RetroDECK, RD-icon_circle_2_180x180.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_1"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press ESCAPE, Escape, RD-ESC.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_2"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RETURN, Enter, RD-Enter.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_3"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press TAB, Tab, RD-Tab.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_4"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F1, F1, RD-F1.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_5"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F4, F4, RD-F4.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_6"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F5, F5, RD-F5.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_7"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F8, F8, RD-F8.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_8"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F10, F10, RD-F10.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_9"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ALT, Wii Sync Button, RD-notification-network-wireless.png, "
"binding" "key_press W, Wii Sync Button, RD-notification-network-wireless.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_10"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, Swap Dual - Screens, RD-system-switch-user.png, "
"binding" "key_press TAB, Swap Dual - Screens, RD-system-switch-user.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_11"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, Change Dual Screen - Layout, RD-preferences-system-windows-actions.png, "
"binding" "key_press L, Change Dual Screen - Layout, RD-preferences-system-windows-actions.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_12"
{
"activators"
{
}
"disabled_activators"
{
}
}
"touch_menu_button_13"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, Widescreen / Aspect Ratio, RD-preferences-desktop-display.png, "
"binding" "key_press W, Widescreen / Aspect Ratio, RD-preferences-desktop-display.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_14"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, Swap Disc, RD-application-x-iso.png, "
"binding" "key_press D, Swap Disc, RD-application-x-iso.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"touch_menu_button_15"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press SPACE, Space, RD-space.png, "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"touchmenu_button_fire_type" "0"
}
}
"group"
{
"id" "38"
"mode" "single_button"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, Right Click, , "
}
"settings"
{
"haptic_intensity" "0"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "39"
"mode" "single_button"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button MIDDLE, Middle Click, , "
}
"settings"
{
"haptic_intensity" "0"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "7"
"mode" "switches"
@ -1393,16 +1801,19 @@
{
"18" "switch active"
"19" "button_diamond active"
"20" "left_trackpad active"
"20" "left_trackpad inactive"
"38" "left_trackpad active"
"21" "right_trackpad active"
"22" "joystick inactive"
"30" "joystick active"
"30" "joystick inactive"
"37" "joystick active"
"23" "left_trigger active"
"24" "right_trigger active"
"25" "right_joystick inactive"
"29" "right_joystick active"
"26" "dpad active"
"33" "center_trackpad active"
"33" "center_trackpad inactive"
"39" "center_trackpad active"
}
}
"settings"

View file

@ -1323,14 +1323,14 @@ modules:
# MAME - Start
# - name: retrodeck-mame
# buildsystem: simple
# build-commands:
# - cp -rn files/* /app
# sources:
# - type: archive
# url:
# sha256: RETRODECKMAMEPLACEHOLDER
- name: retrodeck-mame
buildsystem: simple
build-commands:
- cp -rn files/* /app
sources:
- type: archive
url: RETRODECKMAMEURLPLACEHOLDER
sha256: RETRODECKMAMEPLACEHOLDER
# MAME - End

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB