FactorioMods_FactorioMaps
FactorioMods_FactorioMaps copied to clipboard
Support zero-interaction mode
I want to make a service where people just upload maps and my service uses this mod to generate the map and hosts it for them. I know this will get to be large fast, but I want to do anyways.
I understand that I can't do this on a headless instance but I'd like to run it on a full factorio install (with graphics obviously). I just need it to not require any user action. Could the mod be made to allow itself to run immediately on load, export a map with some preset settings and then exit factorio?
That would be super awesome and allow me to make the service.
My existing maps are here: https://storage.googleapis.com/factorio-1209k-maps/index.html
I did those with a simple tool to create the index and exporting each map by hand.
0.15 adds a new command feature. I can add a /factoriomaps blah blah blah
that could let you control it that way. Would that work well enough? Otherwise I'm not too sure how to go about it without ruining the normal userbase.
That sounds perfect.
I'll work on that this week. Currently out of town for the weekend.
First rough idea is:
/factoriomaps generate
to generate a map.
/factoriomaps setting [key [value]]
calling setting without parameters will spit out all the valid keys and calling a key without a value will print the current value.
Thoughts?
I love the ability to discover the settings.
So would the full command line be: factorio --load-save whatever.zip --factoriomaps generate --factoriomaps name Bingo and so on specifying more key settings? That is fine with me.
Where did you end up with this? I would love to automatically, periodically create a factorio map of my multiplayer server.
Does the mod support using an existing directory and only updating the images instead of generating new ones for unchanged areas? That would greatly speed up subsequent invocations.
Has this idea received further attention? If so I'd like to make use of it.
PLEASE! :P
it would be great to just script this just with the map.zip file.