FactorioData-dlang icon indicating copy to clipboard operation
FactorioData-dlang copied to clipboard

Adding additional mod support

Open ironchefpython opened this issue 7 years ago • 1 comments

I looked through the project, and I didn't see a list of mods that get published to https://factorio.rotol.me/

I would love to be able to submit a pull request that adds an entry to a list of mods to display on the website, and if accepted would rebuild the web page to add those mod(s)

ironchefpython avatar Nov 12 '17 20:11 ironchefpython

The current process is:

  • Generate mod/config packs locally using https://github.com/Murnto/Factorio-PackGen
  • Push the generated pack files to the server
  • Reload the server

This isn't an ideal process, there would be a number of things to consider for an automated system:

  • Proper sandboxing/isolation of Lua within Factorio-PackGen
  • Factorio-PackGen is liable to break due to quirks in certain mods (these are generally trivial to fix by hand, but automatically handling it likely won't be)

More minor:

  • Obtaining the mod files
    • Hardcoded direct links to zips?
    • Pulling from https://mods.factorio.com/?
  • Handling changed mod dependencies from version to version

You're more than welcome to submit a PR :)

Murnto avatar Nov 13 '17 22:11 Murnto