Pokémon Prism save from cia to emulator and vice versa

Discussion in '3DS - Homebrew Development and Emulators' started by Shuu, Dec 27, 2016.

  1. Shuu
    OP

    Shuu Advanced Member

    Newcomer
    53
    6
    Nov 22, 2015
    Italy
    So, basically I'd like to switch between the cia game and the emulator and then go back to the cia.

    I do as follows: dump game save with sdt/jksm, start emulator and the game, rename sav.dat to pokeprism.sav, select the save and the game works no problem on the emulator.

    When i want to go back to cia i export battery file from the emulator, rename it to sav.dat and i inject it with sdt/jksm.

    After that, if I boot Prism it says that data are corrupted and formats the game.

    I think that the problem is due to the secure value, but I don't know for sure.

    What should I do?

    EDIT: Nevermind. I did it.
     
    Last edited by Shuu, Dec 27, 2016
  2. loserkidsblink

    loserkidsblink Newbie

    Newcomer
    5
    0
    Nov 11, 2011
    United States
    Just curious, in the same position myself.. how'd you do it?
     
  3. x65943

    x65943 Resident Greekaboo, Amateur Dog Father

    Member
    2,563
    2,155
    Jun 23, 2014
    United States
    Indiana
    If you use the latest jksm it should take care of the secure value automatically.
     
  4. loserkidsblink

    loserkidsblink Newbie

    Newcomer
    5
    0
    Nov 11, 2011
    United States
    Still doesn't seem to be working for me, with the latest build. I extracted the file from gemboy, an Android emulator, might just not be playing friendly with the .sav file.

    Regardless, I wasn't far along, don't mind starting over!
     
  5. Shuu
    OP

    Shuu Advanced Member

    Newcomer
    53
    6
    Nov 22, 2015
    Italy
    You don't have to start over.
    I continued playing on a gbc emulator (mgba) with the .dat converted to .sav of the cia and everything went fine.

    The way i fixed the original problem was (sadly) only temporary and reappeard the next day.
     
  6. Frantic

    Frantic Member

    Newcomer
    15
    2
    Sep 22, 2016
    United States
    Soo.. I can convert the 3ds .dat file to .sav just by renaming it and using it with mGBA, but when I export the data back to .dat and inject it with JKSM, the save gets corrupted. :unsure: Any help here?
     
  7. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,947
    1,838
    Mar 28, 2016
    United States
    Asshai
    Ok if you're using visual boy advanced make sure your save settings are set to "automatic/64 Flash". Take the save you exported from JKSV and rename it to "gb.sav" and load your ROM. Then go to file and import battery file, and select your renamed saved. When you're done playing, go to file and export battery file, then when prompted to name+save, use the drop down bar to select the "Flash save" file type which which automatically save it as a .dat file. Just name it sav.dat to overwrite your old one and make sure it's 32kb in size. Place it in your JKSM folder and delete any "ram.sav" files stored in there as well as the "secure value" if it's present.

    And there you go, it works for me 100% of the time. I've never had my save corrupted one way or the other. Good luck.
     
    Frantic likes this.