Skip to content
xray-forgePublic

About

Modern GUI and CLI toolkit for S.T.A.L.K.E.R. X-Ray Engine modding.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

4,138 Commits

Folders and files

Repository files navigation

XRF Tools

XRF Tools

nightly build license language-rust

XRF Tools is an open-source editor and command-line toolkit for reading, validating, editing, packing, and converting assets for S.T.A.L.K.E.R.: Call of Pripyat–style X-Ray games.

Get XRF Tools

Download the nightly builds.

  • Windows: XRF Editor and CLI.
  • Linux: CLI.

What it includes

XRF Editor

XRF Editor, the Windows desktop application, provides focused workspaces for:

  • browsing, extracting, and packing X-Ray archive volumes;
  • browsing LTX configs, dialog trees, quests, info portions, character profiles, and script exports, and formatting or validating LTX files;
  • previewing OGF visuals and their motions in 3D;
  • inspecting, unpacking and packing spawn files and icon sprite sheets;
  • parsing, editing, building, and checking translations;
  • validating assembled gamedata trees.

XRF Editor main window

Command-line interface

xrf-cli is for repeatable local work, scripts, and CI. Its command groups cover X-Ray archives, assembled game data, LTX configurations, dialogs and script externs, DDS and THM textures, OGF models, OMF motions, particle libraries, spawn files, icon sprites, and translations. Commands can emit JSON reports for automation.

The CLI reference documents every command and option.

Compatibility

XRF Tools targets vanilla Call of Pripyat assets first. Support is expanding to other X-Ray 1.6–based forks, whose format and engine differences can vary by project. Validate write operations against a copy of the assets you intend to ship.

Build from source

The repository is a Rust workspace with a Tauri editor and React UI.

Install prerequisites

The CLI needs the Rust toolchain rust-toolchain.toml pins and Cargo Make; the package-* tasks also need cargo-about. CI installs the versions .github/actions/cargo-tools pins. The editor also needs Node.js 26 or later, the pnpm version the root package.json names, and Tauri's system prerequisites; its Tauri CLI comes locked with packages/xrf-editor-ui.

After installing Rust, Node.js, and pnpm, install the project tools, then the locked TypeScript workspace at the root:

rustup toolchain install
cargo install cargo-make --locked
cargo install cargo-about --locked
pnpm install --frozen-lockfile

Build and run

cargo make build-cli-release
cargo make build-editor-release

For editor development, run its backend and UI together:

cargo make dev-editor

See Development commands for the complete task reference.

Run the complete local check suite before contributing a change:

cargo make verify

CLI e2e tests live in the xrf-tools-e2e repository.

Documentation and support

About

Modern GUI and CLI toolkit for S.T.A.L.K.E.R. X-Ray Engine modding.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages