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
  • Sicklyboy @ Sicklyboy:
    I have discovered a hilarious corner of youtube. meme ASMR
  • K3Nv2 @ K3Nv2:
    That sick boy yo
  • K3Nv2 @ K3Nv2:
    I was hoping I could add a custom ROM to this fire HD 10 tablet but guess no one's made twrp available
  • Psionic Roshambo @ Psionic Roshambo:
    Root it? Lol
  • Sicklyboy @ Sicklyboy:
    That shit is so locked down, tighter than a nun's ass
  • K3Nv2 @ K3Nv2:
    Don't know if that's even possible for the firmware
  • K3Nv2 @ K3Nv2:
    You can remove the bloat ware and ads easily but can't install a rom
  • K3Nv2 @ K3Nv2:
    20 some years later crash bandicoot still pisses me off
  • BigOnYa @ BigOnYa:
    Have you jail broke your ps4 yet?
  • K3Nv2 @ K3Nv2:
    I've been on since 9.0
    +1
  • BigOnYa @ BigOnYa:
    Are you gonna do your ps5 if the hack comes? Is there worries of bans, like the ps3
  • K3Nv2 @ K3Nv2:
    Probably not I got cross play friends
    +1
  • K3Nv2 @ K3Nv2:
    By then I'll have some little mini pc anyway
  • ZeroT21 @ ZeroT21:
    only ps5 updated to latest firmware can go on psn, jailbroken ones just don't use psn or they risk getting flagged or banned, altho spouting profanity in online play alredy does that
  • K3Nv2 @ K3Nv2:
    Keep current Gen consoles stock mod last gen imo
  • DinohScene @ DinohScene:
    Anyone dumb enough to get banned for spouting profanity deserves it.
  • Y @ YuseiFD:
    Then how come you do it and don't get banned ? or is it a question of getting caught doing it ?
  • BakerMan @ BakerMan:
    wtf is the point of banning swearing in games? that's utterly a dumb decision

    the new generation playing MWII won't be as hardened as the previous one playing original MW2
  • Veho @ Veho:
    What's the point of video games? Kids playing video games won't be as hardened as the previous ones getting shoved down a hillside.
    Veho @ Veho: What's the point of video games? Kids playing video games won't be as hardened as the previous...