Project Zomboid

Project Zomboid

Multi-Cpu Enhance *FIXED*
300 条留言
USUMIQ 10 月 20 日 下午 6:52 
b41 or?
ivmakk 10 月 17 日 上午 7:19 
@B.I.G. the maximum defined by this config is currently SET MEM_MAX=10240m.

In simple terms, the script checks how much RAM your device has. If it’s more than 16 GB, it launches the JVM (the Java "engine" used by the game) with a maximum heap of 10 GB (MEM_MAX). If you have less RAM, the script automatically uses smaller values to match your specs.

10240m is just the syntax for 10240 MB, which equals 10 GB. You can ask GPT or search the Java arguments -Xms / -Xmx if you want to experiment. For example, -Xmx48g would set a 48 GB max RAM (heap).

Keep in mind the game may use more RAM overall because it also has the graphical interface and native allocations in addition to the internal Java “server” part. However, giving the game a much larger heap than it needs won’t improve performance - it tends to delay garbage collection (cache cleanup) without real benefit, and may even have opposite effect to performance.
B.I.G. 10 月 17 日 上午 5:19 
@ivmakkk I have 64gb of memory, and it uses a maximum of 21.7 with this mod. What is the limit in your files?
ivmakk 10 月 17 日 上午 5:03 
Hey @B.I.G. , my version is fully based on the original mod config, just added small compatibility tweaks for B42.11+ based on comments posted here months ago. So no extra optimization beyond what the mod already offered - just making it work :)

RE more RAM: I don’t think there’s much benefit in using more than 10–12GB. You can try manually setting `SET MEM_MAX=10240m` to a higher value if you see in the OS performance monitor that the game uses all RAM defined in the config, but it’s unlikely the game will utilize it effectively or give any extra FPS.
4Zeta  [作者] 10 月 17 日 上午 4:54 
@B.i.g the mod is workin is the same of Ivmakk now :)
B.I.G. 10 月 17 日 上午 4:53 
@4Zeta Hi! Are your changes very different from these files?
https://gist.github.com/ivmakk/b6026a539c620e5580e32f1179fe12a2
B.I.G. 10 月 17 日 上午 4:50 
@ivmakk Привет! Я изменил файлы, как ты сказал, и всё работает. Спасибо! Оригинальный мод теперь более оптимизирован, или твои файлы лучше? А что, если у меня 64 ГБ памяти, а я хочу выделить ещё больше?
4Zeta  [作者] 10 月 16 日 上午 9:05 
MOD UPDATED!
French_toast! 10 月 12 日 下午 3:12 
I don't know if this mod will be updated but as for now (42.12.0) the modification prevent the game from launching
Koks z Kambodży 10 月 11 日 上午 11:28 
can you update the mod
13th.cali 10 月 11 日 上午 5:13 
sadly not launching through steam or bat itself.
BOKHAK14 10 月 10 日 上午 7:06 
anyone test in dedicated server? x9 zombie rate or multi-fight with zombies, on youtube just show simple test.
GeneralEnox33 10 月 9 日 下午 4:32 
You Sir Are A Coding God !!!! After many windows installs, FPS FIXES nothing worked tried this and boom working Flawless on my humble 4 gig Ram I3 7th gen with integrated intel 620 Thank you Thank You ..........just renamed my original .bat and .Json (to .batOriginal....) transferred the 3 new files over and went on 16 HR Speed Run.
JohnWick464 10 月 9 日 上午 9:02 
keep yourself safe, and be sure, this bsht wont work on 41 build.
With love and joy - despawn urself
sNk 10 月 7 日 下午 10:28 
You fucking legend
Koks z Kambodży 10 月 4 日 上午 7:18 
it seems it collides with main zomboid music, it plays frist sountrack on the start of the save then one when there are zombioes around then theres no music at all ever
^-^ 9 月 30 日 上午 1:06 
Launches from a batch file.
danny 9 月 29 日 下午 7:58 
Followed the installation in the description and it doesnt even let you load up zomboid
onelovetbs 9 月 28 日 下午 8:27 
b42.12 It's not working
BOKHAK14 9 月 27 日 上午 4:43 
+ can change mid-save server?
BOKHAK14 9 月 27 日 上午 4:33 
It works in 41 dedicated server??
Shizueeeeee 9 月 26 日 上午 7:10 
i tried running it on bat file it works, but nothing much change regarding the fps except the huge take on cpu and memory
Shizueeeeee 9 月 26 日 上午 4:23 
i did the build 41 fix from youtube but my game is still not launching, need help for this please :)
OhNoBro 9 月 25 日 下午 1:02 
Hosting a game gives error, still no fix in yt video and here
Doctor sex 9 月 17 日 上午 5:50 
ig i can put all my 128 gigs of ram
★ John Security ★ 9 月 12 日 上午 7:42 
For people who say that the game does not launch after your MANUAL written changes to .json - make sure you put the COMMA - "," after each line, otherwise the game does not launch.
Binnie Bamboni 9 月 10 日 下午 12:08 
For those who's games wont start & had the same confusion as me at first.

