Page 1 of 1
Changing mod configs
Posted: Thu Apr 21, 2016 3:32 pm
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?
Re: Changing mod configs
Posted: Thu Apr 21, 2016 3:51 pm
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.
Re: Changing mod configs
Posted: Fri Apr 22, 2016 10:00 am
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.
Re: Changing mod configs
Posted: Sat Apr 23, 2016 9:24 pm
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
Re: Changing mod configs
Posted: Sun Apr 24, 2016 11:56 am
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.