mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 00:55:42 +00:00
387bb221b5
* ATL: fixing ES-DE entry
* ATL: fixing ES-DE entry - fix2
* PPSSPP: fixed hash
* SOLARUS: fixing debug libs copy command
* APDATA: updated
* SOLARUS: that's not the library you're looking for
* GZDOOM: removing debug even here
* Revamped codename wordlist
* On branch feat/godot-configurator
Changes to be committed:
new file: configurator/scripts/class_functions.gd
modified: retrodeck_function_wrapper.sh
* MANIFEST: following symlinks during library copy
* WORKFLOW: moving down the artifact preparation for fltahub as we don't even need it in cooker
* Manually adding missing libraries
* More codenames
* CEMU: added wrapper + RPCS3 fixes
* THE GREAT FOLDER MOVE (aka let's see how much things I can break in a single commit)
* emu: fixed dest filename for the wrapper
* Cemu: fixing wrapper installation
* CEMU: fixed wrapper again [skip ci]
* MANIFEST: cleanup [skip ci]
* MANIFEST: cleanup [skip ci]
* MANIFEST: trying to add LLVM to solve PCSX2, Duckstation issues
* MANIFEST: adding llvm doesn't change the situation, removed
* MANIFEST: trying to add vulkan
* MANIFEST: trying to add vulkan - removed as it should be already in (and that's broken)
* VULKAN: testing some libraries
* Create Godot.yml
* Rename main.yml to godot.yml
* Update godot.yml
* Update godot.yml
* Update godot.yml
* Update godot.yml
* VULKAN: trying to add shaderc
* VULKAN: trying to add shaderc - nope [skip ci]
* Added logging as a function.
Added github workflow to build configurator
On branch feat/godot-configurator
Changes to be committed:
new file: .github/workflows/build-configurator.yml
new file: tools/configurator/basic
modified: tools/configurator/components/bios_check/bios_check.gd
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/class_functions.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
modified: tools/configurator/export_presets.cfg
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/export_presets.cfg
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
* Theme and Theme Inheritance
On branch feat/godot-configurator
Changes to be committed:
new file: tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Bold.ttf
new file: tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Bold.ttf.import
new file: tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf
new file: tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Black.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Black.otf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Bold.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Bold.otf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-ExtraLight.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-ExtraLight.otf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Light.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Light.otf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Regular.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-Regular.otf.import
new file: tools/configurator/assets/fonts/akrobat/Akrobat-SemiBold.otf
new file: tools/configurator/assets/fonts/akrobat/Akrobat-SemiBold.otf.import
new file: tools/configurator/assets/fonts/akrobat/akrobat-extrabold-webfont.ttf
new file: tools/configurator/assets/fonts/akrobat/akrobat-extrabold-webfont.ttf.import
new file: tools/configurator/assets/fonts/munro/munro-narrow.ttf
new file: tools/configurator/assets/fonts/munro/munro-narrow.ttf.import
new file: tools/configurator/assets/fonts/munro/munro-small.ttf
new file: tools/configurator/assets/fonts/munro/munro-small.ttf.import
new file: tools/configurator/assets/fonts/munro/munro.ttf
new file: tools/configurator/assets/fonts/munro/munro.ttf.import
new file: tools/configurator/assets/graphics/Rekku/Rekku-test.xcf
new file: tools/configurator/assets/graphics/Rekku/base.png
new file: tools/configurator/assets/graphics/Rekku/base.png.import
new file: tools/configurator/assets/graphics/Rekku/blink1.png
new file: tools/configurator/assets/graphics/Rekku/blink1.png.import
new file: tools/configurator/assets/graphics/Rekku/blink2.png
new file: tools/configurator/assets/graphics/Rekku/blink2.png.import
new file: tools/configurator/assets/graphics/Rekku/eyes-open.png
new file: tools/configurator/assets/graphics/Rekku/eyes-open.png.import
new file: tools/configurator/assets/graphics/Rekku/mouth-A.png
new file: tools/configurator/assets/graphics/Rekku/mouth-A.png.import
new file: tools/configurator/assets/graphics/Rekku/mouth-O.png
new file: tools/configurator/assets/graphics/Rekku/mouth-O.png.import
new file: tools/configurator/assets/graphics/Rekku/mouth-base.png
new file: tools/configurator/assets/graphics/Rekku/mouth-base.png.import
new file: tools/configurator/assets/graphics/Rekku/rekku-blink-down.png
new file: tools/configurator/assets/graphics/Rekku/rekku-blink-down.png.import
new file: tools/configurator/assets/graphics/Rekku/rekku-blink-up.png
new file: tools/configurator/assets/graphics/Rekku/rekku-blink-up.png.import
new file: tools/configurator/assets/graphics/Rekku/rekku-idle.png
new file: tools/configurator/assets/graphics/Rekku/rekku-idle.png.import
new file: tools/configurator/assets/graphics/Rekku/rekku-speak1.png
new file: tools/configurator/assets/graphics/Rekku/rekku-speak1.png.import
new file: tools/configurator/assets/graphics/Rekku/rekku-speak2.png
new file: tools/configurator/assets/graphics/Rekku/rekku-speak2.png.import
new file: tools/configurator/assets/graphics/retrodeck.png
new file: tools/configurator/assets/graphics/retrodeck.png.import
new file: tools/configurator/assets/themes/accesible_theme.tres
new file: tools/configurator/assets/themes/default_theme.tres
new file: tools/configurator/assets/themes/modern_theme.tres
new file: tools/configurator/assets/themes/retro_theme.tres
modified: tools/configurator/components/bios_check/bios_check.gd
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/popup.gd
* Added Emulator Select and Pick options.
On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* Rekku and Logo animations
On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
Untracked files:
tools/configurator/assets/graphics/retrodeck_base.png
tools/configurator/assets/graphics/retrodeck_base.png.import
tools/configurator/assets/graphics/retrodeck_base_anim.png
tools/configurator/assets/graphics/retrodeck_base_anim.png.import
tools/configurator/assets/graphics/retrodeck_base_anim.xcf
tools/configurator/assets/graphics/retrodeck_base_shake0.png
tools/configurator/assets/graphics/retrodeck_base_shake0.png.import
tools/configurator/assets/graphics/retrodeck_base_shake1.png
tools/configurator/assets/graphics/retrodeck_base_shake1.png.import
tools/configurator/assets/graphics/retrodeck_base_shake2.png
tools/configurator/assets/graphics/retrodeck_base_shake2.png.import
tools/configurator/assets/graphics/retrodeck_base_shake3.png
tools/configurator/assets/graphics/retrodeck_base_shake3.png.import
tools/configurator/assets/graphics/retrodeck_base_shake4.png
tools/configurator/assets/graphics/retrodeck_base_shake4.png.import
tools/configurator/rekku_animated.tscn
* Add Wobble!
On branch feat/godot-configurator
Changes to be committed:
new file: tools/configurator/assets/graphics/retrodeck_base.png
new file: tools/configurator/assets/graphics/retrodeck_base.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_anim.png
new file: tools/configurator/assets/graphics/retrodeck_base_anim.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_anim.xcf
new file: tools/configurator/assets/graphics/retrodeck_base_shake0.png
new file: tools/configurator/assets/graphics/retrodeck_base_shake0.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_shake1.png
new file: tools/configurator/assets/graphics/retrodeck_base_shake1.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_shake2.png
new file: tools/configurator/assets/graphics/retrodeck_base_shake2.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_shake3.png
new file: tools/configurator/assets/graphics/retrodeck_base_shake3.png.import
new file: tools/configurator/assets/graphics/retrodeck_base_shake4.png
new file: tools/configurator/assets/graphics/retrodeck_base_shake4.png.import
new file: tools/configurator/rekku_animated.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/bios_check/bios_check.gd
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* ES-DE: testing out the new compact menu
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.tscn
* ES-DE: testing out the new compact menu - newer build
* Add change data for about us section via a csv
On branch feat/godot-configurator
Changes to be committed:
new file: tools/configurator/assets/data_lists/tk_about.Description.translation
new file: tools/configurator/assets/data_lists/tk_about.URL.translation
new file: tools/configurator/assets/data_lists/tk_about.csv
new file: tools/configurator/assets/data_lists/tk_about.csv.import
modified: tools/configurator/emu_list.yml
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/class_functions.gd
new file: tools/configurator/tk_about.gd
* On branch feat/godot-configurator
Changes to be committed:
deleted: configurator/assets/data_lists/tk_about.Description.translation
deleted: configurator/assets/data_lists/tk_about.URL.translation
deleted: configurator/assets/data_lists/tk_about.csv.import
new file: configurator/export/configurator.console.exe
new file: configurator/export/configurator.exe
new file: configurator/export/configurator.pck
new file: configurator/export/configurator.sh
new file: configurator/export/configurator.x86_64
renamed: configurator/assets/data_lists/tk_about.csv -> configurator/export/tk_about.txt
modified: configurator/export_presets.cfg
modified: configurator/tk_about.gd
new file: configurator/tk_about.txt
* Improved parsing of files for pulling out data
On branch feat/godot-configurator
Changes to be committed:
modified: main.gd
modified: res/pixel_ui_theme/RetroDECKTheme.tres
modified: scripts/class_functions.gd
modified: tk_about.gd
modified: tk_about.txt
* ES-DE: testing out the new compact menu - newer build 2
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/bios_check/bios_check.gd
new file: tools/configurator/data_list.json
new file: tools/configurator/data_list.yml
modified: tools/configurator/main.gd
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/class_functions.gd
modified: tools/configurator/tk_about.gd
* Adding json support and supporting class
On branch feat/godot-configurator
Changes to be committed:
deleted: tools/configurator/basic
new file: tools/configurator/data.json
modified: tools/configurator/data_list.json
modified: tools/configurator/main.gd
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
new file: tools/configurator/scripts/app_data.gd
modified: tools/configurator/scripts/class_functions.gd
new file: tools/configurator/scripts/data_handler.gd
new file: tools/configurator/scripts/emulator.gd
new file: tools/configurator/scripts/emulator_option.gd
new file: tools/configurator/scripts/emulator_property.gd
new file: tools/configurator/scripts/link.gd
new file: tools/configurator/scripts/save_manager.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/data_list.json
modified: tools/configurator/export/configurator.pck
deleted: tools/configurator/export/tk_about.txt
modified: tools/configurator/main.gd
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/data_handler.gd
modified: tools/configurator/scripts/emulator_property.gd
modified: tools/configurator/tk_about.gd
tools/configurator/export/data_list.json
* On branch feat/godot-configurator
Changes to be committed:
new file: tools/configurator/export/data_list.json
* Now includes modify json. Need cleaning up!
On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/data_list.json
modified: tools/configurator/export/configurator.pck
modified: tools/configurator/main.gd
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/data_handler.gd
* ES-DE: testing out the new compact menu - newer build 3
* Manifest: renaming es-de module to stick with the repo name for updating purposes
* ES-DE: updated module with new artifact URL and SHA256 [skip ci]
* Revert "ES-DE: updated module with new artifact URL and SHA256 [skip ci]"
This reverts commit b85ad1573d
.
* If this breaks to gzdoom is ok
* If this breaks to gzdoom is ok - fix
* Migrated to the new latest links
* MAME: frixed url
* PCSX2: updated to 2.1.55
* Tidying up
On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/data_handler.gd
deleted: tools/configurator/scripts/save_manager.gd
* On branch feat/godot-configurator
Changes to be committed:
deleted: tools/configurator/data.json
modified: tools/configurator/main.gd
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
modified: tools/configurator/scripts/data_handler.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/scripts/data_handler.gd
modified: tools/configurator/tk_about.gd
* On branch feat/godot-configurator
Changes to be committed:
deleted: tools/configurator/assets/graphics/Rekku/Rekku-test.xcf
deleted: tools/configurator/assets/graphics/Rekku/base.png
deleted: tools/configurator/assets/graphics/Rekku/base.png.import
deleted: tools/configurator/assets/graphics/Rekku/blink1.png
deleted: tools/configurator/assets/graphics/Rekku/blink1.png.import
deleted: tools/configurator/assets/graphics/Rekku/blink2.png
deleted: tools/configurator/assets/graphics/Rekku/blink2.png.import
deleted: tools/configurator/assets/graphics/Rekku/eyes-open.png
deleted: tools/configurator/assets/graphics/Rekku/eyes-open.png.import
deleted: tools/configurator/assets/graphics/Rekku/mouth-A.png
deleted: tools/configurator/assets/graphics/Rekku/mouth-A.png.import
deleted: tools/configurator/assets/graphics/Rekku/mouth-O.png
deleted: tools/configurator/assets/graphics/Rekku/mouth-O.png.import
deleted: tools/configurator/assets/graphics/Rekku/mouth-base.png
deleted: tools/configurator/assets/graphics/Rekku/mouth-base.png.import
deleted: tools/configurator/assets/graphics/Rekku/rekku-blink-down.png
deleted: tools/configurator/assets/graphics/Rekku/rekku-blink-down.png.import
deleted: tools/configurator/assets/graphics/Rekku/rekku-blink-up.png
deleted: tools/configurator/assets/graphics/Rekku/rekku-blink-up.png.import
deleted: tools/configurator/assets/graphics/Rekku/rekku-idle.png
deleted: tools/configurator/assets/graphics/Rekku/rekku-idle.png.import
deleted: tools/configurator/assets/graphics/Rekku/rekku-speak1.png
deleted: tools/configurator/assets/graphics/Rekku/rekku-speak1.png.import
deleted: tools/configurator/assets/graphics/Rekku/rekku-speak2.png
deleted: tools/configurator/assets/graphics/Rekku/rekku-speak2.png.import
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/export_presets.cfg
modified: tools/configurator/main.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/bios_check/bios_check.gd
modified: tools/configurator/main.tscn
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/bios_check/bios_check.gd
new file: tools/configurator/components/logs.tscn
new file: tools/configurator/components/logs/logs_popup_content.tscn
modified: tools/configurator/components/popup.tscn
modified: tools/configurator/data_list.json
deleted: tools/configurator/export/data_list.json
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* Trying a new workflow
* Trying a new workflow - fix
* Trying a new workflow - fix 2
* Reverting workfolw edits
* WORKFLOW: targetting the old repo for the release
* WORKFLOW: updated some actions to a newever version to avoid deprecation at the end of the year
* MISSING_LIBS: trying to fetch libshaderc
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/components/logs.tscn
renamed: tools/configurator/components/logs/logs_popup_content.tscn -> tools/configurator/components/logs_view/logs_popup_content.tscn
new file: tools/configurator/components/logs_view/view_log.gd
modified: tools/configurator/components/popup.gd
modified: tools/configurator/components/popup.tscn
modified: tools/configurator/data_list.json
modified: tools/configurator/main.gd
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
new file: tools/configurator/retrodeck.json
modified: tools/configurator/scripts/class_functions.gd
modified: tools/configurator/scripts/data_handler.gd
modified: tools/configurator/tk_about.gd
* On branch feat/godot-configurator
Changes to be committed:
deleted: tools/configurator/components/logs.tscn
modified: tools/configurator/components/logs_view/logs_popup_content.tscn
deleted: tools/configurator/components/logs_view/view_log.gd
modified: tools/configurator/components/popup.tscn
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
modified: net.retrodeck.retrodeck.yml
modified: tools/configurator/export_presets.cfg
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* MANIFEST: removng a newline
* Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
new file: tools/configurator/assets/icons/128/app.xemu.xemu.png
new file: tools/configurator/assets/icons/128/app.xemu.xemu.png.import
new file: tools/configurator/assets/icons/128/duckstation-nogui.png
new file: tools/configurator/assets/icons/128/duckstation-nogui.png.import
new file: tools/configurator/assets/icons/128/duckstation.png
new file: tools/configurator/assets/icons/128/duckstation.png.import
new file: tools/configurator/assets/icons/128/net.kuribo64.melonDS.png
new file: tools/configurator/assets/icons/128/net.kuribo64.melonDS.png.import
new file: tools/configurator/assets/icons/128/net.pcsx2.PCSX2.png
new file: tools/configurator/assets/icons/128/net.pcsx2.PCSX2.png.import
new file: tools/configurator/assets/icons/128/net.retrodeck.retrodeck.png
new file: tools/configurator/assets/icons/128/net.retrodeck.retrodeck.png.import
new file: tools/configurator/assets/icons/128/net.rpcs3.RPCS3.png
new file: tools/configurator/assets/icons/128/net.rpcs3.RPCS3.png.import
new file: tools/configurator/assets/icons/128/org.DolphinEmu.dolphin-emu.png
new file: tools/configurator/assets/icons/128/org.DolphinEmu.dolphin-emu.png.import
new file: tools/configurator/assets/icons/128/org.citra_emu.citra.png
new file: tools/configurator/assets/icons/128/org.citra_emu.citra.png.import
new file: tools/configurator/assets/icons/128/org.mamedev.MAME.png
new file: tools/configurator/assets/icons/128/org.mamedev.MAME.png.import
new file: tools/configurator/assets/icons/128/org.ppsspp.PPSSPP.png
new file: tools/configurator/assets/icons/128/org.ppsspp.PPSSPP.png.import
new file: tools/configurator/assets/icons/128/org.ppsspp.PPSSPP_.png
new file: tools/configurator/assets/icons/128/org.ppsspp.PPSSPP_.png.import
new file: tools/configurator/assets/icons/128/org.ryujinx.Ryujinx.png
new file: tools/configurator/assets/icons/128/org.ryujinx.Ryujinx.png.import
new file: tools/configurator/assets/icons/128/org.zdoom.GZDoom.png
new file: tools/configurator/assets/icons/128/org.zdoom.GZDoom.png.import
new file: tools/configurator/assets/icons/128/retroarch.png
new file: tools/configurator/assets/icons/128/retroarch.png.import
new file: tools/configurator/assets/icons/16/app.xemu.xemu.png
new file: tools/configurator/assets/icons/16/app.xemu.xemu.png.import
new file: tools/configurator/assets/icons/16/duckstation-nogui.png
new file: tools/configurator/assets/icons/16/duckstation-nogui.png.import
new file: tools/configurator/assets/icons/16/duckstation.png
new file: tools/configurator/assets/icons/16/duckstation.png.import
new file: tools/configurator/assets/icons/16/net.pcsx2.PCSX2.png
new file: tools/configurator/assets/icons/16/net.pcsx2.PCSX2.png.import
new file: tools/configurator/assets/icons/16/net.retrodeck.retrodeck.png
new file: tools/configurator/assets/icons/16/net.retrodeck.retrodeck.png.import
new file: tools/configurator/assets/icons/16/net.rpcs3.RPCS3.png
new file: tools/configurator/assets/icons/16/net.rpcs3.RPCS3.png.import
new file: tools/configurator/assets/icons/16/org.DolphinEmu.dolphin-emu.png
new file: tools/configurator/assets/icons/16/org.DolphinEmu.dolphin-emu.png.import
new file: tools/configurator/assets/icons/16/org.gnome.Yelp.png
new file: tools/configurator/assets/icons/16/org.gnome.Yelp.png.import
new file: tools/configurator/assets/icons/16/org.mamedev.MAME.png
new file: tools/configurator/assets/icons/16/org.mamedev.MAME.png.import
new file: tools/configurator/assets/icons/16/org.ppsspp.PPSSPP.png
new file: tools/configurator/assets/icons/16/org.ppsspp.PPSSPP.png.import
new file: tools/configurator/assets/icons/16/org.ppsspp.PPSSPP_.png
new file: tools/configurator/assets/icons/16/org.ppsspp.PPSSPP_.png.import
new file: tools/configurator/assets/icons/16/org.ryujinx.Ryujinx.png
new file: tools/configurator/assets/icons/16/org.ryujinx.Ryujinx.png.import
new file: tools/configurator/assets/icons/16/org.xfce.session.png
new file: tools/configurator/assets/icons/16/org.xfce.session.png.import
new file: tools/configurator/assets/icons/16/org.zdoom.GZDoom.png
new file: tools/configurator/assets/icons/16/org.zdoom.GZDoom.png.import
new file: tools/configurator/assets/icons/16/retroarch.png
new file: tools/configurator/assets/icons/16/retroarch.png.import
new file: tools/configurator/assets/icons/16/security-medium.png
new file: tools/configurator/assets/icons/16/security-medium.png.import
new file: tools/configurator/assets/icons/32/retroarch.png
new file: tools/configurator/assets/icons/32/retroarch.png.import
new file: tools/configurator/assets/icons/dolphin-emu (1).svg
new file: tools/configurator/assets/icons/dolphin-emu (1).svg.import
new file: tools/configurator/assets/icons/dolphin-emu (2).svg
new file: tools/configurator/assets/icons/dolphin-emu (2).svg.import
new file: tools/configurator/assets/icons/dolphin-emu.svg
new file: tools/configurator/assets/icons/dolphin-emu.svg.import
new file: tools/configurator/assets/icons/retroarch (1).svg
new file: tools/configurator/assets/icons/retroarch (1).svg.import
new file: tools/configurator/assets/icons/retroarch (2).svg
new file: tools/configurator/assets/icons/retroarch (2).svg.import
new file: tools/configurator/assets/icons/retroarch.svg
new file: tools/configurator/assets/icons/retroarch.svg.import
new file: tools/configurator/assets/icons/retroarch2.svg
new file: tools/configurator/assets/icons/retroarch2.svg.import
new file: tools/configurator/assets/icons/retroarch_invert.svg
new file: tools/configurator/assets/icons/retroarch_invert.svg.import
modified: tools/configurator/main.gd
modified: tools/configurator/main.tscn
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* Icons!
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/project.godot
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/main.gd
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/export/configurator.pck
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-configurator.yml
* On branch feat/godot-configurator
Changes to be committed:
new file: .github/workflows/buid-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/buid-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
deleted: .github/workflows/buid-gdc.yml
Untracked files:
.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
new file: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* Create gd-test.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* modified: ../../.github/workflows/build-gdc.yml
modified: data_list.json
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* modified: data_list.json
modified: export_presets.cfg
modified: res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
deleted: ../../.github/workflows/godot.yml
* On branch feat/godot-configurator
Changes to be committed:
deleted: ../../.github/workflows/gd-test.yml
* Create test.yml
* Delete .github/workflows/test.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
new file: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-configurator.yml
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: export_presets.cfg
modified: res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
deleted: .github/workflows/go-simple.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/export_presets.cfg
* On branch feat/godot-configurator
Changes to be committed:
modified: tools/configurator/export_presets.cfg
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
deleted: ../../.github/workflows/build-configurator.yml
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* modified: main.tscn
modified: res/pixel_ui_theme/RetroDECKTheme.tres
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
modified: ../../net.retrodeck.retrodeck.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: ../../.github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
modified: net.retrodeck.retrodeck.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: .github/workflows/build-gdc.yml
modified: net.retrodeck.retrodeck.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* On branch feat/godot-configurator
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* On branch cooker
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* On branch cooker
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* GoDot Configurator install - Easy Mode ;)
On branch cooker
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
modified: tools/configurator/data_list.json
deleted: tools/configurator/export/configurator.console.exe
deleted: tools/configurator/export/configurator.pck
deleted: tools/configurator/export/configurator.sh
deleted: tools/configurator/export/configurator.x86_64
renamed: tools/configurator/export/configurator.exe -> tools/configurator/export/godot_configurator.x86_64
modified: tools/configurator/export_presets.cfg
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* Embeded file test
On branch cooker
Changes to be committed:
modified: .github/workflows/build-gdc.yml
modified: tools/configurator/export_presets.cfg
modified: tools/configurator/project.godot
modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
* On branch cooker
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch cooker
Changes to be committed:
modified: .github/workflows/build-gdc.yml
* On branch cooker
Changes to be committed:
renamed: .github/workflows/build-gdc.yml -> .github/workflows/build-configurator.yml
* On branch cooker
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* On branch cooker
Changes to be committed:
modified: net.retrodeck.retrodeck.yml
* On branch cooker
Changes to be committed:
modified: automation_tools/automation_task_list.cfg
modified: net.retrodeck.retrodeck.yml
* On branch cooker
Changes to be committed:
modified: automation_tools/automation_task_list.cfg
* On branch cooker
Changes to be committed:
modified: automation_tools/automation_task_list.cfg
* Tidying up a bit
On branch cooker
Changes to be committed:
modified: automation_tools/automation_task_list.cfg
deleted: tools/configurator/export/configurator.console.exe
deleted: tools/configurator/export/configurator.exe
deleted: tools/configurator/export/configurator.pck
deleted: tools/configurator/export/configurator.sh
deleted: tools/configurator/export/configurator.x86_64
deleted: tools/configurator/export/godot_configurator.x86_64
* On branch cooker
Changes to be committed:
modified: tools/configurator/export_presets.cfg
modified: tools/configurator/project.godot
* On branch cooker
Changes to be committed:
modified: automation_tools/automation_task_list.cfg
modified: tools/configurator/data_list.json
* Delete RetroDECK-cooker.flatpak.sha
* Delete .github/workflows/build-configurator.yml
* Removed some errors.
Resize windows
Emeulator selection highlight
On branch cooker
Changes to be committed:
new file: assets/themes/emulators.tres
modified: data_list.json
modified: export_presets.cfg
modified: main.gd
modified: main.tscn
deleted: rekku_animated.tscn
modified: res/pixel_ui_theme/RetroDECKTheme.tres
modified: res/pixel_ui_theme/random_icon.tres
modified: scripts/class_functions.gd
modified: tk_about.gd
* Godot get cooked
Changed to use fullscreen.
Combined TK_EMULATORS and TK_SYSTEM. Also showed possibility to split systems, emulators etc
On branch cooker
Changes to be committed:
new file: tools/configurator/assets/Tilemap/tilemap.png
new file: tools/configurator/assets/Tilemap/tilemap.png.import
new file: tools/configurator/assets/Tilemap/tilemap_packed.png
new file: tools/configurator/assets/Tilemap/tilemap_packed.png.import
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Enter.png
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Enter.png.import
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Mouse.png
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Mouse.png.import
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Normal.png
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Normal.png.import
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Super_Wide.png
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Super_Wide.png.import
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Wide.png
new file: tools/configurator/assets/icons/Xelu_Free_Controller&Key_Prompts/Keyboard & Mouse/Blanks/Blank_Black_Wide.png.import
* REmoved uneeded icons
* Triggering build
* Triggering build
* Triggering build
* Rekku is back
On branch cooker
Changes to be committed:
modified: helper_text.gd
modified: main.tscn
modified: res/pixel_ui_theme/RetroDECKTheme.tres
modified: retrodeck.json
---------
Co-authored-by: XargonWan <XargonWan@gmail.com>
Co-authored-by: GitHub Actions <actions@github.com>
202 lines
7.9 KiB
GDScript
202 lines
7.9 KiB
GDScript
extends Control
|
|
|
|
var bios_type:int
|
|
var status_code_label: Label
|
|
var wrapper_command: String = "../../tools/retrodeck_function_wrapper.sh"
|
|
var log_text = "GD_Configurator: "
|
|
var log_parameters: Array = ["log", "i", log_text]
|
|
var log_results: Dictionary
|
|
var theme_option: OptionButton
|
|
signal signal_theme_changed
|
|
var custom_theme: Theme = $".".theme
|
|
var emu_select_option: OptionButton
|
|
var emu_pick_option: OptionButton
|
|
var log_option: OptionButton
|
|
var tab_container: TabContainer
|
|
var anim_logo: AnimatedSprite2D
|
|
var rd_logs: String
|
|
var rd_version: String
|
|
var gc_version: String
|
|
|
|
var app_data = AppData.new()
|
|
func _ready():
|
|
_get_nodes()
|
|
_connect_signals()
|
|
_play_main_animations()
|
|
|
|
data_handler.add_emaultor()
|
|
data_handler.modify_emulator_test()
|
|
|
|
$Background/locale_option.selected = class_functions.map_locale_id(OS.get_locale_language())
|
|
"""
|
|
# load json data
|
|
#app_data = data_handler.load_data()
|
|
#test to show some data
|
|
if app_data:
|
|
var website_data = app_data.about_links["rd_web"]
|
|
print (website_data.name,"-",website_data.url,"-",website_data.description)
|
|
"""
|
|
var console: bool = false
|
|
var test = class_functions.execute_command("cat",["/var/config/retrodeck/retrodeck.cfg"],console)
|
|
#print (test)
|
|
var config_file_path = "/var/config/retrodeck/retrodeck.cfg"
|
|
var json_file_path = "/var/config/retrodeck/retrodeck.json"
|
|
var config = data_handler.parse_config_to_json(config_file_path)
|
|
data_handler.config_save_json(config, json_file_path)
|
|
rd_logs = config["paths"]["logs_folder"]
|
|
rd_version = config["version"]
|
|
gc_version = ProjectSettings.get_setting("application/config/version")
|
|
%rd_title.text+= "\n " + rd_version + "\nConfigurator\n " + gc_version
|
|
|
|
#var log_file = class_functions.import_text_file(rd_logs +"/retrodeck.log")
|
|
#for id in config.paths:
|
|
# var path_data = config.paths[id]
|
|
# print (id)
|
|
|
|
# set current startup tab to match IDE
|
|
tab_container.current_tab = 2
|
|
#add_child(class_functions) # Needed for threaded results Not need autoload?
|
|
var children = findElements(self, "Control")
|
|
for n: Control in children: #iterate the children
|
|
if (n.focus_mode == FOCUS_ALL):
|
|
n.mouse_entered.connect(_on_control_mouse_entered.bind(n)) #grab focus on mouse hover
|
|
if (n.is_class("BaseButton") and n.disabled == true): #if button-like control and disabled
|
|
n.self_modulate.a = 0.5 #make it half transparent
|
|
combine_tkeys()
|
|
|
|
func _get_nodes() -> void:
|
|
status_code_label = get_node("%status_code_label")
|
|
theme_option = get_node("%theme_optionbutton")
|
|
emu_select_option = get_node("%emu_select_option")
|
|
emu_pick_option = get_node("%emu_pick_option")
|
|
tab_container = get_node("%TabContainer")
|
|
anim_logo = get_node("%logo_animated")
|
|
log_option = get_node("%logs_button")
|
|
|
|
func _connect_signals() -> void:
|
|
#signal_theme_changed.connect(_conf_theme)
|
|
theme_option.item_selected.connect(_conf_theme)
|
|
signal_theme_changed.emit(theme_option.item_selected)
|
|
emu_select_option.item_selected.connect(_emu_select)
|
|
emu_pick_option.item_selected.connect(_emu_pick)
|
|
log_option.item_selected.connect(_load_log)
|
|
|
|
func _emu_select(index: int) -> void:
|
|
emu_pick_option.visible = true
|
|
#change to radio button select
|
|
_play_main_animations()
|
|
if (index == 3): # make function and pass start and end
|
|
emu_pick_option.set_item_disabled(1, true)
|
|
emu_pick_option.set_item_disabled(2, true)
|
|
|
|
func _emu_pick(index: int) -> void:
|
|
emu_pick_option.visible = true
|
|
_play_main_animations()
|
|
|
|
func _load_log(index: int) -> void:
|
|
var log_content:String
|
|
match index:
|
|
1:
|
|
log_content = class_functions.import_text_file(rd_logs +"/retrodeck.log")
|
|
load_popup("RetroDeck Log", "res://components/logs_view/logs_popup_content.tscn", log_content)
|
|
2:
|
|
log_content = class_functions.import_text_file(rd_logs +"/ES-DE/es_log.txt")
|
|
load_popup("ES-DE Log", "res://components/logs_view/logs_popup_content.tscn",log_content)
|
|
3:
|
|
log_content = class_functions.import_text_file(rd_logs +"/retroarch/logs/log.txt")
|
|
load_popup("Retroarch Log", "res://components/logs_view/logs_popup_content.tscn",log_content)
|
|
|
|
func _play_main_animations() -> void:
|
|
anim_logo.play()
|
|
|
|
func _conf_theme(index: int) -> void:
|
|
match index:
|
|
1:
|
|
custom_theme = preload("res://assets/themes/default_theme.tres")
|
|
2:
|
|
custom_theme = preload("res://assets/themes/retro_theme.tres")
|
|
3:
|
|
custom_theme = preload("res://assets/themes/modern_theme.tres")
|
|
4:
|
|
custom_theme = preload("res://assets/themes/accesible_theme.tres")
|
|
$".".theme = custom_theme
|
|
_play_main_animations()
|
|
|
|
func _input(event):
|
|
if event.is_action_pressed("quit"):
|
|
_exit()
|
|
|
|
func findElements(node: Node, className: String, result: Array = []) -> Array:
|
|
if node.is_class(className):
|
|
result.push_back(node)
|
|
for child in node.get_children():
|
|
result = findElements(child, className, result)
|
|
return result
|
|
|
|
func _on_control_mouse_entered(control: Node):
|
|
control.grab_focus()
|
|
|
|
func load_popup(title:String, content_path:String, display_text: String):
|
|
var popup = load("res://components/popup.tscn").instantiate() as Control
|
|
popup.set_title(title)
|
|
popup.set_content(content_path)
|
|
popup.set_display_text(display_text)
|
|
$Background.add_child(popup)
|
|
|
|
func _on_quickresume_advanced_pressed():
|
|
load_popup("Quick Resume Advanced", "res://components/popups_content/popup_content_test.tscn","")
|
|
|
|
func _on_bios_button_pressed():
|
|
_play_main_animations()
|
|
bios_type = 0
|
|
log_parameters[2] = log_text + "Bios_Check"
|
|
log_results = class_functions.execute_command(wrapper_command, log_parameters, false)
|
|
load_popup("BIOS File Check", "res://components/bios_check/bios_popup_content.tscn","")
|
|
status_code_label.text = str(log_results["exit_code"])
|
|
|
|
func _on_bios_button_expert_pressed():
|
|
_play_main_animations()
|
|
bios_type = 1
|
|
log_parameters[2] = log_text + "Advanced_Bios_Check"
|
|
log_results = class_functions.execute_command(wrapper_command, log_parameters, false)
|
|
load_popup("BIOS File Check", "res://components/bios_check/bios_popup_content.tscn","")
|
|
status_code_label.text = str(log_results["exit_code"])
|
|
|
|
func _on_exit_button_pressed():
|
|
_play_main_animations()
|
|
log_parameters[2] = log_text + "Exited"
|
|
log_results = class_functions.execute_command(wrapper_command, log_parameters, false)
|
|
_exit()
|
|
|
|
func _exit():
|
|
get_tree().root.propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST)
|
|
get_tree().quit()
|
|
|
|
func _on_locale_selected(index):
|
|
match index:
|
|
0:
|
|
TranslationServer.set_locale("en")
|
|
1:
|
|
TranslationServer.set_locale("it")
|
|
2:
|
|
TranslationServer.set_locale("de")
|
|
3:
|
|
TranslationServer.set_locale("sv")
|
|
4:
|
|
TranslationServer.set_locale("ua")
|
|
5:
|
|
TranslationServer.set_locale("ja")
|
|
6:
|
|
TranslationServer.set_locale("zh")
|
|
combine_tkeys()
|
|
|
|
func combine_tkeys(): #More as a test
|
|
$Background/MarginContainer/TabContainer/TK_SYSTEM/ScrollContainer/VBoxContainer/HBoxContainer/GridContainer/cheats.text = tr("TK_CHEATS") + " " + tr("TK_SOON")
|
|
#$Background/MarginContainer/TabContainer/TK_SYSTEM/ScrollContainer/VBoxContainer/game_control_container/GridContainer/cheats.text = tr("TK_CHEATS") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_GRAPHICS/ScrollContainer/VBoxContainer/decorations_container/GridContainer/shaders.text = tr("TK_SHADERS") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_GRAPHICS/ScrollContainer/VBoxContainer/extra_container/GridContainer/tate_mode.text = tr("TK_TATE") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_CONTROLS/ScrollContainer/VBoxContainer/controls_container/hotkey_sound.text = tr("TK_HOTKEYSOUND") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_NETWORK/ScrollContainer/VBoxContainer/cheevos_container/cheevos_advanced_container/cheevos_hardcore.text = tr("TK_CHEEVOSHARDCORE") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_NETWORK/ScrollContainer/VBoxContainer/data_mng_container/saves_sync.text = tr("TK_SAVESSYNC") + " " + tr("TK_SOON")
|
|
$Background/MarginContainer/TabContainer/TK_CONFIGURATOR/ScrollContainer/VBoxContainer/system_container/easter_eggs.text = tr("TK_EASTEREGGS") + " " + tr("TK_SOON")
|