0 Members and 1 Guest are viewing this topic.
Is there any risk with corrupting reps using this?
i just wondering, why only 8x time longer, from where this limit come?
I usually save 5-10 replays whenever I land a VC/SA stunt, by saving one replay, alt tabbing to make a copy, and repeating the process until I have multiple replay backups - this helps sidestep the risk of corruption. Perhaps you could add a validation step to the replay write to ensure the data isn't corrupt, while also allowing the user to save multiple replay backups with a single press of F2?
Regarding corrupted replays in normal/unmodded versions of the games, that is not something I have much knowledge of - other than a vague recollection that there is a chance of it happening in SA (is it really an issue in VC too? or do you also do your multiple-rep approach there just out of habbit of needing it for SA?) - and I certainly don't know why it can happen (nor why multiple rep saves in a row can produce a working one if priors were bugged), so unfortunately I'm not sure if I'd be able to do something like what you've described, though I can understand the desire for it.
I usually save 5-10 replays whenever I land a VC/SA stunt, by saving one replay, alt tabbing to make a copy, and repeating the process until I have multiple replay backups - this helps sidestep the risk of corruption.
If I save 10 replays of my landing in SA, usually they're all working, but sometimes 1 replay out of 10 is corrupt, which just goes to show how much risk there is in SA.
Quote from: VaNilla on December 18, 2022, 10:07:54 PMI usually save 5-10 replays whenever I land a VC/SA stunt, by saving one replay, alt tabbing to make a copy, and repeating the process until I have multiple replay backups - this helps sidestep the risk of corruption.I'm a bit curious about this one, have you ever done this and had one of the replays been corrupted but not the others?From the source code of the game (at least in VC, not super knowledgable about SA) the saving functionality is just writing data directly from a buffer in memory. Any corruption is likely to have happened in this buffer rather than during the writing itself (although not impossible I suppose), so saving multiple of what would ultimately be the same corrupted buffer likely wouldn't fix anything, at least in my head.
SMF 2.0.19 | SMF © 2021, Simple Machines