Project Zomboid

Project Zomboid

Not enough ratings
Guide to Optimize and Increase Your FPS 2025 (ENG)
By Danonimo7
This guide is focused on increasing the base FPS of Project Zomboid by 20% to 40%, as well as improving FPS stability, preventing sudden spikes or drops.

To achieve this, navigate to the following path:
C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid

Once we are in this path, we need to create a .txt text document named commandline.txt.

After creating it in that location, we will begin editing the parameters that we will use for this optimization.

We will add the following commands:

-noprecache
-nomemrestrict
-frameLimit 0
-percentvidmem 100
-availablevidmem 2.0
-refreshrate 180

Once these values are set, we will edit one of them: "-refreshrate 180". This command needs to be adjusted because the number is specific to each monitor. Replace 180 with your monitor's refresh rate (Hz).

If you have a 60Hz monitor, replace 180 with 60.

Adjust the value according to your monitor's refresh rate.

Final Notes
If you experience any issues, open the .txt file and remove the command:
-availablevidmem 2.0
Because some computers do not recognize this setting.

Lastly, I know this might be obvious, but remember to save the changes and ensure that the commandline.txt file is located in the game's root folder.

Now, all that’s left is to launch the game from Steam and enjoy greater FPS stability and a free FPS boost!
   
Award
Favorite
Favorited
Unfavorite
Improve ur Fps in project zomboid
this is how it looks the commandline.txt


and this is how it looks the game directory where we gonna place the commandline.txt
New Update of the Guide!
people!, i made a mod for the workshop who adds this commandline.txt with better commands and more focused on increase the fps and stabillity in game!, in the page of the mod of workshop u can see what those commands do! and how to install it manually!

Commandline FPS +++ B41/B42

If u like this guide or the mod i made for the workshop, please rate this guide and the mod!
thats all the support i need! and ty for watch this guide!
15 Comments
Danonimo7  [author] 2 May @ 8:37pm 
@irrelevantredundancy: -availablevidmem doesn’t indicate VRAM in MB, but rather a scalar value. For example, 2.0 tells the game to try using double the detected VRAM. It’s not that you have 48MB, but the engine interprets that number as a ratio, not a fixed amount. This parameter comes from older engines like Source and is still used in games like Project Zomboid to force more video memory usage.
Danonimo7  [author] 2 May @ 8:34pm 
Good question, In this case, since the parameters I used are just for improving client performance (more FPS, using all VRAM, removing limits, etc.), they can be added directly to the Steam launch options and will work the same.

I use them in a commandline file for convenience, and because:

I like having everything in one file where I can quickly edit without opening Steam.

Some experimental versions (like B42) sometimes don’t apply certain parameters properly if they’re only set through Steam.

In short, for regular gameplay, you can put them in Steam without any issues. But if you like having things more organized, testing new setups, or having full control, the commandline file is a better option. :doshammers:
Krougal 2 May @ 8:26pm 
Is there any reason to not just drop these directly into the launch options for the game in Steam?
irrelevantredundancy 15 Apr @ 8:05am 
If it's used to allocate the GPU's available VRAM it seems more likely that we would use a 4-digit value that is equal to the amount of available VRAM in megabytes i.e. availablevidmem=4096 for a 4gb VRAM GPU.
irrelevantredundancy 15 Apr @ 8:00am 
I'm confused by availablevidmem = 2.0 . Are we assuming this is an instruction related to a graphic card's available video memory or a CPU's available L3 cache? I'm confused because of the 2.0 . Because when I see that elsewhere it's used as 2.0=48mb . So, surely were not telling the game that there is 48mb of VRAM available on a graphics card? That values much more in line with an L3 cache.
Danonimo7  [author] 6 Apr @ 5:37pm 
that was nice bro! hahaha, also i make a mod if u want to do the instalation more easly!
Cahmi 6 Apr @ 5:36pm 
Thx, i run a 4gb ram intergrated graphics laptop lol
Danonimo7  [author] 1 Apr @ 3:22pm 
Of course! I will share what each command does! Just allow me to translate it into English since my native language is Spanish. Today or tomorrow, I will have the descriptions of each command translated for you!

I really appreciate your great support for this guide!:cherrypie:
Space Donuts 1 Apr @ 3:14pm 
can you also provide their descriptions? thank you.
Danonimo7  [author] 27 Mar @ 12:44pm 
I will try to keep this guide updated and improved.