Changing mod configs

Place to get help with not working mods / modding interface.
Post Reply
SyncViews
Filter Inserter
Filter Inserter
Posts: 295
Joined: Thu Apr 21, 2016 3:17 pm
Contact:

Changing mod configs

Post by SyncViews »

Many mods have configuration in a file like config.lua (I guess Factorio provides no means for a GUI right now). Is the only way to change these to unpack, then repack the zip, and then redistribute the modified mod in the case of mp, or do they live in some other directory on the server/host?

doc
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Mon Mar 28, 2016 3:52 pm
Contact:

Re: Changing mod configs

Post by doc »

Correct, although you can delete the .zip and just leave the unpacked folder in your mods directory instead, will make it easier to test changes.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Changing mod configs

Post by bobingabout »

You need to redistribute this modified config.lua to all multiplayer members...

It's quite annoying actually, it has been the cause of no end of issues with my mods, which is one of the main reasons I opted to remove the config.lua from all of my mods, and have the config files in one place, a new config mod.

This way at least, you only have to redistribute a single file, not a dozon.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

SyncViews
Filter Inserter
Filter Inserter
Posts: 295
Joined: Thu Apr 21, 2016 3:17 pm
Contact:

Re: Changing mod configs

Post by SyncViews »

hmm, OK, well hopefully something gets added to the game in future. Guess can just modify the mods in a mod pack I then distribute as a full set where mods allow it

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Changing mod configs

Post by bobingabout »

As long as the only 2 files you edit are config.lua of the config mod, and json.lua's dependancies line to change a load order to force compatabillity, you're allowed to freely redistribute my mods. the rest of the mod must remain unedited though.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding help”