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

GBA VC Injection .sav file size #110

Closed
0ffbeat opened this issue Jul 12, 2017 · 2 comments
Closed

GBA VC Injection .sav file size #110

0ffbeat opened this issue Jul 12, 2017 · 2 comments

Comments

@0ffbeat
Copy link

0ffbeat commented Jul 12, 2017

Hello, I know there is a thread regarding this already but there isn't a solution to it and I would really appreciate if you could give me a pointer on how to solve this as I'm going crazy trying to find out how.

When you have a .sav file from the Virtual Boy Advance, it saves it at 64kb. When you try to inject this .sav file into the 3ds, it fails which I assume is because the default file size is 32kb.

What would be the most efficient way to change the VBA .sav file from 64kb to 32kb in order to let me inject it with godmode9?

Thanks alot.

@CecilFF4
Copy link

Hex edit. Sometimes emulators will pad the save files with all 0xFF or 0x00 bytes to make save files consistently similar sizes. If the GBA VC is saying a save file needs to be 32kb, just delete all bytes after that point in the larger save file. Also, sometimes you need to do a 64-bit byte flip to get a save to work. Easy to tell if you need to by comparing the save files from VBA and from GBA VC.

@d0k3
Copy link
Owner

d0k3 commented Jul 24, 2017

Simply truncate the file. Use a hex editor, and I'm also pretty sure there are tools out there that can further automate / simplify the process for you. Maybe there even is a VBA setting to limit the size of the save file (everything beyound 32kB is not used anyways). GodMode9 does check the size for a reason, so this won't be changed in GM9.

@d0k3 d0k3 closed this as completed Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants