Skip to content

Automato doesn't appear to correctly capture the screen in ATitD's new client in fullscreen mode #28

@tizubythefizo

Description

@tizubythefizo

Hey Jimbly,

With the -fullscreen exe target on the launcher for the new ATitD client set (which is the only way to run fullscreen without a title bar, as there currently is no windowed borderless mode) Automato seems unable to capture the games screen.

What's odd about this is that if I alt+tab or otherwise make atitd not the active window (the game doesn't minimize like true fullscreen mode. It's using ws_popup for fullscreen mode), Automato DOES pick it up and work correctly, but only while tabbed out. Tabbing back in/making atitd the active window kills Automato's ability to screen capture.

Below is how ATITD creates the window, if that helps (I got permission to share this with you).

if (Env_FullScreen) { Env_Client_X = GetSystemMetrics(SM_CXSCREEN); Env_Client_Y = GetSystemMetrics(SM_CYSCREEN); Env_HWND = CreateWindow(lpszAppName, lpszAppName, WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0, 0, Env_Client_X, Env_Client_Y, 0, 0, hInstance, 0); } else { Env_HWND = CreateWindow(lpszAppName, lpszAppName, WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_CAPTION, 0, 0, Env_Client_X, Env_Client_Y, 0, 0, hInstance, 0); SetWindowClientSize(Env_HWND, Env_Client_X, Env_Client_Y); }

Is this likely an issue with how automato is getting atitd's screen capture?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions