RELEASE Open source XCI-Dumper

Discussion in 'Switch - Backup Loaders & Modchips' started by jakibaki, Jun 10, 2018.

  1. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    I added xci-dumping-support to the open-source-cart-dumper!

    SOURCE CODE

    This supports all the features that the open-source dumper had plus the dumping of xci-files.

    Like the closed-source-dumper this doesn't support the new cartridge-format yet (mainly because I don't own any cartridge with the new partition yet).

    Dumped cartridges are dumped (splitted) to the sdcard in /dump-X.xci

    On linux/mac the files can be merged by using the following command:

    cat dump-*.xci > path/to/full-game.xci

    Windows:

    copy /b dump-*.xci full-game.xci

    Please note that sometimes that dumps can get corrupted so please check if hactool can decrypt the all the files and if it can't try again.

    [​IMG]

    Known issues:
    Dumping doesn't seem to work on some low firmwares (I could only test it on 5.1) :(
     

    Attached Files:

    Last edited by jakibaki, Jun 10, 2018
    Quantumcat, tatumanu, DKB and 15 others like this.
  2. Nollog

    Nollog GBAtemp Addict

    Member
    6
    Oct 10, 2008
    Ireland
    It should be

    copy /b dump-*.xci full-game.xci

    On windows, via a dos prompt.
     
    Last edited by Nollog, Jun 10, 2018 - Reason: Autocorrect please...
    jakibaki likes this.
  3. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    Thanks! I'll add that to the main-post!
     
    Nollog likes this.
  4. Masterwin

    Masterwin GBAtemp Fan

    Member
    4
    Jan 7, 2016
    Spain
    Why does this happen? failed 320002
    [​IMG]
     
  5. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    Uhm, that's weird. What game are you trying to dump?
     
  6. Foen

    Foen Member

    Newcomer
    1
    Feb 15, 2017
    Netherlands
    they cant figure the opensource switch-game-card-dumper copy /b raw0 raw1 = full-game.xci and now they start and maintain a dumper themselves GGWP LOL
    taking some popcorn and see who dumping cart2 for the public xD jakibaki true hero
     
    Last edited by Foen, Jun 10, 2018
  7. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    This is mainly for convenience (don't have to close the homebrew, rename the raw-partition-file and then run it on the second partition) and because I dislike that people were using an closed-source tool for something that took barely any work at all to add to the open-source one.

    Also the open-source-dumper didn't have support for splitting the raw partitions.
     
  8. SimonMKWii

    SimonMKWii GBAtemp Advanced Fan

    Member
    8
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    You can fopen with type 'a+' to append partition 0 to partition 1, eliminating the extra copy /b step.
     
  9. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    I want to support fat32 so merging is necessary anyways.
     
  10. SimonMKWii

    SimonMKWii GBAtemp Advanced Fan

    Member
    8
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    Also, for the logo cart support, just do the same but with partition 0+1+2.
    You can detect the type of cartridge by sending an ipc call to "GetGameCardAsicInfo"

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

    Not to mention you can get the title ID by calling "GetGameCardIdSet"
     
  11. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    Thanks! I'll look into adding that to the dumper!
     
    Last edited by jakibaki, Jun 10, 2018
  12. Masterwin

    Masterwin GBAtemp Fan

    Member
    4
    Jan 7, 2016
    Spain
    mario kart, sd format fat32 in switch fw 3.0.0,
    the same error occurs with the verison of WAINCartDumperNX
     
  13. SimonMKWii

    SimonMKWii GBAtemp Advanced Fan

    Member
    8
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    GetGameCardIdSet requires a u64 input from memory, it outputs a buffer with a whole bunch of stuff, title ID in amongst it
     
    Assasin1990 and jakibaki like this.
  14. Foen

    Foen Member

    Newcomer
    1
    Feb 15, 2017
    Netherlands
    can't wait for a dumper with auto brick feature inside the final step should been kept to the ones that knew a thing about xci format or doing something with it
     
  15. Nollog

    Nollog GBAtemp Addict

    Member
    6
    Oct 10, 2008
    Ireland
    I'm not surprised some programmers don't know copy, more than you'd think stick to Mac and unix and havent really touched windows.
     
    darkten likes this.
  16. Foen

    Foen Member

    Newcomer
    1
    Feb 15, 2017
    Netherlands
    cat file1 file2 > newfile. really if you say something like that you dont even know the diffrence between someone run a command and a programmer. so everyone using a terminal back in the days where programmers nice turn
     
    Last edited by Foen, Jun 10, 2018
    Subtle Demise likes this.
  17. Nollog

    Nollog GBAtemp Addict

    Member
    6
    Oct 10, 2008
    Ireland
    If you're not familiar with potatoes, how would you know how they taste?

    Relax.
     
  18. Drejj

    Drejj Member

    Newcomer
    3
    Dec 31, 2006
  19. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    5
    Mar 3, 2017
    Germany
    Oh, I didn't know that someone reversed the other dumper, thanks for the link!

    I can probably add cart2 and exfat-support if I have the time :)
     
    Last edited by jakibaki, Jun 10, 2018
  20. salamandrusker

    salamandrusker Advanced Member

    Newcomer
    1
    Mar 12, 2018
    Spain
    I also have that error in 3.0.0 and fat32, any idea how to fix it? I'm trying to turn over mario + rabbits


    https://ibb.co/mfqyOT
     
Loading...
  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