Page 1 of 1

Reading data from a file or other external source

Posted: Thu Jan 19, 2017 8:11 pm
by Skandragon
For a Hack Day project here at work, which is happening right now, we would love a way to be able to read a JSON or other content into a mod, and use that to control signals. I'm willing to write all the parts other than the one I cannot: the reading of a file.

Is there any way I can enable this functionality on my install just for this project? I understand the risks, but I'd really like to hook Factorio into our telemetry system to have trains deliver on demand, as a way to both show off a cool Hack Day project, but to show how cool hacking on Factorio and our telemetry system can be?

Re: Reading data from a file or other external source

Posted: Thu Jan 19, 2017 8:26 pm
by Nexela

Re: Reading data from a file or other external source

Posted: Thu Jan 19, 2017 8:30 pm
by Skandragon
Thanks for the cool hack from hell, but I was hoping I would not have to hack the binary quite that much. I may try this later if needed, but it really seems like I should just be able to say "danger mode=true" somewhere. :)

I'll wait and see if I can get other replies, ideally from a developer.

Re: Reading data from a file or other external source

Posted: Thu Jan 19, 2017 8:45 pm
by Nexela

Re: Reading data from a file or other external source

Posted: Thu Jan 19, 2017 9:03 pm
by Yoyobuae