Doesnt work with "Tom Clancys Ghost Recon Future Soldier"
Closed this issue · 8 comments
It works fine but as soon as I start this game it doesn't work anymore.
Tested with TCO v0.9.5
Btw I tried the PowerToys trick from #170, and seems like it doesn't work as well
import win32con
import win32gui
hwnd = 724210
while True:
state = win32con.HWND_TOPMOST
flags = win32con.SWP_NOMOVE | win32con.SWP_NOSIZE
win32gui.ShowWindow(hwnd, win32con.SW_SHOW)
win32gui.SetWindowPos(hwnd, state, 0,0,0,0, flags)
i tried this ugly solution in Python, it does work outside of the game, but whenever in the game, it doesn't changes anything to the og issue
Actually about the previous post, I think it's pretty trash.
I've writted up something to get styles from a given handle:
https://github.com/Illegal-Services/list_window_styles
My output for the game's handle is:
Window Styles:
original style: -1275068416 (-0x4c000000)
WS_CLIPSIBLINGS: 67108864 (0x4000000)
WS_ICONIC: 536870912 (0x20000000)
WS_MINIMIZE: 536870912 (0x20000000)
WS_OVERLAPPED: 0 (0x0)
WS_POPUP: -2147483648 (-0x80000000)
WS_TILED: 0 (0x0)
WS_VISIBLE: 268435456 (0x10000000)
resolved style: -1275068416 (-0x4c000000)
--------------------------------------------------
Extended Window Styles:
original style: 8 (0x8)
WS_EX_LEFT: 0 (0x0)
WS_EX_LTRREADING: 0 (0x0)
WS_EX_RIGHTSCROLLBAR: 0 (0x0)
WS_EX_TOPMOST: 8 (0x8)
resolved style: 8 (0x8)
Just tested also to apply a crosshair on my screen using:
https://github.com/lacymorrow/crossover
it doesn't work too
Possible fix for this in v1.0.2, you can press Ctrl+Alt+F8 to bring the app to the front, while in game. You can change the hotkey as well in the settings.
Possible fix for this in v1.0.2, you can press Ctrl+Alt+F8 to bring the app to the front, while in game. You can change the hotkey as well in the settings.
Yeah I can tell that the new CTRL + ALT + F8 fixed for some of my videogames, I uninstalled that one since then but the new version fixed Outlast 1.
Still got the problem on Minecraft but since that's an UWP app thingy it doesn't even surprise me at this point