Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explanation for fullscreen issues on Windows 10/8.1/8 #93

Closed
UCyborg opened this issue Apr 23, 2016 · 3 comments
Closed

Explanation for fullscreen issues on Windows 10/8.1/8 #93

UCyborg opened this issue Apr 23, 2016 · 3 comments

Comments

@UCyborg
Copy link
Contributor

UCyborg commented Apr 23, 2016

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.

@UCyborg 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
@ThirteenAG
Copy link
Owner

Thanks, I will take a look. Perhaps it's better to include such fix to asi loader, rather than modify a system dll.

@ThirteenAG
Copy link
Owner

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.

@ThirteenAG
Copy link
Owner

Okay, I updated wrapper: https://bitbucket.org/ThirteenAG/d3d8-wrapper/downloads
and asi loader: https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/latest
I'm gonna close this issue and start reuploading fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants