|08-10-10, 09:40 PM||#1|
Join Date: Jun 2009
Mafia II Demo: tweaking PhysX performance
Yes, all that dynamic clothing and particle effects are cool, but actuall performance of Mafia II with APEX PhysX effects set on 'Medium' or 'High' isn't very fascinating ' even GTX 480 users may met some annoying fps drops and lags. Fortunately, there is a way to tweak APEX content a little.
Most performance is devoured by APEX Clothing module, that is responcible for realistic clothing simulation on main and several NPC characters. If you can live without flowing Vito trenchcoat and woman's skirts, you can simply follow the path
\Steam\steamapps\common\mafia ii ' public demo\edit\APEX
and delete (don't forget to backup) directory named as
This will remove certain APEX assets, and character clothing will revert to static skinned mesh (like with APEX set to 'Off'), but all particle effects will stay !
Result ? No more realistic cloth, but huge fps increase. 70 average fps vs 25 fps without this trick (APEX set to High).
But this is not all ' let's do something more gentle, like disabling all clothing except for Vito suits ' our main character.
Revert Cloth folder to it's place.
Delete all files, except for those starting with 'VIT*', and files named 'm2skeleton' and 'ClothRemapTable'.
Voila ! Fully dynamic clothing on Vito, without NPCs draining your fps with their unnoticable cloth skirts and jackets.
This is a place near Vito's house ' running around 20-25 fps previously, thanks for those NPC womans skirts. After tweak ' 60+ fps.
And finally. With our tweaks it is possible to play Mafia II with APEX PhysX enabled ' purely on CPU.
All fancy particles and impact debris (our CPU was enough for APEX Medium settings), some clothing simulation ' running on stable 30+ fps.
Looks like a nice deal for non-hybrid ATI users.
Update: few screenshots with clothing tweak ' APEX PhysX is set to High, graphics and physics are calculated on single GTX470. Particles are in place, Vito's clothing is fully simulated.