Homebrew [Download] SEEDconv - seeddb.bin generator for use with Decrypt9

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Instructions: Get the file at nand:/data/<console-unique>/sysdata/0001000f/00000000 (only available on FW 9.6, thus only available with a hardmod or on EmuNAND). Copy this to some directory on your PC together with seedconv.exe. Then just drag and drop 00000000 (or multiple different 00000000 files) onto seedconv.exe, and a working seeddb.bin should automagically be generated. If multiple files are used, the seeddb.bin will contain all unique seeds from all files.

If you drag and drop one or multiple seeddb.bin files (rename them first, must not be called 'seeddb.bin'!), the unique seeds from them will also get added to the newly generated seeddb.bin file. This works also when drag and dropping alongside one or multiple 00000000 files.

Download: https://github.com/d0k3/SEEDconv/releases
Source Code: https://github.com/d0k3/SEEDconv

You're on your own for getting that nand:/data/<console-unique>/sysdata/0001000f/00000000 file - but as I said, you need a hardmod or EmuNAND to dump that from your 9.6.0+ NAND. Also, no seeddb.bin releases in this thread, please, as I fear that won't go well with GBAtemp rules. Share that stuff somewhere else ;). The game specific seeds, by the way, are not console unique, as confirmed by Shadowtrance. However, your 00000000 file may be, so be careful.

... and before I forget about it, thanks go to everyone who helped solving this mystery, including @Shadowtrance, @mixups, @key1340 and @k8099.
 
Last edited by d0k3,

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Sorry for my ignorance but what is the purpose of the seeddb.bin file ?
You need it to decrypt some specific titles, such as the Puzzles and Dragons Z demo. Without it, no decryption, CIA conversion, etc... of these title is possible. At the moment there are only a handful of these titles, but there may be more in the future. Edit: Ha, Shadowtrance was faster :).

SEEDconv works fine:lol:
I did tested 2 SEED Crypto games Bloo Kid 2 (Europe) and Pony Pets 3D (Japan).

In Bloo Kid 2 .exefs and .exheader was able to correctly decrypted.
However I think .romfs.xorpad is invalid, due I can not be found Magic "IVFC" in romfs.bin.

Pony Pets 3D has the unusual NCCH Flags 00 00 00 00 01 03 00 20
(Bloo Kid 2 and anything has 00 00 00 01 01 03 00 20)
In Pony Pets 3D .exheader was able to correctly decrypted.
However, since when decompressed bigger than 1GB code.bin generated a exefs in ctrtool, so I think .exefs_norm.xorpad is invalid.
Nope i did bloo kid 2 earlier no problem. romfs n all.

This is how you get the discussion to the correct place :D. Bloo Kid 2 seems to be okay (see Shadowtrances reply). Can you further test the decrypted Pony Pets 3D and give a more detailed description? To be pretty honest, I am not that experienced with that stuff (believe it or not :)), so I don't know what the big code.bin could mean. It does sound like a ctrtool problem rather than a SEEDconv or Decrypt9 problem, though (remember, the SEED crypto is pretty new), so I'd first update that to the newest version.
 
  • Like
Reactions: Ridge

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Your thread, you move the convo here from elsewhere. :P haha Plus I'm tired... need coffee!

As for the code.bin thing @mixups did you merge the exefs xorpads? I assume there was a norm one and a 7x one? they need to be merged with MEX.py THEN use it with the encrypted exefs.bin. (not sure if you did that or not, just pointing it out).
 

kactusss

Well-Known Member
Member
Joined
Dec 10, 2012
Messages
225
Trophies
0
XP
183
Country
France
You need it to decrypt some specific titles, such as the Puzzles and Dragons Z demo. Without it, no decryption, CIA conversion, etc... of these title is possible. At the moment there are only a handful of these titles, but there may be more in the future. Edit: Ha, Shadowtrance was faster :).

Wow that is really great. Thanks @d0k3 and @Shadowtrance , great work, as usual...
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Don't thank me, i didn't do shit except be a guinea pig testing random stuff. haha
@d0k3 is the wizard here. not me. :D
Testing is an essential part :P
I wouldn't say that I would have gotten anywhere with this without some help :).

By the way, here's the list of SEED crypto titles from the other thread (found by Shadowtrance):
http://pastebin.com/fj39z39Y
http://pastebin.com/fj39z39Y said:
====
US Titles
====
Cube Creator 3D
Code Name: S.T.E.A.M.
Puzzle & Dragons Z + Super Mario Bros. Edition
Attack on Titan: Humanity in Chains
Puzzle & Dragons Z + Super Mario Bros. Edition Special Demo
Bloo Kid 2
Johnny Dynamite
Samurai Defender