BACKUP THE FILES!!!

1. Go onto the youtube link and download the "BUILD 41 FIX" link in the description.
2. Follow the instructions on the "instruction.txt" file

then it should start
Lunarist Screeching 9 月 8 日 下午 4:27 
Where are the youtube video links
gasses888 9 月 6 日 下午 1:32 
for those of you claiming it doesn't work. run the game from the 64bit bin file.
RunYouCleverBoy 9 月 6 日 上午 11:34 
@найт, это работало до предыдущего апдейта
не стоит агриться на мод который с 7 апреля не обновлялся
чего ты ожидал?
Swag Patrol 9 月 5 日 下午 7:16 
Any update for B42.11.0? Thanks
Drryst 9 月 5 日 下午 5:02 
same, game wont start now, good think i still have the original files
🌟Найт🌟 9 月 5 日 上午 7:11 
Хорошо что всегда создаю копии оригинальных файлов игр. Потому что непонятно как автор этого мода тестировал на своей игре корявый мод который попросту не даёт игре запустится. Бесполезный мод убивающий игру.
Cumloc 9 月 5 日 上午 6:52 
my game wont start now
littlewolf99 9 月 5 日 上午 6:38 
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 9 月 4 日 下午 11:35 
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 9 月 4 日 下午 11:13 
Copying a multi-CPU server fix for b41 into the game folder prevents PZ from starting. Help needed.
Копирование исправления для cервера b41 в папку с игрой приводит к тому, что PZ не запускается. Требуется помощь.
CMD 9 月 4 日 上午 9:40 
@angel open the youtube video link and look in description, there is a fix
angel 9 月 1 日 上午 8:20 
anyone know how to get the b41 dedicated server version working? i tried applying the fixes below to no avail
NonstickSQYD 9 月 1 日 上午 2:06 
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 9 月 1 日 上午 12:15 
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 8 月 31 日 下午 11:31 
I followed the all the steps including the b41fix in yt, and the game is still not launching. Need help for this please.
Ruru 8 月 31 日 下午 10:29 
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 8 月 31 日 下午 10:25 
Used @ivmakk's linked copy/paste and absolutely worked like a charm. Thanks!

Great fix!
irrelevantredundancy 8 月 31 日 下午 3:13 
@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 8 月 31 日 上午 3:10 
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 8 月 30 日 下午 7:07 
this is absolutely a game changer. Thanks man.
@ivmakk for you too!
Epsilon 8 月 30 日 上午 5:33 
I have 4 core CPU and 8GB RAM, is someone have a code for ProjectZomboid64.bat and ProjectZomboid64.json for this specs?
NonstickSQYD 8 月 29 日 下午 3:25 
im thinking this mod is possibly causing actions to take the entire day? i cant confirm yet though will update
gasses888 8 月 28 日 下午 11:34 
I got it to load and play by running the direct batch file