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

Age of Empires 2 + Userpatch #71

Closed
Mitradis opened this issue Dec 27, 2020 · 4 comments
Closed

Age of Empires 2 + Userpatch #71

Mitradis opened this issue Dec 27, 2020 · 4 comments

Comments

@Mitradis
Copy link

Mitradis commented Dec 27, 2020

Hi. Work perfect, but with UserPatch (https://userpatch.aiscripters.net/) after start new game, game change resolution and vsync is disabled. Becouse resolution main menu fixed (800*600). i am about full screen mode.

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Dec 27, 2020

So everything works fine when the game changes the resolution but just vsync is disabled?

Can you create a log file and upload it please

@Mitradis
Copy link
Author

Mitradis commented Dec 28, 2020

yes. I see 60 fps, seems to work vsync, but i see horizontal image breaks.
cnc-ddraw.zip

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Dec 30, 2020

The problem could be that vsync is skipping some frames. It's actually running at 59 FPS and not 60.

Try this instead:
nonexclusive=true
vsync=false
renderer=opengl

This should get rid of the tearing too and may be better than vsync.

You could also try windowed fullscreen, it's usually a much better solution than vsync but I think AOE2 had some issues with it:
fullscreen=true
windowed=true
vsync=false
renderer=opengl

Overall, vsync is not that great... Either you skip some frames to keep it responsive or you don't but then you get a lot of input lag instead.

@FunkyFr3sh
Copy link
Owner

Did some improvements related to vsync, here is the latest build:
ddraw.zip

Closing this now

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