Coder Social home page Coder Social logo

Comments (4)

SkeathyTomas avatar SkeathyTomas commented on September 21, 2024

如果云游戏窗口布局都一样那兼容起来方便的。现在是通过窗口名称定位窗口和坐标的,不知云游戏的窗口名称叫什么?

from genshin_artifact_auxiliary.

hoixding avatar hoixding commented on September 21, 2024

不好意思,前段时间邮箱登录不上没及时回复。
窗口名称已经在上面提供,我可以再次提供
image
如图,2号是具体的游戏窗口名称
详细的参数如下:(使用winspy抓取)
START云游戏-Game ( Class )
START Cloud Game Render ( ProcessName )
STGameOpt.exe ( ProcessPath )
( Position )
Pos: x160 y83 ▪ x²1759 y²982 ▪ Size: w1600 h900
Client area size: w1600 h900 ▪ left 0 top 0 right 0 bottom 0
布局如下:可以看出与客户端无明显差别
image

需要注意的是,start云游戏的各个游戏之间窗口名称无差别,这点建议放在readme中

from genshin_artifact_auxiliary.

SkeathyTomas avatar SkeathyTomas commented on September 21, 2024

我自己实测了下窗口名称是这个,最新的commit已经能支持使用。不知你提供的窗口名称是语言版本不同还是其他,或者你可以看看最新的代码能不能跑。
image

对应的窗口识别是这一行:
window_start = win32gui.FindWindow('START Cloud Game', 'START云游戏-Game')

另外start的UI不是windows原生的,可能存在一些识别区域错位情况,我在窗口模式测试整体ok。

from genshin_artifact_auxiliary.

hoixding avatar hoixding commented on September 21, 2024

感谢

from genshin_artifact_auxiliary.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.