====
EU Titles
====
Puzzle & Dragons Z + Puzzle & Dragons: Super Mario Bros. Edition
Puzzle & Dragons SMB Edition: Special Demo
Excave II: Wizard of the Underworld
Bloo Kid 2
3D Thunder Blade

====
JP Titles
====
GIRLS MODE 3 キラキラ☆コーデ
PUZZLE & DRAGONS SUPER MARIO BROS. EDITION
Don't touch this title (This is NDO Production Test Title)
Shizuku Memory
ベイマックス 3D
マル合格! 宅建試験 平成27年度版
タッチバトル戦車3D-3
ポニーペット3D
新ひゅ~ストン
ムジュラを遊んでくれて感謝クーポン
シバ・カーリーの伝説
ダイナマイト ジョニー

====
KR Titles
====
퍼즐앤드래곤 Z + 퍼즐앤드래곤 슈퍼 마리오브라더스 에디션 체험판
Toy Stunt Bike
Xenoblade (일본어)
Xenoblade (영어)
PAZURU

====
TW Titles
====
Puzzle & Dragons Z + Super Mario Bros. Edition 特別試玩版
If you really intend to collect 'em all, that's not even that much.
 

mixups

Active Member
Newcomer
Joined
May 26, 2015
Messages
28
Trophies
0
XP
74
Country
United States
I'm using o3ds fw4.5 with slot0x25KeyX.bin. Do I need to update?
7x.xorpad is not generated.
ncchinfo_gen.py of the log here.

Code:
Parsing NCSD in file "Pony Pets 3D (Japan).3ds":
  Parsing Main NCCH
  NCCH Offset: 00004000
  Product code: CTR-N-JHDJ
  Partition number: 0
  KeyY:
  Title ID: 0004000000166000
  Format version: 2
  Uses 9.x SEED crypto

  ExHeader offset:  00000200
  ExHeader counter: 00040000001660000100000000000000
  ExHeader Megabytes(rounded up): 1

  ExeFS offset:  00002C00
  ExeFS counter: 00040000001660000200000000000000
  ExeFS Megabytes(rounded up): 3

  RomFS offset:  00211000
  RomFS counter: 00040000001660000300000000000000
  RomFS Megabytes(rounded up): 85


  Parsing Manual NCCH
  NCCH Offset: 056A0000
  Product code: CTR-P-CTAP
  Partition number: 1
  KeyY:
  Title ID: 000400000FF3FF00
  Format version: 0
  Uses 9.x SEED crypto

  RomFS offset:  00001000
  RomFS counter: 000400000ff3ff000300000000000000
  RomFS Megabytes(rounded up): 1

Done!
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I'm using o3ds fw4.5 with slot0x25KeyX.bin. Do I need to update?
7x.xorpad is not generated.
ncchinfo_gen.py of the log here.

Code:
Parsing NCSD in file "Pony Pets 3D (Japan).3ds":
  Parsing Main NCCH
  NCCH Offset: 00004000
  Product code: CTR-N-JHDJ
  Partition number: 0
  KeyY:
  Title ID: 0004000000166000
  Format version: 2
  Uses 9.x SEED crypto

  ExHeader offset:  00000200
  ExHeader counter: 00040000001660000100000000000000
  ExHeader Megabytes(rounded up): 1

  ExeFS offset:  00002C00
  ExeFS counter: 00040000001660000200000000000000
  ExeFS Megabytes(rounded up): 3

  RomFS offset:  00211000
  RomFS counter: 00040000001660000300000000000000
  RomFS Megabytes(rounded up): 85


  Parsing Manual NCCH
  NCCH Offset: 056A0000
  Product code: CTR-P-CTAP
  Partition number: 1
  KeyY:
  Title ID: 000400000FF3FF00
  Format version: 0
  Uses 9.x SEED crypto

  RomFS offset:  00001000
  RomFS counter: 000400000ff3ff000300000000000000
  RomFS Megabytes(rounded up): 1

Done!
From there I can only tell that it looks like it doesn't use 7.x crypto (= no slot0x25keyx needed). However, I know there's a specific and rare kind of crypto that cannot be handled by an O3DS (yup, updating won't be of any use). Maybe that's that. Needs confirmation, though.

Additional info:
In theory you'd need a slot0x0AkeyX.bin file for that, but don't bother searching as that doesn't exist and even Decrypt9 couldn't handle that now.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,024
Country
Vietnam
From there I can only tell that it looks like it doesn't use 7.x crypto (= no slot0x25keyx needed). However, I know there's a specific and rare kind of crypto that cannot be handled by an O3DS (yup, updating won't be of any use). Maybe that's that. Needs confirmation, though.

Additional info:
In theory you'd need a slot0x0AkeyX.bin file for that, but don't bother searching as that doesn't exist and even Decrypt9 couldn't handle that now.
Maybe N3DS only games?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, no