server-re/src
2026-10-14 16:58:56 -04:00
..
agent_release implement agent_release 2026-10-14 16:58:56 -04:00
meson.build implement agent_release 2026-10-14 16:58:56 -04:00
README.md implement agent_release 2026-10-14 16:58:56 -04:00

src — Linux reconstructions

Buildable Linux C++ ports of analysed Rusty Hearts server binaries. Each sub-folder ports one binary and has its own README. That README covers provenance, the Win32 → Linux substitutions, and what is not yet ported.

Folder Original binary Output
agent_release/ Agent_Release_x64.exe build/agent_release/agent_release

These are reconstructions from decompiled code, not original source.

Requirements

  • Linux with glibc ≥ 2.29 (for posix_spawn_file_actions_addchdir_np)
  • A C++17 compiler (tested with GCC 16.2)
  • Meson ≥ 1.0 and Ninja. Run both from this repo's mise environment or the system packages.

Build

From this directory:

meson setup build        # first time only
ninja -C build

Common tasks

  • Rebuild after changes: ninja -C build.
  • Release build: meson setup build-release --buildtype=release && ninja -C build-release.
  • Clean rebuild: rm -rf build && meson setup build && ninja -C build.

Run

./build/agent_release/agent_release --help
./build/agent_release/agent_release --auto-on 1 \
    --type 1:/path/to/server:/path/to/workdir --server 1:1:1

Stop it with Ctrl-C or SIGTERM. See agent_release/README.md for every option.

build/ is gitignored.

Adding another binary

  1. Create <name>/ with its sources, a meson.build and a README.md. The README must cite decomp addresses and list substitutions and gaps.
  2. Add subdir('<name>') to meson.build in this directory.