Game uses opengl32.dll, without dxwnd it runs fine. But, under dxwnd, if you hook opengl (Does it matter if opengl is force hooked or no ? experimenting.), the game's fullscreen mode extends beyond my 1st monitor screen, it seeps through on to my 2nd monitor.
If opengl is not hooked, this problem does not happen. i have 2 logs, one with opengl hooked, one without opengl hooked.
although you can get this game on GOG, and steam. As I have the free amazon gaming version release, I am going to send you the game's executable file. so you can see why this problem arises, when opengl is hooked.
yes, when opengl is hooked, the game appears to partly extend onto my 2nd monitor, its as if the game is set to a screen resolution greater than 1920x1080, also on my 1st monitor, the game looks slightly distorted and slightly stretched. without opengl hooking, the game keeps its 1920x1080 resolution, and it runs fine and perfect.
The mouse pointer, in this game, has a tendency to leave the game, and when i click, mostly by accident, the game is minimized, focus lost etc, so by using Mouse/Mouse Clipper/Off & Mouse/CursorHandling/Keep Cursor within window, the mouse stays in the game, with admin right set aswell.
The game is a complex and hard challenge.
The executable for the Amazon and GOG releases are similar, same size, different CRC but identical behavior, so I don't expect big differences between the distributions.
The game log shows traces of SDL (for instance it creates windows whose names are "SDLHelperWindowInputMsgWindow" and "SDL_app") but it doesn't link SDL, so the "Hook SDL" flags won't work. The reason is probably in the nature of open source project of the SDL package that allow a developer to "embed" the entire SDL source code in its project and use it without external references. Too bad, because a link to SDL.dll would make things much easier.
Then the game engine uses OpenGL quite heavily (it links hundreds of different function names!), it will be necessary to verify if DxWnd is not missing any necessary hook.
Not an easy case ....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I keep opengl hooked(BTW SDL hook is now disabled, as you say it won't work as the game does not link SLD.dll), if i disable OpenGL/OpenGL/Hook wgl context calls, the problem vanishes ! the extended appearence disappears, the game keeps its 1920x1080 resolution, on the 1st monitor, no distortion, or stretching now.
on another question:
how do you stop a game from moving other windows in your desktop background, from moving ? i have games that move my windows in the background to other monitors ( I have 3)
Last edit: jds45782 2021-05-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the Main configuration tab there's a "monitor" listbox that includes "def." (for default monitor) and numbers starting from 1 to the number of your monitors (in your case it should be 1 and 2) to tell if you want your program to run wherever you like, or in one specific monitor. But this selector doesn't work always no matter of the game technology and configuration. It is granted enough that if you have a d3d8/9 game and pick a fake fullscreen mode, the window will be opened in the desired monitor. In other cases, for instance when setting exact window coordinates, this specification may override the monitor selection.
In addition there's a "Video / Hide multi-monitor config" flag that will make the program to believe that you have a single monitor that is the one selected in the listbox, this way making easier for the game to make a decision about where to run.
BEWARE: usually the monitor configuration is queried before that the game window is opened, so if you want to force a decision you likely will have to use an early hook mode like "Hook / Inject suspended process".
Please, do some experiment with these flags and tell us the results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have background programs unrelated to the game and these windows get moved to other monitors then it might also be some Windows "thing". Does this happen even if you run those games without Dxwnd?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@gho, i sure will experiment with these flags, and give results.
@dippy dipper, yes they are unrelated background windows/programs. Some older games, i have, only have VGA 4:3 aspect ratio resolutions, and thats when unrelated background windows due tend to get moved to different monitors, very annoying when this happens.
Does this happen without dxwnd ? yes it does. thats when is use dxwnd with its windowed options, if not try experimenting with different dxwnd flags.
Last edit: jds45782 2021-05-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this game called Broken Age, which is a 32bit game, which is free, on amazon prime gaming.
https://www.doublefine.com/games/broken-age
Game uses opengl32.dll, without dxwnd it runs fine. But, under dxwnd, if you hook opengl (Does it matter if opengl is force hooked or no ? experimenting.), the game's fullscreen mode extends beyond my 1st monitor screen, it seeps through on to my 2nd monitor.
If opengl is not hooked, this problem does not happen. i have 2 logs, one with opengl hooked, one without opengl hooked.
although you can get this game on GOG, and steam. As I have the free amazon gaming version release, I am going to send you the game's executable file. so you can see why this problem arises, when opengl is hooked.
I got everything, tomorrow I will start the tests. But I'm not sure about the problem:
Could you describe better your sentence?
Could you post here your configuration (the game exported file or dxwnd.ini)?
yes, when opengl is hooked, the game appears to partly extend onto my 2nd monitor, its as if the game is set to a screen resolution greater than 1920x1080, also on my 1st monitor, the game looks slightly distorted and slightly stretched. without opengl hooking, the game keeps its 1920x1080 resolution, and it runs fine and perfect.
The mouse pointer, in this game, has a tendency to leave the game, and when i click, mostly by accident, the game is minimized, focus lost etc, so by using Mouse/Mouse Clipper/Off & Mouse/CursorHandling/Keep Cursor within window, the mouse stays in the game, with admin right set aswell.
also the game exported file is attached
Last edit: jds45782 2021-05-06
The game is a complex and hard challenge.
The executable for the Amazon and GOG releases are similar, same size, different CRC but identical behavior, so I don't expect big differences between the distributions.
The game log shows traces of SDL (for instance it creates windows whose names are "SDLHelperWindowInputMsgWindow" and "SDL_app") but it doesn't link SDL, so the "Hook SDL" flags won't work. The reason is probably in the nature of open source project of the SDL package that allow a developer to "embed" the entire SDL source code in its project and use it without external references. Too bad, because a link to SDL.dll would make things much easier.
Then the game engine uses OpenGL quite heavily (it links hundreds of different function names!), it will be necessary to verify if DxWnd is not missing any necessary hook.
Not an easy case ....
Gho,
I have discovered something !
If I keep opengl hooked(BTW SDL hook is now disabled, as you say it won't work as the game does not link SLD.dll), if i disable OpenGL/OpenGL/Hook wgl context calls, the problem vanishes ! the extended appearence disappears, the game keeps its 1920x1080 resolution, on the 1st monitor, no distortion, or stretching now.
on another question:
how do you stop a game from moving other windows in your desktop background, from moving ? i have games that move my windows in the background to other monitors ( I have 3)
Last edit: jds45782 2021-05-07
In the Main configuration tab there's a "monitor" listbox that includes "def." (for default monitor) and numbers starting from 1 to the number of your monitors (in your case it should be 1 and 2) to tell if you want your program to run wherever you like, or in one specific monitor. But this selector doesn't work always no matter of the game technology and configuration. It is granted enough that if you have a d3d8/9 game and pick a fake fullscreen mode, the window will be opened in the desired monitor. In other cases, for instance when setting exact window coordinates, this specification may override the monitor selection.
In addition there's a "Video / Hide multi-monitor config" flag that will make the program to believe that you have a single monitor that is the one selected in the listbox, this way making easier for the game to make a decision about where to run.
BEWARE: usually the monitor configuration is queried before that the game window is opened, so if you want to force a decision you likely will have to use an early hook mode like "Hook / Inject suspended process".
Please, do some experiment with these flags and tell us the results.
If you have background programs unrelated to the game and these windows get moved to other monitors then it might also be some Windows "thing". Does this happen even if you run those games without Dxwnd?
@gho, i sure will experiment with these flags, and give results.
@dippy dipper, yes they are unrelated background windows/programs. Some older games, i have, only have VGA 4:3 aspect ratio resolutions, and thats when unrelated background windows due tend to get moved to different monitors, very annoying when this happens.
Does this happen without dxwnd ? yes it does. thats when is use dxwnd with its windowed options, if not try experimenting with different dxwnd flags.
Last edit: jds45782 2021-05-07