Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains Godot 4.3+ save/load strategies (ConfigFile, JSON, Resource files) with security guidance and code examples for each.
86% 95%+9 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 19 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Reference for skills/save-load/SKILL.md — ConfigFile for INI-style settings (audio, video, controls). GDScript + C#.
← Back to SKILL.md
Use ConfigFile for application settings: audio volumes, display options, key bindings. It produces a human-readable INI-style file.
# settings_manager.gd — add as autoload named SettingsManager
extends Node
const SETTINGS_PATH := "user://settings.cfg"
var _config := ConfigFile.new()
func _ready() -> void:
load_settings()
func load_settings() -> void:
var err := _config.load(SETTINGS_PATH)
if err != OK:
_set_defaults()
save_settings()
func save_settings() -> void:
var err := _config.save(SETTINGS_PATH)
if err != OK:
push_error("SettingsManager: failed to save settings — error %d" % err)
func get_setting(section: String, key: String, default: Variant = null) -> Variant:
Next to this one in the catalogue, plus more from the same author.