English | 简体中文
Mod loading framework for CHUNITHM. Proxies version.dll to load mod DLLs from mods/ at runtime.
version.dllproxy, forwards all 17 system exports- Auto-scans
mods/*.dllon startup - Mod API (C ABI): memory read/write, AOB scan, inline hook, RTTI vtable lookup, inter-mod IPC
- TOML / INI config API
- Leveled logging (info/warn/error) + console colors + per-mod log files
- Dependency topological sorting
- Crash protection (catch_unwind)
- Game version detection + min_loader_version check
- Lifecycle: init → on_ready → on_frame → shutdown
- Hot reload (reload_mod API + reload.flag)
- Crash dump + stack trace
- Written in Rust; mods can be Rust, C/C++, or any language producing a Win32 DLL
- Build or download
version.dll - Place it in the game directory (next to
chusanApp.exe) - Drop mod DLLs into
mods/ - Launch the game normally
Requires Rust nightly with i686-pc-windows-msvc target:
cargo build --releaseOutput: target/i686-pc-windows-msvc/release/version.dll
See docs/mod-development.md and docs/api-reference.md.
Header: include/chumod.h
Apache-2.0