docs: 添加中文说明(用途 / 安装 / 服务器与 Windows 构建方式)

This commit is contained in:
gitea committed 2026-11-30 09:56:21 +08:00
1 parent eae477c462
commit 209a2e8cee
1 file changed
+40
+40
View File
@@ -0,0 +1,40 @@
# bmw-save-editor-bmkong · 中文说明
> 上游:[idedit/bmkong](https://github.com/idedit/bmkong)(Gitea 镜像)|许可证:见仓库|镜像时间:2026-11-30
> 代码与版权归原作者,中文说明与服务器构建记录由镜像方补充。
## 这是什么
《黑神话:悟空》**存档统计编辑器**(Python,中英双语界面):读取存档里的统计数据并改写,用于修正异常数值、补回丢失统计。
仓库结构:`src/`(主体)、`doc/`(截图与说明)。
## 安装 / 使用
1. 关掉游戏(存档被占用时改不动)。
2. 备份 `%LOCALAPPDATA%\b1\Saved\SaveGames\`。
3. `python src\<入口>.py`,打开存档文件后修改并保存。
## 服务器构建(Linux)
**服务器已构建**:`python3 -m compileall src` 语法检查通过,打包源码 zip(126KB)。Windows 打包命令见下节。
## Windows 原生构建
仓库未提供 PyInstaller 配置;要做 exe 可用:
```powershell
pip install pyinstaller
pyinstaller -w -F -n bmkong src\<入口>.py
```
## 版本
- 上游版本:`0.0.1`
- 上游地址:https://github.com/idedit/bmkong
## 注意
作者仍在早期版本(v0.0.1),字段含义有变动风险,改前务必备份。
---
*构建主机:OpenCloudOS 9 / x86_64,dotnet-sdk 8.0.129、Python 3、Node 20。需要 MSVC / .NET 10 / PowerShell 的部分已在上面注明。*