Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Save #472

Open
michael-j-green opened this issue Jan 2, 2025 · 0 comments
Open

Auto Save #472

michael-j-green opened this issue Jan 2, 2025 · 0 comments
Labels
API Issue is related to the server API database enhancement New feature or request frontend Change is related to the UI and frontend experience
Milestone

Comments

@michael-j-green
Copy link
Member

Reference: There are save states, and there are save files

<@76729811447320576> I recommend you look at hiding the save save state and load save state buttons, and replacing it with a script that will auto-run every x minutes and pull the /data/saves directory. This is where srm saves are kept, and it makes more sense to automatically pull/save these with every game
https://github.com/EmulatorJS/EmulatorJS/blob/4ae4d5c3bffbea677db207027c4aae86e13e9deb/data/src/GameManager.js#L56-L63

Or, to be more specific, call this function to get the exact path of the save data:
https://github.com/EmulatorJS/EmulatorJS/blob/4ae4d5c3bffbea677db207027c4aae86e13e9deb/data/src/GameManager.js#L21

@michael-j-green michael-j-green added enhancement New feature or request API Issue is related to the server API database frontend Change is related to the UI and frontend experience labels Jan 2, 2025
@michael-j-green michael-j-green added this to the v1.8.0 milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issue is related to the server API database enhancement New feature or request frontend Change is related to the UI and frontend experience
Projects
None yet
Development

No branches or pull requests

1 participant