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...
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'
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?
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.
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?
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.
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.