# Rusty Path of Building Rusty Path of Building is a cross-platform runtime environment for [Path of Building](https://github.com/PathOfBuildingCommunity/PathOfBuilding) and [Path of Building 2](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2). It serves as a replacement for [SimpleGraphic](https://github.com/PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic), the official runtime environment for PoB. The main focus of this project is native Linux support for Path of Building. It also runs on Windows and macOS, though most of my testing and development is focused on Linux, with support for other platforms largely based on user reports. Contributions that improve support or fix bugs on other platforms are welcome. ## Usage Open **Rusty Path of Building** from the applications menu, double-click the executable, or run it without arguments. Choose **Path of Exile 1** or **Path of Exile 2**. The first launch of each game downloads its Path of Building files into your user data directory. To open a specific game directly or pass a build URL, use the command line. ```bash rusty-path-of-building rusty-path-of-building poe1 rusty-path-of-building poe2 'pob://pobbin/' ``` ## Installation Download the x64 package for your system from the [Gitea releases page](https://git.faumaray.com/faumaray/rusty-path-of-building/releases). | System | Installer | Archive | | --- | --- | --- | | Windows | Run the setup EXE. In Start, **Rusty Path of Building** opens the chooser. **Rusty Path of Building - PoE 1** and **Rusty Path of Building - PoE 2** open their game directly. | Extract the whole ZIP into one folder and run `rusty-path-of-building.exe`. | | Linux | On a compatible Debian or Ubuntu system, run `sudo apt install ./rusty-path-of-building__amd64.deb`, substituting the downloaded filename. | Extract the tar.gz and run the included `rusty-path-of-building` executable. | Both games use the existing Vulkan renderer on Windows and Linux. You need a compatible graphics driver. Game downloads and saved builds live in separate per-game directories under your account. The Linux release is built on Ubuntu 24.04. The tarball requires glibc 2.39 or newer, libcurl, Vulkan, and the X11 or Wayland client libraries. Installing the Debian package through APT resolves its library dependencies. [![Packaging status](https://repology.org/badge/vertical-allrepos/rusty-path-of-building.svg)](https://repology.org/project/rusty-path-of-building/versions) ### Flathub [![Stable version badge](https://img.shields.io/flathub/v/community.pathofbuilding.PathOfBuilding)](https://flathub.org/en/apps/community.pathofbuilding.PathOfBuilding) ### Homebrew [Homebrew Tap](https://github.com/meehl/homebrew-rusty-path-of-building) (NOTE: This has been tested on macOS only) ### Building from source ```bash cargo build --release ``` #### Build Dependencies - `LuaJIT` - Required by the `mlua` crate. Alternatively, enable the `vendored-lua` feature to build LuaJIT from source instead of using a system installation. - `libcurl` - Required when the `bundled-lua-modules` feature (enabled by default) is used. ### Creating release packages The packager reads the version from `Cargo.toml` and writes to `target/dist/`. It takes a built executable as input. Python 3.11 or newer is required on both platforms. **Windows x64.** The Windows release links the Microsoft C runtime statically. Both the installer and portable ZIP include any additional DLLs the application needs alongside its executable. For the build machine, install the Visual Studio C++ x64 build tools with the Windows SDK, Git, Rust via rustup, Python 3.11+ with pip, and NSIS 3. The Gitea runner also needs Node for its Actions. From the repository root in x64 PowerShell, use the same build script as CI. ```powershell $env:RUSTUP_TOOLCHAIN = 'nightly-2026-11-24' rustup toolchain install $env:RUSTUP_TOOLCHAIN --profile minimal --target x86_64-pc-windows-msvc powershell -NoProfile -File .\packaging\windows\build.ps1 ``` The script builds both packages in `target/dist/` and checks the extracted program's CLI output, GUI subsystem and icon. It resolves app-local DLLs alongside the input executable and in explicitly supplied directories. When packaging a custom build, pass its dependency folder with `-DllDirectory`. The installer uses the current user's account and uninstalling preserves saved builds. **Linux x64.** On Ubuntu 24.04, install the C build tools, `pkg-config`, `libcurl4-openssl-dev`, and `dpkg-dev`. Build the executable and package it with the following commands. ```sh cargo build --locked --release --target x86_64-unknown-linux-gnu --features vendored-lua python3 packaging/package.py linux target/x86_64-unknown-linux-gnu/release/rusty-path-of-building ``` **Gitea releases.** A new `vX.Y.Z` tag matching the version in `Cargo.toml` triggers the release workflow. It builds on the `windows-x64` and `ubuntu-latest` runners, gathers the four packages and verifies their SHA-256 hashes before publishing. Use a native Windows x64 runner with the build tools above and an Ubuntu 24.04 x64 runner with APT access. Both runners need Git, a Node runtime for the checkout and artifact actions, and Python 3.11+. The repository's Actions job token needs read access to code and write access to releases. ## Runtime Dependencies Path of Building's Lua code requires the following C libraries: - [Lua-cURLv3](https://github.com/Lua-cURL/Lua-cURLv3) - [luautf8](https://github.com/starwing/luautf8) - [luasocket](https://github.com/lunarmodules/luasocket) - [lzip](https://github.com/PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic/tree/master/libs/LZip) By default, the `bundled-lua-modules` feature is enabled and registers Rust implementations of these libraries with the Lua runtime. The original C libraries don't need to be installed if this feature is enabled. To use the original C libraries instead, disable the feature and make sure Lua can locate them. Please refer to the [Lua documentation](https://www.lua.org/manual/5.1/manual.html#pdf-package.cpath) for details on that. ## Known Issues - If automatic updates fail, navigate to `~/.local/share/RustyPathOfBuilding{1,2}/` and delete the `rpob.version` file and the `Update` directory. This will force a complete re-download of PoB's latest assets and Lua code on the next startup. - Automatic updates for weekly beta builds are supported, but compatibility is not checked. If you run into problems with a beta version, please don't open an issue for it.