Project Zomboid

Project Zomboid

[SOLVED] Can the Mod Directory Inside of Game Directory Be Used?
Hi.

I am looking to have two copies of the game installed on my system. The first being IWBUMS 41.51 =+ versions, and have the 4.0 version (with MP) on another drive.

I am asking if the mod directory can be used in the 4.0 version of the game, and not have it use the default which is C:\Users\<username>\Zomboid.

The reason why I am asking this is I am not fond of having to read through the list of mods I have while activating for 41.51, and 4.0.

I was just looking through the batch file (launch the game), and IS there a command which I could add to the launch line which would override the default, and allow me to point it to the game mods directory?

Cheers.
Last edited by MycroftCanadaNS; Jul 21, 2021 @ 10:46am
Originally posted by Vaileasys:
There are some startup parameters you can use to achieve what you're after.
See the following for a list of parameters: https://pzwiki.net/wiki/Startup_parameters

From memory, there are 3 locations PZ looks to load mods from. Steam workshop, your steam directory (where the game is installed), or your mods folder in %USERPROFILE%\Zomboid

These parameters can be added to the Batch file you're referring to. Specifically, you want to use "-cachedir=<path>" and "-modfolders" to enable/disable the aforementioned mod folders.

I use this for testing and mod development to isolate my workspace.
< >
Showing 1-3 of 3 comments
A moderator of this forum has indicated that this post answers the original topic.
Vaileasys Jul 21, 2021 @ 1:46am 
There are some startup parameters you can use to achieve what you're after.
See the following for a list of parameters: https://pzwiki.net/wiki/Startup_parameters

From memory, there are 3 locations PZ looks to load mods from. Steam workshop, your steam directory (where the game is installed), or your mods folder in %USERPROFILE%\Zomboid

These parameters can be added to the Batch file you're referring to. Specifically, you want to use "-cachedir=<path>" and "-modfolders" to enable/disable the aforementioned mod folders.

I use this for testing and mod development to isolate my workspace.
MycroftCanadaNS Jul 21, 2021 @ 10:00am 
Originally posted by Vaileasys:
There are some startup parameters you can use to achieve what you're after.
See the following for a list of parameters: https://pzwiki.net/wiki/Startup_parameters

From memory, there are 3 locations PZ looks to load mods from. Steam workshop, your steam directory (where the game is installed), or your mods folder in %USERPROFILE%\Zomboid

These parameters can be added to the Batch file you're referring to. Specifically, you want to use "-cachedir=<path>" and "-modfolders" to enable/disable the aforementioned mod folders.

I use this for testing and mod development to isolate my workspace.

Thank You so very much for the help, I really appreciate it.
MycroftCanadaNS Jul 21, 2021 @ 10:46am 
Originally posted by Vaileasys:
There are some startup parameters you can use to achieve what you're after.
See the following for a list of parameters: https://pzwiki.net/wiki/Startup_parameters

From memory, there are 3 locations PZ looks to load mods from. Steam workshop, your steam directory (where the game is installed), or your mods folder in %USERPROFILE%\Zomboid

These parameters can be added to the Batch file you're referring to. Specifically, you want to use "-cachedir=<path>" and "-modfolders" to enable/disable the aforementioned mod folders.

I use this for testing and mod development to isolate my workspace.

GREAT, it works.

For those who wish to see my personal launch command line I used to do this, keep reading.

I have my 4.0 version on my Drive G:

G:\Games\ProjectZomboid

- Inside that folder I created a new batch file called CUSTOM_LAUNCH.bat
- Inside that batch file I added this.

start ProjectZomboid64.exe -cachedir="G:\Games\ProjectZomboid\Cache" -modfolders mods

I started the game, and the proper Cache folder was created.

I then exited the game, and went to the G:\Games\ProjectZomboid\Cache\mods folder, and placed all of my mods I collected for version 4.0 (version 4.0 is the reason for my doing this).

I then started the the CUSTOM_LAUNCH batch file, and now it only is showing my mods for 4.0 only.

I hope this helps you folks out there who wish to have multiple versions of the game installed for testing, and being able to play older saves without jumping back, and forth from IWBUMS versions or from Public Builds to earlier versions via the Beta Tab.

@Vaileasys : Thank You so much for the help, I really do appreciate it.
Last edited by MycroftCanadaNS; Jul 21, 2021 @ 11:35am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jul 20, 2021 @ 7:02pm
Posts: 3