diff --git a/README.md b/README.md index 2e1fb0a866..3731399777 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # LiteLoader [简体中文](README_zh-cn.md) | English [Donate us(afdian)](https://afdian.net/@liteldev) +[Official Forum](https://forum.litebds.com/) ![status](https://img.shields.io/github/workflow/status/LiteLDev/LiteLoader/Build%20LiteLoader?style=for-the-badge) ![Discord](https://img.shields.io/discord/849252980430864384?style=for-the-badge) ![Telegram](https://img.shields.io/badge/telegram-LiteLoader-%232CA5E0?style=for-the-badge&logo=Telegram)
@@ -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 @@ -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/) diff --git a/README_zh-cn.md b/README_zh-cn.md index 3305081278..d8f1e1cf5c 100644 --- a/README_zh-cn.md +++ b/README_zh-cn.md @@ -1,6 +1,7 @@ # LiteLoader 简体中文 | [English](README.md) -[捐赠(爱发电)](https://afdian.net/@liteldev) +[捐赠(爱发电)](https://afdian.net/@liteldev) +[官方论坛](https://forum.litebds.com/) ![status](https://img.shields.io/github/workflow/status/LiteLDev/LiteLoader/Build%20LiteLoader?style=for-the-badge) ![Discord](https://img.shields.io/discord/849252980430864384?style=for-the-badge) ![Telegram](https://img.shields.io/badge/telegram-LiteLoader-%232CA5E0?style=for-the-badge&logo=Telegram)
@@ -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 @@ -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/)