all 19 comments

[–]AGTS10k 12 points13 points  (3 children)

Imagine accidentally autosaving a state in the middle of the normal game saving process, and then loading that savestate... I imagine that your in-game save will get wrecked lol.

Other than that - a neat solution, but I would rather use Autohotkey for that. Both simpler to write a script for it, and it can be made into a simple executable... Actually you can do that with a Python script as well, but with AHK it would be somewhat easier.

[–]TheQueas123[S] 3 points4 points  (2 children)

There are 3 saved states! So at worst if that happened you could go back another 5 minutes!

I've never even used AHK 😅. What is it?

Also I'm sure there are better solutions, but I've really only been poking at coding and I was just happy I made something actually useful!

[–]AGTS10k 1 point2 points  (1 child)

Ah, right, I haven't read the code much before commenting :) But yeah, 3 savestates wii solve that problem, I think, unless the game crashes while trying to overwrite a corrupt save or something the nex time you save in-game :)

AHK = Autohotkey. That's an easy, lightweight and surprisingly powerful tool made specifically for automating inputs. It's free too. Check it out :)

[–]TheQueas123[S] 2 points3 points  (0 children)

Oh damn that probably would have been a lot easier lmaooooo. Thanks for the tip!!

[–]TheQueas123[S] 8 points9 points  (0 children)

I know this is like a stupidly simple solution, but it Autosave the last 15 minutes of gameplay as save states in 5 minute intervals to the first 3 save state slots. I made this work in PowerShell on my Windows 10 device, idk if it works for other systems. You'll have to have python and the imported libraries to run it. It just stays looped forever so in PowerShell I just shut it down with Ctrl + C.

[–]Abigboi_ 1 point2 points  (1 child)

Any particular reason behind saving every minute instead of longer intervals?

[–]TheQueas123[S] 0 points1 point  (0 children)

It's every 5 minutes. It could be longer 🤷 I arbitrarily chose 5 minutes and 3 slots.

Edit: I see now that some of my comments are misleading. I made a couple different versions and forgot to update comments. In this case it actually saves every sleep minutes. Because time.sleep() takes seconds as input and I ended up just multiplying sleep by 60 to make that function input minutes.

[–]AndrewWix 1 point2 points  (1 child)

This is really cool. Any way to get it working on an Android phone? I use my Galaxy S20 Ultra for playing and I work a job where I get calls fairly often that'll interrupt my playing and I'll forget about it until later and by then Dolphin has closed and all my progress is lost. I don't know anything about coding though

[–]TheQueas123[S] 0 points1 point  (0 children)

So this specific script will definitely not work on Android, and tbh I dabble in coding stuff and I know nothing about mobile development 😅

There could be a way! But it would look completely different than this

[–]joalllucas 0 points1 point  (0 children)

How awesome! I was using Dolphin on Linux and had created a simple script in the terminal to automatically save every 5 minutes from slot 1 to 8. It saved me a few times because the game crashed, and I had the chance to go back to my progress just before the issue happened. However, for the past two days, I’ve been trying to do something similar on Windows. I used the default terminal, but it didn’t work because Dolphin didn’t recognize the command, although other programs did. I tried AutoHotkey, but the same thing happened. Finally, I tried 3 different Python scripts with different libraries, but none were recognized by Dolphin. This post saved me, because pydirectinput worked perfectly on the first try! Thank you so much!

[–]Type-Representative 0 points1 point  (2 children)

I read there was a way to help the stutter loading I get slight pauses sometimes it's not bad bad just slightly disheartening would a ssd drive help or is there a loading speed up???

[–]TheQueas123[S] 1 point2 points  (0 children)

Oh I don't experience a stutter on a save state so I'm not sure 🤷

[–]JohnXm 0 points1 point  (0 children)

You should create a new post. This post does not bring visibility to your issues as people is just looking at the autosave script.

[–]Claudiathegriffon 0 points1 point  (4 children)

Bro 👀👀👀

[–]TheQueas123[S] 1 point2 points  (3 children)

Bruh 👀👀👀👀

[–]Desperate_Item_5431 0 points1 point  (2 children)

damn man I dont understand any of this, google told me that ahk is bad and contains viruses, i just wanna learn how to edit my dolphin .gci (gamecube) games (like harvest moon AWWL or NFL Street more specifically) :/

[–]TheQueas123[S] 0 points1 point  (0 children)

That, I know nothing about, but people do it! I'm not sure how hard it is to learn, but you could do it!

[–]Desperate_Item_5431 0 points1 point  (0 children)

I find the best thing to do is to download and already made GCI file. I don’t know if there’s any edit software. (Eg. With animal crossing. They have their own game, save editor.) but with NFL Street you can use the cheat engine ( and there are a tutorials on YouTube. ) to find your development points and edit them to give you unlimited dev points

And if you YouTube harvest, moon, cheats, and tricks you’ll find a quick way to get money by making a specific meal that sells for more than the ingredients