1. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,371
    Country:
    Germany
    That depends on the tickets, if they were legit afair.
     
  2. huma_dawii

    huma_dawii GBAtemp Psycho!
    Member

    Joined:
    Apr 3, 2014
    Messages:
    3,445
    Country:
    United States
    It wont match the signature or something like that when repacking.
     
    lordelan likes this.
  3. FinConis

    FinConis Newbie
    Newcomer

    Joined:
    Mar 10, 2019
    Messages:
    1
    Country:
    United Kingdom
    Thanks for making this great tool!

    Would it be possible to make it so that you can supply multiple input files and preferably the output name from command line? Was looking for a more automated process to merge game+dlcs+update into single nsp/xci by parsing one of the db's we can create now from the program. Drag/drop folders isn't working too well when content is stored in separate folders (i.e. base/dlc/updates). If it's possible making the tool automate this process by giving the title id as an argument (filenames stored in the extended db, either absolute or relative where you can supply GAME/DLC/UPD folder arguments) that would be even better, but would be more than grateful being able to do the former.

    As an aside, noticed a small bug with 0.81-d on certain files. The log below is from a file where the file name had invalid/unsupported characters. In case you have it, Lapis x Labyrinth 深淵狂獵 (010068200C798800) (first update: 65536) is an example of this. Renaming the file removes some of the issues caused by trying to write the file name to the error log. The nsp extracts fine so it doesn't seem to be corrupted. Control only has one title entry at 0x2700.

    Code:
    Exception: 'utf-8' codec can't decode byte 0xd9 in position 0: invalid continuation byte
    Traceback (most recent call last):
      File "NSCB_081d_py\ztools\squirrel.py", line 2830, in <module>
        f.addtodb(outfile,outdb)
      File "NSCB_081d_py\ztools\Fs\Nsp.py", line 3345, in addtodb
        tit_name,editor,ediver,SupLg,regionstr,isdemo = self.inf_get_title(target,offset,content_entries,original_ID)
      File "NSCB_081d_py\ztools\Fs\Nsp.py", line 2553, in inf_get_title
        title,editor,ediver,SupLg,regionstr,isdemo=nca.get_langueblock(title)
      File "NSCB_081d_py\ztools\Fs\Nca.py", line 1186, in get_langueblock
        ediver = ediver.split(b'\0', 1)[0].decode('utf-8')
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 0: invalid continuation byte
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "NSCB_081d_py\ztools\squirrel.py", line 2839, in <module>
        errfile.write("Route "+str(filename)+'\n')
      File "C:\Users\x\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode characters in position 70-73: character maps to <undefined>
    
    Cheers
     
    Last edited: Mar 10, 2019
    lordelan likes this.
  4. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    898
    Country:
    Spain
    @FinConis Yeah, my idea is to automate multi-mode to do more files but i want it to first build files directly. My idea is basically for the program to detect the base+update and dlc by id, then is base is multicontent check if the other files are more recent. One of the reason i moved list processing to python was to be able to use naming filters.

    About the db I need to check that one, i'm not sure if it's due to the offset detection or the character's since it seems to process fine asian names for most titles. What i realized is in the titles that only have japanese naming is finding the offset wrong but I think i have a fix for that.

    About the input automation squirrel could give you that once the xci is built in one go with the same function.
     
    lordelan likes this.
  5. wakabayashy

    wakabayashy GBAtemp Advanced Fan
    Member

    Joined:
    Dec 25, 2014
    Messages:
    633
    Country:
    France
    hey ya

    some games won't convert to XCI

    Exception: object of type 'NoneType' has no len ()

    what's my problem ?
     
  6. _silencer_

    _silencer_ Member
    Newcomer

    Joined:
    Jan 10, 2015
    Messages:
    41
    Country:
    anyone able to confirm whether Q.U.B.E 2 + Update v1.0.1 works? I've tried builds NSCB_080c and NSCB_v079nk with the updated keys and it will simply not combine/include the update into the final xci
     
  7. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,371
    Country:
    Germany
    That would be an outstanding update! Sounds superb!
     
  8. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    898
    Country:
    Spain
    You're missing some of the keys. Do the verify from here.
    verify2.PNG

    Mind sending me a copy of the full log by PM?
     
    wakabayashy and lordelan like this.
  9. wakabayashy

    wakabayashy GBAtemp Advanced Fan
    Member

    Joined:
    Dec 25, 2014
    Messages:
    633
    Country:
    France
    @JRoad okay you're right, I'm missing some keys, will redo that

    thanks
     
    Last edited: Mar 10, 2019
  10. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    898
    Country:
    Spain
    if you can't get it you won't need masterkey7 for anything but the 3 updates I posted before.
     
    wakabayashy likes this.
  11. wakabayashy

    wakabayashy GBAtemp Advanced Fan
    Member

    Joined:
    Dec 25, 2014
    Messages:
    633
    Country:
    France
    I've grab master_key6 and key7 and xci_header_key

    (there floating around in some website)

    thanks
     
    Last edited: Mar 10, 2019
  12. Elliander

    Elliander GBAtemp Advanced Fan
    Member

    Joined:
    Sep 16, 2011
    Messages:
    582
    Country:
    United States
    Initially, this did not work and I was confused because of the message I was given:

    "keys.txt missing
    Generating XCI: "

    Whereas I had that file in the correct folder which worked with XCI_Builder. However, it turns out that I just needed to add more keys. I added Master_Key_06 and every other key I could find. I couldn't find Master_Key_07, but the keys I had were sufficient. Afterwards, it worked. So, as feedback, the error message given should be more meaningful. Rather than use the same method for a missing file, it should recognize what keys it's missing in the file and inform the user of this fact.

    I'm a little confused as to why it rebuilds the NSP file prior to building the XCI, but unlike XCI_Builder it doesn't seem like I have to install any NSP for the XCI to work in SXOS, so it's a major improvement regardless.

    I also had no trouble using XCI-cutter after the fact for a FAT32 SD card. Everything works perfectly, so now I can buy games on my online Switch to then convert to XCI to play on my offline Switch without having to worry about anything!
     
  13. wakabayashy

    wakabayashy GBAtemp Advanced Fan
    Member

    Joined:
    Dec 25, 2014
    Messages:
    633
    Country:
    France
    @Elliander
    I can give you masterkey 7.0 that I find in some websites, pm me if needed, but I can't help you much more, I'm not qualified yet with this awesome tools
     
    Last edited: Mar 10, 2019
  14. _silencer_

    _silencer_ Member
    Newcomer

    Joined:
    Jan 10, 2015
    Messages:
    41
    Country:
    where is the log file saved to?

    *edit* previous games which ive successfully combined updates or DLC are no longer working either. It's a Windows 7 VM and the only changes I ever make to it are installing the security updates each month.

    It's possible the updates have broken something and will need to remove them one by one to see which one is the culprit, and if that doesn't fix it then i have nfi. I'll just have to spin up a Windows 10 VM and start from there.
     
    Last edited: Mar 11, 2019
  15. satel

    satel Luigi's Big Brother
    Member

    Joined:
    Nov 3, 2004
    Messages:
    2,013
    Country:
    Laos
    @JRoad any idea why when i create a multi xci file i always get an error & the file is smaller than it should be !! this only happens when using your latest release if i use NSCB_080c it's fine !!
     
  16. satel

    satel Luigi's Big Brother
    Member

    Joined:
    Nov 3, 2004
    Messages:
    2,013
    Country:
    Laos
    i believe so yes,new update is the problem as old NSCB_080c still working fine. the strange thing is @JRoad is still ignoring this issue,maybe he is not able to do much about it ??
     
  17. huma_dawii

    huma_dawii GBAtemp Psycho!
    Member

    Joined:
    Apr 3, 2014
    Messages:
    3,445
    Country:
    United States
    I just skip any update for now.... 80-C is working just fine with everything right now xD
     
  18. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    898
    Country:
    Spain
    I'm not ignoring it, I have a personal life, didn't touch the program last weekend and I have a busy work week.
    I promoted 0.80-c to stable and you still didn't tell me the error you're getting because if it's not correct size you're getting an error for sure.
    Either way the only thing I did in multi-mode was to pass directly the list to it. I'm in no hurry to fix it since you have previous version which I promoted to stable and the plan is to make a new function to create the files directly in multi-mode.
    I'm mostly interested in errors in single and splitter mode since those should be in a more definitive state.
    BTW are you satleman too?

    You need to copy the text from the batch window. Ctrl+A should give you the whole text.
     
    satel and lordelan like this.
  19. satel

    satel Luigi's Big Brother
    Member

    Joined:
    Nov 3, 2004
    Messages:
    2,013
    Country:
    Laos
    yes this is the one i'm using
    ok many thanks for the reply & for making & supporting this great app,sadly the app doesn't give error codes but multi mode is definitely broken in latest release but as i said earlier 80-C works fine in multi mode so will continue using this version & look forward to your future updates. :)
    no i'm not satleman !!
     
  20. Soso76

    Soso76 Member
    Newcomer

    Joined:
    Mar 12, 2019
    Messages:
    10
    Country:
    France
    can you give me the master key 7.0 please ? (in PM) i can't PM you i don't know why i just created this account because i can't found the master key 7 i have the same problem "Exception: object of type 'NoneType' has no len ()"
     
Draft saved Draft deleted
Loading...

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