Homebrew Xorpad generation on 9.2

  • Thread starter Thread starter ilovepennies
  • Start date Start date
  • Views Views 46,913
  • Replies Replies 116
  • Likes Likes 2
I am having issues. I'm using the Ninjhax version (bootstrap-arm9-kernel-decrypt9.3dsx) and I'm decrypting The Legent of Zelda - The Ocarina of Time 3D HK. So at first it "creates" its files and takes time and says it completes. When I go into my SD card, it only creates a new file called "s" with no extension. who can help me what is wrong with me.
I'm having the same problem using decrypt9 under ninjhax....
It only create a file "s" with no extension.
Someone could help please?
 
I am having issues. I'm using the Ninjhax version (bootstrap-arm9-kernel-decrypt9.3dsx) and I'm decrypting The Legent of Zelda - The Ocarina of Time 3D HK. So at first it "creates" its files and takes time and says it completes. When I go into my SD card, it only creates a new file called "s" with no extension. who can help me what is wrong with me.

I'm having the same problem using decrypt9 under ninjhax....
It only create a file "s" with no extension.
Someone could help please?
Decrypt9 should work, but if not, I know rxTools can generate XORPADS. I'm unsure if it is firmware dependent, but always worth a try.
 
http://3dbrew.org/wiki/Filesystem_services#SEEDDB
9.x seed crypto game decryption request seeddb.bin.
so i dumped to nand:\data\<id>\sysdata\0001000f\00000000
however, i can't extract seeddb.bin from 00000000.

how do i extract seeddb.bin?
thanks advice
I've been looking for this too. I have my save but I dont know how to extract the seeddb.bin

We can try to solve this...
From the decrypt9 source code:
Code:
typedef struct {
    u64 titleId;
    u8 external_seed[16];
    u8 reserved[8];
} __attribute__((packed)) SeedInfoEntry;

typedef struct {
    u32 n_entries;
    u8 padding[12];
    SeedInfoEntry entries[MAX_ENTRIES];
} __attribute__((packed)) SeedInfo;

For the C illiterates: The seeddb.bin starts with hex values similar to this:
Code:
XX XX 00 00 00 00 00 00 00 00 00 00 00 00 00 00
... where XX XX is the number of entries. It might also be XX XX XX XX instead of XX XX, but unlikely.

Then the actual entries (multiple) follow, they look like this:
Code:
YY YY YY YY YY YY YY YY ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ
ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ 00 00 00 00 00 00 00 00
... where YY YY YY YY YY YY YY YY is the the titleId (you should be able to recognize this from http://3ds.essh.co/). ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ is the seed. You won't be able to recognize this, but it should be seemingly random values. Not all zeroes or something with a recognizable system.

So, how does the extracted file look like? I can't check myself, cause I'm on 9.0.0. If you trust me that far (I don't know if any critical data is in there), you could also send your extracted file via PM and I'll have a look.
 
Last edited by d0k3,
@d0k3
I send you via PM.
Please accept my sincere apologies for the delay in responding.
No problem at all :). However, the file you sent me is not the seeddb.bin - see what I wrote about the internal structure above. I assume it is nand:\data\<id>\sysdata\0001000f\00000000 renamed, correct? I think that first needs to be processed by something else. Let me try around with that for a bit, maybe I'll find a solution.
 
I assume it is nand:\data\<id>\sysdata\0001000f\00000000 renamed, correct?
Exactly. renamed it.
I was wrote the seeddb.bin based on the internal structure, It was recognized correctly.
However, since I don't know the correct seed, it generates a rogue xorpads.
How can I find seed?
 
Exactly. renamed it.
I was wrote the seeddb.bin based on the internal structure, It was recognized correctly.
However, since I don't know the correct seed, it generates a rogue xorpads.
How can I find seed?
If you mean by that that Decrypt9 gave you no error message, that's no indicator of a correct seeddb.bin. Decrypt9 just doesn't do all that much checking on seeddb.bin. I still have no idea how to extract a working seeddb.bin from that, but give me some time with that.
 

Site & Scene News

Popular threads in this forum