Commit Graph

54 Commits

Author SHA1 Message Date
liantian-cn
fd5b04463a feat: 模块目录迁移至用户配置目录
模块存储位置从 exe 旁 baseDirectory/module 迁移到 {UserProfile}/.config/{AppName}/module
(AppName 动态取程序集名,Windows 下为 C:\Users\<用户名>\.config\Shigure\module)。

- ModuleStore.ResolveModuleDirectory 改为无参静态方法,删除 Shigure.csproj 检测死代码
- AppInfo 新增 AppName(程序集名单一来源,与 Version 惯例一致)
- Program.cs 新增启动迁移提示:旧目录有内容且新目录无模块文件时弹纯文案提示
- StatusForm 关于页在路径位于 exe 目录外时显示完整路径;编辑器打开文件夹跟随新路径
- csproj 删除 module 复制项;仓库根 module/ 示例目录保留
- 文档同步更新(README/CLAUDE/打包说明/Obsidian 01/11/00/10)
- 旧模块不自动迁移,由提示引导用户手动移动
2026-08-15 11:21:10 +08:00
waynebian01
99300fb702 feat: Implement module dependency management and unsaved changes tracking
- Added `HasUnsavedChanges` property to `ClassConfigEditorControl` and `ClassMacrosEditorControl` to track unsaved changes.
- Introduced `ModuleDependencyService` for handling module dependencies, including capturing and importing configurations and macros.
- Implemented atomic file writing in `AtomicFile` to ensure safe file operations.
- Enhanced `MainForm` to check for unsaved changes before importing module dependencies and added feedback mechanisms for users.
- Updated `ModuleEditorControl` to support dependency capturing and module reloading.
- Created data structures for module dependency snapshots, configurations, and macros.
- Improved error handling and user notifications during module import processes.
2026-08-14 17:36:45 +08:00
waynebian01
31365c23da 更新 ClassBlocksStore 和 ClassConfigEditorControl,支持编辑 spellsList;添加增压层数字段到状态和 UI 组件 2026-08-14 15:34:28 +08:00
waynebian01
ad244fa337 更新条件编辑器和模块编辑器,添加动态条件字段验证和新法术配置 2026-08-13 21:26:18 +08:00
waynebian01
c22b87e200 优化光环组配置,新增自律状态支持 2026-08-12 15:09:07 +08:00
waynebian01
c1c4793020 新增光环组配置选项,优化组设置界面 2026-08-12 01:21:40 +08:00
waynebian01
a4942c4a3c 优化关闭按钮的鼠标悬停和按下背景颜色 2026-08-11 19:54:31 +08:00
waynebian01
3740a21746 新增模块操作按钮并优化链接图标绘制逻辑 2026-08-11 11:22:23 +08:00
waynebian01
88eb47146c 新增动态数值类别并更新相关字段处理逻辑 2026-08-11 11:03:23 +08:00
waynebian01
993f596bb1 Refactor ModuleEditorControl and StatusForm for improved UI consistency and functionality
- Updated ModuleEditorControl to utilize UiCardPanel for sidebar and footer layouts, enhancing visual coherence.
- Introduced UiPillTab for tab navigation, providing a more modern and responsive design.
- Adjusted padding, margins, and background colors across various controls for a cleaner appearance.
- Implemented new methods for handling button styles and actions, including a new OpenModuleFolder method for better user experience.
- Refined StatusForm layout, integrating UiCardPanel for information display and adjusting component arrangements for clarity.
- Removed redundant graphics path creation methods, centralizing functionality in UiTheme.
- Enhanced overall code readability and maintainability through consistent styling and structure.
2026-08-11 01:53:06 +08:00
waynebian01
bfd1c05b6e 新增模块网站链接并优化导航按钮样式 2026-08-11 01:16:34 +08:00
waynebian01
c4149daf57 增强模块编辑器的下拉框功能,优化组合框显示和绘制,确保与系统主题一致 2026-08-10 18:16:45 +08:00
waynebian01
6df48157d3 Enhance UI Theme and Add UiCardPanel Component
- Updated color definitions in UiTheme.cs for improved UI aesthetics.
- Introduced ButtonKind enum for better button styling options.
- Added CreateButton method to streamline button creation with different styles.
- Improved item height calculations in various controls for better layout.
- Implemented ListColumn and ListColumnLayoutState for dynamic ListView column management.
- Added FitListViewColumns method to ensure ListView columns adjust properly to available space.
- Created UiCardPanel class for rounded card-like UI elements with custom painting.
2026-08-10 17:13:55 +08:00
waynebian01
1b4fca88a8 Enhance renaming functionality in packaging script: support multiple name replacements, improve file and directory renaming, and update documentation for clarity. 2026-08-10 14:34:25 +08:00
waynebian01
bd830b8985 Add texture layout documentation for Fuyutsui in Chinese
- Introduced a new markdown file detailing the texture sorting mechanism for ClassBlocks.
- Explained the allocation of states, auras, spells, and group pixels, along with the independent layout of auxiliary bars.
- Provided a comprehensive overview of the output areas, sorting order, and pixel encoding.
- Included examples and guidelines for external reading and integration with existing systems.
2026-08-10 13:05:18 +08:00
waynebian01
19569a5abd feat: 引入 WowProcessLocator 以支持动态进程窗口查找,移除窗口标题参数,更新相关逻辑 2026-08-09 21:43:14 +08:00
waynebian01
a4f30f7349 feat: 更新宏条件和解析功能,增强 UI 表格对换行的支持 2026-08-08 23:30:47 +08:00
waynebian01
ef40fcc326 feat: 添加宏条件支持到 keymap,更新 priest.json 中的技能条目 2026-08-06 14:54:51 +08:00
waynebian01
5a00da85d5 Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules.
- Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations.
- Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances.
- Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings.
- Implemented IKeymapResolver interface for key mapping resolution.
- Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
2026-08-06 01:17:28 +08:00
waynebian01
b91298e669 Refactor keymap service to support specialization selection, enhance pixel scanner error reporting, and improve UI for dynamic spec management
- Updated KeymapService to handle class and specialization selection, allowing for more granular hotkey management.
- Added MapVirtualKeyW method to NativeMethods for virtual key mapping.
- Enhanced ModuleLogic to include rate limiting and improved logging for rule execution.
- Introduced new reserved units for channeling states in ReservedUnit.
- Modified PixelScanner to return detailed failure reasons for window scanning issues.
- Updated RenderSnapshot to include scan failure reasons for better debugging.
- Enhanced ShigureRuntime to track scan failure reasons and log them appropriately.
- Improved ClassMacrosEditorControl to manage dynamic specialization selection and UI updates.
- Updated MainForm to log scan failure reasons and step details for better traceability.
- Adjusted StatusForm layout and watermark settings for improved visual presentation.
- Updated UI theme to support dynamic spec icons in list boxes.
- Changed configuration files to standardize enemy count terminology from "敌人人数" to "敌人数量".
2026-08-05 23:46:28 +08:00
waynebian01
e0a2a2ba1b feat(UI): Enhance ClassConfigEditorControl with spellsList display and improve ModuleEditorControl UI
- Added a new DataGridView for displaying spellsList in ClassConfigEditorControl.
- Updated tab structure to include spellsList page and adjusted column counts accordingly.
- Implemented FillSpellsListGrid method to populate spellsList data.
- Modified ModuleEditorControl to include a button for fetching modules from the website.
- Improved button layout and styling for better user experience.
- Added watermark functionality in StatusForm with a transparent background for better aesthetics.
- Enhanced the About panel with additional information fields and improved layout.
2026-07-31 02:11:57 +08:00
waynebian01
b7dbe1e5a6 feat: update warrior keymap and add priest keymap with new skills and hotkeys
- Modified warrior keymap to change the unit for "拳击" and ensure proper formatting.
- Introduced a new ReservedUnit class to manage reserved units and their display names.
- Added a comprehensive priest keymap with multiple skills and corresponding hotkeys, enhancing gameplay functionality.
2026-07-30 01:32:16 +08:00
waynebian01
3ecba771ad 优化界面 2026-07-29 17:24:46 +08:00
waynebian01
8d5de52861 Refactor class configurations for various characters
- Updated Priest.json to enhance spell mappings and reorganize configuration structure.
- Modified Rogue.json to streamline spell definitions and added new abilities.
- Revised Shaman.json to consolidate spell lists and improve clarity.
- Enhanced Warlock.json with updated spell names and improved configuration layout.
- Adjusted Warrior.json to refine spell mappings and added additional abilities.
- Cleaned up common.json by removing redundant fields related to team type and talents.
2026-07-29 10:52:49 +08:00
waynebian01
09ee3daa54 Refactor UI components in ClassConfigEditorControl and ClassMacrosEditorControl
- Updated button labels for saving configurations to be more concise.
- Adjusted layout of panels to improve UI structure and readability.
- Introduced new methods for creating DataGridView columns to reduce redundancy.
- Enhanced handling of dynamic and static macro entries, including improved row numbering and offset hints.
- Removed unnecessary UI elements and streamlined event handling for better performance.
- Improved localization support by ensuring state names are correctly categorized and hidden where necessary.
2026-07-28 23:24:00 +08:00
waynebian01
3c206fc86b 配置与宏 2026-07-28 20:31:34 +08:00
waynebian01
1794059fcc 添加治疗吸收字段支持,更新屏幕扫描结果结构,调整状态构建逻辑以包含治疗吸收数据,并在模块编辑器中添加相应选项。 2026-07-27 16:33:43 +08:00
waynebian01
ff188ed501 更新模块解析逻辑,添加推荐天赋字段,调整职业文件命名为英文,优化配置文件读取,删除无用的配置文件,修复光环识别相关问题。 2026-07-27 01:27:14 +08:00
waynebian01
789058de52 删除了光环识别 2026-07-25 14:34:00 +08:00
waynebian01
db3c4b935a 更新色块数量和宽度配置,调整光环图标背景层数逻辑 2026-06-22 21:33:43 +08:00
waynebian01
0985a013fb 优化了光环识别输入框, 修改了部分职业的信息 2026-06-22 00:36:43 +08:00
waynebian01
8a6fe417a9 添加了一键打包.py 2026-06-21 20:35:20 +08:00
waynebian01
734383a521 1.2.2.2 ,修改了色块的位置 2026-06-20 23:26:59 +08:00
waynebian01
386f386d77 提高了扫描频率 2026-06-20 16:16:50 +08:00
waynebian01
f251aefedd 可以在"识别光环"里获取光环的层数了, 最大20层 2026-06-20 14:09:59 +08:00
waynebian01
2be6bbf168 Release 1.2.0.0 2026-06-19 23:29:19 +08:00
waynebian01
1fdf3af69f 调整了UI界面 2026-06-19 01:06:54 +08:00
waynebian01
769bd907fc 添加了版本号, 作者选项 2026-06-19 00:45:16 +08:00
waynebian01
654e99cabd 优化了戒律-队伍-神谕者的逻辑 2026-06-17 14:54:51 +08:00
waynebian01
d4fadfbdf5 细微调整UI的宽度 2026-06-17 14:36:08 +08:00
waynebian01
e0c01a0be5 "动态数值"可选择分类了 2026-06-17 11:45:44 +08:00
waynebian01
a51b197b0e 在win10上优化了性能 2026-06-16 11:28:46 +08:00
waynebian01
9861a602bf 删除不必要的文件 2026-06-16 01:24:17 +08:00
waynebian01
182475ea63 修改说明 2026-06-16 00:36:33 +08:00
waynebian01
645095f0e4 改进16 2026-06-16 00:21:55 +08:00
waynebian01
eb53afa819 改进14 2026-06-15 16:31:03 +08:00
waynebian01
c29a59e22c CC改进13 2026-06-15 16:21:33 +08:00
waynebian01
7c05dc0245 改进12 2026-06-15 15:36:41 +08:00
waynebian01
ae5997acce 改进11 2026-06-15 14:33:53 +08:00
waynebian01
fc482fe514 改进10 2026-06-15 01:43:38 +08:00