How flowers-modding/adofai-mod-development-guide works
Purpose and Scope
This repository is a Korean-language development guide for creating mods for *A Dance of Fire and Ice* (ADOFAI). It is documentation-first rather than an executable application; the bundled template is the practical code starting point.
Core entry point: README.md, which routes readers to six sequential guide chapters and the template archive.
Template-Based Project Starting Point
ModTemplate.zip is the repository’s only packaged implementation artifact. It is intended to be downloaded/opened alongside the guide and likely contains the mod project structure, dependencies, and build setup described by the documentation.
• ModTemplate.zip
• README.md
The archive is a distribution boundary: its internal contents are not exposed in the supplied tree, so its runtime entry classes, project files, and dependency versions cannot be verified here.
Setup and Mod Host Integration
The first stage establishes a mod development project and its relationship to the ADOFAI mod-loading environment.
• dev1.md
• ModTemplate.zip
The README separately directs installation users to the external UMM installation/application guides. UMM is therefore a material external runtime/loader dependency for deploying mods, while this repository focuses on authoring them.
Runtime Behavior Injection
Method patching is the primary mechanism for altering game behavior, covered in:
• dev2.md
This implies a control-flow boundary between the base game’s existing methods and mod-supplied interception/patch logic. Mod behavior is invoked through patches at selected game lifecycle or gameplay method boundaries rather than through a standalone process.
User Interface Layer
The guide separates transient GUI display from persistent mod configuration:
• dev3.md
• dev4.md
dev3.md covers presenting GUI within the game runtime. dev4.md covers a mod settings window, establishing a configuration UI boundary distinct from gameplay patches. The expected flow is player interaction in the game → mod GUI/settings controls → mod-held configuration/state → patched behavior consuming that state.
Build and Deployment Pipeline
Build guidance is isolated in:
• dev5.md
• ModTemplate.zip
The intended pipeline is: initialize from template → implement patches and UI → build the mod artifact → install/load it through UMM into ADOFAI. Exact compiler, framework, output format, and packaging conventions are not visible in the supplied tree.
Game Code Discovery
The final guide stage addresses inspecting ADOFAI code:
• dev6.md
This is architecturally important because patch targets depend on understanding the game’s classes and methods. The workflow is game-code inspection → identify an appropriate method boundary → implement patch → build and validate in the mod-hosted game runtime.
External Dependencies and Documentation Structure
The repository relies on external GitHub-hosted installation guidance for UMM and publishes its own downloadable template from GitHub. Its main navigational and conceptual structure is:
• README.md
• dev1.md
• dev2.md
• dev3.md
• dev4.md
• dev5.md
• dev6.md
No source directories, executable entry points, infrastructure definitions, or test suites are present in the visible repository tree.
Main entry points: dev2.md Method patching · dev1.md Project setup · dev3.md In-game GUI · dev4.md Settings UI
Components 12
Guide chapters
Sequential authoring workflow.
- Project setup
dev1.md - Method patching · Primary mechanism for injecting mod behavior.
dev2.md - In-game GUI
dev3.md - Settings UI · Persistent mod configuration boundary.
dev4.md - Build and deployment
dev5.md - Game code discovery · Finds suitable game method boundaries for patches.
dev6.md
External runtime
- UMM · External installation and loading dependency.
- ADOFAI · Base-game methods are intercepted by mod patches.
Other components
- README · Routes readers through the guide and template.
README.md - Mod template archive · Packaged starting point; internal structure is not visible.
ModTemplate.zip - Authored mod · Implemented from the template; format is not documented here.
- Mod configuration/state
Connections 19
- README → Project setup: starts workflow
- README → Mod template archive: links download
- Project setup → Mod template archive: uses
- Project setup → Method patching: then
- Method patching → In-game GUI: then
- In-game GUI → Settings UI: then
- Settings UI → Build and deployment: then
- Build and deployment → Game code discovery: then
- Mod template archive → Authored mod: initializes
- Method patching → Authored mod: implements patches
- In-game GUI → Authored mod: implements GUI
- Settings UI → Mod configuration/state: manages
- Mod configuration/state → Authored mod: drives behavior
- Game code discovery → Method patching: identifies targets
- ADOFAI → Game code discovery: code inspected
- Build and deployment → Authored mod: builds
- Authored mod → UMM: installed and loaded by
- UMM → ADOFAI: loads into
- Authored mod → ADOFAI: patches method boundaries