X4 Forge StudioBuild serious X4: Foundations mods in one local, X4-aware workspace. X4 Forge is a visual modding studio and VS Code-compatible extension for the full path from authoring to evidence. It connects a navigable Mission Director graph with native XML editing, X4 corpus and XSD intelligence, deterministic whole-project diagnostics, safe patching, and guarded package and deploy workflows. The result is fewer silent reference and selector failures, faster iteration, and a clear record of what Forge checked before changes reach the game. Start here: install X4 Forge Studio from Open VSX, then run X4 Forge: Open Studio from your editor's Command Palette. One workflow, from idea to in-game evidence
Shipped capability pillarsAuthor visually or source-first
Edit against X4's real reference dataPoint Forge at the game installation or configured unpacked reference corpus and it can provide:
Validate the whole project deterministicallyForge checks more than whether one XML file parses. Its deterministic checks cover XML and XSD validity, X4 identifiers and references, script properties and expressions, cue lineage, MD-to-Lua events and payloads, package completeness, patch simulation, and installed-extension dependencies and overrides. Open Why on a finding to see the rule, evidence, likely impact, and bounded next action. Validation can also compare the current result with the last accepted green baseline, so new warnings are distinguishable from existing debt. Make patches and bulk changes inspectableThe XML Patching workbench targets real base-game, DLC, and extension files. Preview the effective document before and after a change, validate selectors, simulate every emitted operation, and keep the base file, candidate, revision, and generated patch aligned. Bounded numeric bulk transforms can preview several changes together and apply the complete, validated set atomically. Stale plans, traversal, ambiguous matches, invalid selectors, conflicts, and partial bundles are refused instead of being turned into silent edits. Find conflicts and prepare safer releasesExtension Doctor scans installed extensions for duplicate IDs, missing dependencies, override claims, selector and file conflicts, and load-order winners. It distinguishes softer curated or heuristic third-party findings from schema-backed validation. For releases, Forge can validate a disk-backed project, reopen generated artifacts, preserve independent hashes, and prepare:
Forge does not upload releases, accept legal prompts, or press Enter for you. The irreversible step stays visible and under your control. The trust boundaryForge is strong at making static structure, references, package contents, patch effects, and deployment state inspectable. That is not the same as proving gameplay intent. Schema-valid code can still behave incorrectly in X4; a cue may not fire, a menu may not open, or a mechanic may not produce the result you intended. Run the mod in X4 and inspect its runtime evidence. The game is the final authority, while Forge helps connect that evidence back to the source, validation baseline, and deployment that produced it. Who it is for
Optional integrationsMultiple workspaces have server-owned identities, so validation, history, packaging, recovery, and agent keys stay attached to the correct project. The extension can open a mod folder in the IDE, create scoped agent keys, copy MCP configuration, refresh an agent brief, and generate a proof artifact. These integrations are secondary to the Studio's own deterministic checks. The optional AI Guide is off by default. If enabled, it uses providers and keys you configure to propose project work; proposals remain visible, require explicit confirmation before apply, and are still judged by deterministic Forge validation. Provider use can send requests over the network and consume the budget configured for that provider. Start in three steps
Requirements, privacy, and limits
The Forge backend runs on your machine over a protected local connection. Projects, game files, validation data, credentials, and generated artifacts remain local during local workflows. The optional AI path is different: requests go to the provider you configure and use your keys. Forge is not an in-game replacement, an automatic release uploader, or an asset-modelling suite. Static validation reduces avoidable failures; it does not replace running X4 and checking the behaviour you intended. SupportFor installation problems, reproducible validation failures, or feature requests, open an issue on GitHub with your editor, operating system, and the smallest project or diagnostic that reproduces the problem. Licensed under MIT. |