Add command-line option to start a replay

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

GlassBricks
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Fri Jun 11, 2021 5:20 pm
Contact:

Add command-line option to start a replay

Post by GlassBricks »

What?
We wish for a command-line option to start a replay, e.g. `--load-replay FILE`.
Why?
In speedrun.com administration, we often check replays submitted with a runs. This involves inserting a script into the control.lua of the save, which logs certain events, then running the replay. We review the logged messages afterwards.
Being dedicated factorio players, we want to automate this (with a script). The only major hurdle right now is the ability to automatically launch a replay, and set it to max speed.
What would be most useful is a command-line option to run a replay. Even better would be the ability to run a replay without graphics, at max speed; kind of like a benchmark.

This is admittedly a bit of a niche use case, but it would be immensely helpful.
This could also be useful to run more complex benchmarks involving player input.
Post Reply

Return to “Ideas and Suggestions”