I started a game in 0.17.59 with replay activated some weeks ago. Now I wanted to create a timelapse from the replay. In Version 0.16 you could just add
Code: Select all
script.on_nth_tick(3600, function(event)
game.take_screenshot{
surface = game.surfaces[1],
position = {0,0},
resolution = {4096,2160},
zoom = 1.0,
path = "timelapse/" .. string.format("%06d", event.tick/event.nth_tick) .. ".jpg",
show_entitiy_info = true,
}
end)
But when I tried this in 0.17.59 it just created an empty folder "timelapse" but nothing more.
After some research I found this
(https://wiki.factorio.com/Version_history/0.17.0)0.17.13 Bugfixes
[...]
Fixed that replays could trigger autosaves and take screenshots
Is it really a bug that you can take screenshot in a replay?
Of course, you could take the screenshots while playing with the script. But with a slow computer this is annoying.
One solution would be adding a "save timelapse" option in the replay gui in vanilla
What do you thinks guys?