elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.15k stars 82 forks source link

Monitor Refrash rate in full screen #201

Closed Mitradis closed 10 months ago

Mitradis commented 1 year ago

It is possible set refrash rate (hz) for output? If need lock refresh rate to 60 for example (because game not support more) in full screen mode. To prevent frames stratters (75 with 60 fps not smooth). If not, how i can do this?

elishacloud commented 1 year ago

It depends on the game. If you are using older DirectDraw/Direct3D games there is an option called DdrawOverrideRefreshRate that can be used for this. This only works if the game supports Dd7to9 or EnableDdrawWrapper.

However, keep in mind that even if you override the refresh rate if the game was coded for a different refresh rate this may just cause the same screen to appear on multiple frames or it could speed up or slowdown the game play. It will need to be tested on each game to see how it works.

elishacloud commented 10 months ago

Closing the issue for now. If you still have questions about this you can reopen it.