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

Store saves/ramsaves and emulator settings in database #19

Open
djhworld opened this issue May 18, 2013 · 3 comments
Open

Store saves/ramsaves and emulator settings in database #19

djhworld opened this issue May 18, 2013 · 3 comments

Comments

@djhworld
Copy link
Owner

Instead of faffing about storing ram saves as files, store them in a database such as SQLITE

Things to consider: -

  • How efficient is SQLITE at storing and retrieving BLOBS?
  • Size of database will grow in line with the amount of games you play

Also could think about allowing ROMS to be stored in a database too?

@djhworld
Copy link
Owner Author

Will also have to think about how the user can maintain items in the database too.....

djhworld added a commit that referenced this issue May 19, 2013
…with compression) - this might be useful if I ever consider implementing #19
@djhworld
Copy link
Owner Author

RAM saves are now stored in JSON format (with ram data stored as a compressed base64 string).

If I ever consider implementing this, having a JSON string rather than a BLOB does appear to be more favourable

@djhworld
Copy link
Owner Author

Also it would be nice if you could have multiple "snapshots" of saves per game, so you can keep the last 5-10 saves or whatever and users can rollback to previous ones if desired

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant