FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.13k stars 143 forks source link

About RA2/YR fps(not a issue, just question) #261

Closed kotoricon closed 8 months ago

kotoricon commented 8 months ago

I know this game is very old from more than 20 years ago and engine is stupid if there's too much units/building on map will make the game very heavy fps drop to about 20-30 in big map with 6+ AI players. I've tried use

singlecpu=false

and other tools like ProcessLasso(or just simply use the taskmanager) give the game multi CPU cores, it's works well in first 3-5min can give the game about 120-150 fps, but if the map have too much things after this then like I said the fps will start heavy drop to about 20-30(or you can try a big custom mission map with too much objects), I can use something clean up the map to get about 60-80 fps again but still cant reach the old fps like 120-150. the question is it is possible make the game more stable fps like about 80-100 all the time? or just restore the old max fps reach the 120-150 again? not sure if this is a engine problem this extension cant do anything about this.

FunkyFr3sh commented 8 months ago

Yeah, this is a problem with the game engine, nothing I can do about it. Someone needs to run the game with a profiler and do some game patches to fix these issues.

kotoricon commented 8 months ago

ok thanks!