Project Zomboid

Project Zomboid

B42 Performance
Others then me who gain a pretty nice FPS gain on the B42, I have an old Dell M4800 with i7-4810MQ, 16GB ram and M1200M Quadro card I use to draw CAD and some 3D stuff on.
On the B41 I have very bad FPS when just zoomed out a little, around 10-15FPS, no matter what I did, turned down every setting and so on, not helping at all, but during this B42 Unstable, I gain steady 60FPS, even at max Zoom, Good job Dev on what you have done to increase it :D :steamthumbsup:
< >
Showing 1-14 of 14 comments
I hope the stutters can be fixed soon so we can have even smoother experience.
5Head Jan 21 @ 7:53am 
Originally posted by Armagenesis:
I hope the stutters can be fixed soon so we can have even smoother experience.

I wonder if the B41 stutter fix, applies to B42 also.

Find zomboid in your steam library, right click and browse local files.
You're looking for One of Two files;
ProjectZomboid32.json or ProjectZomboid64.json. I'm assuming this is a desktop, so the ProjectZomboid64.json is the one you want to edit.

Open the file with notepad, notepad++ or Visual Studio / VSCode.
Before editing, i highly recommend making a backup of the file, just in case.

Now you'll be looking for this:

"vmArgs": [
"-Djava.awt.headless=true",
"-Xmx3072m",
"-Dzomboid.steam=1",
"-Dzomboid.znetlog=1",
"-Djava.library.path=win64/;.",
"-XX:-CreateCoredumpOnCrash",
"-XX:-OmitStackTraceInFastThrow"


Specifically the line for the "-Xmx3072m",
This is your memory allocation pool for Java/JRE.

Xmx is your maximum value, which for zomboid is default set at 3gb.

Add a line like I did here;
"vmArgs": [
"-Djava.awt.headless=true",
"-Xms3072m",
"-Xmx10240m",
"-Dzomboid.steam=1",
"-Dzomboid.znetlog=1",
"-Djava.library.path=win64/;.",
"-XX:-CreateCoredumpOnCrash",
"-XX:-OmitStackTraceInFastThrow"
This means my minimum memory threshold is 3gb, and the max is 10gb.
Depending on how much RAM you have available, a good sweet spot is always like 5-6gb, but if you have loads of spare like I do, you can set it a higher value.

Make sure you change the
"-Xmx3072m"
to
"-Xms3072m",

and add a new line for your Xmx value.

Hope this helps :spyro:
No one talks about it yet, so who knows. I mean, I didn't have any stutter issues back in B41. Just low frame rate because my machine is ancient. But with the unstable, it's the reverse.
Jethro Jan 21 @ 11:54am 
Yeah b42 unstable seems crazy unoptimized, at least for me. Huge stutters to where the game just freezes and hangs for sometimes about 3 seconds. Running an i7, 2070 Super and 32GB ram.
Buscemi Jan 21 @ 12:02pm 
It gets worse the longer you play. I think it's related to rats or animals in general multiplying too fast. I went to the sanatorium south of Riverside 2 months in. It's almost unplayable there, like 17 fps. I get 120+ fps normally. There's just a ton of rats and mice there and I think their pathfinding causes a lot of CPU stress.
Currently using a low end powerhouse [laptop] -- I call it a powerhouse because it looks powerful and it's not...

HOWEVER --

the difference being between 41/42 are massively different.

41 - Bad
42 - Optimisation is massively different, and the FPS and smoothness in comparison is very very greater and much better albeit being unstable is does stutter now and then but play-ability is much better.

although the biggest change i did to both versions was simply turning of blood -- like turn of blood, use the mod rain cleans blood and it's a MASSIVE difference, not to mention turning everything else a little lower.

foremost -- when loading into a game - don't move for a few minutes, let the game run, from my experience -- perhaps turn on Vsync to prevent over throttle and cap your fps to a sweet spot via testing.
Alex Jan 21 @ 2:55pm 
Originally posted by 5Head:
Make sure you change the
"-Xmx3072m"
to
"-Xms3072m",

and add a new line for your Xmx value.

Hope this helps :spyro:
I checked the heap load with visualvm and it seems like a placebo - it still has less than 3 gigs data. Could be useful for alot of mods maybe.
Last edited by Alex; Jan 21 @ 2:57pm
morrigan Jan 21 @ 2:58pm 
same here dude. i run PZ on a potato and when my old computer died, it was really hard to enjoy playing the game on B41 because the performance was awful. on B42 it's a WORLD of difference and optimization. i'm so thankful. thanks devs <3
Originally posted by uttergarbo:
same here dude. i run PZ on a potato and when my old computer died, it was really hard to enjoy playing the game on B41 because the performance was awful. on B42 it's a WORLD of difference and optimization. i'm so thankful. thanks devs <3
Yeah, i have the exact same experience on my laptop, it's like a "new" game :)
I am i huge fan of the new lightning system/update, instead of the shadow tiles we have in the B41, not that is a problem, but when you see new stuff that "wuaw" you, it's hard to go back. B42 imo is going to be a huge upgrade performance step.
snK Jan 22 @ 12:07am 
Originally posted by Armagenesis:
I hope the stutters can be fixed soon so we can have even smoother experience.
Yeah I was noticing stutters a lot today, is this something everyone is experiencing? I thought it was mostly just being in Louisville because I don't remember it happening as often in smaller towns.
there's a new settings option called "video effects" ( do not recall seeing it before, maybe not new?) but when i turned it off all my stutter issues went away
Originally posted by mudhelmet:
there's a new settings option called "video effects" ( do not recall seeing it before, maybe not new?) but when i turned it off all my stutter issues went away
Imma give this a try. I haven't touched that option, so maybe it'll help.
I ran B41 fairly well. B42 gets better fps overall in normal situations but I get these split second freezes while driving that I worry might become an issue in MP.
It unbaked my potato.
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: Jan 21 @ 5:08am
Posts: 14