Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,194
  • Replies Replies 4,476
  • Likes Likes 71
After redownloading one of the titles and repairing the other, Decrypt9 now was able to get the seeds (I had already been using the most recent SEEDconv). Is it possible that this happened because I had downloaded the games before I had installed the emunand (and my nands are still linked)?
Normally, the SysNAND / EmuNAND link status has nothing to do with it. Can't say what caused this, unless you show me a copy of your seedsave before and after.

By the way, @everyone:
I want to research the possibility of actually injecting seeds to the seedsave. For that I need a seedsave file (1) in any state and (2) the same file with one additional seed added.

I guess I could do it myself, though. Are there currently any free seed titles on the eshop? If so, which ones?
 
By the way, @everyone:
I want to research the possibility of actually injecting seeds to the seedsave. For that I need a seedsave file (1) in any state and (2) the same file with one additional seed added.

I guess I could do it myself, though. Are there currently any free seed titles on the eshop? If so, which ones?
That is something i was wondering if it was possible the other day haha Would be cool if it is possible.
As for free seed titles on eshop, i have no idea to be honest.
 
Normally, the SysNAND / EmuNAND link status has nothing to do with it. Can't say what caused this, unless you show me a copy of your seedsave before and after.

By the way, @everyone:
I want to research the possibility of actually injecting seeds to the seedsave. For that I need a seedsave file (1) in any state and (2) the same file with one additional seed added.

I guess I could do it myself, though. Are there currently any free seed titles on the eshop? If so, which ones?

The Tri-Force heroes demo is free and a seed title.
 
  • Like
Reactions: d0k3
I'm confused about something. I previously used rxTools to get xorpads and changed to Reinand so am now using this tool. My question is, do we need the seeddb.bin file if we have a 10.3 emunand? Or can the error that comes up without it just be ignored? Reason I ask is because rxTools didn't give an error about not having it. Just confused as to why one would need the file and the other doesn't.
 
