I am experimenting with compatibility modes and different DDraw.dll's and got some interesting results. I am providing two DDraw.dll's with my mod.
But my problem is now with XP compatibilty or if you won't set one. The performance improvement is massive vs Win98 mode.
That's mostly because if you set a program to run in Win98 mode it will force it, to run only on core 0.
So I was watching CPU usage on my G19 LCD a few weeks etc. The global usage won't be higher than 25% - 30% maximal as global usage.
Core 0 100%
Core 1 0-5%
Core 2 0-5%
Core 3 0-5%
Without Win98 compatibilty I get a global CPU usage of 60%
Core 0 20-60%
Core 1 20-60%
Core 2 20-60%
Core 3 20-60%
Please notice that the game mostly at first splits it's thread to all cores. So in average each core does have about 25% usage, so in "theory" this should be slower. I would say this doesn't count on TS. I see an average use of at least 30-50% with 1280x768 in windowed mode. When I play on higher resolutions like 1920x1080 or 2560x1080 (which I wouldn't recommend for this game
I don't know how well this is working on Windows 7 or without one of the DDraw.dll's. But it's for sure far faster in Windows 8.1.
But yeah the problem is Tiberian Sun's file structure, I know when you not play in Win98 mode it will crash rare when starting a game and very ofthen when starting a second game at the loading screen.
AFAIK Super Joe had done some testing with this, which is some time ago. I can't remember right now, it has to do with terrain files or SHP files not placed inside a MIX file (isosnow/isotemp?) and the other things I had in my mind was about LKO talking that it has to do something with DemandLoadBuildup.
Now I would like to get that someway fixed, as I don't want to play in Win98 because the performance is horrible. I still prefer far better performance with a crash chance than the other side around
Need to find that old topic now





