Post subject: Is there a way to speed up Savestate and Loadstate ?
Lil_Gecko
He/Him
Player (94)
Joined: 4/7/2011
Posts: 520
I am at about 4 millions frames in my TAS and whenever I want to save or load a state it now takes forever. I guess it's because the whole input sequence up to this point is save in the State but is there a way to speed up the process ? Because I'm spending more time waiting for load/save than actually TASing. I tried stopping the movie, Record from Now with the idea of splicing movies together afterwards but the Record From Now softlock for me when the game loads something. I am on Bizhawk 1.11.9 Thanks.
Skilled player (1706)
Joined: 9/17/2009
Posts: 4952
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
What console is that game on? Are you using TAStudios or recording via keyboard?
Lil_Gecko
He/Him
Player (94)
Joined: 4/7/2011
Posts: 520
Psxhawk with Final Fantasy IX. Recording via keyboard.
Lil_Gecko
He/Him
Player (94)
Joined: 4/7/2011
Posts: 520
Just in case someone is wondering the same thing I kinda found a solution. Using LuaScript I assigned keys to memorysavestate.savecorestate and memorysavestate.loadcorestate so the inputs are not saved in the savestate if I understood correctly. And then everything works instantly. To the experts, is there a downside of doing that ? Risks of desync maybe ?
Amaraticando
It/Its
Editor, Player (158)
Joined: 1/10/2012
Posts: 673
Location: Brazil
I'm not expert, but I'm pretty sure it increases the risk by eliminating the concept of bullet-proof rerecording. http://tasvideos.org/LawsOfTAS/Glossary.html
Experienced player (601)
Joined: 10/23/2004
Posts: 706
Are you using an SSD? Read and write speed would play a major factor here. Possibly you could also make a virtual drive in RAM and just regularly copy to disc.
Current Project: - Mario Kart 64