Skip to content
forked from YaLTeR/bxt-rs

An experiment to re-architecture Bunnymod XT from scratch.

License

Notifications You must be signed in to change notification settings

hobokenn/bxt-rs

 
 

Repository files navigation

bxt-rs

A few speedrunning and TAS-related tools for Half-Life and mods. Current features:

  • Video recording (a successor to hl-capture).
  • Commands to play many demos at once (bxt_play_run).
  • A useful subset of bxt_taslog when you can't use the one from the original Bunnymod XT.
  • bxt_fade_remove.

Started as an experiment to re-architecture Bunnymod XT from scratch with the benefit of hindsight.

Usage

On Linux, load it into HL like you would load regular BXT.

On Windows, rename bxt-rs.dll to BunnymodXT.dll and start HL using the injector (Injector.exe path\to\Half-Life\hl.exe). Running HL on its own and running the injector afterwards is not supported.

To run the bxt-compatibility build together with the original Bunnymod XT (e.g. for capturing TASes):

  1. Create a new folder, copy the original BunnymodXT.dll and Injector.exe there.
  2. Load Half-Life with bxt-rs as described above.
  3. While in the main menu, run the injector in the new folder to inject the original Bunnymod XT.

Building

Linux

  1. Install 32-bit libc for linking. On Ubuntu that's libc6-dev-i386.
  2. Install stable Rust (for example, via rustup) with the i686-unknown-linux-gnu target.
  3. cargo build --target=i686-unknown-linux-gnu

Windows

  1. Install stable Rust (for example, via rustup) with the i686-pc-windows-msvc target.
  2. cargo build --target=i686-pc-windows-msvc

Windows (cross-compiling from Linux)

  1. Install MinGW for the 32-bit target. On Ubuntu that's gcc-mingw-w64-i686.
  2. Install stable Rust (for example, via rustup) with the i686-pc-windows-gnu target.
  3. cargo build --target=i686-pc-windows-gnu

Documentation

License

Currently GPL v3 or later.

About

An experiment to re-architecture Bunnymod XT from scratch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%