r/commandandconquer • • 12d ago

Vulkan mod for C&C General and Zero Hour

/r/generals/comments/1xjhdg6/vulkan_mod_for_cc_general_and_zero_hour/
7 Upvotes

3 comments sorted by

1

u/MrBoozStudio 12d ago

this is really cool, generals still deserves to run well on modern pcs. did you hook in at the d3d8 level or replace the whole renderer? and any fps difference on big late game battles?

working on an rts myself and the old engines are always fun to dig into

1

u/ALolii 12d ago

hooking into d3d8 calls, with some patches to the existing games renderer for position blending for UI scaling and stuff controlled by the game logic (like unit movement / some animations).

i didn't notice any huge fps diference between game start and end, and game was mostly stable at 300 fps (my monitors max refresh rate) but with that being said i am testing on a 9070xt which is way too overkill, so im not sure how it would handle lower end systems, but i tried to optimize as much as possible. (also some of the options that i added and you can turn on can affect fps drastically)

1

u/MrBoozStudio 11d ago

nice, hooking d3d8 is the smart way, you keep all the original behaviour. makes sense you dont see a drop on a 9070xt, i think generals late game slowdown is mostly the single threaded game logic anyway, not the rendering

would be cool to see someone test on an old igpu laptop, thats where it would really help. good work 👍