Project Zomboid

Project Zomboid

This topic has been locked
Tusen 2KxX Sep 11, 2019 @ 7:54am
Save location
Is there a way to change the save location? My drive is getting full just from PZ... I have 3 drives, but by default it saves to C
< >
Showing 1-12 of 12 comments
Vaileasys Sep 11, 2019 @ 8:37am 
You can't change just the save location, but you can change the entire cache directory, i.e. everything within the "Zomboid" folder.

Add the following argument to the "launch options".

-cachedir=<path>

Where <path> is the folder directory, in quotation marks.

For example:

-cachedir="D:\Project Zomboid"
Tusen 2KxX Sep 11, 2019 @ 9:00am 
Will it save it to another drive and where do I find bat file?
Vaileasys Sep 11, 2019 @ 9:04am 
In your game library, right-click Project Zomboid, click properties, then in the General tab click the "Set launch options" button. It will display a box to input text. That's where you put the above.

The save folder is part of the cache directory
Last edited by Vaileasys; Sep 11, 2019 @ 9:04am
Tusen 2KxX Sep 11, 2019 @ 12:59pm 
How do I keep my current save as well?
nasKo  [developer] Sep 11, 2019 @ 1:17pm 
Originally posted by Tusen 2KxX:
How do I keep my current save as well?
You move it to that new folder. Default saves are in C:\Users\Yourusername\Zomboid
Tusen 2KxX Sep 11, 2019 @ 2:16pm 
Do I keep the "" in there?
Tusen 2KxX Sep 11, 2019 @ 2:17pm 
Nvm, I am a moron.. LOL
J's Sep 11, 2019 @ 6:41pm 
Originally posted by Tusen 2KxX:
Nvm, I am a moron.. LOL
There are no stupid questions, just unlightened ones. Glad you found enightement partly on your own :) (which proves you are not a moron).
Horus May 8, 2020 @ 1:49am 
Why would you guys do this. *NEVER* specify a drive! Why are developers unable to understand this? Windows has a "my documents" folder for that very reason! WHY?!?!?!?

I had to restore a backup. And now my several weeks old game where I had progressed the farthest and longest. POOF. GONE.

All because YOU GUYS don't follow the most elementary and basic of coding tenets: NEVER HARDCODE system variables. OK it's not technically hardcoded but instead uses a proprietary process of designating a save location instead of, you know, using the one that comes with the operating system. Sigh.
Last edited by Horus; May 8, 2020 @ 1:50am
Horus May 8, 2020 @ 5:31am 
Originally posted by EnigmaGrey:
Originally posted by Horus:
Why would you guys do this. *NEVER* specify a drive! Why are developers unable to understand this? Windows has a "my documents" folder for that very reason! WHY?!?!?!?

I had to restore a backup. And now my several weeks old game where I had progressed the farthest and longest. POOF. GONE.

All because YOU GUYS don't follow the most elementary and basic of coding tenets: NEVER HARDCODE system variables. OK it's not technically hardcoded but instead uses a proprietary process of designating a save location instead of, you know, using the one that comes with the operating system. Sigh.

Well, I certainly question your understanding of “elementary and basic” programming, given your reaction to a symbolic link provided by Java across 3 platforms (user.home). There’s nothing hardcoded and not a unique approach; it’s just a default dir used by the game for almost 9 years.

-cachedir=/whereever/you/want in the launch options for Pz. (Steam -> right click Pz -> properties)

Or are we going to pretend that Windows has standards for this stuff? In which case we should be using AppData, which isn’t Documents, anyway,

I can sympathize, after all, I’ve lost stuff by making assumptions about backups as well, but the fault always laid at my feet for not being more careful; not because a programmer offended me by using a directory I didn’t consider at the time. (Really, the amount of crap I have spread over various levels of app data, games, root user dir, documents, and even the install dir, is annoying.)

Whatever. I'm still pissed because you know what? I have over 1,000 games on Steam and AFAIK this is the only one that insists on putting its data on the C:\ drive. All others put them in windows "libraries" or whatever you call their movable-target named directories, such as "my documents" and so on.

This is the only game where I lost my saves. THE ONLY ONE. Thank you.
WillieSea May 8, 2020 @ 5:40am 
If you have Minecraft, it does the same thing. And the game Halfway.
And then a lot of games use AppData. And a bunch of other use My Documents.

Personally, I hate games that use My Documents, because it clutters up my documents folder with unnecessary game files. To me, a game should use the install directory to save its games, why do the files have to be separate from the install directory? Steam even has a users folder, which some games use for the save games.

I was not asking a question, just stating my opinion on the matter.
Horus May 8, 2020 @ 6:28am 
Originally posted by EnigmaGrey:
Originally posted by WillieSea:
Personally, I hate games that use My Documents, because it clutters up my documents folder with unnecessary game files. To me, a game should use the install directory to save its games, why do the files have to be separate from the install directory? Steam even has a users folder, which some games use for the save games.

I was not asking a question, just stating my opinion on the matter.

For a while, antivurises would freak out if you did this. Windows also went through a phase where it required elevated security privileges to write to these files, going so far as to create hidden temp folders to work around older programs doing this. I think that was Vista and early 7?

Might want to check your RinWorld saves, Horus. They’re in app data. Most people don’t think to back up that dir given the epic pile of temp folders lodged inside.

Thanks, I'll be fine, I don't enjoy RimWorld and have no intention of ever playing it again. This game is much better. But you just gave me the idea of backing up AppData separately. Thanks for that.
Last edited by Horus; May 8, 2020 @ 6:30am
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Sep 11, 2019 @ 7:54am
Posts: 12