Mod Control (Python Script)
Posted: Sat Jan 14, 2017 9:50 am
Hi.
I wrote a 'mod control' Python script that someone else might like, so I figured I'd share it.
The script allows you to set up 'mod sets' (a fancy term for a specific combination of mods to make enabled). When you run the script, it will enable all of the mods listed in the mod set, and disable all other mods. The general idea is that you can set up a mod set for each combination of mods that you normally play with, and set up a bunch of shortcuts to run the script for each mod set. This is to save all of the mucking around with enabling and disabling individual mods from the UI. (Why can't we select multiple items on that screen?!?!)
This script operates on the mod list JSON file, and so Factorio should probably not be running when you execute the script. You'd have to restart Factorio anyway to apply the new modset, so it doesn't make much difference.
You can find the script and instructions on GitHub at vector-kerr/factorio-mod-control.
Cheers!
- Vector
[Edit: updated post to include an actual hyperlink (new users can't post URLs!)]
I wrote a 'mod control' Python script that someone else might like, so I figured I'd share it.
The script allows you to set up 'mod sets' (a fancy term for a specific combination of mods to make enabled). When you run the script, it will enable all of the mods listed in the mod set, and disable all other mods. The general idea is that you can set up a mod set for each combination of mods that you normally play with, and set up a bunch of shortcuts to run the script for each mod set. This is to save all of the mucking around with enabling and disabling individual mods from the UI. (Why can't we select multiple items on that screen?!?!)
This script operates on the mod list JSON file, and so Factorio should probably not be running when you execute the script. You'd have to restart Factorio anyway to apply the new modset, so it doesn't make much difference.
You can find the script and instructions on GitHub at vector-kerr/factorio-mod-control.
Cheers!
- Vector
[Edit: updated post to include an actual hyperlink (new users can't post URLs!)]