mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-21 09:45:48 +08:00
* 新增自动地脉花任务代码 * 新增自动地脉花任务资源 * 优化自动地脉花界面文案 * 删除地脉花旧脚本与无用资源 * 完善自动地脉花说明与任务日志 * 完善一条龙地脉花配置与教程入口 * feat: Enhance AutoLeyLineOutcrop functionality and add new pathing data - Refactored combat text detection logic to improve accuracy. - Added new regions and positions for "挪德卡莱" in LeyLineOutcropData.json. - Introduced new pathing files for "挪德卡莱4-望崖营垒" and "挪德卡莱5-厄布拉神柱". - Updated config.json with new strategies and coordinates for enhanced navigation. - Improved error handling during party switch operations. - Removed outdated README.md file from pathing assets. * 修复一些日志打印 * 移动所有assets文件 * feat: clear drawn content in VisionContext before activating mask window --------- Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
项目结构
参考:AI生成的项目结构说明
如何编译并运行整个工程?
Rider (推荐)
git clone https://github.com/babalae/better-genshin-impact.git- 推荐使用 Rider 打开本项目。速度快且免费!
Visual Studio 2022
git clone https://github.com/babalae/better-genshin-impact.git- 需要使用 Visual Studio 2022 打开本项目。
请注意当前 现在已经丢到 nuget 上可以直接编译构建了/Asset 目录下的部分文件过大,比如地图特征数据(300M+),需要手动从 Release 包中获取并拷贝至对应的编译目录下,软件才能够正常运行对应的功能。(当前仅影响地图追踪、自动传送相关功能)
如何通过 Github Action 直接构建完整包?
首先 fork 这个项目并启用 GitHub Actions。然后提交 <commit> 并且推送到 <branch> 。
最后前往这里 https://github.com/<your-user-name>/better-genshin-impact/actions/workflows/publish.yml 并点击 Run workflow:
Use workflow from选择<branch>BetterGI Version填写<current-version>+<commit hash>Kachina Installer Channel选择release(无需修改)- 不要勾选
创建 GitHub Release 草稿
点击绿色按钮 Run workflow,等待约10分钟。
刷新当前页面,点击最新的 Run,Artifacts 中的 BetterGI_7z 就是构建的完整包。
运行项目闪退?
可能是 Windows SDK 版本不够。使用 Visual Studio Installer 安装 10.0.22621.0 及以上版本的 Windows SDK,或者编辑项目文件的 TargetFramework 降低版本。