Commit Graph

82 Commits

Author SHA1 Message Date
大头鱼
126e39f77c 完善Markdown To FlowDocument的,在WIn11下为bgi添加浅色主题支持 (#2082) 2025-08-24 15:58:21 +08:00
辉鸭蛋
25f6763e48 移动相关资源文件 2025-07-01 22:49:53 +08:00
Zhicheng Zhang
2ab54e50c0 支持在命令行启动一条龙参数时选择配置,配置找不到就用界面指定的。 (#1586)
* 优化命令行一条龙,支持选择配置。

BetterGI.exe startOneDragon <一条龙配置名称>
BetterGI.exe --startOneDragon <一条龙配置名称>

* 优化其它命令行启动逻辑。
2025-05-15 00:33:09 +08:00
Shatyuka
66afbc83ae 截图优化 (#1573)
* 截图优化

* 窗口选择排除WS_EX_LAYERED

云原神

* 优化原神窗口判断
2025-05-12 22:39:02 +08:00
Takaranoao
5b3bac478d 升级多个依赖&增加额外的推理加速功能&迁移OCR (#1459)
* 更新多个NuGet包至最新版本

* 重构模型加载以适应yolosharp

* feat: 改变接口。TensorRT缓存的初步支持,修改配置项。

* 更新依赖并调整变量顺序,修复加载问题

* 更新AvalonEdit和Microsoft.ML.OnnxRuntime包至最新版本,以修复问题

* fix: downgrade Microsoft.ML.OnnxRuntime.DirectML to version 1.21.0

* typo

* fix: change log level from warning to error for ONNX provider loading failure

* 增加 paddle ocr 的 onnx 模型

* feat: add PaddleOCR models for Chinese, English, and Latin recognition

* 使用cv的DNN生成Tensor,加速Yap文字识别

* feat: 尝试搓一个onnx的ocr

* clean up code

* chore: update OpenCvSharp4 package versions to 4.10.0.20241108

* 修复因格式化代码而丢的引用

* chore: update Microsoft.ML.OnnxRuntime.DirectML package to version 1.21.1 and improve logging for ONNX provider initialization

* chore: 等yolosharp更新再升级onnx

* chore: add Microsoft.ML.OnnxRuntime.Managed package and clean up logging in Det class

* fix: refactor output tensor handling in Det class for improved clarity

* 补充注释,修复DML的OCR问题

* 默认OCR推理使用CPU,整理配置

* fix error NETSDK1152: 找到了多个具有相同相对路径的发布输出文件

* fix(logging): enhance debug log for ONNX initialization with provider details

* 修复TensorRT模型缓存的加载问题

* fix(onnx): improve cached model retrieval and add file existence check

* fix(ocr): replace SrcGreyMat with SrcMat for region of interest processing

* fix(onnx): add file existence check for cached model and adjust session options for DirectML provider

* 增加硬件加速配置UI界面

* 移除旧的OCR模型

* 错别字

---------

Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-05-11 01:08:37 +08:00
辉鸭蛋
9f3915d748 默认使用旧版截图器 2025-04-11 00:18:32 +08:00
辉鸭蛋
1df15bb83c 提供老版本的稳定 BitBlt 功能 2025-04-11 00:11:42 +08:00
辉鸭蛋
f5509dd540 关闭截图器 切换分辨率 开启截图器 后分辨率不正常的问题 2025-04-06 12:35:41 +08:00
Takaranoao
a9150054c4 从命令行启动调度器,暂不支持URL(--startGroups 组1 组2 ...) (#1309)
* 从命令行启动调度器,暂不支持URL(--startGroups 组1 组2 ...)

* 修改:log&执行顺序和传入顺序相同
2025-03-16 00:20:33 +08:00
辉鸭蛋
46ebdfc452 wpfui 4.0.0 (#1255)
* new INavigationAware, remove PageService

* fix run

* fix title bar

* override OnNavigatedTo

* try fix WindowStartupLocation
2025-03-13 00:33:31 +08:00
辉鸭蛋
297618b95f fix windows notify 2025-02-01 23:03:25 +08:00
辉鸭蛋
e735cacb17 fix bettergi://start not valid 2025-02-01 10:23:05 +08:00
辉鸭蛋
b130351d8d bgi.huiyadan.com -> bettergi.com 2025-01-29 08:41:11 +08:00
辉鸭蛋
5259b1f351 startOneDragon command line #998 2025-01-25 16:49:05 +08:00
辉鸭蛋
987e723b8c BetterGI.exe startOneDragon 2025-01-25 10:31:30 +08:00
辉鸭蛋
39da7b489f lock start 2025-01-18 00:53:47 +08:00
辉鸭蛋
902b319211 触发器触发频率必须大于0 2025-01-10 00:51:35 +08:00
__Chisato__
63d7d230dc 优化了PickerWindow的表现效果 2025-01-06 18:35:11 +08:00
辉鸭蛋
a57aed9ce7 fix genshin install path get 2025-01-05 14:57:54 +08:00
辉鸭蛋
c9634abebb fix install path get 2024-12-27 02:37:46 +08:00
辉鸭蛋
dc853f2307 new game path loader 2024-12-27 00:57:18 +08:00
ema
619cb667cd chore: doc about game cli #665 2024-10-01 14:16:13 +08:00
辉鸭蛋
8e44643a51 auto eat #649 2024-09-21 23:41:20 +08:00
何杰泽
a2adfe5b6f 修改自动秘境战斗策略,添加自动吃药任务。但是没进行判断。 2024-09-17 22:18:00 +08:00
辉鸭蛋
4276957837 tp opt & F11 can cancel script task
优化日志记录和任务取消逻辑

在 `PathExecutor.cs` 中添加了 `using System.Diagnostics;` 语句。
注释掉了 `PathExecutor` 类中的部分日志信息。
将 `MoveTo` 和 `MoveCloseTo` 方法中的日志记录改为使用 `Debug.WriteLine`。
修改了 `MoveTo` 和 `MoveCloseTo` 方法中的循环条件,改为 `while (!cts.IsCancellationRequested)`。
将 `MoveTo` 方法中的超时时间从 30 秒改为 60 秒。
在 `TpTask.cs` 中增加了对配置项的最小值检查。
在 `MapAssets.cs` 中添加了新的地图坐标 `{ "纳塔", [8973.5, -1879.1] }`。
在 `HomePageViewModel.cs` 中添加了 `using BetterGenshinImpact.Core.Script;` 语句。
在 `HomePageViewModel` 类的 `Stop` 方法中,添加了取消独立任务的逻辑。
2024-09-08 19:44:34 +08:00
ema
24d798d6b2 UI/UX: use MessageBox from Violeta 2024-08-20 23:46:29 +08:00
辉鸭蛋
ed9a47a3a1 fix dispather thread safe 2024-08-11 20:14:32 +08:00
辉鸭蛋
35354ede17 multiple instances of mask windows #481 2024-07-13 10:17:07 +08:00
辉鸭蛋
85a2e4a642 add record UI 2024-06-23 23:22:11 +08:00
辉鸭蛋
a8d07823f2 DirectML need Windows 10 version 1903 or later 2024-06-08 18:46:07 +08:00
辉鸭蛋
94c8c6a842 modify device name 2024-05-28 19:08:28 +08:00
辉鸭蛋
889955389b use DML 2024-05-28 11:42:54 +08:00
辉鸭蛋
08fbd6e2a2 +main 2024-05-28 10:28:16 +08:00
辉鸭蛋
edff49c9cb fix #394 2024-05-25 11:15:36 +08:00
辉鸭蛋
5f35d483c2 remove system version judgment #394 2024-05-25 11:00:30 +08:00
辉鸭蛋
4bf5001a2c WindowsGraphicsCapture only support Windows 10 version 1903 or later #394 2024-05-20 11:56:04 +08:00
辉鸭蛋
7dadf9b9f9 auto restart when switching capture mode 2024-05-02 22:39:26 +08:00
辉鸭蛋
18c1e9f978 automatically restart the dispatcher when the game window size changes 2024-04-28 00:01:04 +08:00
辉鸭蛋
ed63a68ee5 add switch inference device UI 2024-04-06 11:57:19 +08:00
Lightczx
1c97b425f4 refine 2024-03-28 14:00:29 +08:00
辉鸭蛋
f6e2694204 map match test & add map viewer 2024-03-23 20:31:38 +08:00
辉鸭蛋
ffac1859dc add auto skip hangout 2024-03-10 00:49:53 +08:00
辉鸭蛋
5df1eac561 opencv mask test 2024-03-09 16:20:44 +08:00
qhy040404
fb8ee063bc Use converter to optimize binding
impl #296
2024-03-07 14:59:17 +08:00
辉鸭蛋
c150e6a280 code simplify & consider the scenario of WGC 2024-03-06 22:12:58 +08:00
Mr-Quin
c0f34b6c87 Stop task when game exits and update UI 2024-03-06 00:16:02 -08:00
huiyadanli
cc181ebd16 fix: macro ui 2024-03-02 23:25:03 +08:00
huiyadanli
9c29156584 add auto enter game trigger 2024-02-25 20:55:32 +08:00
huiyadanli
3fc3935519 add start param #152 2024-02-08 15:44:50 +08:00
huiyadanli
c1018bf3fd add manually pick window hwnd 2024-02-07 22:29:20 +08:00