Also, the fix in Max Payne 2 that gives window WS_POPUP style isn't good, because Direct3D is designed to remove the borders without the need for WS_POPUP or whatever else style.
Devs can create normal window with WS_OVERLAPPEDWINDOW style then Direct3D APIs can be used to switch from windowed to fullscreen without worrying about the window styles. So in case of Max Payne 2 I would suggest rather patching d3d8.dll at runtime.
Mafia also uses d3d8 and maybe Tony Hawk's Pro Skater 4 too? Guessing form #92. Don't know about others though. Can probably be pinpointed by looking at loaded DLL list, though some games are really strange, like MP2. On my system it shows even d3d11.dll and d3d12.dll. And your hack hooks it via d3d9.dll proxy, even though it actually uses d3d8 for rendering.
The text was updated successfully, but these errors were encountered:
UCyborg
changed the title
Explanation for fullscreen issues on Windows 10 and older
Explanation for fullscreen issues on Windows 10/8.1/8
Apr 23, 2016
Yeah, seems like it fixed all issues in Mafia and Splinter Cell Pandora Tomorrow. Window border doesn't appear and gamma/brightness is changeable. I'll make a new versions of asi loader(and d3d8-wrapper) tomorrow and re-release the fixes for games that require it.
Check my post here: http://www.vogons.org/viewtopic.php?f=8&t=47772
Also, the fix in Max Payne 2 that gives window WS_POPUP style isn't good, because Direct3D is designed to remove the borders without the need for WS_POPUP or whatever else style.
Devs can create normal window with WS_OVERLAPPEDWINDOW style then Direct3D APIs can be used to switch from windowed to fullscreen without worrying about the window styles. So in case of Max Payne 2 I would suggest rather patching d3d8.dll at runtime.
Mafia also uses d3d8 and maybe Tony Hawk's Pro Skater 4 too? Guessing form #92. Don't know about others though. Can probably be pinpointed by looking at loaded DLL list, though some games are really strange, like MP2. On my system it shows even d3d11.dll and d3d12.dll. And your hack hooks it via d3d9.dll proxy, even though it actually uses d3d8 for rendering.
The text was updated successfully, but these errors were encountered: