On branch feat/godot-configurator

Changes to be committed:
	modified:   tools/configurator/export_presets.cfg
	modified:   tools/configurator/main.gd
This commit is contained in:
monkeyx-net 2024-08-02 20:13:18 +01:00
parent 8dfc028874
commit 9be1708015
2 changed files with 7 additions and 6 deletions

View file

@ -6,7 +6,7 @@ runnable=true
dedicated_server=false dedicated_server=false
custom_features="" custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="tk_about.txt" include_filter=""
exclude_filter="" exclude_filter=""
export_path="export/configurator.x86_64" export_path="export/configurator.x86_64"
encryption_include_filters="" encryption_include_filters=""
@ -46,7 +46,7 @@ runnable=true
dedicated_server=false dedicated_server=false
custom_features="" custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="tk_about.txt" include_filter=""
exclude_filter="" exclude_filter=""
export_path="export/configurator.exe" export_path="export/configurator.exe"
encryption_include_filters="" encryption_include_filters=""

View file

@ -24,13 +24,14 @@ func _ready():
data_handler.add_emaultor() data_handler.add_emaultor()
data_handler.modify_emulator_test() 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: if app_data:
var website_data = app_data.about_links["rd_web"] var website_data = app_data.about_links["rd_web"]
print (website_data.name,"-",website_data.url,"-",website_data.description) 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") 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) #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") var abxy_button_list = class_functions.get_text_file_from_system_path("/var/config/retrodeck/retrodeck.cfg","sed -n '/\\[abxy_button_swap\\]/,/^$/p' ","normal")