Skip to content

Commit 9a35c33

Browse files
committed
upload
1 parent c8e08fe commit 9a35c33

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 1
33
---
44

5-
# 介绍
5+
# Dead Cells Core Modding 介绍
66

77
![GitHub License](https://img.shields.io/github/license/dead-cells-core-modding/core) [![Build And Test](https://github.com/dead-cells-core-modding/core/actions/workflows/build.yml/badge.svg?branch=dev)](https://github.com/dead-cells-core-modding/core/actions/workflows/build.yml)
88

docs/tutorial/install-mods.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,43 @@ sidebar_position: 2
44

55
# 安装 Mods
66

7+
本文以 **SampleHook** Mod为例,介绍 **Mods** 的安装方法。
8+
79
:::info
810
本文所提到的 **Mods 目录** 的路径为`<DeadCellsGameRoot>/coremod/mods`
911
:::
1012

1113
## 获取 Mods
1214

1315
你可以从任何你喜欢的渠道获取 **Mods**
14-
对于任何一个**有效**的 Mod ,其目录结构应该类似:
16+
17+
:::tip
18+
对于任何一个**有效**的 Mod ,其根目录下都应该存在`modinfo.json`
19+
例如
20+
21+
```txt
22+
SampleHook
23+
├─ modinfo.json
24+
├─ SampleHook.dll
25+
└─ SampleHook.pdb
26+
```
27+
28+
:::
29+
30+
## 复制 Mods 文件
31+
32+
将 Mod 文件夹复制到 **Mods 目录** 下。
33+
34+
完成上述操作后,目录结构应该类似于:
1535

1636
```txt
17-
<Mod根目录>
37+
<DeadCellsGameRoot>
38+
├─ coremod
39+
│ ├─ mods
40+
│ │ ├─ SampleHook
41+
| | | ├─ modinfo.json
42+
| | | └─ …
43+
| | └─ …
44+
| └─ …
45+
└─ …
1846
```

0 commit comments

Comments
 (0)