Error injecting AC:NL savefile?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by homigura, Feb 3, 2015.

  1. homigura
    OP

    homigura Advanced Member

    Newcomer
    70
    14
    May 24, 2012
    Brazil
    Hello there!:yay:
    I've ran on some problems already, but they were all related to Pokémon... I managed to fix them unninstalling/reinstalling .cia ; deleting secure values ; just opening my save and changing something with PkHex,to change the last modified date or whatsoever.

    Now i have a problem with another game : Animal Crossing New Leaf.
    In advance: My savegames weren't modified in any way,they are 'virgin' per say.

    So, here's the deal : I've been backing up my saves in order to inject MATTKIMURA's savefiles, just to transfer some items to another 3ds.
    Everything worked like a charm, injected his savefile, trasnfered items to another 3ds, injected my original savefile, good to go.
    Now, i managed to get a .cia of the game (i have the retail version, so no piracy here.) , and i simply can't inject any save to it. Not 2015's saves, 2014's saves,nothing.
    I've tried : Reinstalling AC:NL ; Deleting secure values before and after savefile injection ; Delete savefile through the game and try to inject a new one.
    None of those things stated up have worked...
    So, anyone knows a fix for that? I keep getting the following error :


    [​IMG]

    I'm willing to test what you tell me to do ^^
    PS : Why do i want both .3dz and .cia working? Because i want my original savefile on .cia, and want to inject downloaded savefiles into my .3dz . It's easier than having to inject my original savefile everytime i want to play the game.

    Thanks, TEMPers!:nds:
     
  2. homigura
    OP

    homigura Advanced Member

    Newcomer
    70
    14
    May 24, 2012
    Brazil
  3. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    Looks like the anti-savegame restore thing was triggered. Animal Crossing New Leaf is one of the titles which uses it. Cartridge games don't run into this issue, but .cias do. No idea where that value is located though, haven't popped open my save to check yet.

    EDIT: More info on it here: http://3dbrew.org/wiki/Anti_Savegame_Restore
     
    homigura and MattKimura like this.
  4. MattKimura

    MattKimura 3DS & WiiU Enthusiast

    Member
    1,799
    934
    Jun 30, 2014
    United States
    To be honest, I have no idea how well these saves work with .cia. I never used savedatafiler with cia games, Only .3dz games.
    I think I read in the original thread that someone got it to work on cia after some errors. I shared the saves with the intention of using the .3dz american rom. It's a backup of my own cartridge and can be injected into cartridge roms without fail as long as it's the same region.
    I really don't know what to tell you, I'm not an expert with SaveDataFiler.

    Edit: Maybe a solution will be to have a copy of the rom on your micro SD, that will always keep your real save file. While the other rom is used to inject the saves.
     
    homigura likes this.
  5. homigura
    OP

    homigura Advanced Member

    Newcomer
    70
    14
    May 24, 2012
    Brazil
    That's what i'm trying to do ... Use my .cia with my own game save file, and the .3dz to inject yours ^^
     
  6. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    I might try to transfer my own save to .cia for science, I'll report back once I do it. My guess is that there's just a 4 byte anti-savegame restore put in place to prevent duping items, and transferring to .cia causes this to actually trigger (this isn't checked on cartridges).
     
    homigura and MattKimura like this.
  7. homigura
    OP

    homigura Advanced Member

    Newcomer
    70
    14
    May 24, 2012
    Brazil
  8. MattKimura

    MattKimura 3DS & WiiU Enthusiast

    Member
    1,799
    934
    Jun 30, 2014
    United States
    I meant two .3dz files, and just memorize which one is yours on the list.
    It MIGHT be possible to inject any kind of saves into cia games like ACNL, maybe some temper would be able to figure it out.
     
    homigura likes this.
  9. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    It's most certainly possible (at least with Smash), the only particular problem with this one is that .cia games with the anti-savegame restore thing will specifically require a certain few bytes in places to prevent you from going "back in time" with your saves. Makes save editing and save research a pain.
     
    homigura and MattKimura like this.
  10. MattKimura

    MattKimura 3DS & WiiU Enthusiast

    Member
    1,799
    934
    Jun 30, 2014
    United States
    Whatever you guys figure out about getting saves to work with the cia version of the game, I'll add it to my save thread so nobody would have to worry about this problem. I should warn them about the cia version though, for now.
     
    homigura likes this.
  11. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    Apparently Animal Crossing uses both the anti-savegame restore as well as a checksum check, so this might be a bit tricker than it was for Smash. I'll probably have to figure this out on my own time, might also do some save research while I'm at it.
     
    homigura likes this.