THEME: Updated Art-Book

This commit is contained in:
Steam Deck User 2022-06-22 11:59:17 +02:00
commit 7b7b955847
10 changed files with 86 additions and 10 deletions

View file

@ -227,7 +227,7 @@ input_exit_emulator_btn = "nul"
input_exit_emulator_mbtn = "nul" input_exit_emulator_mbtn = "nul"
input_fps_toggle = "f3" input_fps_toggle = "f3"
input_fps_toggle_axis = "nul" input_fps_toggle_axis = "nul"
input_fps_toggle_btn = "3" input_fps_toggle_btn = "nul"
input_fps_toggle_mbtn = "nul" input_fps_toggle_mbtn = "nul"
input_frame_advance = "k" input_frame_advance = "k"
input_frame_advance_axis = "nul" input_frame_advance_axis = "nul"
@ -2944,7 +2944,7 @@ notification_show_screenshot_duration = "0"
notification_show_screenshot_flash = "0" notification_show_screenshot_flash = "0"
notification_show_set_initial_disk = "true" notification_show_set_initial_disk = "true"
notification_show_when_menu_is_alive = "false" notification_show_when_menu_is_alive = "false"
overlay_directory = "/app/share/libretro/overlays" overlay_directory = "/app/retrodeck/overlays/borders"
ozone_collapse_sidebar = "false" ozone_collapse_sidebar = "false"
ozone_menu_color_theme = "1" ozone_menu_color_theme = "1"
ozone_scroll_content_metadata = "false" ozone_scroll_content_metadata = "false"
@ -3147,7 +3147,7 @@ video_scale = "3.000000"
video_scale_integer = "false" video_scale_integer = "false"
video_scale_integer_overscale = "false" video_scale_integer_overscale = "false"
video_shader_delay = "0" video_shader_delay = "0"
video_shader_dir = "/app/share/libretro/shaders" video_shader_dir = "/app/retrodeck/overlays/shaders"
video_shader_enable = "true" video_shader_enable = "true"
video_shader_preset_save_reference_enable = "true" video_shader_preset_save_reference_enable = "true"
video_shader_remember_last_dir = "false" video_shader_remember_last_dir = "false"

View file

@ -27,7 +27,7 @@
<bool name="MediaViewerVideoScanlines" value="true" /> <bool name="MediaViewerVideoScanlines" value="true" />
<bool name="MenuBlurBackground" value="true" /> <bool name="MenuBlurBackground" value="true" />
<bool name="MiximageCoverFallback" value="true" /> <bool name="MiximageCoverFallback" value="true" />
<bool name="MiximageGenerate" value="true" /> <bool name="MiximageGenerate" value="false" />
<bool name="MiximageIncludeBox" value="true" /> <bool name="MiximageIncludeBox" value="true" />
<bool name="MiximageIncludeMarquee" value="true" /> <bool name="MiximageIncludeMarquee" value="true" />
<bool name="MiximageIncludePhysicalMedia" value="true" /> <bool name="MiximageIncludePhysicalMedia" value="true" />
@ -42,14 +42,14 @@
<bool name="QuickSystemSelect" value="true" /> <bool name="QuickSystemSelect" value="true" />
<bool name="RandomAddButton" value="false" /> <bool name="RandomAddButton" value="false" />
<bool name="RunInBackground" value="false" /> <bool name="RunInBackground" value="false" />
<bool name="Scrape3DBoxes" value="true" /> <bool name="Scrape3DBoxes" value="false" />
<bool name="ScrapeBackCovers" value="true" /> <bool name="ScrapeBackCovers" value="false" />
<bool name="ScrapeControllers" value="true" /> <bool name="ScrapeControllers" value="true" />
<bool name="ScrapeCovers" value="true" /> <bool name="ScrapeCovers" value="true" />
<bool name="ScrapeGameNames" value="true" /> <bool name="ScrapeGameNames" value="true" />
<bool name="ScrapeMarquees" value="true" /> <bool name="ScrapeMarquees" value="true" />
<bool name="ScrapeMetadata" value="true" /> <bool name="ScrapeMetadata" value="true" />
<bool name="ScrapePhysicalMedia" value="true" /> <bool name="ScrapePhysicalMedia" value="off" />
<bool name="ScrapeRatings" value="true" /> <bool name="ScrapeRatings" value="true" />
<bool name="ScrapeScreenshots" value="true" /> <bool name="ScrapeScreenshots" value="true" />
<bool name="ScrapeTitleScreens" value="true" /> <bool name="ScrapeTitleScreens" value="true" />