I'm confused about something. I previously used rxTools to get xorpads and changed to Reinand so am now using this tool. My question is, do we need the seeddb.bin file if we have a 10.3 emunand? Or can the error that comes up without it just be ignored? Reason I ask is because rxTools didn't give an error about not having it. Just confused as to why one would need the file and the other doesn't.
9.6+ eShop can handle the seeddb stuff on it's own so it doesn't need to be cryptofixed (don't quote me on that but I'm pretty sure that's how it works) the only reason to do it ever was because n3ds was stuck on 9.5 emuNAND and wasn't capable of doing it, now we don't really have that problem
 
  • Like
Reactions: klear and D34DL1N3R
9.6+ eShop can handle the seeddb stuff on it's own so it doesn't need to be cryptofixed (don't quote me on that but I'm pretty sure that's how it works) the only reason to do it ever was because n3ds was stuck on 9.5 emuNAND and wasn't capable of doing it, now we don't really have that problem

Thanks. I was just coming to edit my post that I saw a bunch of reddit comments saying to just ignore the error if you're on 10.3 emunand and the xorpads will work fine. :)
 
Ok got one report of someone getting my retail encrypted BigBlueMenu to work on a Sky3DS+. So it definitely looking like encryption is the only roadblock to custom roms on a Sky3DS if you got CFW. Blue button Sky3DS could be done too, but one would need to make templates for anything homebrew. Rom hacks can probably just use existing templates for the games being modified.
 
Last edited by Apache Thunder,
I'm confused about something. I previously used rxTools to get xorpads and changed to Reinand so am now using this tool. My question is, do we need the seeddb.bin file if we have a 10.3 emunand? Or can the error that comes up without it just be ignored? Reason I ask is because rxTools didn't give an error about not having it. Just confused as to why one would need the file and the other doesn't.
9.6+ eShop can handle the seeddb stuff on it's own so it doesn't need to be cryptofixed (don't quote me on that but I'm pretty sure that's how it works) the only reason to do it ever was because n3ds was stuck on 9.5 emuNAND and wasn't capable of doing it, now we don't really have that problem
Ok got one report of someone getting my retail encrypted BigBlueMenu to work on a Sky3DS+. So it definitely looking like encryption is the only roadblock to custom roms on a Sky3DS if you got CFW. Blue button Sky3DS could be done too, but one would need to make templates for anything homebrew. Rom hacks can probably just use existing templates for the games being modified.
To my understanding, your seedsave (that's the system file containing the seeds) does have to include the correct seed (each game has a unique one). And that seed should only be in there for titles that you legitimately got from the eshop. If that should not be the case, you need to decrypt it yourself. And then, both, Decrypt9 and rxTools need the seeddb with the correct seed in there (= not just any seeddb) to correctly decrypt the title.

--------------------- MERGED ---------------------------

Removing the last 0x20 bytes from movable.sed to reset it to "uninitialized" state is neccessary to do a manual system transfer (to keep all your save games), for example. I'm currently playing around with that. Considering that, the size for that file should never increase, only decrease, i guess. Maybe you can code in an exception for that file, the only sizes it can be is 0x120 and 0x140, anyways.

I'll try a D9 dump later.
Coming back to this... If I enable this, would you test it? I don't want untested features in there, especially not ones that actually alter the SysNAND / EmuNAND.
 
Coming back to this... If I enable this, would you test it? I don't want untested features in there, especially not ones that actually alter the SysNAND / EmuNAND.

My question is why can't you just change the last 0x20 bytes to all 0's? I asked before but never got an answer
 
My question is why can't you just change the last 0x20 bytes to all 0's? I asked before but never got an answer
In fact, the method @Krude wants to try also involves setting the bytes at 0x04...0x08 to zero. I think that's actually the only thing that needs to be done to make the movable.sed file set itself up anew. If you set the last 0x20 byte to zero, you're in essence creating an invalid file (see here). I think in that case, the movable.sed would be set up anew, which is what we want. Needs to be tested, though.

The tutorial is found here:
https://gbatemp.net/threads/tutorial-manual-system-transfer-for-saves-content.388033/

I also still wonder about that encryption for NAND titles (on the files themselves, I don't mean the partition encryption). Is there encryption on NAND installed savegames and does anyone know of an example?
 
Last edited by d0k3,
System Save games are authenticated the same way as SD content. Both are tied to the movable.sed. You can't use system save data that was created from a different movable.sed on a new one that doesn't match. ;)
That means they have some kind of authentification code in there, but no encryption, right? I've read somewhere that there's a AES-MAC (MAC is message authentication code). If it is only AES (and not something more complicated like these signatures in there), we could forge it. Would still not be easy to do, and question is - would it be useful enough to enough people?

And, by the way, for content on the SD it is different. This is actually encrypted.
 
Yeah SD is encrypted. System Saves don't appear to be, but they aren't interchangeable. So there is some kind of authentication for System Saves. I had tried to copy save data from Friends app from a different movable.sed and it did not work. (app would freeze when attempting to use it). So there's definitely authentication for system saves.
 
  • Like
Reactions: Shadowtrance
To my understanding, your seedsave (that's the system file containing the seeds) does have to include the correct seed (each game has a unique one). And that seed should only be in there for titles that you legitimately got from the eshop. If that should not be the case, you need to decrypt it yourself. And then, both, Decrypt9 and rxTools need the seeddb with the correct seed in there (= not just any seeddb) to correctly decrypt the title

Thus far every .3ds to .cia I've tried has worked with the xorpads being generated with no seeddb file at all, including newer titles released after 9.6+. Like was stated, I think it was only needed because N3DS was previously stuck on 9.5 emunand until just recently.
 
9.6+ eShop can handle the seeddb stuff on it's own so it doesn't need to be cryptofixed (don't quote me on that but I'm pretty sure that's how it works) the only reason to do it ever was because n3ds was stuck on 9.5 emuNAND and wasn't capable of doing it, now we don't really have that problem
Totally quoting you on this. :P
I've tested this myself, no crypto fixing bullshit needed anymore from what i can see. I installed the "legit" Animal Crossing Happy Home Designer which i believe is a 9.6+ seed game, at first it wouldn't run, then i visited the game page on eshop and ran it again and it works normally as it should. :)
 
  • Like
Reactions: dark_samus3
Totally quoting you on this. :P
I've tested this myself, no crypto fixing bullshit needed anymore from what i can see. I installed the "legit" Animal Crossing Happy Home Designer which i believe is a 9.6+ seed game, at first it wouldn't run, then i visited the game page on eshop and ran it again and it works normally as it should. :)
good to know I wasn't TOTALLY talking out my ass then haha jk
 
  • Like
Reactions: Shadowtrance

Site & Scene News

Popular threads in this forum