Post subject: SaveRAM headers
Danfun64
He/Him
Joined: 7/25/2007
Posts: 50
How do I delete SaveRAM headers so that I can run the sram on other emulators? Conversely, how do I add such headers to non-headered sram files? I'm pretty sure a hex editor is required for this process...
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
There is generally no header on bizhawk saverams. The details of bizhawk saveram formats depend on the core. Generally, the format follows the original core. That's all that can be said with certainty. Your question cannot be answered in detail unless it is reformatted as 'how do I get savefrom from bizhawk's X to Y'
Danfun64
He/Him
Joined: 7/25/2007
Posts: 50
The saveram in question is using the vba next core. I would like to convert it to a form that can be used by vba link 1.8.0beta edit: on a related note, will bizhawk ever support wired/wireless link cable emulation of portable systems, as well as netplay for all platforms?
Spikestuff
They/Them
Editor, Publisher, Expert player (2643)
Joined: 10/12/2011
Posts: 6439
Location: The land down under.
Handheld linking already exists for the Game Boy core. So GBA will most likely get this too.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Danfun64, sure, bizhawk will support netplay eventually, so far in the future that you would be excused for thinking it indistinguishable from never. I think bizhawk's gba core has a 16 byte header youll have to chop off before it's a raw sav file suitable for VBA emulators. Spikestuff, that is an unwarranted assumption. Things like that happen because theyre readily achievable in the core we adopt. Therefore another core supporting it is almost the least important piece of information in determining whether another core will support it.
Danfun64
He/Him
Joined: 7/25/2007
Posts: 50
I'd ask if you'd eventually support linkup in the vba next core, but I'm pretty sure what you are going to say is "we won't. we might put it in the mgba core (if necessary)...once it's considered finished enough to implement..." edit: What about the nes saveram? Does that have a 16 byte header too?
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
GBA saverams: 8 byte ID 4 bytes int32le: m 4 bytes int32le: n m bytes raw data: flash or sram n bytes raw data: eeprom On reading, it will attempt to load non-headered files, and sometimes succeed. Most of this is VBA's fault: since it uses fuzzy heuristics to determine saveram in many cases, the only way be 100% guaranteed is to save the whole durn thing. NES saverams have no header, except for FDS (which is a whole special thing of its own), and maybe some oddball I've forgotten about. Bizhawk itself doesn't put any headers on saverams; it's only cores that do that.
Danfun64 wrote:
I'd ask if you'd eventually support linkup in the vba next core, but I'm pretty sure what you are going to say is "we won't. we might put it in the mgba core (if necessary)...once it's considered finished enough to implement..."
Yeah, I was the one that was going to do linkup in vba next, but I got a job and have been rather busy, and MGBA came around which made linkup for vbanext seem kind of pointless.