Mafia: Definitive Edition

Mafia: Definitive Edition

View Stats:
H3llF1re Sep 30, 2021 @ 4:47pm
Fixing the game's fps limiter
Hi all,

Figured out how to engage this game's built-in limiter. You need a copy of Mafia 3: DE to do this.

1) Start Mafia 3 DE, set a 60fps lock (or 30fps if you so wish) and save the settings. Exit the game.

2) Replace this file: Documents\My Games\Mafia Definitive Edition\Data\<ID>\profiles\temporaryprofile\profile_videosettings.pf with the one from Mafia 3 (here: %LocalAppData%\2K Games\Mafia III\Data\<ID>\profiles\temporaryprofile\profile_videosettings.pf)

3) Play Mafia: Definitive Edition and change the graphics settings as desired (I use exclusive Fullscreen, VSync off but enabled in Nvidia Control Panel, everything on High)

Note: you can't modify the profile_videosettings.pf file by hand - even with a Hex editor. The game finds it corrupted and overwrites it. A valid Mafia 3 file does work though, hence why this solution is legit.

Enjoy nice smooth 60fps at last :)
Last edited by H3llF1re; Sep 30, 2021 @ 4:53pm
< >
Showing 1-11 of 11 comments
Andrius227 Oct 1, 2021 @ 4:21am 
Whats the point of this? It runs at 60 fps by default.
H3llF1re Oct 1, 2021 @ 9:03am 
It runs at VSync'ed 60fps with no limiter, so even though your fps counter reads 60, the experience will be jittery (always has been in this game) due to uneven frametimes. I realise that most won't care about this, but some (like me) are much more sensitive to it than others, so I was pleased to find a solution.
Last edited by H3llF1re; Oct 1, 2021 @ 9:07am
Andrius227 Oct 1, 2021 @ 10:00am 
Originally posted by H3llF1re:
It runs at VSync'ed 60fps with no limiter, so even though your fps counter reads 60, the experience will be jittery (always has been in this game) due to uneven frametimes. I realise that most won't care about this, but some (like me) are much more sensitive to it than others, so I was pleased to find a solution.

As someone who can tell the difference between 120fps and 165fps, i assure you this game runs at 60fps.
g13ba Oct 1, 2021 @ 12:13pm 
Don't want to install Mafia 3: DE just for this. Can you post the file please?
H3llF1re Oct 1, 2021 @ 1:13pm 
Originally posted by Andrius227:
As someone who can tell the difference between 120fps and 165fps, i assure you this game runs at 60fps.

I didn't say it wasn't running at 60. I said it *was* running at 60, but wasn't producing consistent frame times, resulting in the appearance of visual stuttering. You're clearly not someone who is interested in this fix, why are you even here?

Originally posted by g13ba:
Don't want to install Mafia 3: DE just for this. Can you post the file please?

Yeah, don't mind doing that at all. GD link:

https://drive.google.com/file/d/1nEOX20vJHt7BH6ceIOoAwY_DKkQOoeuo/view?usp=sharing
g13ba Oct 1, 2021 @ 2:05pm 
Thanks!
I found instructions for how to edit the .pf files and changed m_FPS from 2 to 1.
https://www.pcgamingwiki.com/wiki/Mafia:_Definitive_Edition#Map_Extended_Mouse_Buttons
Looks like it worked, as it wasn't overwritten.
Can't tell if it's different though, because in the city it runs below 60 fps for me.
Last edited by g13ba; Oct 1, 2021 @ 2:06pm
H3llF1re Oct 1, 2021 @ 2:18pm 
Originally posted by g13ba:
Thanks!
I found instructions for how to edit the .pf files and changed m_FPS from 2 to 1.
https://www.pcgamingwiki.com/wiki/Mafia:_Definitive_Edition#Map_Extended_Mouse_Buttons
Looks like it worked, as it wasn't overwritten.
Can't tell if it's different though, because in the city it runs below 60 fps for me.

Oh, cool! I hadn't seen those instructions on how to manually edit the file. Nice find.

You could tell for definite that it's working by setting m_FPS to 0, which will lock the game at 30fps.
Last edited by H3llF1re; Oct 1, 2021 @ 2:21pm
neO_o_ Oct 3, 2021 @ 8:30am 
Err it's much easier than all this. Just tick "disable full screen optimisations" on the exe*.

This will prevent auto HDR from working but there's an alternative to the above which is to just use a specific reshade preset instead (Google it).
Last edited by neO_o_; Oct 3, 2021 @ 8:30am
H3llF1re Oct 3, 2021 @ 2:30pm 
Originally posted by neO_o_:
Err it's much easier than all this. Just tick "disable full screen optimisations" on the exe*.

This will prevent auto HDR from working but there's an alternative to the above which is to just use a specific reshade preset instead (Google it).

That was one of the many things I tried to improve this game's frametimes, and it didn't do anything for me.
King Saxler Mar 17, 2023 @ 6:10am 
I don't understand why people must complain about fixes they don't need - completely insane losers. You don't have to comment that you don't need it. Thanks for posting this.

For those looking to edit the file OP posted, I recommend Notepad++. There are other similar lightweight programs that do it as well.

Cheers OP.
Last edited by King Saxler; Mar 17, 2023 @ 6:13am
Maxpayne_11 Dec 3, 2023 @ 11:13pm 
Originally posted by maxpaine_11:
Originally posted by H3llF1re:
Hi all,

Figured out how to engage this game's built-in limiter. You need a copy of Mafia 3: DE to do this.

1) Start Mafia 3 DE, set a 60fps lock (or 30fps if you so wish) and save the settings. Exit the game.

2) Replace this file: Documents\My Games\Mafia Definitive Edition\Data\<ID>\profiles\temporaryprofile\profile_videosettings.pf with the one from Mafia 3 (here: %LocalAppData%\2K Games\Mafia III\Data\<ID>\profiles\temporaryprofile\profile_videosettings.pf)

3) Play Mafia: Definitive Edition and change the graphics settings as desired (I use exclusive Fullscreen, VSync off but enabled in Nvidia Control Panel, everything on High)

Note: you can't modify the profile_videosettings.pf file by hand - even with a Hex editor. The game finds it corrupted and overwrites it. A valid Mafia 3 file does work though, hence why this solution is legit.

Enjoy nice smooth 60fps at last :)

I got it!!!! I have permanent fix, but you have to follow these steps this solution also works with the last of us stuttering, first off I found out that using fps limiter in nvidia control panel was making my games stutter alot, so my fix for that was
Nvidia control panel:
Fps limiter : off
Gsync: on
Vsync: on (global)
That should fix stuttering for some of you
Now for mafia 1 definitive edition the game was only made to be played at 60fps, but even when the game is locked at 60fps fullscreen it feels jittery,
Game will never be or feel smooth regardless if you unlock the framerate by disableling full screen optimization on the executive file, so here is the fix to play the game smooth at 60fps:
*Go to nvidia control panel
*Change resolution
*Change refresh rate to 60hz
*Disable gsync
*turn vsync on global
*make sure you double check if vsync is on (global) if you already had it on, because after changing the refresh rate and when i disabled gsync my system automatically revert vsync to off for some reason so make sure you turn it back on (global)
*open game using steam
No need to change executive file settings

Now in game
*Fullscreen on
*Vsync on
There you may now play the game smooth 60fps let me know it this works for you
This fix also works with the last of us pc jittery, stuttering



Tick disable full screen optimization
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Sep 30, 2021 @ 4:47pm
Posts: 11