1. ressit

    ressit GBAtemp Regular
    Member

    Joined:
    Jun 4, 2018
    Messages:
    127
    Country:
    Vietnam
    How extra all base game + update file mod
     
  2. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    I need a better explanation, i'm not sure of what is you want to do.
     
  3. Varo

    Varo Newbie
    Newcomer

    Joined:
    Jun 1, 2020
    Messages:
    9
    Country:
    Afghanistan
    I have a Mariko switch and I am using the SX Core to run CFW. Right now, Lockpick isn't completely working for it and so I am missing all the master_key_xx and optional key xci_header_key. All of my other keys are valid. When I try to merge main game XCI and updates of game into one XCI, I get an UNKNOWN.xci which is just 62kb in size. I am guessing it is becauese of the missing master_keys. What should I do ?

    Edit1 : I copied the master key's and xci_header_key from YUZU's NAND and they worked! I got a proper final XCI.

    Edit 2: It did make a final xci file but when I put it on my switch and tried to run it, I got an error saying that the game card could not be read. I tried to run it using the Album on SX OS.

    Edit 3: I spotted a difference. The original XCI has Other files called ticket and certificate but after merging DLC and updates, those other files go away. Could be the reason it won't load?
     
    Last edited by Varo, Oct 25, 2020
  4. Bayart

    Bayart Newbie
    Newcomer

    Joined:
    Oct 24, 2020
    Messages:
    7
    Country:
    France
    I've got an Errno 2 (files can't be read) when using the file info menu (option 4, where files have to be dragged and dropped onto the windows or have their path inputted manually), but it works fine in the individual file sub-menu (option 1) where files can added through the Windows explorer file selector. It might be related to having to install Python (3.9 x64) to use the file info GUI. In any case the file info part of NSCB should have the same file selection options as the other parts of the program.

    Anyway, any XCI I make of Dragon Quest XI and Smash Ultimate (both with all updates and DLCs) is broken in SX OS (white album thumbnail, can't be mounted). I've tried mixing up sources (different NSPs, NSZ etc. in case one is broken), patching the games to lower FW versions, checking MD5 sums everywhere but nothing works. The XCIs I've made pass verification, but SX OS just wont accept them.
    I can't say if it comes from SX OS or NSCB, I'm not familiar enough with the file formats to give useful feedback (sorry).
     
    Last edited by Bayart, Oct 25, 2020
  5. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    Can you run the verification on that file? It will let you know if it got messed up.
    Also run the keys verification from option.
    The ticket and cert is because you original xci has an update which normally uses the ticket. NSCB removes titlerights to all files on xci, there's several reasons for it, one is to allow to lower rsv or keygeneration if needed, other is because according to my experience when i made the program it can end creating errors on sx os depending on your xci setup, so it was better to make them with all nca without titlerights.

    You can use the exe builds if you don't want to update python. NSCB is built under 3.8 I think it should now support 3.9 since gevent was supposed to update on the 15th but for windows-curses you need a custom built of it from the repo in their code, i plan to incorporate all that next time i update the tool but i've been busy lately, specially these last 2 weeks.
    In file info that error can be due to file namings since that menu is pure batch, it isn't parsing them with python so bad characters for windows will give you issues.
    Same happens with sx os, when a file has bad characters for the switch file system, which includes asian characters, it will give you white icons and make the xci unloadable.
    So either rename the file manually or use the Romaji or Sanitize option in the renamer from NSCB.
    - Dragon Quest XI is for sure an example of that case, the XI is a character from the latin alphabet that represents the number 11 instead of "X"+"I", the sanitize or romaji option should correct that.
     
  6. Bayart

    Bayart Newbie
    Newcomer

    Joined:
    Oct 24, 2020
    Messages:
    7
    Country:
    France
    Renaming manually worked, thanks for the tip. The sanitizing option didn't do anything. The bad character in the string was . I somehow didn't notice it.
     
  7. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    I see i added the ones i noticed to it so i can miss some. I could add only alphanumeric but there's some characters the switch supports that would be removed and i try to replace them instead of removing them.
    I could try to make some config file to add more bad characters i guess.
     
  8. Varo

    Varo Newbie
    Newcomer

    Joined:
    Jun 1, 2020
    Messages:
    9
    Country:
    Afghanistan
    The problem turned out to be entirely different! I was using tinfoil usb to copy the XCI to my SDcard and it wasn't doing it properly. I copied the XCI using a sdcard reader and it worked just fine. xD
     
  9. fatherjack

    fatherjack GBAtemp Advanced Fan
    Member

    Joined:
    Jul 3, 2007
    Messages:
    507
    Country:
    United Kingdom
    I'm tryin to patch the Age of Calamity demo to run on 10.1 but keeps coming back with:

    Required Firmware:
    - Included Firmware: Deleted
    - RequiredSystemVersion: 673185792 -> (10.2.0)
    - Encryption (keygeneration): 11 -> (9.1.0 - >10.2.0)
    - Patchable to: 606076928 -> (9.2.0)

    is this demo not able to be patched down?
     
  10. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    If you plan to install it there's no need to patch it for 10.1.0 since the installers patches except rommenu the RequiredSystemVersion. and there's no need to patch the keygeneration here.
    For xci you need to patch it though. I checked and i can patch it using both:
    - Patch RSV + keygeneration 11
    - Patch RSV + not change the keygeneration (f)

    This is the result:

    patch.PNG
     
    fatherjack likes this.
  11. fatherjack

    fatherjack GBAtemp Advanced Fan
    Member

    Joined:
    Jul 3, 2007
    Messages:
    507
    Country:
    United Kingdom
    Thanks Jules - had to repack as nsp, then patch RSV, then back to xci for it to work.
     
  12. WillowPaden

    WillowPaden Newbie
    Newcomer

    Joined:
    Nov 1, 2020
    Messages:
    2
    Country:
    Brazil
    When i press 2 to choose MULTI-PACK mode the menu keeps scrolling and dont stop.
     
    Last edited by WillowPaden, Nov 1, 2020
  13. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    Some people have that issue with the x64 build if you're using that one and they need the x86 build.
     
  14. WillowPaden

    WillowPaden Newbie
    Newcomer

    Joined:
    Nov 1, 2020
    Messages:
    2
    Country:
    Brazil
    To be honest, my problem is this. But i'll try the x86 build.

    Edit: Tried the x86 version and got another problem.
     

    Attached Files:

    Last edited by WillowPaden, Nov 2, 2020
  15. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    1,002
    Country:
    Spain
    Error 1. python version without running install_dependencies.bat, it was also tested till python 3.8. That dependency is specifically pycriptodome.

    Error2. Missing aes_kek_generation_source key or not detected properly on your keys file. You need to fill all keys in the keys_template.txt with the exception of xci_header_key, if you don't know that one delete that line. After filling all keys rename keys_template.txt to keys.txt
     
  16. ganons

    ganons GBAtemp Addict
    Member

    Joined:
    Jun 12, 2005
    Messages:
    2,918
    Country:
    Currently using 0.98. Has supertrim been removed?
     
  17. pcwizard7

    pcwizard7 GBAtemp Maniac
    Member

    Joined:
    Aug 2, 2013
    Messages:
    1,089
    Country:
    Australia
    Might wanna update to the latest as we on 1.01b and a lot code has been updated

    supertrum still there in config
     
  18. ganons

    ganons GBAtemp Addict
    Member

    Joined:
    Jun 12, 2005
    Messages:
    2,918
    Country:
    Updated but not seeing the options. Which numbers or letters do you select?
     
  19. 0x3000027E

    0x3000027E GBAtemp Regular
    Member

    Joined:
    Mar 14, 2018
    Messages:
    240
    Country:
    United States
    Anyone know why I am getting "mlist.txt" error when trying to load a file in NSCB?
    "Exception: [Errno 13] Permission denied: ...\\mlist.txt"
    This occurs trying to load any file into NSCB (v1.00d). I had used the program successfully a few weeks ago, so keys.txt entries have been verified.
    I'm hoping it is just something on NUT server side.
     
  20. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,921
    Country:
    United States
    I used this a few hours ago. No errors. That doesn't sound like a keys problem.
     
    0x3000027E likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - (Game+updates+dlc, NSC_Builder, Nintendo