Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Sep 5, 2021
1 parent 54338a0 commit cb39675
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LiteLoader
[简体中文](README_zh-cn.md) | English
[Donate us(afdian)](https://afdian.net/@liteldev)
[Official Forum](https://forum.litebds.com/)
<a href="https://github.com/LiteLDev/LiteLoader/actions">![status](https://img.shields.io/github/workflow/status/LiteLDev/LiteLoader/Build%20LiteLoader?style=for-the-badge)</a>
<a href="https://discord.gg/27KTrxHc9t">![Discord](https://img.shields.io/discord/849252980430864384?style=for-the-badge)</a>
<a href="https://t.me/liteloader">![Telegram](https://img.shields.io/badge/telegram-LiteLoader-%232CA5E0?style=for-the-badge&logo=Telegram)</a><br>
Expand All @@ -13,8 +14,7 @@ Thanks to [rhymc.com](https://www.rhymc.com/) for supporting this project
### Windows
1. Download `LiteLoader.zip` from [Releases](https://github.com/LiteLDev/LiteLoader/releases) or [Actions](https://github.com/LiteLDev/LiteLoader/actions), unzip it to BDS directory
2. Run `SymDB2.exe` to generate symbol files(`bedrock_server.symdb2`) and BDS with export symbols `bedrock_server_mod.exe`(plugins in future may require this version of bds), before you run `SymDB2.exe` you need to check if the `bedrock_server.pdb` exists
3. For Developers: use vs studio command `lib /def:bedrock_server_mod.def /machine:x64` to generate a lib file to call BDS function directly
4. Notice!!! the first line of bedrock_server_mod.def is WRONG!!! you should edit it(`LIBRARY bedrock_server_mod.def`->`LIBRARY bedrock_server_mod.exe`) before you generate .lib file(fixed version of SymDB2 is waiting for sign)
3. For Developers: run `SymDB2.exe -def` then use vs studio command `lib /def:bedrock_server_mod.def /machine:x64` to generate a lib file to call BDS function directly

### Docker(Linux)
```bash
Expand All @@ -28,7 +28,7 @@ Exit console: press `Ctrl + P + Q`, if you press `Ctrl + C` server process will
If you want to manage server file, use `docker volume --help` for more details

## Usage
Put .dll plugins into `plugins\` directory
Put .dll plugins into `plugins\` directory and run `bedrock_server_mod.exe`

## More
See [Docs](https://docs.litetitle.com/)
Expand Down
7 changes: 4 additions & 3 deletions README_zh-cn.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LiteLoader
简体中文 | [English](README.md)
[捐赠(爱发电)](https://afdian.net/@liteldev)
[捐赠(爱发电)](https://afdian.net/@liteldev)
[官方论坛](https://forum.litebds.com/)
<a href="https://github.com/LiteLDev/LiteLoader/actions">![status](https://img.shields.io/github/workflow/status/LiteLDev/LiteLoader/Build%20LiteLoader?style=for-the-badge)</a>
<a href="https://discord.gg/27KTrxHc9t">![Discord](https://img.shields.io/discord/849252980430864384?style=for-the-badge)</a>
<a href="https://t.me/liteloader">![Telegram](https://img.shields.io/badge/telegram-LiteLoader-%232CA5E0?style=for-the-badge&logo=Telegram)</a><br>
Expand All @@ -15,7 +16,7 @@
### Windows
1.[Releases](https://github.com/LiteLDev/LiteLoader/releases)或者[Actions](https://github.com/LiteLDev/LiteLoader/actions)下载`LiteLoader.zip`,将压缩文件解压到BDS目录下
2. 运行`SymDB2.exe`以生成符号文件(`.symdb2`) 还有修改了导出表的BDS(`bedrock_server_mod.exe`,未来的插件可能会要求该版本的bds),运行`SymDB2.exe`之前你需要检查`bedrock_server.pdb`文件是否存在
3. 对于开发者而言,打开vs studio命令行工具,使用`lib /def:bedrock_server_mod.def /machine:x64`来创建一个可链接的lib文件,可以通过函数签名直接调用,不需要dlsym
3. 对于开发者而言,首先运行`SymDB2.exe -def`打开vs studio命令行工具,使用`lib /def:bedrock_server_mod.def /machine:x64`来创建一个可链接的lib文件,可以通过函数签名直接调用,不需要dlsym

### Docker(Linux)
```bash
Expand All @@ -29,7 +30,7 @@ docker create --name liteloader -p 19132:19132/udp -i -t shrbox/liteloaderbds
如果你想要管理服务器文件,请输入`docker volume --help`获得更多细节

## 使用方法
把.dll插件放到`plugins\`目录
把.dll插件放到`plugins\`目录然后运行`bedrock_server_mod.exe`

## 更多
请参见[Docs](https://docs.litetitle.com/)
Expand Down

0 comments on commit cb39675

Please # to comment.