convert .srm to .sav

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Hockeydavid, Jun 25, 2019.

  1. Hockeydavid
    OP

    Hockeydavid Newbie

    Newcomer
    1
    Aug 12, 2018
    United States
    I want to transfer my progress from retroarch to VBA, but in order to do that I need to convert my .srm file(136 KB) into a .sav file(128 KB). How do I do that? Is there any apps or .exe files that can do this for me?
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23
    Nov 21, 2005
    United Kingdom
    I don't know if there are such tools, or if retroarch has an export function somewhere (VBA will have one saying import battery save which you might find yourself using).

    What I would suspect is as the GBA has no header for its save files that retroarch adds its own header or footer (section before or after the save file respectively) detailing what game it belongs to and giving people that rename their ROMS a chance of matching things back up when they return in a few years.

    8 Kilobytes is quite a bit for such a thing though (the various GBA flash carts/DS handling programs that also do it only use a few dozen bytes as that is all you really need) but should still be a matter of deleting the additional 8KB.

    I have not looked but if SRM is instead a savestate rather than the conventional in game tave then it will be a compressed one (the GBA has nearly 400 kilobytes of memory all in) so you will have to figure out what goes there. You can convert between savestates but I am not aware of any existing programs to do it, though that is just as likely as because I don't use or care for retroarch as a project.
     
  3. xYuunax

    xYuunax GBAtemp Regular

    Member
    4
    Feb 6, 2018
    China
    Hong Kong
  4. Hockeydavid
    OP

    Hockeydavid Newbie

    Newcomer
    1
    Aug 12, 2018
    United States
    How do I compile gbaconv?
     
Loading...