What is a secure value?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Ev1l0rd, Jan 30, 2016.

  1. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Knight of Void

    Member
    1,015
    715
    Oct 26, 2015
    Netherlands
    Land of Darkness and Bounty
    So um... yeah. What is it? When I import saves I always remove it (because I read somewhere that you have to do it), but what exactly is it?
     
  2. Games&Stuff

    Games&Stuff GBAtemp Advanced Fan

    Member
    787
    564
    Oct 8, 2015
    Belgium
    Some games don't want you to let you restore saves (this can include all unlocked things and stuff), so they use secure values. It's a protection.
     
    Ev1l0rd and Voxel like this.
  3. KazoWAR

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,799
    681
    Aug 12, 2008
    United States
    Winter Haven
    Games that use this feature. Everytime the game is saved a random number is generated and stored in both the save file and in NAND. The game checks if these two numbers match when it is loading the save data. If they mismatches, the game will reject the save data. Like Games&Stuff said. It is to prevent people from restoring old savedata. Like say for pokemon. Tradeing a pokemon to a 3rd party then restorong old save to basicly clone the pokemon.
     
    TheKawaiiDesu and Games&Stuff like this.