OmegaRuby save file error after PkHex

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by PlayGameTom, Jul 9, 2016.

  1. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    Hope this is the right place to ask for.
    I took my save file from my Omega Ruby using svdt and edited the main file using pkhex. But when i try to replace the old save with the new one again, i get an error that the save file is corrupt.
    Any help here?
     
  2. bobfacemoo

    bobfacemoo GBAtemp Fan

    Member
    331
    61
    Feb 21, 2016
    Did you delete the secure value when restoring? I know JKSV does this automatically but if you used SVDT that's your problem, you need to delete the secure value, I had this happen to me once
     
  3. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    Is this at beginning, the "Enable automatic secure valie rewriting on restore"?
     
  4. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    What did you edit?
     
  5. bobfacemoo

    bobfacemoo GBAtemp Fan

    Member
    331
    61
    Feb 21, 2016
    I would assume so, choose Yes when it asks
     
  6. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    My Pokemon and dexNav levels
     
  7. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    Use JKSM instead
     
  8. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    Does the work with the eShop version of games? I get an error opening save archive using it. Can you help me there?
     
  9. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    Do you have your original save?
     
  10. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    I think no
     
  11. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    do you have a file pkhex made called main.bak?

    Try this run omega ruby play till you can save. Open your old save in pkhex make a simple edit of 1 item and export it, then import it with JKSM.
     
    Last edited by Xenon Hacks, Jul 9, 2016
  12. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,656
    720
    Aug 22, 2015
    United States
    Hell
    Use savedatafiler (found on that iso site). It can clear/backup/restore secure values (allows you to use any save file for downloaded games).
    edit: look for 011c4 when you open sdf and use r+x to delete the secure value. Your save should work even without restoring from sdf
     
    Last edited by ih8ih8sn0w, Jul 9, 2016
  13. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    JKSM does this automatically when exporting saves I don't even bother with Savedatafiler anymore.
     
  14. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,656
    720
    Aug 22, 2015
    United States
    Hell
    I thought it just modifies the secure values in the save file...
     
  15. PlayGameTom
    OP

    PlayGameTom Advanced Member

    Newcomer
    54
    3
    Jul 19, 2015
    Swaziland
    Well i found the error. I took the wrong main file. The actual save file was one folder further back .-.