Remove empty replay recordings#1933
Remove empty replay recordings#1933DevOpsOfChaos wants to merge 1 commit intoReturn-To-The-Roots:masterfrom
Conversation
|
Doesn't this potentially also mean, that if during game setup something wents wrong, we won't be able to find this by loading a replay? Maybe there are some special addon combinations that would break the game on startup so no GF is run. Not sure so guess you know better @Flamefire |
|
I'd say in those cases we could as well start the game from whatever was chosen there. |
Thanks, that matches my reasoning as well. I mainly wanted to remove the useless 0-GF replay clutter for cleanly stopped recordings. If we later find a real debugging case where such empty replays are useful, we can revisit this, but for now I would keep the cleanup as-is. |
a4789e9 to
e968df3
Compare
Summary
Motivation
Starting a game and aborting during early setup, for example after a script error, can leave behind 0-GF replay files. These files are not useful as actual replays and clutter the replay folder.
This keeps completed/non-empty replay recordings unchanged, but removes empty recordings when recording is stopped cleanly.
Fixes #984
Validation
Test_integrationlocally with Visual Studio 2022 DebugSerialization/EmptyReplayRecordingIsRemovedSerialization/ReplayWithMapSerialization