Project Zomboid

Project Zomboid

Tahm Sep 17, 2022 @ 1:27pm
How to change dedicated server save location
Hi, I've been through heaps of forum posts, discussions, and hours on google.
Most solutions i've tried have not worked for now (I may have done them incorrectly, that's why I'm here now).

I have moved the Saves, Server, player data, mods etc to "F:\...\Zomboid" successfully.
Steam will read from that folder correctly (without re creating the folder on the C Drive) & I am able to play those saves/host directly throught the ingame host option fine.

But... I am trying to run the Dedicated Server.
When I run the dedicated server .bat, it re creates the "Zomboid" folder in C:\USERNAME\Zomboid instead of reading/saving to my new folder in F:\...

I want to know if there is a way to force the dedicated server to use that new fodler?
Looking to move its save location to a bigger drive because of storage limitations.
----------------------------------------------------
I've tried adding commands in the StartServer.bat files but none have worked so far.
I've tried using launch options in the PZ Dedicated Server through Steam, no go either. Sometimes the cmd says uunknown option & continues to re create the folder anyway.
I may have typed these wrong though & I'm open to any suggestions or recommendations.

Any help is welcome.
Thanks in advance.
Tom.
Last edited by Tahm; Sep 17, 2022 @ 1:28pm
Originally posted by Beard:
Edit the StartServer.bat and either use the Duser.home parameter or the -cachedir parameter to change the direction.

Read more about the parameters here:
https://pzwiki.net/wiki/Startup_parameters
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Beard Sep 17, 2022 @ 1:53pm 
Edit the StartServer.bat and either use the Duser.home parameter or the -cachedir parameter to change the direction.

Read more about the parameters here:
https://pzwiki.net/wiki/Startup_parameters
Tahm Sep 18, 2022 @ 4:44am 
Thanks Beard,

I've just tried that tonight, it worked to start with but also had some trouble moving the player data across to the dedicated server, then the game reverted and started making that folder again.

We decided to skip the headache and start fresh.

Thanks for the help anyway, much appreciated :)
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Sep 17, 2022 @ 1:27pm
Posts: 2