N64 Save File Convert

Hi all,

I’ve been using Project64 and have a .SRA file I would like to import into Retroarch (.SRM). Thus far I’ve been unable to get Retroarch to recognize the save file.

Things I’ve tried:

  1. Rename *.SRA to *.SRM and place it in the ROM folder.
  2. Create a new *.SRM using Retroarch and overwrite it with the renamed *,SRA
  3. Import the *.SRA into a non-Retroarch copy of Mupen64plus and re-save using both the *.SRA and *.S0 (state) files
  4. Convert the *,SRA using the tool posted here http://www.libretro.com/forums/viewtopic.php?f=2&t=1612&p=12707&hilit=convert#p12707 (file type not recognized)
  5. Using a hex editor, byte swap the *.SRA (32-bit) and then pad the end of the file by copying then end of the clean *.SRM. This results in Retroarch overwriting my *.SRA with a new *.SRM

I am certain there is a way to do this, but I’m just missing the point on something. What is confusing is how Retroarch uses the Mupen64plus core, but a completely different save format.

If anyone has any experience with this, please share so we can figure it out together.

For completeness, my *.SRA can be found here: http://www.filedropper.com/thelegendofzelda

*.PJ.ZIP is here: http://www.filedropper.com/thelegendofzeldapj

All comments/suggestions welcome.

Cheers, Tev

Mupen64 SRMs hold EEPROM, FlashRAM, MemPak and SRAM. In general Project64 native saves (.eep, .fla, .sra, .mpk) are compatible with Mupen64, you just have to combine them into a srm file. There is no need to byte swap or pad the files.

I wrote a command line tool to do the hard work, it’s available on the mupen64-libretro repository. I uploaded statically linked builds of the tool here: http://ge.tt/9O5D9uo1

Hi. Is there an updated version of this tool? I can’t compile the latest on github don’t know how. This one doesn’t work for me. I believe the way SRM are created has changed.

Just wanted to drop in here and say that this is a TOUGH problem to fix… here is a great solution for NEWER (2015 and on) SRM files from Mupen64 in Retroarch

Author:

File: https://onedrive.live.com/?authkey=!AJYNHmea0NSr_cY&cid=EEB961B2FD633089&id=EEB961B2FD633089!496&parId=EEB961B2FD633089!495&action=locate

enjoy!

1 Like

I was just about to create a new thread on this but this thread was magically here.

So I have been having trouble converting some native PJ64 saves to Mupen64Plus .srm format in RetroArch. Namely Paper Mario, Ocarina of Time, Majora’s Mask and Super Smash Bros. I change name and file name but all my 100% saves are lost, and these are games I need to test further before I can decide switching to the Mupen64Plus core.

6 of my 11 games I could convert saves from PJ64 successfully.

Does this tool mentioned in this thread do the job correctly? I would hate to have to replay these games as they’re also Europe versions with saves rarely to be found.

EDIT:

The pj64tosrm tool worked perfectly and now all my games saves are converted successfully! Thanks jas282!

This tool cannot handle memory paks in controller 2,3 and 4 etc. Is there a way to extract that data from the SRM file?

hey, im trying to convert my ocarina of time save file (which is a .sra file) to .srm, but when i try to run the program, windows stops me by saying the program doesnt work on my system (fyi, it’s a 64-bit os, and yes, im running the 64 bit version). it worked before with my sm64 save (an .eep file). is there a way to fix this?