From 9be170801519470debae0fa65407a1f1765e1577 Mon Sep 17 00:00:00 2001 From: monkeyx-net Date: Fri, 2 Aug 2024 20:13:18 +0100 Subject: [PATCH] On branch feat/godot-configurator Changes to be committed: modified: tools/configurator/export_presets.cfg modified: tools/configurator/main.gd --- tools/configurator/export_presets.cfg | 4 ++-- tools/configurator/main.gd | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/configurator/export_presets.cfg b/tools/configurator/export_presets.cfg index 03d1734b..e6de0333 100644 --- a/tools/configurator/export_presets.cfg +++ b/tools/configurator/export_presets.cfg @@ -6,7 +6,7 @@ runnable=true dedicated_server=false custom_features="" export_filter="all_resources" -include_filter="tk_about.txt" +include_filter="" exclude_filter="" export_path="export/configurator.x86_64" encryption_include_filters="" @@ -46,7 +46,7 @@ runnable=true dedicated_server=false custom_features="" export_filter="all_resources" -include_filter="tk_about.txt" +include_filter="" exclude_filter="" export_path="export/configurator.exe" encryption_include_filters="" diff --git a/tools/configurator/main.gd b/tools/configurator/main.gd index 4d9e2c24..184359fa 100644 --- a/tools/configurator/main.gd +++ b/tools/configurator/main.gd @@ -24,13 +24,14 @@ func _ready(): data_handler.add_emaultor() data_handler.modify_emulator_test() - - app_data = data_handler.load_data() - + """ + # 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 emulator_list = class_functions.get_text_file_from_system_path("../../tools/configurator.sh","sed -n '/local emulator_list=(/,/)/{s/.*local emulator_list=\\(.*\\)/\\1/; /)/q; p}' ","emulist") #print (emulator_list) var abxy_button_list = class_functions.get_text_file_from_system_path("/var/config/retrodeck/retrodeck.cfg","sed -n '/\\[abxy_button_swap\\]/,/^$/p' ","normal")