Homebrew Deleting the Secure Value in 9.5 or 9.9

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
0
XP
866
Country
http://www.mediafire.com/download/wr42ldtrrmlsnav/SecureValueFixer.zip
This program will update the secure value of OLD savegame with the one present in the NEW savegame.
The secure value location is given by the "Secure Value File". I've included the files for Pokemon Shuffle and Animal Crossing New Leaf, since at the moment they are the only ones we know for sure.

The secure value file is just a plain text file which only content is the offset where the secure value is stored (in hexadecimal). This way the program can be used for any savegame, we only need to discover where the secure value of the file is stored and put it in a file.

Much thanks to DaBlackDeath for the source of his original updater for pokemon shuffle, this is just a modification of that program to make it more universal.

By the way, since rumble world uses compression, the secure value isn't in a fixed offset, so rumble world will need a separate solution, but this will work for SSB, X/Y, ORAS, shuffle, animal crossing and any game that stores the secure value at a fixed position.


XY dont have 6A800 offset (h) value,
Yes, I stomped with the same, is your game EUR? Anyone with a USA savefile with more than 420 kb?
I think I found where the secure value in XY is, but I have the cartridge game, so I can't test.
 
Last edited by suloku,

Feroz El Mejor

Well-Known Member
Member
Joined
Jan 26, 2014
Messages
423
Trophies
1
Location
Villa Raíz (Hoenn)
Website
www.youtube.com
XP
1,254
Country
Spain
http://www.mediafire.com/download/wr42ldtrrmlsnav/SecureValueFixer.zip


By the way, since rumble world uses compression, the secure value isn't in a fixed offset, so rumble world will need a separate solution, but this will work for SSB, X/Y, ORAS, shuffle, animal crossing and any game that stores the secure value at a fixed position.



Yes, I stomped with the same, is your game EUR? Anyone with a USA savefile with more than 420 kb?
I think I found where the secure value in XY is, but I have the cartridge game, so I can't test.

Sorry, but what are the files of save, I don't know what is each one...
 

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
0
XP
866
Country
Here's how to change the secure value in rumble world step by step:
1.- Backup the latest rumble world savegame you have and do not play rumble world anymore.
2.- Open it with rumble world save editor (Open Xompressed 00slot00)
3.- Save it with "Save decompressed 00slot00_dec
4.- Navigate to the newly created 00slot00_dec folder
5.- Open 00main_dec.dat with an hex editor (i.e. HxD)
6.- Go to the very end of the file
8.- The secure value is the last but two bytes (8 bytes long):
value.png

note: since the file is compressed, the offset will change from file to file
9.- Copy the hex bytes somewhere
10.- Repeat the process with your old "corrupted" savefile:
- 10.1.- Open your old ("corrupted") savegame with rumble world save editor (Open Compressed 00slot00)
- 10.2.- Save it with "Save Decompressed 00slot00_dec
- 10.3.- Navigate to the newly created 00slot00_dec folder
- 10.4.- Open 00main_dec.dat with an hex editor (i.e. HxD)
- 10.5.- Go to the very end of the file and locate the secure value
- 10.6.- Change the secure value and save the file
11.- Now in rumble world save editor select "Open Decompressed 00slot00_dec" and open the 00slot00_dec folder of your old "corrupted" savefile.
12.- Save it with "Save Compressed 00solt00"
13.- Restore your fixed 00slot00 folder to rumble world.
 
  • Like
Reactions: Feroz El Mejor

hug0a7x

Active Member
Newcomer
Joined
Aug 23, 2015
Messages
38
Trophies
0
Age
37
XP
59
Country
Brazil
http://www.mediafire.com/download/wr42ldtrrmlsnav/SecureValueFixer.zip


By the way, since rumble world uses compression, the secure value isn't in a fixed offset, so rumble world will need a separate solution, but this will work for SSB, X/Y, ORAS, shuffle, animal crossing and any game that stores the secure value at a fixed position.



Yes, I stomped with the same, is your game EUR? Anyone with a USA savefile with more than 420 kb?
I think I found where the secure value in XY is, but I have the cartridge game, so I can't test.
My game is USA.
 

The Evil Queen

Well-Known Member
Newcomer
Joined
Sep 5, 2015
Messages
80
Trophies
0
Age
33
XP
188
Country
United States
Hi guys. I've tried fixing my corrupt game since last night when it got messed up. I've tried matching the byte line as directed from a new save to my old original corrupted save and i am having terrible luck. The weird thing is, when I open the file in PkHex, its showing all of my pokemon in the pc boxes...but when I start the game up its starting from the new town =[ I have tried importing it using homebrew but its still doing the same. Is there anyone willing to voice chat with me and walk me through it again. I think i may have done something wrong or missed a step. Help would be much appreciated. I use skype and can download any other voice chat of your preference.
 

The Evil Queen

Well-Known Member
Newcomer
Joined
Sep 5, 2015
Messages
80
Trophies
0
Age
33
XP
188
Country
United States
Nevermind I got it to work. I had two files in my savedatabackup file. But let me ask...was it me trading Pokemon or me saving the game that messed it up?
 

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
0
XP
866
Country
Glad you fixed it, I guess you used save_manager, which works fine when backing up multiple games to the savedataBackup directory, but when restoring, the only files that should be there are the ones from the game you want to restore, because my guess is that save_manager just tries to restore all files within savedataBackup folder. Putting the animal crossing savegame into pokemon X would be a bad idea right?
If emptying the savedataBackup folder for each restore is a problem, use svdt instead of save_manager.
 

The Evil Queen

Well-Known Member
Newcomer
Joined
Sep 5, 2015
Messages
80
Trophies
0
Age
33
XP
188
Country
United States
Haha well I only have one Pokemon game so I have no clue where that other file came from >_< but how do I trade or save the game without getting that same message again? I think battling saves the game after as well so what should I do? Do I have to use the secure value fixer after every time I trade or battle?
 

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
0
XP
866
Country
I'm not sure what error you are referring to, but as long as you don't play the game between the backup and restore of the savegame, you don't need to update the secure value. You can use pkhex or whatever you like.
 

Wolfers

New Member
Newbie
Joined
Feb 18, 2017
Messages
4
Trophies
0
XP
41
Country
United States
I hate to be a noob... but what's the secure value and what does it do? I tried looking it up I didn't get any results but this thread.
 

N7Kopper

Lest we forget... what Nazi stood for.
Member
Joined
Aug 24, 2014
Messages
975
Trophies
0
Age
30
XP
1,291
Country
United Kingdom
I hate to be a noob... but what's the secure value and what does it do? I tried looking it up I didn't get any results but this thread.
The secure value is a small string used by some games. If the currently running game generates a secure value, the 3DS' operating system will check if the game is running on a cartridge. If it is, it does nothing.

If it's not, then the value is copied to NAND.

When a game is booted from the SD Card, the OS looks for a secure value that doesn't match the Title ID. If it finds this, it alerts the game (which will then refuse to use the data) - but if the value does match, or doesn't exist on NAND, then it loads normally. This is why JKSM deletes all NAND secure values when restoring a save to the SD Card.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"