XCI-Cutter tool (Windows)

main.png


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
 
Last edited by MHDestination,

comput3rus3r

Well-Known Member
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,922
Country
United States
Wait, is this a cutter or a trimmer? Like, does it cut rom files into smaller parts? So you could fit an 8GB or 16GB game onto a FAT32 card or does it just trim blank space off the end of the rom? The name is a bit confusing.
you're confusing cutting/trimming with splitting.
 

OctolingRift

Well-Known Member
Member
Joined
Dec 30, 2017
Messages
176
Trophies
0
Age
23
XP
246
Country
United States
Good to see this, cannot wait for backup loaders. Weird that there isn't a site that has XCI files. Can we even dump our games yet?
 

Maximilious

Whistles a familiar tune
Member
Joined
Nov 21, 2014
Messages
2,571
Trophies
1
XP
1,855
Country
United States
Hey @MHDestination - Great work on this tool. I'm wondering if there's also a way to grab the header information from the .XCI files as well and if we can re-write them with our own header from a personal cart (once dumping is possible for end-users)?

Replacing the header would make it a bit more safe to go online with the public XCI's available today from BBB.
 
  • Like
Reactions: Madridi and peteruk

Jaimy

Well-Known Member
Member
Joined
Dec 2, 2016
Messages
135
Trophies
0
Age
43
XP
417
Country
United States
Cart dumps will dump the entire contents of the card (16GB, 2GB, ect.) even when the game itself could be 10GB, 1GB, ect. So we end up with a lot of blank space which is where the trimmer tools come in.

I imagine trimmed .xci's will work. I don't have my Switch right now but we could easily determine by looking at installed games from eShop. If they don't take up the full cart space but just the space designated after being trimmed then we may be good to go.

I just checked the sizes of installed games and they're all close to trimmed xci sizes posted above. Most are above probably because of patches but they are well below the original dump sizes. So I'm guessing Nintendo already trims the digital copies.
 

thequickbrownfox

Well-Known Member
Newcomer
Joined
May 7, 2018
Messages
94
Trophies
0
Age
33
XP
660
Country
Poland
Nintendo doesn't trim anything.
Digital games are just digital games.
Cartridge dumps are cartridge dumps, not just game dumps. If game leaves some free space on cartridge this is also dumped (in this case as FFFFs in the end). And this is what trimmer removes.
 

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Hey @MHDestination - Great work on this tool. I'm wondering if there's also a way to grab the header information from the .XCI files as well and if we can re-write them with our own header from a personal cart (once dumping is possible for end-users)?

Replacing the header would make it a bit more safe to go online with the public XCI's available today from BBB.

Thanks!

I don't know yet if swapping the identification is even possible.
The headers and certs contain some encrypted parts (Offset 0x190 for header and offset 0x12A for cert).

It's likely that these areas contain checksums to validate the headers. Therefore changing might break them.

I would need different dumps of the same game (and cartridge revision) to investigate.
 
Last edited by MHDestination,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on having to wash them. :D