Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support zero-interaction mode #11

Open
fireduck64 opened this issue May 4, 2017 · 7 comments
Open

Support zero-interaction mode #11

fireduck64 opened this issue May 4, 2017 · 7 comments

Comments

@fireduck64
Copy link

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.

@credomane
Copy link
Owner

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.

@fireduck64
Copy link
Author

That sounds perfect.

@credomane
Copy link
Owner

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?

@fireduck64
Copy link
Author

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.

@jab416171
Copy link

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.

@matrixhacker
Copy link

matrixhacker commented Oct 11, 2017

Has this idea received further attention? If so I'd like to make use of it.

@cluelessperson
Copy link

PLEASE! :P

it would be great to just script this just with the map.zip file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants