dxwrapper
dxwrapper copied to clipboard
Outlaws not working correctly with DdrawUseNativeResolution=1
Attempting to play Outlaws with DdrawUseNativeResolution=1 will have the game properly open in the correct resolution, but upon the game changing modes (menu -> gameplay for example), it will go into a small window in the top left of the monitor.
It looks like the game runs in fullscreen windowed mode and the game modifies its own window. You could just force exclusive mode by enabling ForceExclusiveFullscreen. It seems to work ok with this game.
It looks like the game runs in fullscreen windowed mode and the game modifies its own window. You could just force exclusive mode by enabling
ForceExclusiveFullscreen. It seems to work ok with this game.
Still goes into a small window in the top left when going from menu/cutscene to gameplay. Here's a debug log with Dd7to9 = 1, ForceExclusiveFullscreen = 1, and DdrawUseNativeResolution = 1, going from menu to gameplay, then quitting. Seems to produce a large log (48 MB), so I uploaded it to Mega. https://mega.nz/file/RSlhVbJY#ru20MvHcpQLlStbyncF4q8ejUvY1Yd6Ir-6wKc56iYc
I am not 100% sure, but it appears that the game is changing the window size when it starts the actual gameplay. Try enabling ForceDirect3D9On12 in addition to ForceExclusiveFullscreen. It appears that native Direct3D9 works differently from Direct3D12. Driect3D9 allows the game to change the window size in exclusive mode but Direct3D12 does not seem to allow that.
Note: I don't really want to add a bunch of fixes to the DdrawUseNativeResolution option. I just offer best effort support for it.
I am not 100% sure, but it appears that the game is changing the window size when it starts the actual gameplay.
It is, the game runs at 800x600 if set through olcfg.exe, but the menu/FMVs runs at 640x480 no matter what. ForceDirect3D9On12 seems to work, but any time a fullscreen filter is shown (getting shot turning the screen red for example), the FPS seems to quite drop heavily (halves my FPS from 240 to 120) in that mode when compared to just D3D9.
the game runs at 800x600 if set through olcfg.exe
Oh, I did not know about that tool. LOL
Anyways, I tried setting the game to 800x600 and it stays in fullscreen mode as long as I have ForceDirect3D9On12 enabled.
the FPS seems to quite drop heavily (halves my FPS from 240 to 120) in that mode when compared to just D3D9.
Interesting. Not much I can do about that. I guess that is the overhead of converting to Direct3D12.
Ok, instead of enabling ForceDirect3D9On12 try using either SetSwapEffectShim or DisableMaxWindowedMode or both. These should force the game to stay fullscreen.
the game runs at 800x600 if set through olcfg.exe
Oh, I did not know about that tool. LOL
Anyways, I tried setting the game to 800x600 and it stays in fullscreen mode as long as I have
ForceDirect3D9On12enabled.the FPS seems to quite drop heavily (halves my FPS from 240 to 120) in that mode when compared to just D3D9.
Interesting. Not much I can do about that. I guess that is the overhead of converting to Direct3D12.
Ok, instead of enabling
ForceDirect3D9On12try using eitherSetSwapEffectShimorDisableMaxWindowedModeor both. These should force the game to stay fullscreen.
Actually, since I globally force v-sync in the Nvidia Control Panel, it turns out that was causing the FPS drops here. Turning v-sync to application-controlled and using ForceDirect3D9On12 seems to work well enough. Only issue now as far as I can tell with the window size is, if the resolution is set to 800x600 and you're in game, if you try to mess with something like the keyboard controls from the settings, it'll put the bindings window in the top left.
if you try to mess with something like the keyboard controls from the settings, it'll put the bindings window in the top left.
Yeah, that is not going to be fixed. That is not Direct3D. That is GDI. I don't really want to try to do anything with GDI.
Closing this as not planned.