Skip to content

Generate Profile Settings

kahlen-tech edited this page Nov 5, 2026 · 1 revision

Description

Builds your profile files from shared pieces. It reads your files in the profile-gen folder (next to profiles), replaces each %INCLUDE <name> line with the piece of that name, and writes the result to profiles under the same file name.

  • Main files are named <character>-<name>.yaml, e.g. Mychar-setup.yaml.
  • Pieces are named <character>-<name>-include.yaml, or ALL-<name>-include.yaml to share them with all your characters. Pieces can include other pieces.

See the Risima- and ALL-example-include.yaml files in profile-gen for an example.

It overwrites the files of the same name in profiles. Make your changes in profile-gen, not in profiles.
It must be trusted to write files: ;trust generate-profile.
It stops on a misnamed file ("Bad filename: file"), on a main file starting ALL- ("Files starting in ALL- must be includes."), on a missing piece, or on pieces that include each other.
get_settings can also combine files without it, with an include: list in your setup file.

Settings

YAML Settings

None.

Argument Settings

Argument Purpose
debug Show each file as it's loaded, processed and written.

Usage

;generate-profile

Clone this wiki locally