This project is a Rust-based tool that provides a convenient interface for looking up fields of game structures using their memory offsets.
- Look up fields by offset in a user-friendly manner
- Platform-independent, unlike source2gen
- Lightweight and efficient (50ms startup time, negligible lookup time)
- Convenient
.env
configuration - Easy to read color-coded output
Before using this, ensure you have the required Rust environment to compile and run Rust applications. If you're new to Rust, you can get started here.
- Rustc and Cargo
- A JSON file containing the schema
- Clone this repository to your local machine.
- Copy
.env.example
to.env
.
cp .env.example .env
- Open the
.env
file in a text editor and specify the path to yourclient.hpp
file.
SCHEMA_JSON="/path/to/your/schema.json"
- Save
.env
with the updated path.
After setting up your environment, you can compile the project using Cargo:
cargo build --release
The compiled binary will be located in the target/release
directory.
Run the compiled binary from to start the application. The interface will prompt you to enter an offset value and find corresponding fields in the parsed SDK files.
./target/release/sdk-lookup
To exit, simply type exit
and press enter, or send a SIGINT signal (Ctrl+C).
- Mistral-medium for this README.
This project is licensed under the GPL 3.0 License - see the LICENSE file for details.