RELEASE XCI-Cutter tool (Windows)

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by MHDestination, May 21, 2018.


    81,183

    341
    Front-page RELEASE
    main.

    XCI-Cutter


    Features:

    - cuts off (trims) unused sectors
    - optionally cuts in pieces (splits)
    - batch processing


    This tool reads the XCI-Header to determine the full cartridge-size and the actually used space.

    By default, the tool checks if the sectors after the used space/gamedata are really unused (filled with FF).
    It refuses to cut, if it finds any data in that area (this check can be bypassed by using "Fast Mode").

    The tool can be used to restore these FF-sectors and expand XCI-files back to the full cartridge size.


    @ChronoX_ compiled a list with actual datasizes over at:
    https://wiki.gbatemp.net/wiki/XCI-Cutter


    UPDATE 20.06.2018:
    Trimmed and split games are now fully compatible with SX OS!

    !!! Important Note: !!!
    Dumps that were split with a version before v2.4.2,
    have to be joined/uncut using that OLDER version.
    And afterwards split again using the NEW version.
    !!!


    Download:
    https://github.com/Destiny1984/XCI-Cutter/releases


    Changelog:

    v2.4.2:
    - changed partsize to make split-dumps compatible with SX OS

    v2.4.1:
    - Bugfix release
    fixed splitting which was broken in v2.4

    v2.4:
    - added "fast mode" to batch processing
    (Direct trim of inputfiles / no safety checks)

    v2.2:
    Changes to batchprocessing:
    - added recursive folder scanning (thanks to @RapidRaid aka getraid)
    - add files and folders by Drag&Drop

    v2.0:
    - added batch processing with optional inputfile deletion

    v1.5:
    - fixed some exceptions
    - implemented optional splitting

    v1.0:
    Initial Release
     
    Drieks, Purple_Shyguy, Ty_ and 65 others like this.
    Discussion (341 replies)
  1. Juggalo Debo

    Juggalo Debo GBAtemp Regular

    Member
    3
    Feb 2, 2016
    United States
    Nine Realms
    looks good hopefully it's gunna be useful later on for slimming down pkgs
     
  2. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    14
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jul 23, 2012
    United States
    Octo Canyon
    Wouldn't this be considered a "ROM Trimmer"?
     
    xstationbr, Pluupy, nmkd and 9 others like this.
  3. PRAGMA

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Yup this is exactly what a Rom Trimmer is, this is great news to be honest :D And this WILL be workable with a backup loader, since its reversable, if a backuploader REALLY needs those 00's they can just add them in, before actually loading it in on the Switch FW.
     
  4. MHDestination
    OP

    MHDestination GBAtemp Fan

    Member
    5
    Sep 12, 2009
    Germany
    Under your bed
    Yes, you can call it "ROM Trimmer" if you want.

    trim, cut, shop, slice ... It's all the same ;-)
     
    Seriel, Mylink5 and Jayro like this.
  5. ChronoX_

    ChronoX_ GBAtemp Regular

    Member
    4
    Oct 11, 2008
    Netherlands
    Yes, it does the same things as the good old WiiScrubber did :-)
     
    T-hug and Centergaming like this.
  6. peteruk

    peteruk GBAtemp Addict

    Member
    12
    Jun 26, 2015
    potentially a very useful tool, thanks for sharing this

    fingers crossed TX loader will be able to read and play trimmed XCI's without issue
     
    Last edited by peteruk, May 21, 2018
  7. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    14
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jul 23, 2012
    United States
    Octo Canyon
    Looks sweet. Thanks for this.
     
  8. hellrokr

    hellrokr GBAtemp Regular

    Member
    2
    Apr 16, 2018
    United States
    Very useful. Let's see if this works :)
     
  9. Slimmmmmm

    Slimmmmmm GBAtemp MoNkEeE

    Member
    4
    Nov 1, 2007
    the land of lol
    Great idea, reversible makes it a must have for people collecting the roms

    I'd love to see some sizes compared before and after scrubbing :)
     
  10. naddel81

    naddel81 GBAtemp Advanced Maniac

    Member
    6
    Dec 14, 2009
    United States
    great, just saved 10GB on my backups!
     
  11. thequickbrownfox

    thequickbrownfox Advanced Member

    Newcomer
    4
    May 7, 2018
    Poland
    If anyone is hesitating if we need this, I tried trimming some ROMs and here are examples:
    • Rocket.League.NSW-BigBlueBox.xci: 7616MB -> 5346MB
    • The.Binding.of.Isaac.Afterbirth.plus.EUR.NSW-BigBlueBox.xci: 1904MB -> 935MB
    • Dragon.Quest.Builders.NSW-BigBlueBox.xci:1904MB -> 1178MB
    • Gear.Club.Unlimited.NSW-BigBlueBox.xci: 7616MB -> 5832MB
    • Super.Bomberman.R.PROPER.NSW-BigBlueBox.xci: 3808MB -> 2326MB
    • ARMS.PROPER.NSW-BigBlueBox.xci: 3808MB -> 2658MB
    • Retro.City.Rampage.DX.USA.PROPER.NSW-BigBlueBox.xci: 1904MB -> 392MB (That's a record!)
    So after trimming 7 ROMs i saved 9893MB! Now that's impressive!
     
    Last edited by thequickbrownfox, May 21, 2018
  12. vickdu31

    vickdu31 GBAtemp Regular

    Member
    3
    Nov 14, 2016
    DBA, nmkd and Centergaming like this.
  13. thequickbrownfox

    thequickbrownfox Advanced Member

    Newcomer
    4
    May 7, 2018
    Poland
    Doesn't Wii Scrubber work a little different?
    XCI-Cutter doesn't replace garbage data with compressable data, XCI-Cutter trims blank data.
    It's more like 3DS ROM trimmers.

    In my opinion developer has full right to name created solution however he wants.
     
    Last edited by thequickbrownfox, May 21, 2018
    nmkd, Dark Ronin, willhack and 3 others like this.
  14. YamiZee

    YamiZee GBAtemp Regular

    Member
    4
    Aug 18, 2013
    Finland
    of those only trim suggests the shortening of something. the others are cutting in general, like slicing into multiple parts etc.
    (not that anyone cares about a small difference in meaning)
     
  15. Arras

    Arras GBAtemp Guru

    Member
    12
    Sep 14, 2010
    Netherlands
    Because of the way cartridges come in powers of 2, I'd imagine you can shrink them down to about 75% of the original size on average, which is quite nice.
     
  16. Solitario

    Solitario Advanced Member

    Newcomer
    2
    Feb 18, 2018
    Brazil
    Cool
     
  17. natanelho

    natanelho GBAtemp Advanced Maniac

    Member
    5
    Apr 25, 2015
    Antarctica
    Between the Sacred Silence and Sleep
    isnt it the same thing that any compression algorithm do? im pretty sure that putting it in 7z archive would give similar result
     
  18. CapitanSburro

    CapitanSburro GBAtemp Regular

    Member
    3
    May 17, 2018
    United States
    Matrix
    We will watch your career with great interest...
     
    Trappie and senas8 like this.
  19. MHDestination
    OP

    MHDestination GBAtemp Fan

    Member
    5
    Sep 12, 2009
    Germany
    Under your bed
    No it's not.

    A compressed file would be even smaller, but you won't be able to
    use an archive (zip/rar/7z ...) in a backuploader
     
    Solitario likes this.
Loading...