Skip to content

Command Line

Patrice LECUYER edited this page Jul 30, 2026 · 1 revision

Command Line

XIMOD Architect has a headless mode for scripts and CI pipelines. Run the executable with a command and no window opens.

ximod-architect <command> [options]

Commands

Command Description
validate <root> Validate the FOMOD in <root> (project model + ModuleConfig 5.0 schema).
build <root> (Re)write fomod/info.xml and fomod/ModuleConfig.xml.
package <root> [-o FILE] Write the FOMOD XML, then build a distribution .zip.
help Show usage.
version Show the version.

<root> is the mod's root directory (the folder that contains, or will contain, the fomod sub-directory).

Examples

# Validate a project
ximod-architect validate "C:\Mods\MyMod"

# Rebuild the XML files
ximod-architect build "C:\Mods\MyMod"

# Build a distribution archive to a specific file
ximod-architect package "C:\Mods\MyMod" -o "MyMod-1.0.zip"

The commands return appropriate exit codes (non-zero on validation failure or error), so you can wire them into a build script or a CI job.

Clone this wiki locally