Skip to content

Commit

Permalink
feat: 支持在游戏启动卡在第一屏超过30s后重启游戏
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Sep 28, 2023
1 parent bbc96bf commit 4d9f009
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 6 deletions.
Binary file added assets/resource/image/StartUp/MiHoYoLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 53 additions & 6 deletions assets/resource/pipeline/startup.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"Sub_AiPromptFlag",
"GameLoading",
"HomeFlag",
"MiHoYoLogo",
"Sub_StartBH3"
]
},
Expand All @@ -35,13 +36,59 @@
"Sub_ObtainedAwards",
"Sub_CollectDailyLoginReward",
"Download",
"CloseVersionAnnouncement",
"StartGame",
"GameIdentifying",
"Sub_CloseAnnouncement",
"Sub_CloseActivityAnnouncement",
"Sub_AiPromptFlag",
"GameLoading",
"HomeFlag",
"MiHoYoLogo",
"Sub_StartBH3"
]
},
"MiHoYoLogo": {
"recognition": "TemplateMatch",
"template": "StartUp/MiHoYoLogo.png",
"roi": [
414,
218,
452,
218
],
"next": "NoMiHoYoLogo",
"timeout": 20000,
"timeout_next": [
"RestartBH3"
]
},
"NoMiHoYoLogo": {
"inverse": true,
"recognition": "TemplateMatch",
"template": "StartUp/MiHoYoLogo.png",
"roi": [
414,
218,
452,
218
],
"next": [
"Sub_HomeButton",
"Sub_BackButton",
"Sub_BackText",
"Sub_ObtainedAwards",
"Sub_CollectDailyLoginReward",
"Download",
"CloseVersionAnnouncement",
"StartGame",
"GameIdentifying",
"Sub_CloseAnnouncement",
"Sub_CloseActivityAnnouncement",
"Sub_AiPromptFlag",
"GameLoading",
"HomeFlag",
"MiHoYoLogo",
"Sub_StartBH3"
]
},
Expand All @@ -54,10 +101,6 @@
233,
126
],
"timeout": 60000,
"timeout_next": [
"RestartBH3"
],
"next": [
"Download",
"GameLoading",
Expand All @@ -67,6 +110,10 @@
"Sub_CloseActivityAnnouncement",
"Sub_AiPromptFlag",
"HomeFlag"
],
"timeout": 30000,
"timeout_next": [
"RestartBH3"
]
},
"GameIdentifying": {
Expand All @@ -91,7 +138,7 @@
"Sub_AiPromptFlag",
"HomeFlag"
],
"timeout": 60000,
"timeout": 30000,
"timeout_next": [
"RestartBH3"
]
Expand Down Expand Up @@ -124,7 +171,7 @@
"Sub_AiPromptFlag",
"HomeFlag"
],
"timeout": 5000,
"timeout": 10000,
"timeout_next": [
"RestartBH3"
],
Expand Down

0 comments on commit 4d9f009

Please sign in to comment.