Logo di Godot Modding Dlc

Godot Modding Dlc

Community
EL4CTEO
godot-modding-dlc

Mod support, DLC and patches in Godot 4.7 - resource packs (PCK/ZIP) with load_resource_pack, load timing and file overrides, mod folders, manifests and load order, registries and a mod API, runtime loading of images, audio, glTF and fonts, PCKPacker mod tools, Godot Mod Loader, Steam Workshop, DLC packs, delta patches, security limits. Use for mods, user content, DLC or patching.

Panoramica

Pubblicato daEL4CTEO
Repositorygodot-skills
Nome della skillgodot-modding-dlc
Stelle
60
Fork
6
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da EL4CTEO su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Godot Modding Dlc in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-modding-dlc
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-modding-dlc .claude/skills/godot-modding-dlc
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Godot Modding Dlc in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Godot Modding Dlc non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Godot Modding Dlc non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Modding, DLC and Patches (4.7)

Choose the kind of mod support

LevelWhat mods can doHow
Data modsnew items, levels as JSON, textures, sounds, modelsread files from a mods folder at runtime (no Godot needed by modders)
Pack modsnew scenes, scripts, resources; replace any game file.pck/.zip loaded with ProjectSettings.load_resource_pack(); modders use the Godot editor
Script-extension modschange existing game logic without replacing filesthe Godot Mod Loader addon (script extensions and hooks, used by shipped games)
Workshopdiscovery and installSteam UGC through GodotSteam; it downloads into a folder you then load like any other mod
Start with data mods plus a registry API. Add packs when modders need scenes and scripts.

Resource packs

  • ProjectSettings.load_resource_pack(path, replace_files := true, offset := 0) mounts a PCK or ZIP into res://. It returns false on failure. With replace_files = true, pack files override game files at the same path (texture packs, balance patches). Set false to protect the base game.
  • Timing: resources already loaded or preloaded stay cached. Load packs as early as possible, in an autoload's _init() (the first autoload), before the main scene loads. To swap later, reload with ResourceLoader.load(path, "", ResourceLoader.CACHE_MODE_REPLACE) and rebuild the scenes that use it.
  • Where to look: user://mods/ (always writable) and the folder next to the executable (OS.get_executable_path().get_base_dir() + "/mods", for Steam/manual installs; not writable on every platform). In the editor, OS.has_feature("editor") points to a dev folder instead.
  • Ask mods to put their files under res://mods/<mod_id>/ so two mods don't overwrite each other by accident. Overrides then become deliberate (same path as a game file).
  • A pack must be exported by the same Godot version (4.7.x) as the game, from a project with the same import settings. Give modders a "mod SDK" project: the game's public assets and scripts, a sample mod and an export preset (godot --headless --export-pack "Mod" mymod.pck, see godot-export-ci).
  • class_name in mod scripts isn't reliable (the global class cache comes from the game). Mods should reference scripts and scenes by path or through your registry.
  • C# games: GDScript mods still work in .NET builds. Mod C# assemblies aren't loaded from packs; supporting them needs your own AssemblyLoadContext code. Most games keep mods GDScript or data only.

Manifest, order, conflicts

  • Each mod has mod.cfg (a ConfigFile): id, name, version, game_version (min compatible), depends, priority. Read it before loading the pack (the reference reads it from inside a ZIP with ZIPReader, or from a folder).
  • Sort by dependencies, then priority. Packs loaded later win on file conflicts, so show a load-order UI and save the enabled list in user://mods.cfg.
  • Skip mods with a newer game_version or missing dependencies and say why in the mod menu. Never crash because of a bad mod: push_warning and continue.
  • After loading, call each mod's entry script (res://mods/<id>/main.gd with func _mod_init(api)), passing a narrow API object.

A mod API instead of free access

  • Registries: ItemRegistry.register(id, item_resource), EnemyRegistry, LevelRegistry. The game reads from registries, never from hard-coded lists, so mods add content without patching files.
  • Events: expose an event bus (enemy_killed, level_loaded, player_spawned) for mods to react to.
  • Version the API (api_version in the manifest), and deprecate before you remove anything.
  • Data validation: parse JSON with JSON.parse_string, check types and ranges, clamp numbers, and fall back to defaults.

Runtime loading for data mods (no import step)

AssetAPI
Image → textureImage.load_from_file(path) → ImageTexture.create_from_image(img)
AudioAudioStreamOggVorbis.load_from_file, AudioStreamWAV.load_from_file, AudioStreamMP3.load_from_file
3D modelGLTFDocument.new().append_from_file(path, state) → generate_scene(state)
FontFontFile.new().load_dynamic_font(path)
Text, dataFileAccess.get_file_as_string, JSON.parse_string, ConfigFile.load
Zipped contentZIPReader.open → read_file (then Image.load_png_from_buffer, …)
Runtime-loaded textures aren't VRAM-compressed, so cap their size for mobile. Load big sets with WorkerThreadPool (godot-performance).

Security (tell your players)

Pack mods and Mod Loader mods run unrestricted GDScript: file access, network and OS calls. Godot has no sandbox. Show a warning on first enable, and keep data-only mods as the default for user-generated content you download automatically. Evaluate expressions from mod data with Expression.execute(..., const_calls_only = true).

DLC and patches

  • DLC: export the DLC content as a PCK (--export-pack with a preset that includes only res://dlc/<name>/). Ship it as a separate depot or download, verify ownership (Steam: GodotSteam isDLCInstalled(app_id); consoles and mobile stores have their own APIs), then load_resource_pack. PCKs aren't DRM: anyone can copy the file.
  • Patches: godot --export-patch out.pck --patches base.pck (4.6+) writes only changed files, delta-encoded. Load patches in order after the base. Each patch adds load-time overhead, so fold patches into a new base PCK at major updates. Steam and most stores already diff builds, so patch PCKs matter mainly for custom launchers and mobile hot-content.
  • Code signing and console certification rules may forbid loading code at runtime. iOS forbids downloaded executable code, so ship content-only packs there.

Tools for modders

  • PCKPacker builds packs from inside the game (pck_start, add_file(res_path, source), flush), e.g. a level editor that exports shareable levels.
  • Document the folder layout, the registry API and the event list in the SDK README.

Mod loader (discovery, manifests, order, packs), registry, runtime asset loading, PCK export from game, DLC gate (compiled by the tests): references/patterns.md

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Godot Modding Dlc?

Mod support, DLC and patches in Godot 4.7 - resource packs (PCK/ZIP) with load_resource_pack, load timing and file overrides, mod folders, manifests and load order, registries and a mod API, runtime loading of images, audio, glTF and fonts, PCKPacker mod tools, Godot Mod Loader, Steam Workshop, DLC packs, delta patches, security limits. Use for mods, user content, DLC or patching.

Perché usare Godot Modding Dlc su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Godot Modding Dlc è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Godot Modding Dlc in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-modding-dlc. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Godot Modding Dlc?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Godot Modding Dlc?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Godot Modding Dlc: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Godot Modding Dlc è gratuita?

Sì. È pubblicata su GitHub da EL4CTEO con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