XRF Engine is a TypeScript scripting layer and build toolchain for S.T.A.L.K.E.R.: Call of Pripyat–style X-Ray 1.6. It compiles scripts to Lua, assembles game data, and provides the workflows needed to develop, validate, and package a mod.
- TypeScript scripts compiled to Lua with TypeScriptToLua and static type checks.
- A project CLI and
build pipeline that assemble scripts, configs,
JSX UI forms, translations, and resources into
target/gamedata. - Mod and game packaging, plus local game links and engine-variant management for development.
- Modular extensions for opt-in behavior changes.
- Jest unit tests, project and game-data verification, and consistent code, LTX, and configuration checks.
- XRF Tools for archive, spawn, sprite, translation, and other asset workflows.
- Provide a typed, documented foundation for X-Ray 1.6 mod development.
- Keep source code, configuration, SDK references, and project tooling readable and maintainable.
- Automate repeatable build, validation, local-game, and packaging steps.
See the complete change list.
XRF aims to make mod development easier without changing the original plot by default. Improvements to performance, quality, and gameplay logic belong in the core project when they preserve that goal. Larger or incompatible behavior changes belong in extensions.
XRF Engine is available under the MIT License. This community project is not affiliated with GSC Game World. When using XRF Engine and OpenXRay to modify S.T.A.L.K.E.R. games, follow the applicable official EULA and Fan Content Creation Guidelines:
