Project Zomboid

Project Zomboid

Multi-Cpu Enhance *FIXED*
272 Comments
gasses888 6 Sep @ 1:32pm 
for those of you claiming it doesn't work. run the game from the 64bit bin file.
RunYouCleverBoy 6 Sep @ 11:34am 
@найт, это работало до предыдущего апдейта
не стоит агриться на мод который с 7 апреля не обновлялся
чего ты ожидал?
Swag Patrol 5 Sep @ 7:16pm 
Any update for B42.11.0? Thanks
Drryst 5 Sep @ 5:02pm 
same, game wont start now, good think i still have the original files
🌟Найт🌟 5 Sep @ 7:11am 
Хорошо что всегда создаю копии оригинальных файлов игр. Потому что непонятно как автор этого мода тестировал на своей игре корявый мод который попросту не даёт игре запустится. Бесполезный мод убивающий игру.
Cumloc 5 Sep @ 6:52am 
my game wont start now
littlewolf99 5 Sep @ 6:38am 
If your on B41 dont waste your time on this. The mod dont work in any way shape or form. The link from the youtube dont work. all the tricks in the comments dont work. Its a totally useless waste of time. Probably only works for the B42 people.
4vr.yung 4 Sep @ 11:35pm 
Changing -XX:+UseG1GC and -XX:+UseZGC to -XX:+UseParallelGC didn't start the game. It's unclear if B41 Solo Fix and B41 Server Fix can be installed together.
Замена -XX:+UseG1GC и -XX:+UseZGC на -XX:+UseParallelGC не привела к запуску игры. Неясно, можно ли установить B41 Solo Fix и B41 Server Fix одновременно.
4vr.yung 4 Sep @ 11:13pm 
Copying a multi-CPU server fix for b41 into the game folder prevents PZ from starting. Help needed.
Копирование исправления для cервера b41 в папку с игрой приводит к тому, что PZ не запускается. Требуется помощь.
CMD 4 Sep @ 9:40am 
@angel open the youtube video link and look in description, there is a fix
angel 1 Sep @ 8:20am 
anyone know how to get the b41 dedicated server version working? i tried applying the fixes below to no avail
NonstickSQYD 1 Sep @ 2:06am 
figured i should update while this mod didnt slow my stuff down it actually helped, and by that i mean whatever file is posted about 2 or 3 pages ago someone made a post to build 42 files and THAT helped, idk if this mod did anything bc when i first tried it it wouldnt open
Shizueeeeee 1 Sep @ 12:15am 
Btw, my current pc spec is Ryzen 3 Pro 3200g + 2x8gb 3200mhz (but it only shows on task manager at 16.9gb and at 2933mhz) currently don't have a dedicated gpu as well. Hope this help fix the issues i currently having.
Shizueeeeee 31 Aug @ 11:31pm 
I followed the all the steps including the b41fix in yt, and the game is still not launching. Need help for this please.
Ruru 31 Aug @ 10:29pm 
CREDITS TO @Captain Pixelbeard for making this work.

Couldn't open the game ether. Clicked "Launch Game," but nothing happened, and there wasn't any crash report. I had to start the game through the .bat file. I got it fixed by changing the -XX:+UseG1GC and -XX:+UseZGC parameters in the ProjectZomboid64.json file to -XX:+UseParallelGC,

Below you find the already chaned part of text of my ProjectZomboid64.json file. Just override THE PART in your own json file. I used Notepad+. I hope, it helps.


- ProjectZomboid64.json -

[...]

],
"windows": {
"6.1": {
"vmArgs": [
"-XX:+UseParallelGC",
"-XX:G1NewSizePercent=20",
"-XX:G1ReservePercent=20",
"-XX:MaxGCPauseMillis=50",
"-XX:G1HeapRegionSize=32m"
]
},
"10.0.17134": {
"vmArgs": [
"-XX:+UseParallelGC",
"-XX:ZCollectionInterval=120",
"-XX:+UnlockExperimentalVMOptions",
"-XX:LargePageSizeInBytes=2m"
]
}
}
}
Ciao Maihog 31 Aug @ 10:25pm 
Used @ivmakk's linked copy/paste and absolutely worked like a charm. Thanks!

Great fix!
irrelevantredundancy 31 Aug @ 3:13pm 
@4vr.yung -- in its current form using the .json and .bat provided with this mod will cause the game to not launch. Go back in the comments and find @Captain Pixelbeard's August 9th comment for instructions on how to fix the issue.
RunYouCleverBoy 31 Aug @ 3:10am 
now it is not working 42.11.0
(guys below, are u checked working after game updated?)
starting only if run bat (but this is not the solution cause nvidia settings and e.t.c. do not working)
sleepycat 30 Aug @ 7:07pm 
this is absolutely a game changer. Thanks man.
@ivmakk for you too!
Epsilon 30 Aug @ 5:33am 
I have 4 core CPU and 8GB RAM, is someone have a code for ProjectZomboid64.bat and ProjectZomboid64.json for this specs?
NonstickSQYD 29 Aug @ 3:25pm 
im thinking this mod is possibly causing actions to take the entire day? i cant confirm yet though will update
gasses888 28 Aug @ 11:34pm 
I got it to load and play by running the direct batch file
gasses888 28 Aug @ 8:56pm 
@ivmakk it is still not loading for me
salvision 28 Aug @ 3:32pm 
@ivmakk this is some god level shit! Thanks
bens 24 Aug @ 1:25pm 
@ivmakk you are a saint, ty
BibleCampVictim 24 Aug @ 12:48pm 
@ivmakk you're a legend dude
ivmakk 24 Aug @ 2:00am 
Just for anyone looking for working B42.11 versions of ProjectZomboid64.bat and ProjectZomboid64.json - here are full ready-to-copy/paste snippets: https://gist.github.com/ivmakk/b6026a539c620e5580e32f1179fe12a2

For me, this dramatically improved FPS at my base (from ~35 to 100+) and removed those annoying micro-freezes.

Disclaimer: I only applied the change mentioned by @Aldunhokoron and did minimal formatting of the initial .bat file from the mod description and the .json file from the mod itself.
Build 42.11, Windows 11. After installing the mod, the game did not start, but after making changes to ProjectZomboid64.json, changing two lines -XX:+UseG1GC and -XX:+UseZGC to -XX:+UseParallelGC. The game started, but the saves stopped loading, and it is impossible to start a new game, at the end of the download, it just spills onto the desktop
ribs 22 Aug @ 4:27pm 
I'm on Windows 10 and played for a couple of hours. Now I can tell when the game overwrites the files because it gets way slower. I can confirm it's working. b42.11.0
Ganja Gibbs 22 Aug @ 10:18am 
I tried the changes @Aldunhokorn mentioned that were originally posted by @Dotan but my game still wouldnt launch. Anyone know a fix for this?
TheSparta 21 Aug @ 1:40pm 
you might want to replace the usage of wmic with something else, because wmic is deprecated and isn't included in windows 11 24H2
Krieg 21 Aug @ 4:02am 
changed the values and still won't launch :steamsad:
KiraFier 20 Aug @ 11:57pm 
@Aldunhokoron thank you !
Aldunhokoron 20 Aug @ 10:31pm 
I'm gonna put the comment from @Dotan here for convenience.

If you change the values -XX:+UseG1GC and -XX:+UseZGC in the ProjectZomboid64.json file to -XX:+UseParallelGC, the game will run.
Falsified 20 Aug @ 12:40am 
isn't starting, can't figure out why. did everything to a T
ribs 19 Aug @ 3:51pm 
Just tested it on b42.11.0. It seems to improve the FPS.
Dester 19 Aug @ 1:30pm 
Is the information for this mod still being updated with new releases of build 42 OR do we need to scan the comments below for correct configurations ?
Zombie967 16 Aug @ 1:09pm 
Sweet mod, after using it on insane zombie pop I can now drive down the highway at 120mph very little lag and as it quickly loads new chunks "drift" without hitting trees due to lag. thanks for saving my potato pc lol.
Zombie967 16 Aug @ 12:58am 
Thanks @Dotan your method also worked for me.
CSM-101 "T-800" 15 Aug @ 5:12am 
@Captain Pixelbeard, thx bro. Fixed.:spiffo:
CSM-101 "T-800" 15 Aug @ 4:57am 
Crashing... The game won't even open. When I click “play,” it closes immediately as it starts up.
RainGamma 13 Aug @ 9:14pm 
doesnt work
13 Aug @ 2:20pm 
do you plan to update for 42.11? it's just crashing on launch on that version
反恐英精 12 Aug @ 1:55am 
改完这个我体感上觉得的low帧至少提升十多帧,开车时和拉最大视野的时候帧数也稳定了好多,简直就是僵毁必装神器,感谢外国友人的性能优化,大佬一生108胎

thanks you so much for deeply increase my potato PC performance ,i got at least 10 fps increase from your god mod,love you form hk:VioletOK::VioletOK:
󠀡󠀡󠁳󠀡󠀡 11 Aug @ 11:24pm 
how do i do this on mac?
MicroDogeSub 11 Aug @ 6:23am 
If you are having trouble making this work, just open YouTube video linked to this Workshop item and download files in the description, then follow the instruction in the zip file. The mod uploaded to the Workshop is missing some files.
如果你按照教程这个mod还是用不了,到上面链接的YouTube视频简介里下载文件,然后按照zip压缩包里的教程安装。工坊里上传的文件缺东西

BUILD 42.7.0 FIX:
{LINK REMOVED}

BUILD 41 FIX:
{LINK REMOVED}

SERVER BUILD 41:
{LINK REMOVED}
STORMFANG 11 Aug @ 5:59am 
you have tutorial or instruction i can follow.. for this to work? please help Anyone??!
Captain Pixelbeard 9 Aug @ 8:54am 
- ProjectZomboid64.json -

"vmArgs": [
"-Djava.awt.headless=true",
"-Xmx20480m",
"-Xms9192m",
"-Dguava.library.path=.",
"-XX:+UseParallelGC",
"-XX:ParallelGCThreads=32",
"-XX:ConcGCThreads=12",
"-XX:+UseNUMA",
Captain Pixelbeard 9 Aug @ 8:53am 
- ProjectZomboid64.bat PART 2/2 -

:: Imposta thread pool e GC in base a CPU
if %num_cores% LEQ 2 (
set GC_THREADS=1
set CONCURRENT_THREADS=1
set FJ_PARALLELISM=2
) else if %num_cores% LEQ 4 (
set GC_THREADS=2
set CONCURRENT_THREADS=2
set FJ_PARALLELISM=4
) else if %num_cores% LEQ 8 (
set GC_THREADS=4
set CONCURRENT_THREADS=2
set FJ_PARALLELISM=6
) else if %num_cores% LEQ 16 (
set GC_THREADS=20
set CONCURRENT_THREADS=12
set FJ_PARALLELISM=32
) else (
set GC_THREADS=6
set CONCURRENT_THREADS=3
set FJ_PARALLELISM=9
Captain Pixelbeard 9 Aug @ 8:53am 
Additionally, I had to edit the ProjectZomboid64.bat ProjectZomboid64.json files to fit my hardware (16 Core CPU, 32 GB RAM)

- ProjectZomboid64.bat PART 1/2 -

:: Imposta memoria in base alla RAM disponibile
if %total_mem% GTR 32000 (
SET MEM_MAX=20480m
SET MEM_MIN=9192m
) else if %total_mem% GTR 16000 (
SET MEM_MAX=10240m
SET MEM_MIN=4096m
) else if %total_mem% GTR 12000 (
SET MEM_MAX=8192m
SET MEM_MIN=2048m
) else if %total_mem% GTR 8000 (
SET MEM_MAX=6144m
SET MEM_MIN=2048m
) else (
SET MEM_MAX=4096m
SET MEM_MIN=1024m
)