From aeb477e1af39489c1f4eb160711596845eadbe44 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 29 Mar 2022 00:00:21 +0900 Subject: [PATCH] - Code cleanup - Added logo - Tweaked RA --- com.xargon.retrodeck.yml | 6 + es_input.xml | 9 +- res/splash.svg | 277 +++++++++++++++++++++++++++++++++++++++ retrodeck-retroarch.cfg | 2 +- retrodeck.sh | 7 +- 5 files changed, 288 insertions(+), 13 deletions(-) create mode 100755 res/splash.svg diff --git a/com.xargon.retrodeck.yml b/com.xargon.retrodeck.yml index 68bca2cc..7b22be00 100644 --- a/com.xargon.retrodeck.yml +++ b/com.xargon.retrodeck.yml @@ -492,6 +492,10 @@ modules: - cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml - cp retrodeck-retroarch.cfg ${FLATPAK_DEST}/retrodeck/retrodeck-retroarch.cfg + # Logo + - rm -f /app/share/emulationstation/resources/graphics/splash.svg + - cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg + #- find / -iname es_settings.xml #debug #- BREAK #debug @@ -514,4 +518,6 @@ modules: path: retrodeck.sh - type: file path: retrodeck-retroarch.cfg + - type: file + path: res/splash.svg # create desktop entry \ No newline at end of file diff --git a/es_input.xml b/es_input.xml index 108f83d3..a374a3a3 100644 --- a/es_input.xml +++ b/es_input.xml @@ -3,15 +3,10 @@ - + - - - - - @@ -21,7 +16,7 @@ - + diff --git a/res/splash.svg b/res/splash.svg new file mode 100755 index 00000000..f08a7ff3 --- /dev/null +++ b/res/splash.svg @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/retrodeck-retroarch.cfg b/retrodeck-retroarch.cfg index 666dfccf..b533d7ec 100644 --- a/retrodeck-retroarch.cfg +++ b/retrodeck-retroarch.cfg @@ -1356,7 +1356,7 @@ input_player1_a = "x" input_player1_a_axis = "nul" input_player1_a_btn = "nul" input_player1_a_mbtn = "nul" -input_player1_analog_dpad_mode = "0" +input_player1_analog_dpad_mode = "1" input_player1_b = "z" input_player1_b_axis = "nul" input_player1_b_btn = "nul" diff --git a/retrodeck.sh b/retrodeck.sh index 980df628..33a6fc4d 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -3,15 +3,12 @@ # if we got the .lock file it means that it's not a first run if [ ! -f ~/retrodeck/.lock ] then - #mkdir -p /tmp/retrodeck_logs/ - #ln -s /tmp/retrodeck_logs/ ~/retrodeck/logs/ - #touch ~/retrodeck/logs/retrodeck.log - #echo "RetroDECK: .lock file not found, initializing." mkdir -p ~/retrodeck/.emulationstation mkdir -p ~/retrodeck/saves mkdir -p ~/retrodeck/states mkdir -p ~/retrodeck/screenshots - mkdir -p /var/config/retroarch/ + mkdir -p /var/config/retroarch/system + ln -s ~/.var/app/com.xargon.retrodeck/config/retroarch/system/ ~/retrodeck/bios rm -rf ~/retrodeck/.emulationstation/es_settings.xml rm -rf ~/retrodeck/.emulationstation/es_input.xml cp /app/retrodeck/es_settings.xml ~/retrodeck/.emulationstation/es_settings.xml