TL;DRScreenshot during replay is prevented by fix 65901 but it is useful for timelapses. Add switch to allow screenshots during replay
WhatSwitch to allow screenshots to be taken during replay
WhySince there is use case for doing screenshots during replay i suggest to add some bypass mechanism that would restore possibility to take screenshots during replay.
Assuming screenshot during replay is prevented by simple check of some in-replay flag, this check could by bypassed by additional variable that could be set by user.
Possible ways to put this variable near user:
- add checkbox into settings "Allow screenshot during replay"
- or, at first screenshot during replay, ask user "do you want screenshots to be taken during replay?"
- or by write-only variable that would be set by changed control.lua in replay. Write-only would be to prevent any actual game scripts from relying on its value as it could quickly escalate into full scale replay desync
65901 - related fix that prevented overwriting saves (intended) and screenshots (partialy intended)
74053 - [0.17.59] Problem with replay timelapse
70002 - [0.17.33] game.take_screenshot not store file it self from control.lua