hax is a Rust crate designed to make memory hacking, game hacking, cheat development, and any other low level memory based development simple, yet intuitive.
So far the project is in it's infancy, although many things are planned and we appreciate any form of contribution! We're on Discord and primarily discuss the project there, please note we request you not talk about cheat development as it is against Discord's terms of service.
Adding hax to your project is simple, however it requires a bit of setup depending on your desired output.
To add hax to your external project and produce an executable, you must:
cargo add hax -F external
main.rs
, attribute your entrypoint with #[hax::main]
To add hax to your internal project and produce a shared library (.dll, .dylib, .so), you must:
cargo add hax -F internal
crate-type
to ["cdylib"]
inside of Cargo.toml
lib.rs
, attribute your entrypoint with #[hax::main]
π
If you want to use the bleeding edge version of hax, you can add this to your Cargo.toml
:
[dependencies.hax]
git = "https://github.com/hax-rs/hax"
package = "hax"