Can't install or decrypt some .cias

Discussion in '3DS - Flashcards & Custom Firmwares' started by toxic9, May 14, 2018.

  1. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    Hi friends,

    I followed the well known guide to install b9s on my 3ds.
    Everything is running perfectly, but now I found some difficulties with some cia files.
    I will explain:

    Some cia files I generate using WiiU usb helper or ciangel doesn't work. And they are the same with both programs.
    I mean, if I get one from WiiU usb helper that doesn not work, the same doesn't work taken from ciangel.

    Example:
    I'm trying to install Mario Party Star Rush Party Guest:
    -If I install it with FBI, it installs OK, but the game crashes on launch.
    -If I try to decrypt with godmode9, it says that the decryption proccess fails at 0%.
    It's the same for some other cia files. Some work, Some don't. I think it's eshop exclusive games only, but I don't know.

    Can anyone help?
    Can anyone tell me what I'm doing wrong, and how to install this weird cias?

    Thanks
     
    Last edited by toxic9, May 14, 2018
  2. Quantumcat

    Quantumcat Dead and alive

    Moderator
    18
    GBAtemp Patron
    Quantumcat is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 23, 2014
    Australia
    Canberra, Australia
    What if you install it with freeShop?
     
  3. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    I'm not sure what I did but Mario Party Star Rush Party Guest seems OK right Now.
    Yesterday I tried again and it worked with FBI.

    I never used freeshop to install games because I would like to keep the cia for offline install.

    There are still another problem titles that install OK with FBI and then they crashes on launch.
    I tried to look further on this problem and I realize these titles are more encripted than the others. They have a more secure encription key.
    I had to download a file called "aeskeydb.bin" and decrypt the game before installing it with FBI.

    Is this a normal procedure? I mean, is this normal to have to decrypt some .cias before installing??
    I thought FBI installs the content and decrypts it on the fly.
    Anyway, any 3DS should "understand" the encripted content since the encryption were made for it.
    If I install a game the standard way from eshop, it's the same, right?
    Or is some difference in the game data (encription) between a real game installed from eshop and a game installed from a cia?
    Can anyone explain this to me?

    Thanks
     
  4. Quantumcat

    Quantumcat Dead and alive

    Moderator
    18
    GBAtemp Patron
    Quantumcat is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 23, 2014
    Australia
    Canberra, Australia
    I've never had to decrypt any game I've ever installed, decrypting should only be required if you want to look at the game files. You don't have to download the cia to have it, you can use GodMode9 to dump installed content. So you can install with freeShop and dump it to a cia after it is installed. See https://3ds.guide/godmode9-usage under "dumping a title".
     
    Last edited by Quantumcat, May 15, 2018
  5. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    Thanks, I didn't know that. I will definitely try that.
    btw, Can I send you PM with a link for a problem cia, so you to try to install it?
    I would like to know if the problem is on my console setup.
     
  6. Quantumcat

    Quantumcat Dead and alive

    Moderator
    18
    GBAtemp Patron
    Quantumcat is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 23, 2014
    Australia
    Canberra, Australia
    Sure
     
  7. redunka

    redunka GBAtemp Fan

    Member
    3
    Nov 26, 2014
    Russia
    Most likely those games use 9.6 seed crypto.
    At least Mario Party Star Rush is seed encrypted for sure.
    3DS cannot decrypt such games without their unique seeds, and seeds are not included in CIA's.
    GodMode9 also won't be able to decrypt those CIA's unless you have those seeds in your system's seeddb save, or unless you get a seeddb.bin file and put it into your gm/support folder.
    You can get seeds by visiting the game's page on eShop or by impoting them manually with FBI (highlight an installed title, press A and choose "Import Seed").
    Freeshop imports seeds automatically, just like actual eShop does.
     
    Quantumcat likes this.
  8. wicksand420

    wicksand420 GBAtemp Addict

    Member
    7
    Nov 13, 2016
    United States
    For seed decryption, search for a app called hydroseed, Its awesome, you run it from windows and it downloads the latest seed.bin and extracts it, then you place it into SD:fbi folder and every time you install a game with fbi, it will automatically decrypt your game. it works offline also
     
    toxic9 and Quantumcat like this.
  9. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    Yes, yesterday I filled the "gm/support" folder with the 3 files required!
    That's why I was able to decrypt the problem cia's and then I installed them!
    Thanks, now I understand how this seed scheme works.

    I'm at work right now.
    Lately I will give you some feedback on the next problem title I get and I will provide the link by PM.

    Thanks for your help.

    — Posts automatically merged - Please don't double post! —

    Awesome!
    I always prefer to use my consoles offline.
    Maybe this could explain why I was not able to install that game correctly, and the next day, the same problem .cia worked! This confused me.
    I remember to set up a internet connection! Maybe FBI downloaded the seed for it or something like that.

    Tonight I will look for another "problem" .cia and try to figure out what's going on!
     
  10. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    Hi friends!

    So... the next problem title I'm deaing with is Pok...Moon!
    I'm sure this one are encrypted with a seed.
    Godmode and Decrypt9WIP failed to decrypt it. I also have the latest seeddb.bin on the correct folder.
    Decrypt9WIP reports that the seeddb doesnt contain the seed for this title. This is weired since it is the latest seeddb from that site.
    Do you know how can I download the seed manually on the PC? I dn't like the idea of going anwhere online on the console.
    If there is a way, where should I place the seed file (folder) and how should I rename the file? I mean for Godmode9 or Decrypt9WIP to read the seed file.

    Thank you very much.
     
  11. key1340

    key1340 GBAtemp Regular

    Member
    2
    Jul 6, 2015
    United States
    You don't need to decrypt any of the games you just need to install the title seed with fbi. Then they will work.
     
    Last edited by key1340, May 15, 2018
    Quantumcat likes this.
  12. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    The idea of decrypting the .cia is to keep the game on an standalone installable format which doesn't need nothing more than the cia itself, for future proof.
    We never know when servers will be shut down.

    I was able to decrypt the cia partially.
    There is still one protection remaining on the cia (seed protection) to became full unscrambled.
    I think it's called ncch.
    I just need to know where to find a 100% complete seeddb.bin because it seems the latest version of this file (downloaded from "that" site!) doesn't include this seed.
    That's what Decrypt9WIP says... no seed found on seeddb.bin.....
     
  13. key1340

    key1340 GBAtemp Regular

    Member
    2
    Jul 6, 2015
    United States
    You can download the each games seed on your pc from Nintendo's server for complete future proofing.you then just install the game cia + seed dat with fbi and the games will work.
     
  14. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016

    Hi, thanks for your reply!
    I usually use WiiU USB Helper to get the cia files. For future proof I would like to keep the "cias+seed" or only "cias" (decrypted - so they don't need the seeds anymore)
    The problem is how to download the seed for the games that need them?
    The answer could be a program called "hydroseed".
    I believe this program downloads seeddb.bin from URLs and extract them to seed.dat individually.
    The problem is, where can i find a URL for a all-in-one "seeddb.bin"?
    "That title keys site" don't have a complete seeddb.bin, I can confirm it. Their version does not contain the seed for Pokemon Moon. And possibly for another pokemon titles.
    Does anyone know where is a complete seed database?
    Or a program that can download them one by one and export them as seed.dat??

    Thanks
     
    Last edited by toxic9, May 16, 2018
  15. key1340

    key1340 GBAtemp Regular

    Member
    2
    Jul 6, 2015
    United States
    Download the seeddb from here https://github.com/ihaveamac/3DS-rom-tools/wiki/SeedDB-list

    Then use hydroseed to make the dat files then install with fbi.
     
  16. toxic9
    OP

    toxic9 Advanced Member

    Newcomer
    1
    Dec 13, 2016
    Whoow!
    Thank you, thank you, thank you!
    Finally the answer for all my problems! =)

    I just leave a last question... a bit off-topic
    I would like to edit the cia version (the number that shows on FBI like 0.1.0).
    Sometimes after decrypting the cias, the proccess leaves that field blank (zeroed).
    I tried to open the cias on an Hex editor and I found the offset for the titleID, but not for cia version.
    Any help will be appreciated.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice