- Rust 100%
| .cargo | ||
| assets | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
DebugUI
A debug overlay for Azur Promilia CBT2.
This loads into the game process and rebuilds the internal debug actions that are still exposed by the game's Lua bindings.
Right now the overlay supports the three action types I've seen used:
- button
- input
- toggle
Other action types such as enum or flag are not handled because I haven't
found any usage of them in this version.
Open and close the menu with Tab.
Loading
Build the DLL and load it into the game process. How you do that is up to you: inject it manually, use your own loader, or use something like UnityDllLoader.
cargo build --release
The repo defaults to the x86_64-pc-windows-msvc target. It can also be built
with the GNU Windows target:
cargo build --release --target x86_64-pc-windows-gnu
For Linux hosts, the GNU target is usually the easier route. You still need a
nightly Rust toolchain with rust-src.
When building with an explicit target, Cargo puts it under the target-specific directory, for example:
target/x86_64-pc-windows-gnu/release/debug_ui.dll
Notes
This is made for CBT2. Offsets, wrappers, action registration, and even the available debug actions may change in other versions.
The actions are registered after you log in.
Some actions may not work (because they depend on server handling the commands) or they could even crash the game, or do something unexpected. This project just calls the original functions from the debug actions.
Some action names/descriptions are translated. If you want the raw original texts instead, build with:
cargo build --release --features no-translations
Disclaimer
This project is unofficial and is not affiliated with or endorsed by the game developers or publisher. Use it at your own risk.
License
MIT. See LICENSE.
