You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mod loading framework for CHUNITHM. Proxies `version.dll` to load mod DLLs from `mods/` at runtime.
4
+
5
+
> **[中文说明](README_cn.md)**
6
+
7
+
> **v2.0.0** — Loader rewritten from C++ to Rust. Mod C ABI unchanged; existing mod DLLs work without modification. C++ mods remain fully supported via `chumod.h` — the header is maintained alongside the Rust codebase and will continue to receive updates. Legacy C++ loader code at tag [`v1.0.0-cpp`](https://github.com/Applesaber/ChuModLoader/tree/v1.0.0-cpp).
8
+
9
+
## Features
10
+
11
+
-`version.dll` proxy, forwards all 17 exports to the real system DLL
12
+
- Auto-scans `mods/*.dll` on startup, no config needed
13
+
- Optional Mod API (`chumod_init`) with memory read/write, AOB scan, inline hook, inter-mod IPC; plain DLLs work too
14
+
-`mods.ini` to disable individual mods
15
+
- Inline hooking via [retour](https://crates.io/crates/retour)
16
+
- Written in Rust, mods can be written in Rust, C/C++, or any language that produces a Win32 DLL
17
+
18
+
## Installation
19
+
20
+
1. Build or download `version.dll`
21
+
2. Place it in the game directory (next to `chusanApp.exe`)
22
+
3. Drop mod DLLs into `mods/`
23
+
4. Launch the game normally
24
+
25
+
`mods/` directory and `mods.ini` are created automatically on first run.
26
+
27
+
## Configuration
28
+
29
+
`mods.ini` is auto-generated in the game directory. To disable a mod:
30
+
31
+
```ini
32
+
[mods]
33
+
mod_name.dll=0
34
+
```
35
+
36
+
Mods not listed (or set to `1`) are loaded by default.
37
+
38
+
### Per-Mod Configuration (v2)
39
+
40
+
Each mod gets its own config file at `mods/config/<mod_name>.ini`, created automatically on first access. Mods read/write settings via the Config API:
41
+
42
+
```c
43
+
// read with defaults (file created automatically if missing)
Copy file name to clipboardExpand all lines: README.md
+49-49Lines changed: 49 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,51 +1,51 @@
1
1
# ChuModLoader
2
2
3
-
Mod loading framework for CHUNITHM. Proxies `version.dll` to load mod DLLs from `mods/`at runtime.
3
+
CHUNITHM 的 mod 加载框架。通过代理 `version.dll`,在游戏启动时自动从 `mods/`目录加载 mod DLL。
4
4
5
-
> **[中文说明](README_cn.md)**
5
+
> **[English](README.md)**
6
6
7
-
> **v2.0.0** — Loader rewritten from C++ to Rust. Mod C ABI unchanged; existing mod DLLs work without modification. C++ mods remain fully supported via `chumod.h`— the header is maintained alongside the Rust codebase and will continue to receive updates. Legacy C++ loader code at tag [`v1.0.0-cpp`](https://github.com/Applesaber/ChuModLoader/tree/v1.0.0-cpp).
7
+
> **v2.0.0** — Loader 从 C++ 迁移到 Rust 重写。Mod 的 C ABI 接口不变,已有 mod DLL 无需修改。C++ mod 开发仍然完整支持 — `chumod.h`头文件随 Rust 代码同步维护,持续更新。旧版 C++ 代码保留在 tag [`v1.0.0-cpp`](https://github.com/Applesaber/ChuModLoader/tree/v1.0.0-cpp)。
8
8
9
-
## Features
9
+
## 功能
10
10
11
-
-`version.dll`proxy, forwards all 17 exports to the real system DLL
12
-
-Auto-scans`mods/*.dll` on startup, no config needed
13
-
-Optional Mod API (`chumod_init`) with memory read/write, AOB scan, inline hook, inter-mod IPC; plain DLLs work too
14
-
-`mods.ini`to disable individual mods
15
-
-Inline hooking via [retour](https://crates.io/crates/retour)
16
-
-Written in Rust, mods can be written in Rust, C/C++, or any language that produces a Win32 DLL
11
+
-`version.dll`代理劫持,转发全部 17 个导出函数
12
+
-启动时自动扫描`mods/*.dll`,无需配置
13
+
-可选的 Mod API(`chumod_init`),提供内存读写、AOB 扫描、inline hook、mod 间通信;不实现也能加载
0 commit comments