Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法识别UI界面 #4074

Closed
4 tasks done
oyhuaxu opened this issue Aug 10, 2024 · 7 comments
Closed
4 tasks done

无法识别UI界面 #4074

oyhuaxu opened this issue Aug 10, 2024 · 7 comments
Labels
invalid / 无效 Can't understand

Comments

@oyhuaxu
Copy link

oyhuaxu commented Aug 10, 2024

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • 我正在使用最新版的 Alas

描述你的问题

将MuMu模拟器更新到最新版本后,无法识别UI界面

如何复现

启动Alas

预期行为

No response

相关 Logs

═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                      COMMISSION                                                       
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2024-08-10 19:33:26.323 | INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20594',               
remote='tcp:53516')                                                                                                    
2024-08-10 19:33:26.353 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2024-08-10 19:33:26.355 | INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20630',               
remote='localabstract:minitouch')                                                                                      
2024-08-10 19:33:26.358 | INFO | v 1                                                                                   
2024-08-10 19:33:26.360 | INFO | ^ 10 720 1280 0                                                                       
2024-08-10 19:33:26.362 | INFO | $ 2810                                                                                
2024-08-10 19:33:26.363 | INFO | minitouch running on port: 20630, pid: 2810                                           
2024-08-10 19:33:26.365 | INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                             
2024-08-10 19:33:26.425 | INFO | [Screen_size] 1280x720                                                                
2024-08-10 19:33:26.617 | INFO | early_ocr_import call                                                                 
2024-08-10 19:33:26.619 | INFO | early_ocr_import start                                                                
2024-08-10 19:33:26.619 | INFO | <<< UI ENSURE >>>                                                                     
2024-08-10 19:33:26.620 | INFO | UI get current page                                                                   
2024-08-10 19:33:26.622 | INFO | Loading OCR dependencies                                                              
2024-08-10 19:33:27.039 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:27.395 | INFO | early_ocr_import finish                                                               
2024-08-10 19:33:27.426 | INFO | newCommandTimeout updated to 168h0m0s                                                 
2024-08-10 19:33:27.431 | INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:57162)                              
2024-08-10 19:33:27.622 | INFO | [Package_name] com.bilibili.azurlane                                                  
2024-08-10 19:33:27.677 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2024-08-10 19:33:27.841 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:28.087 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:28.438 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:28.730 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:29.018 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:29.297 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:29.597 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:29.896 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:30.189 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:30.494 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:30.797 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:31.098 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:31.394 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:31.700 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:32.012 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:32.314 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:32.600 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:32.900 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:33.197 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:33.505 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:33.814 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:34.104 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:34.404 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:34.706 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:35.003 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:35.308 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:35.618 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:35.923 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:36.206 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:36.521 | INFO | Unknown ui page                                                                       
2024-08-10 19:33:36.813 | WARNING | Unknown ui page                                                                    
2024-08-10 19:33:36.818 | INFO | [EMULATOR__SCREENSHOT_METHOD] DroidCast_raw                                           
2024-08-10 19:33:36.819 | INFO | [EMULATOR__CONTROL_METHOD] minitouch                                                  
2024-08-10 19:33:36.820 | INFO | [SERVER] cn                                                                           
2024-08-10 19:33:36.820 | WARNING | Starting from current page is not supported                                        
2024-08-10 19:33:36.821 | WARNING | Supported page: ['page_main', 'page_campaign_menu', 'page_campaign', 'page_fleet', 
'page_main_white', 'page_unknown', 'page_exercise', 'page_daily', 'page_event', 'page_sp', 'page_coalition_menu',      
'page_coalition', 'page_os', 'page_archives', 'page_reward', 'page_mission', 'page_guild', 'page_commission',          
'page_tactical', 'page_battle_pass', 'page_event_list', 'page_raid', 'page_research', 'page_shipyard', 'page_meta',    
'page_storage', 'page_reshmenu', 'page_dormmenu', 'page_dorm', 'page_meowfficer', 'page_academy', 'page_game_room',    
'page_shop', 'page_munitions', 'page_supply_pack', 'page_build', 'page_mail', 'page_rpg_stage', 'page_rpg_story',      
'page_rpg_city']                                                                                                       
2024-08-10 19:33:36.824 | WARNING | Supported page: Any page with a "HOME" button on the upper-right                   
2024-08-10 19:33:36.826 | CRITICAL | Please switch to a supported page before starting Alas                            
2024-08-10 19:33:36.828 | INFO | Game server may be under maintenance or network may be broken, check server status now
2024-08-10 19:33:36.959 | INFO | Server "奥林匹克行动" is available.                                                   
2024-08-10 19:33:36.963 | CRITICAL | Game page unknown                                                                 
2024-08-10 19:33:36.964 | WARNING | Saving error: ./log/error/1723289616964

截图

No response

还有别的吗?

No response

@oyhuaxu oyhuaxu added the bug / 缺陷 Something isn't working label Aug 10, 2024
@Guducat
Copy link

Guducat commented Aug 10, 2024

问题出现在截图时不正常,原本正常的横向变成了压缩游戏的竖向截图
2024-08-10_20-12-45-120101

@oyhuaxu
Copy link
Author

oyhuaxu commented Aug 10, 2024 via email

@Guducat
Copy link

Guducat commented Aug 10, 2024

确实啊,那个文件里,截的图就是竖向,如何解决呢?

经测试,SRC没有出现问题,仍正常运行,不知道哪一环出了问题

@oyhuaxu
Copy link
Author

oyhuaxu commented Aug 10, 2024

image
我将模拟器截图方案改成了ADB,能够正常运行,DroidCast_raw 就不行

@Guducat
Copy link

Guducat commented Aug 10, 2024

image 我将模拟器截图方案改成了ADB,能够正常运行,DroidCast_raw 就不行

感谢,我按照你的方法更改截图方式后也可以正常运行了,经测试除ABD以外其他截图方式都不能运行

@LmeSzinc LmeSzinc added invalid / 无效 Can't understand and removed bug / 缺陷 Something isn't working labels Aug 10, 2024
@Guducat
Copy link

Guducat commented Aug 10, 2024

@oyhuaxu 直接更改截图方案为nemu_ipc即可
因为模拟器截图方案中使用自动选择不会测试nemu_ipc,所以不会自动选择为此方案

@oyhuaxu
Copy link
Author

oyhuaxu commented Aug 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid / 无效 Can't understand
Projects
None yet
Development

No branches or pull requests

3 participants