1. BennyXCross

    OP BennyXCross Member
    Newcomer

    Joined:
    Sep 5, 2015
    Messages:
    37
    Country:
    Germany
    Hey everyone, I'm trying to extract the game files of AoC but I'm having no luck so far.

    I already extracted multiple games without any problems (with hactool or switch toolbox) but this one seems to be different.
    It asks me for the titlekey and I enter it after I copied it from the tik file with a hex editor but it always says it is wrong.
    Already tried it with 7 different rom files of Aoc...

    Does anyone know why this one doesn't work?
     
  2. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    Old prod.keys?
     
  3. BennyXCross

    OP BennyXCross Member
    Newcomer

    Joined:
    Sep 5, 2015
    Messages:
    37
    Country:
    Germany
    Hmm they are the newest ones I found on google, or you have a tip where I can find the newest ones?
    Though the ones I have worked with all other roms so far.
     
  4. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    1. Yes - in your console.
    2. It doesn't matter if all games you have previously unpacked were older than AoC.
     
  5. BennyXCross

    OP BennyXCross Member
    Newcomer

    Joined:
    Sep 5, 2015
    Messages:
    37
    Country:
    Germany
    Yeah, I don't have a hacked Switch and I don't intent to :\
    I'm also wondering why Switch Toolbox manages to open all other roms when I never provided a prod.keys for it.
     
  6. Starhatred

    Starhatred Advanced Member
    Newcomer

    Joined:
    Feb 7, 2020
    Messages:
    55
    Country:
    Vietnam
    @BennyXCross Hey, a bit off topic, but I remember you! You are the Dragon quest builders guy! Your Kakariko Village in Dragon quest builders 2 is magnificent! Didn't know you have GBAtemp account. Thank you for your amazing videos, it really get me excited. I'm looking forward to see your next video.
     
    BennyXCross likes this.
  7. BennyXCross

    OP BennyXCross Member
    Newcomer

    Joined:
    Sep 5, 2015
    Messages:
    37
    Country:
    Germany
    Haha thank you ^^
    And I also managed to extract some files now :)
    But they are all rdb, I heard that you could extract them with Cethleann but do I need to run a .bat script for that? Could anyone help me with that?

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

    Ahaaa! Found something :)
    http://modderbase.com/showthread.php?tid=766
     
  8. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    It means that you forgot you had them or you have downloaded pack from different source containing keys. NCA files are encrypted, wiithout keys is not possible to unpack anything.
     
    BennyXCross likes this.
  9. zestiva

    zestiva GBAtemp Fan
    Member

    Joined:
    Nov 15, 2018
    Messages:
    477
    Country:
    China
    use nscb convert nsp to xci, xci haven't titlekey, you can direct extract converted xci base nca file
     
    BennyXCross likes this.
  10. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    It still needs correct keys. Titlekey is automatically extracted from tik file by nscb. If OP did everything correctly and they will use the same keys, it won't work. If it will work, OP made a mistake somewhere.
     
  11. zestiva

    zestiva GBAtemp Fan
    Member

    Joined:
    Nov 15, 2018
    Messages:
    477
    Country:
    China
    xci based nca needn't titlekey, your extract tool version is too old, only use hactool command line can extracted it
    of couse, keys.txt must have complete keys

    hactool.exe -k keys.txt --intype=nca --exefsdir=exefs --romfsdir=romfs a791b4509d6bb2361aafb8770c82b491.nca
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      137 KB
      Views:
      80
    Last edited by zestiva, Nov 29, 2020
  12. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    Ok, I will rewrite my last post because it seems you didn't get what I was trying to say.

    To convert nsp to xci it still needs correct keys. Titlekey is automatically extracted from tik file by nscb while converting from nsp to xci. If OP did everything correctly with hactool and they will use the same prod.keys for nscb that they were using for hactool, it won't work. If it will work, OP made a mistake somewhere while using hactool.

    And what tool version has anything to do with it?

    Btw. You don't need to write intype for nca. NCA is set by default.
     
    Last edited by masagrator, Nov 29, 2020
  13. zestiva

    zestiva GBAtemp Fan
    Member

    Joined:
    Nov 15, 2018
    Messages:
    477
    Country:
    China
    my english is poor, but I know what you mean
    I think BennyXCross possible use NCA-NSP-XCI_TO_LayeredFS tool?it build in hactool is old version, I tested NCA-NSP-XCI_TO_LayeredFS can't correct read converted nca, display "Invalid NCA header! Are keys correct?" error
     
    Last edited by zestiva, Nov 29, 2020
  14. masagrator

    masagrator The patches guy
    Member

    Joined:
    Oct 14, 2018
    Messages:
    4,022
    Country:
    Poland
    Ah, yeah. Hactool used there doesn't support second version of NCA.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Warriros, Calamity, Wanting