Commit Graph

447 Commits

Author SHA1 Message Date
LmeSzinc
9bb71b653a Fix: Chinese encoding on stderr 2023-09-10 01:53:34 +08:00
LmeSzinc
0067e343b2 Upd: [ALAS] installer 2023-09-09 18:36:14 +08:00
LmeSzinc
f7bc6980f9 Opt: Set rec_batch_num=1 for faster ocr 2023-09-08 23:00:56 +08:00
LmeSzinc
16f4f061c1 Refactor: Migrate to pponnxcr 2023-09-08 22:23:57 +08:00
Hengyu
4b1e61d14b Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
#	module/config/config_generated.py
2023-08-31 14:33:55 +08:00
LmeSzinc
51e49e2077 Add: Link task BattlePass to Dungeon, Assignment, DailyQuest 2023-08-31 01:06:24 +08:00
LmeSzinc
5d3efe1d44 Fix: Dashboard is not updated during continuous value set 2023-08-30 19:30:54 +08:00
LmeSzinc
92bbb9204a Upd: Set maximum trailblaze power to 240 2023-08-30 19:14:14 +08:00
X-Zero-L
6124447a83
Upd: character and i18n (#71)
* Upd: character and i18n

* Upd: i18n

* Fix bug

* Fix bug

* Fix bug

* Fix: bug

* Upd: convert

* Fix bug

* Modify the order
2023-08-30 18:46:18 +08:00
LmeSzinc
246c039dc8 Add: Assigment and Sim.Uni. in dashboard 2023-08-30 00:49:46 +08:00
LmeSzinc
a087189e54 Add: Dashboard on GUI 2023-08-30 00:45:28 +08:00
LmeSzinc
9e2445d5b1 Fix: Typo in DungeonDaily_StagnantShadow (fixed #68) 2023-08-29 03:03:45 +08:00
Hengyu
2465401d31 Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
#	module/config/config_generated.py
2023-08-28 19:50:20 +08:00
LmeSzinc
665c112330 Add: Stored trailblaze power 2023-08-28 01:12:10 +08:00
LmeSzinc
51348e7e30 Fix: [ALAS] Revise serial as fool-proof 2023-08-28 00:04:37 +08:00
LmeSzinc
e4e5d8d558 Opt: [ALAS] Turn type lock to type state 2023-08-27 23:09:21 +08:00
LmeSzinc
197bfa9613 Opt: Move assignment duration to the last 2023-08-27 17:44:22 +08:00
Hengyu
9a17af2d12 Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
2023-08-27 17:38:33 +08:00
LmeSzinc
b5030e0ab1 Add: Link task Assignment with daily tasks 2023-08-27 17:27:47 +08:00
LmeSzinc
b303341297 Add: [ALAS][TW] Standardize zh-TW translation 2023-08-27 17:18:42 +08:00
LmeSzinc
a5e2eb0004 Refactor: Link task dungeon with daily quests 2023-08-27 17:13:05 +08:00
LmeSzinc
4719d3da60 Add: [ALAS] stored and state widgets 2023-08-27 17:02:11 +08:00
Hengyu
97ff1c8554 Add: unrecorded preset option 2023-08-23 03:00:45 +08:00
LmeSzinc
76318175e8 Add: [ALAS] Timer.set_current() 2023-08-21 01:26:18 +08:00
LmeSzinc
0be028427b Refactor: [ALAS] Minitouch multi-finger support 2023-08-21 01:25:21 +08:00
LmeSzinc
bc9642772f Add: Dungeon at double relic event 2023-08-21 01:14:40 +08:00
LmeSzinc
adefd5a956 Fix: [ALAS] Raise error if app_keep_alive is enabled in MuMu 12 2023-08-21 00:40:40 +08:00
Hengyu
5dfe509f38 Add: i18n for zh-TW and en-US 2023-08-20 23:23:24 +08:00
Hengyu
03caaa2855 Add: rogue bonus (Blessings of Trailblaze) 2023-08-14 15:12:02 +08:00
Hengyu
d6bdc286ca Upd: reformat code, extract RogueSelector 2023-08-13 01:30:56 +08:00
Hengyu
16a88bb164 Upd: add MultiLangFilter 2023-08-11 02:43:06 +08:00
X-Zero-L
7815697329
Upd: Character (#57)
* Upd: Character

* Upd: i18n

* Upd: Character
2023-08-10 18:06:21 +08:00
Hengyu
17debdfb5e Add: rogue buff selector 2023-08-10 17:46:18 +08:00
LmeSzinc
e41d5b4ae4 Fix: insight_row() early stopped on empty list 2023-08-03 00:51:58 +08:00
LmeSzinc
fc91221240 Fix: No orientation handle in MaaTouch 2023-08-03 00:51:21 +08:00
Hengyu
28d5c43602
Add: battle pass recognition (#49)
* Add: battle pass mission recognition

* Fix: typo

* Add: version mission recognition

* Fix: typo

* Upd: remove version mission

* Upd: keep ui of version quest
2023-08-02 19:07:46 +08:00
LmeSzinc
9f0528299f Add: [ALAS] Utility func image_paste() and get_bbox_reversed() 2023-07-30 19:35:05 +08:00
LmeSzinc
1536ff0ad3 Fix: Ignore "!" while matching keywords 2023-07-30 17:18:19 +08:00
X-Zero-L
845767d71c
Upd: Character (#50)
* Upd: Character

* Upd: i18n
2023-07-30 17:16:21 +08:00
X-Zero-L
b2ab868351
Add: character and combat support (#38)
* Add: combat support

* Fix: team_set logic when using support in combat

* Add: Support character selection

* Upd: optimize support character get logic

* Fix: bug in get_character_by_name

* Upd: use keywords to generate support config

* Fix: Correct comment language to English

* Fix: Remove debug statements

* Upd: Improve UI icons and positioning

* Upd: Refactor support

* Upd: character keyword extract

* Upd:Character icon

* Upd: Character icon

* Upd: Character icon

* Upd: Optimize the parameter in SupportListScroll

* Upd: Refactor support

* Fix: Bug in Dungeon

* Fix: Corrected comments in Combat and Support

* Upd: Modified parameter

* Refactor: Support logic

* Refactor: Support logic

* Refactor: Support logic

* Upd: Character icon

* Upd: Character icon

* Refactor: Support logic

* Refactor: Support logic
2023-07-24 18:15:22 +08:00
Zebartin
1c304f2baa Fix: Duration ocr & late stop in assignment 2023-07-11 11:50:15 +08:00
LmeSzinc
d9f9b43b6f Add: Dungeon at double calyx event 2023-07-10 23:45:33 +08:00
LmeSzinc
f12e18107f Refactor: Remove use_fast parameter 2023-07-10 22:24:24 +08:00
Zebartin
cfdb09f7c3 Opt: delay battle pass to next version if possible 2023-07-09 17:29:38 +08:00
LmeSzinc
95c7b6dd53 Opt: Faster UI navigation to forgotten hall 2023-07-06 22:41:16 +08:00
LmeSzinc
53d6bd818f Add: Plane switchings in page_map 2023-07-02 15:33:30 +08:00
LmeSzinc
0c290239a1 Fix: Ocr.lang should be lazy loaded 2023-07-02 15:30:47 +08:00
LmeSzinc
a2e2221829 Add: [ALAS] Returns in Scroll.set() 2023-07-02 15:28:28 +08:00
LmeSzinc
b1048748d0 Fix: [ALAS] Handle None in interval_clear() 2023-07-02 15:20:25 +08:00
LmeSzinc
a078c14f25 Fix: [ALAS] Remove the use of np.float 2023-07-02 15:20:24 +08:00
Hengyu
8c38c05696 Upd: limit load_rows interval to 1 second & not load at first iteration 2023-07-01 23:06:46 +08:00
Hengyu
c0c3218389 Upd: put load_rows in the loop when select_row 2023-06-30 16:45:46 +08:00
Hengyu
30433ac4f6 Upd: put insight_rows in the loop when select_row 2023-06-30 12:56:20 +08:00
Hengyu
127306a019 Add: forgotten hall stage goto 2023-06-30 00:32:33 +08:00
Hengyu
4f8c1f89c3 Add: dungeon goto forgotten hall 2023-06-29 12:56:05 +08:00
LmeSzinc
a745c6607d Fix: Clicking None in select_row() if keyword2button() failed 2023-06-28 02:27:20 +08:00
LmeSzinc
8bdb9a4e77 Opt: Readable dungeon names 2023-06-28 01:17:24 +08:00
Zebartin
7d5bacdbc4 Fix: Friendlier config & details in assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#pullrequestreview-1496702101
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1240852168
2023-06-26 00:07:52 +08:00
Zebartin
47578306cb Fix: Help text & details of assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235492724
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235495266
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235497216
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235500507
2023-06-21 22:08:57 +08:00
Zebartin
ba3931e7a4 FIx: Scheduler priority of assignment task 2023-06-20 21:30:47 +08:00
Zebartin
c77f1a30b3 Add: Config of Assignment 2023-06-20 21:30:47 +08:00
Zebartin
346e7a1578 Add: Task assignment 2023-06-20 21:30:47 +08:00
Hengyu
9edd120538
Add: Battle Pass Claim Rewards (#13)
* Add: Battle Pass Claim Rewards

* Upd: comments of public methods

* Fix: Break half way if not waiting for animation change finish

* Fix: set dataclass repr to false

* Add: Tasks BattlePass

* Upd: break get_rewards into two loops
2023-06-19 21:57:19 +08:00
LmeSzinc
4bbe4fb08e Fix: Restart at 04:00 2023-06-19 03:30:53 +08:00
LmeSzinc
639d16e8a1 Fix: App control via ADB for all (#18) 2023-06-19 03:26:59 +08:00
LmeSzinc
74562d03e4 Add: Task DailyQuest 2023-06-18 18:41:58 +08:00
LmeSzinc
826127fefd Doc: Add help text of the default serial of MuMu 12 2023-06-18 01:43:16 +08:00
LmeSzinc
7e30ba8d9f Add: Task dungeon 2023-06-18 01:09:09 +08:00
LmeSzinc
1f8a9383f7 Add: Alas scheduler 2023-06-18 01:07:39 +08:00
LmeSzinc
9928d5b4cc Add: GUI options in task Dungeon 2023-06-18 00:24:00 +08:00
LmeSzinc
1a564b4e8e Sync: [ALAS] List tasks instead of collapsing them in submodules 2023-06-17 23:11:57 +08:00
LmeSzinc
b29d6fcc61 Opt: Move gui backend to port 22367 and clean up configs 2023-06-17 22:41:56 +08:00
LmeSzinc
6d3f34ef48 Fix: OCR_TRAILBLAZE_POWER length varies by value 2023-06-17 16:19:13 +08:00
LmeSzinc
fc1e1b4971 Add: Combat module 2023-06-17 04:28:51 +08:00
LmeSzinc
8080250a49 Add: Get trailblaze power before and after combat 2023-06-17 01:07:47 +08:00
LmeSzinc
f517481e5b Opt: Use scrcpy screenshot and maatouch clicks 2023-06-16 21:43:11 +08:00
LmeSzinc
30958a36f9 Fix: Typo in enlarge_canvas() 2023-06-15 13:14:37 +08:00
LmeSzinc
71b02ae767 Add: Goto dungeon from page_guide 2023-06-15 00:15:14 +08:00
LmeSzinc
533c6f961f Opt: Faster OCR on rectangle images 2023-06-14 03:26:48 +08:00
LmeSzinc
765eeb5472 Add: Check combat auto and 2X speed 2023-06-13 11:36:54 +08:00
LmeSzinc
c567a773e3 Add: Extract keywords of dungeon list 2023-06-13 00:44:40 +08:00
LmeSzinc
26dc151503 Add: Support BlueStacks Hyper-V Android 11 (Rvc64) 2023-06-13 00:24:52 +08:00
Hengyu
012fffbb31
Add: daily_request_recognition; get_daily_rewards (#3)
* Add: daily_request_recognition; get_daily_rewards

* Fix: typo

* Fix: typo

* Upd: delete eval; use one loop to handle 5 active point rewards;

* Upd: change DAILY_QUEST_GOTO/REWARD pattern; update swipe private method name; extract keyword compare method

* Upd: move warning to single page recognition

* Upd: merge from main

* Add: methods that load daily quests keywords from QuestData.json

* Upd: avoid read TextMap twice

* Upd: revert Keyword.find method

* Add: preprocess of keyword extract; after_process of daily quest ocr

* Upd: move assets to daily/reward

* Upd: simplify ocr result replacement
2023-06-13 00:24:38 +08:00
Driver-C
f12f40643b
Add: Synthesize consumables (#2) 2023-06-12 03:20:12 +08:00
LmeSzinc
35f5d24877 Add: Switching dungeon nav 2023-05-31 02:20:45 +08:00
LmeSzinc
eaaaa7e320 Chore: Remove the use of np.int 2023-05-30 10:27:24 +08:00
LmeSzinc
02b9c96e7b Add: Switching dungeon tabs 2023-05-23 01:00:20 +08:00
LmeSzinc
baaca91568 Fix: Handle bugs in adbutils>=1.0 2023-05-23 00:08:00 +08:00
LmeSzinc
8c60400772 Fix: Prevent MaaTouch stream from being deleted 2023-05-23 00:07:12 +08:00
LmeSzinc
50e0ddb954 Add: Keyword extract 2023-05-22 22:10:22 +08:00
LmeSzinc
36d898b038 Add: Merge multi-line OCR results 2023-05-21 15:40:36 +08:00
LmeSzinc
1e47a1f621 Add: OCR model and downgrade to py3.10
since onnxruntime doesn't support 3.11 yet
2023-05-21 09:26:58 +08:00
LmeSzinc
82d013ed59 Add: UI switches and login 2023-05-18 00:44:43 +08:00
LmeSzinc
a0ee78cdf3 Add: Button match and module base 2023-05-17 02:54:03 +08:00
LmeSzinc
00fcba432a Fix: Compatible with old and new adbutils 2023-05-16 23:39:18 +08:00
LmeSzinc
6495ca32fd Upd: ALAS framework updates 2023-05-16 20:55:05 +08:00
LmeSzinc
c24f2a0488 Add ALAS framework 2023-05-14 15:48:34 +08:00