Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

X-Ray Forge

X-Ray Forge (XRF) is a TypeScript rewrite of the S.T.A.L.K.E.R.: Call of Pripyat script layer. It compiles gameplay code to Lua and builds the configs, UI forms, translations, and resources used by X-Ray.

This book covers the full development workflow: project setup, builds, CLI and desktop tools, runtime architecture, gameplay schemes, and debugging.

Start here

Generated files are written under target/. Edit sources in the engine or tools repository and rebuild; do not edit generated gamedata by hand.

Project repositories

XRF uses OpenXRay as its main engine reference. Game assets are split across base, extended, and locale repositories for English, Ukrainian, and Russian.