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.16k stars 83 forks source link

Tzar: The Burden of the Crown #74

Open Mitradis opened 4 years ago

Mitradis commented 4 years ago

Hi. I noticed that this game is not listed: https://github.com/elishacloud/dxwrapper/wiki/DirectDraw-to-Direct3D9-Conversion and so I would like the developers to test dxwrapper on this game. I run game in ddraw mode for test so: in file Tzar.ini param DIRECTXDEVICE=0 and DIRECTDRAW_DEVICESNUMBER=3 (2 without wrapper) in dxwrapper.ini i active Dd7to9 and EnableVSync (because it strategy and i don't want see image breaks when scroll). After this manipulations i have the game slows down (especially on the menu, if press F10 in game). Then i active next settings: EnableWindowMode FullscreenWindowMode AutoFrameSkip. This helped with stuttering (small remained, when scroll). Perhaps the developers will say what can be done additionally for better compatibility and perfomance.

and game have some problem with sound - the sound is looping sometimes in big battles.

and one more question: game use one core of CPU on 100% (same problem have AOE2), maybe something can be done to fix it?

i am using GOG version 1.1.

elishacloud commented 4 years ago

AutoFrameSkip is still kind of an experimental feature. There is probably a lot more that could be done to improve that feature. The key problem is that the game is sending more frame updates than the refresh cycle of the monitor. But when you enable v-sync it will cause the game to wait for the refresh to complete. This causes the game to run very sluggishly. I can see the same in Diablo I during the main menu.

game have some problem with sound - the sound is looping sometimes in big battles.

Yeah, I don't really have much in this project to help with sound issues. I mainly have focused on graphical items since those are the ones that normally break games.

and one more question: game use one core of CPU on 100% (same problem have AOE2), maybe something can be done to fix it?

This is more than likely an issue with the game's code. Probably not much can be done here. either GOG limited it to one CPU because it has issues with more than one CPU or the game was written mostly only using a single thread. In either case it would require specific code changes in the game to fix it, most likely.

Mitradis commented 4 years ago

Thanks for the detailed answer. AutoFrameSkip really helps, without him much worse, despite v-sync.

However, it’s so much better than without wrapper. The game works well and stably and VSYNC too.

elishacloud commented 4 years ago

I own a little over 800 games from GOG. Purchased most of them on sale. I use a lot of them to test dxwrapper. This is a game I don't have. I added it to my wish list. It reminds me a bit of Age of Empires.

mirh commented 4 years ago

If you can ping me on PCGW, I'd like to have a word with you about expanding your collection.