View file

@ -341,7 +341,7 @@
<name>dos</name> <name>dos</name>
<fullname>DOS (PC)</fullname> <fullname>DOS (PC)</fullname>
<path>%ROMPATH%/dos</path> <path>%ROMPATH%/dos</path>
<extension>.bat .BAT .com .COM .conf .CONF .cue .CUE .dosz .DOSZ .exe .EXE .iso .ISO .7z .7Z .zip .ZIP</extension> <extension>.bat .BAT .com .COM .conf .CONF .cue .CUE .dosz .DOSZ .exe .EXE .iso .ISO .7z .7Z</extension>
<command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_pure_libretro.so %ROM%</command> <command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_pure_libretro.so %ROM%</command>
<command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_core_libretro.so %ROM%</command> <command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_core_libretro.so %ROM%</command>
<command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_svn_libretro.so %ROM%</command> <command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_svn_libretro.so %ROM%</command>

View file

@ -70,4 +70,18 @@
<nogamecount>true</nogamecount> <nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape> <nomultiscrape>true</nomultiscrape>
</game> </game>
<game>
<path>./overlays.sh</path>
<name>Overlays configuration</name>
<desc>Configure or disable borders and shaders.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./clean-miximages.sh</path>
<name>Clean MixImages</name>
<desc>Clean the MixImages in order to beautify the new theme. This is needed if you got scraped data since v0.4.2 or earlier.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
</gameList> </gameList>

View file

@ -12,6 +12,7 @@ git submodule update
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/ #sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
sync -rav --progress { \ sync -rav --progress { \
'overlays', \
'rd-submodules', \ 'rd-submodules', \
'flathub.json', \ 'flathub.json', \
'LICENSE', \ 'LICENSE', \

View file

@ -214,7 +214,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/anthonycaccese/art-book-next-de.git url: https://github.com/anthonycaccese/art-book-next-de.git
commit: 7fb9f567892a357651bbc6a2b6af3d1085a10ffb commit: 10ff82143af870d5a5edcfb0da97c7d54bcbc317
# External manifests start # External manifests start
@ -342,7 +342,9 @@ modules:
url: https://buildbot.libretro.com/stable/1.10.2/linux/x86_64/RetroArch_cores.7z url: https://buildbot.libretro.com/stable/1.10.2/linux/x86_64/RetroArch_cores.7z
sha256: 0c59f99534a1ae3a2d34b1747c40398325e53db69acfab35b99c8fa8d76430e5 sha256: 0c59f99534a1ae3a2d34b1747c40398325e53db69acfab35b99c8fa8d76430e5
# Yuzu - https://github.com/flathub/org.yuzu_emu.yuzu # Yuzu - START
# https://github.com/flathub/org.yuzu_emu.yuzu
# WHEN UPADTING: remember to update rd-submodules/yuzu contents
- name: libzip - name: libzip
buildsystem: cmake-ninja buildsystem: cmake-ninja
@ -634,6 +636,7 @@ modules:
# Dolphin - START # Dolphin - START
# https://github.com/flathub/org.DolphinEmu.dolphin-emu # https://github.com/flathub/org.DolphinEmu.dolphin-emu
# WHEN UPADTING: remember to update rd-submodules/yuzu contents
# needed for the emulate bluetooth adapter feature to work # needed for the emulate bluetooth adapter feature to work
- name: bluez - name: bluez
@ -1077,6 +1080,9 @@ modules:
# RPCS3 # RPCS3
- cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/
# Overlays
- cp -r overlays ${FLATPAK_DEST}/retrodeck/overlays
# Placing appdata # Placing appdata
- mkdir -p ${FLATPAK_DEST}/share/appdata - mkdir -p ${FLATPAK_DEST}/share/appdata
- cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata - cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

16
tools/clean-miximages.sh Normal file
View file

@ -0,0 +1,16 @@
#!/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

39
tools/overlays.sh Normal file
View file

@ -0,0 +1,39 @@
#!/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