[Release] Pokemon Emerald Srm & Sav conversion Tools

Discussion in 'Computer Programming, Emulation, and Game Modding' started by 8BitWonder, Aug 5, 2017.

?
  1. Yes, the more the merrier!

    4 vote(s)
    100.0%
  2. No, Pokemon Emerald is enough.

    0 vote(s)
    0.0%
  1. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    8
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Heyo tempers!
    I worked on these couple of tools when I noticed that I couldn't use .srm saves produced by retroarch's vba_next with pkhex. I figured that if they helped me out, maybe they can help some of you out to a degree as well.

    Between the two jar tools here, one converts .sav into .srm (SavToSrm.jar).
    While the other (SrmToSav.jar) converts .srm into .sav.

    As of this time of writing, I've only tested the tools on Pokemon Emerald US, I'm not sure if it works with any other region or whether it works with Fire Red/Leaf Green or Sapphire/Ruby. Though I'm willing to make it compatible with the other games if there is enough interest.

    The project is open source, and anyone can feel free to look at or modify the source code from my github.

    Source: https://github.com/16BitWonder/Pokemon-Emerald-Save-Converter

    The README.txt in the release explains how its directory should be setup, as well as how to use it, hope this helps!

    Release: https://github.com/16BitWonder/Pokemon-Emerald-Save-Converter/releases

    If anyone has any issues, problems, or questions using these tools, please let me know and I'll see if I can address it.

    Why I even bothered to make this tool
     
    Last edited by 8BitWonder, Aug 5, 2017
    Melon__Bread likes this.
  2. Optimistic_pessimist

    Optimistic_pessimist Newbie

    Newcomer
    1
    Jun 20, 2018
    United States
    second star to the right
    I know this is old, but I was hoping you could help me out. I'm wanting to convert my .srm to .sav so I can edit it in pkhex just like you and I'm having a hard time finding anything thats working. I downloaded your converters, but I don't know how to run them. In the read me it says that they should be .jar files, but they're not. They are .java files and my computer won't do anything with them. It just opens it so I can see the script. Any help would be very much appreciated.
     
  3. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    8
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Are you sure you selected the .zip download, and not the source download on the release page?

    The .jars do appear to be in the .zip.
    https://github.com/16BitWonder/Poke...wnload/v1.0/Emerald_Save_Conversion_Tools.zip
     
  4. Optimistic_pessimist

    Optimistic_pessimist Newbie

    Newcomer
    1
    Jun 20, 2018
    United States
    second star to the right
    I just saw this today, my emails from gbatemp must be going to my junk folder. I downloaded the zip that you linked, but when I tried to open up the .jar is gave me an error 'The Java JAR file “SrmToSav.jar” could not be launched.' It also said to check the console for error messages, but I didn't see any related to java and I checked to make sure that I had logging enabled in the java preferences. I'm on a MacBook pro running high sierra 10.13.5 with the latest version of java. I renamed my .srm to Pokemon Emerald.srm and put it in the srmtosav folder like the instructions said.

    Here is my .srm file, if you want to see if you have any success converting it.

    http:/ / www . mediafire . com/file/6ofobw0quagfi7p/Pokemon%20Emerald.srm

    (I had to put spaces because it wouldn't let me post a link since I'm a new member.)
     
    Last edited by Optimistic_pessimist, Jun 23, 2018
  5. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    8
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Very odd, I'm not sure why it isn't working on your end. It was built with Java 8 but should include all the necessary components to be standalone. I don't have any OS X devices to test/debug it on unfortunately, but I can at least convert it for you and tell you how to do it manually:

    Manual Conversion (aka trimming/inflating)

    Here's your srm converted into a sav:
     

    Attached Files:

    Last edited by 8BitWonder, Jun 23, 2018
    Optimistic_pessimist likes this.
  6. Optimistic_pessimist

    Optimistic_pessimist Newbie

    Newcomer
    1
    Jun 20, 2018
    United States
    second star to the right
    Thank you! This will help a lot!