I cannot save and load game #36

Open
smartquery opened this Issue Aug 2, 2016 · 13 comments

Comments

Projects
None yet
3 participants
@smartquery

smartquery commented Aug 2, 2016

Hi all,
Could we save state of the game or not ?
Even in the http://taisel.github.io/IodineGBA, I still can not load the state. Do we have the secret way to load the save? If we do, please show me how to load the saved state.

Thanks a lot.

Maybe it's same issue with the closed ticket: #21

@smartquery smartquery changed the title from Cannot save to I cannot save game Aug 2, 2016

@smartquery smartquery changed the title from I cannot save game to I cannot save and load game Aug 2, 2016

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 2, 2016

Owner

What browser? And what game? Some games are broken still.

Owner

taisel commented Aug 2, 2016

What browser? And what game? Some games are broken still.

@smartquery

This comment has been minimized.

Show comment
Hide comment
@smartquery

smartquery Aug 3, 2016

I'm using Chrome Version 51.0.2704.106 (64-bit) to play Pokemon series, particularly Pokemon Ruby and Emerald.

I'm using Chrome Version 51.0.2704.106 (64-bit) to play Pokemon series, particularly Pokemon Ruby and Emerald.

@smartquery

This comment has been minimized.

Show comment
Hide comment
@smartquery

smartquery Aug 4, 2016

@taisel : Could you pls show me the way you usually use to save ? Maybe I'm doing wrong.

@taisel : Could you pls show me the way you usually use to save ? Maybe I'm doing wrong.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 5, 2016

Owner

Are you loading in a save file from your desktop, or trying to play from an existing save the browser keeps?

Owner

taisel commented Aug 5, 2016

Are you loading in a save file from your desktop, or trying to play from an existing save the browser keeps?

@smartquery

This comment has been minimized.

Show comment
Hide comment
@smartquery

smartquery Aug 5, 2016

Both are good for me. I'm trying to find a way to save.
Now, I'm trying to load from the local storage (indexed db instead of local storage, I edited the findValue and setValue for that). But it doesn't work.

Both are good for me. I'm trying to find a way to save.
Now, I'm trying to load from the local storage (indexed db instead of local storage, I edited the findValue and setValue for that). But it doesn't work.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 5, 2016

Owner

It auto-saves when you pause it, or mouse over the save menu. To save before clearing browsing history, you need to export the saves in the .export file via the export option in the save menu (Then reimport back via the import option).

It is common for browser to impose storage limits, so make sure it's not being hit for you.

Owner

taisel commented Aug 5, 2016

It auto-saves when you pause it, or mouse over the save menu. To save before clearing browsing history, you need to export the saves in the .export file via the export option in the save menu (Then reimport back via the import option).

It is common for browser to impose storage limits, so make sure it's not being hit for you.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 5, 2016

Owner

I also never tried to use indexeddb for this, as there wasn't a use case for it, and it's less supported.

Owner

taisel commented Aug 5, 2016

I also never tried to use indexeddb for this, as there wasn't a use case for it, and it's less supported.

@smartquery

This comment has been minimized.

Show comment
Hide comment
@smartquery

smartquery Aug 5, 2016

But how can I load it ?
..
I used indexeddb because local storage just can only store max 10 MB.

smartquery commented Aug 5, 2016

But how can I load it ?
..
I used indexeddb because local storage just can only store max 10 MB.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 5, 2016

Owner

Saves for each game are only a few kilobytes each. Plus, browsers usually have a setting for bumping up that 10 MB limit.

Owner

taisel commented Aug 5, 2016

Saves for each game are only a few kilobytes each. Plus, browsers usually have a setting for bumping up that 10 MB limit.

@smartquery

This comment has been minimized.

Show comment
Hide comment
@smartquery

smartquery Aug 5, 2016

Maybe we mis-communication here. Could you please show me how to load the game ?

smartquery commented Aug 5, 2016

Maybe we mis-communication here. Could you please show me how to load the game ?

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Aug 26, 2016

Owner

Unless you provide the code for the edit to the save system you have made, we might continue to be miscommunicating. Saves are generally only a few kilobytes in size, and you should test with a single game first without a prior save. There will be red Text on game load (on the reload playing it a second time) telling you if the save was loaded for the game. If there is no red text or an error message, then saves aren't saving for you.

I was busy irl as of late, so I'm sorry for not getting back in touch.

Owner

taisel commented Aug 26, 2016

Unless you provide the code for the edit to the save system you have made, we might continue to be miscommunicating. Saves are generally only a few kilobytes in size, and you should test with a single game first without a prior save. There will be red Text on game load (on the reload playing it a second time) telling you if the save was loaded for the game. If there is no red text or an error message, then saves aren't saving for you.

I was busy irl as of late, so I'm sorry for not getting back in touch.

@tossedpancakes

This comment has been minimized.

Show comment
Hide comment
@tossedpancakes

tossedpancakes Sep 19, 2016

I'm having a similar problem, actually. The games save just fine, and the emulator shows the red "Loaded save." text, yet the game does not apply the save. It treats the game like it is brand new every time.
edit: I'm trying to load Pokemon Sapphire, so maybe that also has to do with it.

tossedpancakes commented Sep 19, 2016

I'm having a similar problem, actually. The games save just fine, and the emulator shows the red "Loaded save." text, yet the game does not apply the save. It treats the game like it is brand new every time.
edit: I'm trying to load Pokemon Sapphire, so maybe that also has to do with it.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Oct 14, 2016

Owner

Hmm, not sure there. Pokemon was validated as saving at one point. That message also means the GUI found a save and loaded it in, so unless it's a corrupt save or rom, then unsure.

Owner

taisel commented Oct 14, 2016

Hmm, not sure there. Pokemon was validated as saving at one point. That message also means the GUI found a save and loaded it in, so unless it's a corrupt save or rom, then unsure.

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