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

Issues with dumped save file size #20

Open
bubbaj14 opened this issue Nov 20, 2022 · 3 comments
Open

Issues with dumped save file size #20

bubbaj14 opened this issue Nov 20, 2022 · 3 comments

Comments

@bubbaj14
Copy link

Hello!
First off, love the program! Much easier to use than the official software.
I am encountering an issue though.
When I read from the SRAM, it produces 128kb save files for GBC games exclusively.
I am fairly new to the scene of the game cart dumping scene, but from what I can tell, the save files are supposed to be 32kb.
Maybe it is dumping multiple banks?
Now, these files work for the flash cart just fine, but the emulators freak out when I use them. (due to the size I am assuming)
Now, if this is an issue with my card itself, I can understand, and perhaps I need a new one or need to fiddle with it.
I appreciate any advice you may have. I can provide any documentation you think might be useful.

@rbino
Copy link
Owner

rbino commented Nov 20, 2022

Hi @bubbaj14,
I just checked the code (it's been some time) and indeed it always reads the whole 128KB.
I will keep this issue open since it seems I could use a ROM Header to determine the actual SAV dimension.

Meanwhile, as a workaround, I think you can just truncate the SAV file to the correct dimension

@bubbaj14
Copy link
Author

Hi @bubbaj14, I just checked the code (it's been some time) and indeed it always reads the whole 128KB. I will keep this issue open since it seems I could use a ROM Header to determine the actual SAV dimension.

Meanwhile, as a workaround, I think you can just truncate the SAV file to the correct dimension

I really appreciate this, thank you so much.

@bubbaj14
Copy link
Author

Hello again!
I was wondering if there has been any progress on this, if not no worries!
I am sure you got bunch more relevant projects to be working on lol.
I hope you are well.

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

2 participants