Savegame broken problem

Discussion in '3DS - Flashcards & Custom Firmwares' started by DragonRider, Mar 1, 2016.

  1. DragonRider
    OP

    DragonRider GBAtemp Regular

    Member
    102
    1
    Aug 25, 2011
    Australia
    Today i played a little bit with header patching of 3ds games, i tryed to patch my dump of pokemon OR with a other private header, but after that, if i run the patched game i get the error that the game save is broken.

    I also got this error at dumping and running Pokemon Y.


    Can anyone help me and tell me what to do or what i did wrong?
     
  2. GothicIII

    GothicIII GBAtemp Fan

    Member
    488
    134
    Jan 4, 2015
    Gambia, The
    It doesnt work like this. The header of a game is also the encryption key of that save. If you change the header, the 3DS/Game will tell you the save is damaged.

    You need to export the decrypted version of the working encrypted save with tools like savedatafiler/save_manager. After modifiying the gameheader you can import the save thus reencrypting it with the new header. How to do it? Please use search function.
     
    Last edited by GothicIII, Mar 1, 2016
  3. DragonRider
    OP

    DragonRider GBAtemp Regular

    Member
    102
    1
    Aug 25, 2011
    Australia
  4. Odven

    Odven Advanced Member

    Newcomer
    80
    51
    Dec 30, 2014
    Underground
  5. GothicIII

    GothicIII GBAtemp Fan

    Member
    488
    134
    Jan 4, 2015
    Gambia, The
    No it does not. Its a card2 savegame. I exported/imported mine (orignal Pokemon X) without problems. CIA Version of the game uses a secret seed to enhance the copyprotection of the save but it does not apply to the card version.

    Read the instructions carefully. Sometimes you miss things in a rush. I already tested those steps. They all work. But if Im wrong, you can try to delete the secret value of the game (R+X while highlighting ctr-card with mounted Pokemon game).
     
    Last edited by GothicIII, Mar 1, 2016
  6. DragonRider
    OP

    DragonRider GBAtemp Regular

    Member
    102
    1
    Aug 25, 2011
    Australia
    i also noticed that the 000400000FF40A00.sav is not changed at the end of Option B, i think it should? :unsure:


    Is the Problem eventually because i not deletet the secret value?
    I tried this also, but i cant delete it, savedatafiler dont get the R-Key :/
    if i press R+X it only get X, Factory reset or something .... and no, my R key is not broken :o
     
  7. GothicIII

    GothicIII GBAtemp Fan

    Member
    488
    134
    Jan 4, 2015
    Gambia, The
    No it should not. Since the *.sav is for card1 games. The .sav file for pokemon remains empty e.g.contains only "0xFF". The real save file is written directly into the .3dz rom.
    Then my statement was correct. The secret value for the card-version is not used. You obviously made a mistake when importing the save to the card/rom. Make sure the game is mounted (shows the icon on homescreen) and or try a rom with blank save.

    EDIT: I just tried it with my dump. It works no problem. Either your header is somehow broken or I don't know. Last year there were issues with encryption keys of the saves and Gateway but this is resolved since fw9.2 is exploitable. Btw my Sysnand is 9.2 and emunand at 10.6.
     
    Last edited by GothicIII, Mar 1, 2016
  8. DragonRider
    OP

    DragonRider GBAtemp Regular

    Member
    102
    1
    Aug 25, 2011
    Australia
    That means i dont must do the copy/paste/rename steps with the .sav files and only export the save from the original dump (Header A) with working save game and import the savegame to the new dump (header B) with savedatafiler and it should work? :)


    Okay then i think i made a mistake with the header,it was my first try with header injection...
    My Sysnand is also 9.2 and emunand 10.6, so there should be no problem.
     
  9. GothicIII

    GothicIII GBAtemp Fan

    Member
    488
    134
    Jan 4, 2015
    Gambia, The
    "I dont must do" Wo hast du das denn gelernt^_^

    Try renaming your rom to *.3ds so gateway won't use the header. If the import works, then your header is most likely corrupt. Also look under Sd:/filer/UserSaveData/<date>/<lowtitleid> if the file "main" exists. This is your unencrypted save file.
     
  10. DragonRider
    OP

    DragonRider GBAtemp Regular

    Member
    102
    1
    Aug 25, 2011
    Australia
    Ups, sry my english is very bad :blush:

    Okay thanks, i will try it :)