1. The-4n

    OP The-4n GBAtemp Fan
    Member

    Joined:
    Aug 3, 2018
    Messages:
    435
    Country:
    United States
    hausa51, 18Phoenix and hippy dave like this.
  2. The-4n

    OP The-4n GBAtemp Fan
    Member

    Joined:
    Aug 3, 2018
    Messages:
    435
    Country:
    United States
    new version is out, v3.05
    https://github.com/The-4n/4NXCI/releases/tag/v3.05

    Changelog:
    Fixed support for XCIs with non-title crypto updates (Custom XCIs)
    Fixed a bug cause temp folder doesn't get deleted after conversion is done when xci contains update
    4NXCI-GUI:
    Removed read only from xci, output and keys fields.
    Used tabIndex property to allow proper tab browsing in order.
    Set output folder equal to folder where XCI is located. If an output folder was selected previously, doesn't change anything.
    Browse dialog for output folder now automatically selects the folder in text field, if set.
    4NXCI-GUI changes credits: https://github.com/TehPsychedelic
     
  3. The-4n

    OP The-4n GBAtemp Fan
    Member

    Joined:
    Aug 3, 2018
    Messages:
    435
    Country:
    United States
    new version is out, v3.06
    https://github.com/The-4n/4NXCI/releases/tag/v3.06

    Changelog:
    v3.06:
    Added keys.txt, keys.ini and prod.keys as default locations for loading keyset file
    Removed stdout and stderr buffer
    4NXCI-GUI:
    Added checkbox to allow setting temporary folder equal to output
    Auto set key filepath if it's located in program's directory
    Modified convert button to prevent launching multiple instances of 4NXCI in background
    Fixed log sync
    4NXCI-GUI changes credits: https://github.com/TehPsychedelic
     
  4. jose1209

    jose1209 GBAtemp Regular
    Member

    Joined:
    Jul 2, 2007
    Messages:
    118
    Country:
    Burkina Faso
    hi, thanks a lot for this amazing job.
    why don't add a reverse convert NSP2XCI ? with sx 0s this make sense, because xci files allow to install as nsp.
    more choose better it is.

    i know nsc builder can do it, but a gui and a way to convert multiples files should be a way more usefull.
     
  5. Silla79

    Silla79 Newbie
    Newcomer

    Joined:
    Feb 26, 2017
    Messages:
    9
    Country:
    United States
    Fantastic work! Nice and easy and works like a charm.

    Sorry I missed your reply, came and looked, updated, 3.06 worked perfect for Katamari.

    Thanks for all the effort for us.
     
  6. byanime

    byanime Advanced Member
    Newcomer

    Joined:
    May 3, 2010
    Messages:
    62
    Country:
    great work, a charm
     
  7. bluedart

    bluedart GBAtemp Regular
    Member

    Joined:
    Nov 13, 2016
    Messages:
    250
    Country:
    United States
    I was pointed to this program from another, older one that worked properly for me, but apparently is too deprecated to work on newer things. I figured I'd try and get this working before I ended up wanting it for newer things, if the need arises. I decided to use the same xci that I'd just successfully converted to nsp and installed a few minutes ago, since I know it works. The prod.keys is one I made about two days ago on 6.2.0 using hekate and Lockpick without errors, which I've successfully used in newer programs in the past few days. However, upon extracting the latest release of the GUI (3.06) and copying my working prod.keys (and a copy of that named keys.dat) to the folder, (after trying with both keys.dat and prod.keys just in case) I keep getting this specific error:

    4nxci execution started. Please wait...
    4NXCI v3.06 by The-4n
    Loading 'G:\Homebrew\Switch\Tools\4XNCI\prod.keys' keyset file
    [WARN]: Failed to match key "bis_kek_source", (value "###")
    [WARN]: Failed to match key "bis_key_source_00", (value "#####")
    [WARN]: Failed to match key "bis_key_source_01", (value "#####")
    [WARN]: Failed to match key "bis_key_source_02", (value "#####")
    [WARN]: Failed to match key "bis_key_00", (value "#####")
    [WARN]: Failed to match key "bis_key_01", (value "#####")
    [WARN]: Failed to match key "bis_key_02", (value "#####")
    [WARN]: Failed to match key "bis_key_03", (value "#####")
    [WARN]: Failed to match key "device_key", (value "###")
    [WARN]: Failed to match key "eticket_rsa_kek", (value "###")
    [WARN]: Failed to match key "eticket_rsa_kek_source", (value "###")
    [WARN]: Failed to match key "eticket_rsa_kekek_source", (value "###")
    [WARN]: Failed to match key "per_console_key_source", (value "###")
    [WARN]: Failed to match key "retail_specific_aes_key_source", (value "###")
    [WARN]: Failed to match key "rsa_oaep_kek_generation_source", (value "###")
    [WARN]: Failed to match key "rsa_private_kek_generation_source", (value "###")
    [WARN]: Failed to match key "save_mac_key", (value "###")
    [WARN]: Failed to match key "sd_seed", (value "###")
    [WARN]: Failed to match key "ssl_rsa_kek", (value "###")
    [WARN]: Failed to match key "ssl_rsa_kek_source_x", (value "###")
    [WARN]: Failed to match key "ssl_rsa_kek_source_y", (value "###")
    Keys redacted on purpose. (### is not an actual value.)

    Any clues?
     
  8. The-4n

    OP The-4n GBAtemp Fan
    Member

    Joined:
    Aug 3, 2018
    Messages:
    435
    Country:
    United States
    They are not important
     
  9. TheZoc

    TheZoc GBAtemp Fan
    Member

    Joined:
    Apr 6, 2009
    Messages:
    306
    Country:
    Brazil

    Mind explaining to the uninitiated what "keepncaid" does and in what cases should I use it?
    I saw the previous comment about nca ids changing, but I didn't understand very well.

    Also, I'd like to know: How this affects my previous game installs and updates?

    Thanks in advance! :)
     
  10. bluedart

    bluedart GBAtemp Regular
    Member

    Joined:
    Nov 13, 2016
    Messages:
    250
    Country:
    United States
    Okay. I am thoroughly and utterly confused. No matter your meaning, it does not fix my predicament. Please elaborate on everything you mean, no matter how silly or basic you may think it is.
     
  11. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    6,071
    Country:
    United Kingdom
    They're not errors. They're warning messages that there are keys in the key file that 4nxci doesn't recognise. That doesn't matter, because it doesn't need those keys. If you want to not see warnings, you can remove the keys mentioned in the warnings from the copy of the key file that 4nxci is using (the one in its directory), but you can equally leave them in and ignore the warnings.

    There are no error messages in that output, so did you get an nsp file when it was done?
     
    wicksand420 likes this.
  12. Digi_Ohhh

    Digi_Ohhh GBAtemp Regular
    Member

    Joined:
    Feb 27, 2017
    Messages:
    131
    Country:
    Italy
    Hello, I keep getting this error with the GUI version:
    Code:
    Failed to convert C:\Users\[...]\4nxci-v3.06_GUI\prod.keys to UTF-16!
    I tried using the prompt version with the same prod.keys file and, despite some unimportant warnings, it looks to be working.
     
    goerte likes this.
  13. bluedart

    bluedart GBAtemp Regular
    Member

    Joined:
    Nov 13, 2016
    Messages:
    250
    Country:
    United States
    You are correct; despite the output, which I interpreted as a series of errors, it did indeed finish converting the xci after some time. After the obligatory nand backup, I used a USB installer to confirm that this nsp is indeed usable and correct. Thank you for the clarification.

    This program works properly and I'll use it in the future should the need arise. Just don't worry about the console output and let it finish if it's still using some cpu in the task manager.
     
    hippy dave likes this.
  14. KTroopA

    KTroopA GBAtemp Advanced Fan
    Member

    Joined:
    Mar 15, 2007
    Messages:
    595
    Country:
    What does this error mean please?

    Saving Secure Partition...
    Saving 42de66e50a0e710360515b365110768b.nca to 4nxci_extracted_xci\42de66e50a0e710360515b365110768b.nca
    [WARN]: Failed to match key "save_mac_key", (value "e97b1933c5c7711944613aa2fa4f11b8")
    [WARN]: Failed to match key "ssl_rsa_kek", (value "b011100660d1dccbad1b1b733afa9f95")
    [WARN]: Failed to match key "ssl_rsa_kek_source_x", (value "7f5bb0847b25aa67fac84be23d7b6903")
    [WARN]: Failed to match key "ssl_rsa_kek_source_y", (value "9a383bf431d0bd8132534ba964397de3")
    Saving 42efe19bd3788561df0354b8d3ea7234.nca to 4nxci_extracted_xci\42efe19bd3788561df0354b8d3ea7234.nca
    Saving e11a7833bf9d9cc528bd6f3511b0f763.nca to 4nxci_extracted_xci\e11a7833bf9d9cc528bd6f3511b0f763.nca
    Saving edf50183ae3c80abb20d25873153e658.cnmt.nca to 4nxci_extracted_xci\edf50183ae3c80abb20d25873153e658.cnmt.nca
    Unknown meta type! Are keys correct?

    the extracted folder does not have the .NSP file created, just the normal .NCA files
     
    Last edited by KTroopA, Feb 22, 2019
  15. Milenko

    Milenko GBAtemp Addict
    Member

    Joined:
    Oct 16, 2017
    Messages:
    2,161
    Country:
    Australia
    I'm getting the same meta type error

    edot: needed newer keys
     
    Last edited by Milenko, Mar 3, 2019
  16. goerte

    goerte Newbie
    Newcomer

    Joined:
    Mar 8, 2019
    Messages:
    1
    Country:
    Germany
    If you could solve this problem, I get the same error message?
     
  17. Deleted User

    Deleted User Newbie


    Are you using 7.0 keys?
     
  18. Deleted User

    Deleted User Newbie

    So 3.06 works with Keys dumped using the Lockpick_RCM payload manage to convert XCI to NSP created 3 nsps

    AMS 0.8.5 and CFW 7.0.1
     
  19. The-4n

    OP The-4n GBAtemp Fan
    Member

    Joined:
    Aug 3, 2018
    Messages:
    435
    Country:
    United States
    new version is out, v4.00
    https://github.com/The-4n/4NXCI/releases/tag/v4.00

    Changelog:
    4NXCI now patches acid public key and signs nca header (signature 2)
    Enhanced NPDM patching
    Removed key warning message
    Fixed a bug cause loading a file with empty filepath when keyset file is not specified
     
  20. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    6,071
    Country:
    United Kingdom
    Thanks!
    Mac build:
    (e: nice - posting version 4.00 at post number #400)

    e: newer version - https://gbatemp.net/threads/officia...erting-xci-to-nsp.515341/page-23#post-8575310
     

    Attached Files:

    Last edited by hippy dave, Mar 31, 2019
    The-4n and stick267 like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [OFFICIAL], converting, 4NXCI