RELEASE Yet another XCI Cutter (Multiplatform, written in Java)

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Insane, Jun 27, 2018.

  1. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    Hi,

    I don't know if this is useful for you guys, since we already have at least two other XCI cutting and trimming tools here on gbatemp I don't know if another tool in that space is actually helpful.
    Anyways: There is also another simple tool for cutting XCIs available on github https://github.com/choss/java-xci-splitter/releases
    Maybe someone finds it useful still.

    (BTW, the other two used tools are: https://gbatemp.net/threads/xci-cutter-multiplatform-osx-linux-windows.507322/ and https://gbatemp.net/threads/xci-cutter-tool-windows.504818/ )

    Version 1.3.3beta1 adds beta support for nsp splitting. Hopefully I have not broken xci splitting as I could not test that.

    Version 1.4 adds splitting of nsp files for sx os. The way for tinfoil should still be available for single files only (not in batch mode).
    Xci functionality is tested and seems to work.
     
    Last edited by Insane, Jan 8, 2019 - Reason: Release 1.4
    hippy dave likes this.
  2. Type_O_Dev

    Type_O_Dev GBAtemp Advanced Fan

    Member
    7
    Dec 12, 2017
    United States
    There is also XCI-Explorer it cuts faster than above two and also lets you clear, backup or inject certs
    https://gbatemp.net/threads/xci-explorer.505528/
     
  3. Notex

    Notex Advanced Member

    Newcomer
    4
    Mar 21, 2017
    Australia
    upload_2018-6-29_18-3-11.

    Can't resize the window in the Linux version.


    Batch processing window is fine though:
    upload_2018-6-29_18-4-12.
     
  4. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    That is really odd. The not being able to resize was unfortunately done on purpose as the components inside do not scale when resizing the window.
    The real bug is that the window shows a tad bit small.

    Nevertheless I've there is now version 1.3.1 ( https://github.com/choss/java-xci-splitter/releases/tag/1.3.1 )which should have resizing enabled again as a quick fix. I hope to be able to take a better look at the linux version, when I have access to my Linux boxes again. Currently I am forced to work on Windows....

    BTW: I have no access to any Mac machines unfortunately, so issue in the OSX versions are also highly appreciated.
     
  5. Notex

    Notex Advanced Member

    Newcomer
    4
    Mar 21, 2017
    Australia
    The window opens to the right size now without having to resize it. So I guess locking it from resizing bugged it out somehow lol.
     
  6. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    What the heck??? Best to accept the fact and leave it as is. Thanks for testing!
     
    Notex likes this.
  7. Purple_Shyguy

    Purple_Shyguy GBAtemp Advanced Fan

    Member
    7
    Nov 8, 2008
    Republic of Ireland
    Is this still the best splitter tool?

    Does anyone know if there's a way to get thumbnails to show on split xci's in the SX OS menu? It's just a minor inconvenience but having thumbnails is better than scrolling through titles.
     
  8. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    In my opinion yes :rofl2:

    Split xci should always show the thumbnail. At least in SXOS 1.1 which I was using. I believe though we moved on to using exFAT mostly.
     
  9. Tasemu

    Tasemu Advanced Member

    Newcomer
    2
    Jul 9, 2018
    United Kingdom
    Looks good, lost the thumbnail for VC4 after splitting the XCI unfortunately.
     
  10. bundat

    bundat ¿

    Member
    4
    Jul 25, 2018
    Antarctica
    Just tried this on OSX
    As I really prefer Java JAR programs over other things (that either require tons of dependencies in brew, or having to compile stuff yourself, etc..), unlike these things which are usually "extract and double-click" simple.

    Works great, except that if you use the "Target" button, it creates a "weird filename" which includes the entire path in the final output file's filename:
    a1.

    But other than that it works great!
    Here's me loading up the trimmed Super Mario Party XCI (620 MB smaller):
    a2.
     
  11. Purple_Shyguy

    Purple_Shyguy GBAtemp Advanced Fan

    Member
    7
    Nov 8, 2008
    Republic of Ireland
    Yeah it's weird. Some show up. Some don't. Any ideas?

    https://i.imgur.com/lJlHkXf.jpg
     
  12. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    I would ask: which games don't show up? Are they cart2 games? Do they need a higher Firmware than you have installed?

    I highly doubt that the implementation of the XCI splitting is to blame, since it is quite dumb.

    @bundat I will try to take a look. It's a bit hard without a mac, but apparently there are some issues in the gui framework I use...
     
    Last edited by Insane, Oct 6, 2018
  13. Purple_Shyguy

    Purple_Shyguy GBAtemp Advanced Fan

    Member
    7
    Nov 8, 2008
    Republic of Ireland
    Im on 6.0 and SX 1.9.

    Looking the games up and yeah, all the ones with missing thumbnails are Cart 2.

    -Dragonball FighterZ
    -Worms
    -Shining Resonance
    -Banner Saga etc etc

    The working ones are Cart 1.
     
    Last edited by Purple_Shyguy, Oct 6, 2018
  14. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    Maybe I should ask @garyopa if TX has some guidelines for splitting cart2 games. (Which I hopefully just did)
     
  15. garyopa

    garyopa Admin @ MaxConsole

    Member
    16
    Apr 25, 2009
    Canada
    Tropical Island
    The main different with cart2 is the original encrypted 'logo partition' is empty, and new one is added that has the game logo now UN-Encrypted, one of the BigBlueBox .nfo files explained how the format changed between cart1 and cart2.

    I don't see how 'splitting' would fuck up the thumbnails, as all the info in the first part should be there still, maybe it is bug with how cart2 support is handled, I will check. -- And does this happen with other XCI tools?
     
  16. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    The output of my tool is exactly the same as: https://gbatemp.net/threads/xci-cutter-tool-windows.504818/ (That is my tool for sanity-checking)

    So I dare to say: there might be an issue with other tools, too... Maybe someone can try another tool and tell us the result.
     
  17. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    Please try again with the newest release. I added some workaround for OSX.....
     
  18. bundat

    bundat ¿

    Member
    4
    Jul 25, 2018
    Antarctica
    Works great now! :yayswitch:
    a.
     
  19. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    Great! That is good news! BTW Finding a Hack/Macintosh is apparently harder then one might think...

    And I fully ignore the fact that the "Split and Trim" button looks like shite
     
  20. Insane
    OP

    Insane GBAtemp Regular

    Member
    4
    May 8, 2018
    Germany
    Shamelessly double posting here: I added some support for nsp splitting. Only for the daring for now! I would appreciate feedback though.
     
Loading...