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,

daniyo

Member
Newcomer
Joined
Jun 19, 2018
Messages
12
Trophies
0
XP
96
Country
United States
Please format your sd card with 32k clustersize.
You can use GUI Format for that.



2^32 would be exactly 1 byte to big for FAT32.

2GB parts might give to many parts for bigger gamecarts (>32GB).
I'm not sure if SX OS would handle parts with two digits (.xc10 .xc11 .xc12 ...)


To make sure that the files are usable with 64k clusters I could just subtract 64k from 4GB:
Code:
Friend ReadOnly ChunkSize As UInt32 = 2 ^ 32 - 64 * 1024

(But i think a maximum of 32k clusters is the better choice for sdcards.
64k wastes to much space when you have many small files)

Hi there, I just tried it out. I had a 128GB MicroSD with FAT32, 32K clustersize. Still same problem! :(

I have already uncut and cut and split with your new tool.
 
Last edited by daniyo,

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Hi there, I just tried it out. I had a 128GB MicroSD with FAT32, 32K clustersize. Still same problem! :(

I have already uncut and cut and split with your new tool.

How did you format it?
Can you try a different sdcard?
Maybe there's somehow a problem with your card.

I'm using a Samsung 128gb evo+.
Tried it with >10 dump. Had no problems.

Here a version for 64k clusters to test:
https://drive.google.com/open?id=15kX_VLEDtd478BPgYW5sbqESgT_aW8ln
 
Last edited by MHDestination,

daniyo

Member
Newcomer
Joined
Jun 19, 2018
Messages
12
Trophies
0
XP
96
Country
United States

daniyo

Member
Newcomer
Joined
Jun 19, 2018
Messages
12
Trophies
0
XP
96
Country
United States
How did you format it?
Can you try a different sdcard?
Maybe there's somehow a problem with your card.

I'm using a Samsung 128gb evo+.
Tried it with >10 dump. Had no problems.

Here a version vor 64k clusters to test:
https://drive.google.com/open?id=15kX_VLEDtd478BPgYW5sbqESgT_aW8ln

Just tried with your 64k cluster version. Still no luck :(

I’m using Gear Club Unlimited as it is one of the smaller two file xci’s. SD card was formatted with guiformat. Any ideas??
 

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
I currently haven't got a idea what might cause the problem.

I will later tonight try that specific game (I'm currently at work).


Is anyone else here having problems with splitting?
 

mypetfrog

Well-Known Member
Newcomer
Joined
Jun 24, 2006
Messages
58
Trophies
0
XP
136
Country
I currently haven't got a idea what might cause the problem.

I will later tonight try that specific game (I'm currently at work).


Is anyone else here having problems with splitting?


YEP, still same problem it's not loading the split games. Starts loading and then hangs the switch. (mk8 and nba2k18)
 

mypetfrog

Well-Known Member
Newcomer
Joined
Jun 24, 2006
Messages
58
Trophies
0
XP
136
Country
Also, can anyone else remind me why it's good to stay on 3.0.0? With all this nonsense I'm tempted to go to 3.0.1 just to get exFAT and avoid this hassle?

--------------------- MERGED ---------------------------


Using a Samsung 128Gb EVo+ card.

Formatted Fat32 Guiformat.

Single games work fine, it's just the split ones that don't load. They start loading and don't get to where they are mounted as a virtual game on the main nintendo game/cart screen. Hangs within a few seconds.
 

pLaYeR^^

Doctor Switch
Member
Joined
Sep 18, 2014
Messages
3,151
Trophies
1
Age
27
Location
Austria
XP
3,890
Country
Austria
Also, can anyone else remind me why it's good to stay on 3.0.0? With all this nonsense I'm tempted to go to 3.0.1 just to get exFAT and avoid this hassle?
3.0.0 might get a coldboot option later on, so you won't need a jig or similar to boot in CFW. Maybe 3.0.1 will also get a coldboot solution. However, there's a way to perform the exFAT update without updating your firmware which works on any firmware: https://gbatemp.net/threads/how-to-...tch-console-on-any-ofw-without-update.505182/
 

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Using a Samsung 128Gb EVo+ card.

Formatted Fat32 Guiformat.

Single games work fine, it's just the split ones that don't load. They start loading and don't get to where they are mounted as a virtual game on the main nintendo game/cart screen. Hangs within a few seconds.

Really strange...
That's exactly the same card as i am using.

My switch is on 4.1
 

mypetfrog

Well-Known Member
Newcomer
Joined
Jun 24, 2006
Messages
58
Trophies
0
XP
136
Country
OK here's what I found.

Tried 4 more xci's split by the 2.4.2 cutter and none of them worked. All correct filesize etc.

Then i tried dumping MK8 with the 0.0.3 WAIN Game dumper util. Curiously it split the files into 2gb partitions not 4gb. Loaded them into the SD card, just tried them... and it works!

Maybe try splitting in the same way that WAIN Game Dumper 0.0.3 does? Obviously I have NO idea what I'm talking about but thought it helpful that the dumped games direct from cart worked ok. Hope it helps and thanks again.

PS - all my <4gb xci's (ie not needing to be split) also work fine.
 

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Maybe try splitting in the same way that WAIN Game Dumper 0.0.3 does? Obviously I have NO idea what I'm talking about but thought it helpful that the dumped games direct from cart worked ok. Hope it helps and thanks again.

What partsize does the version of WAIN that you used produce exactly in bytes?

I've found different versions (witch different sizes)
 

mypetfrog

Well-Known Member
Newcomer
Joined
Jun 24, 2006
Messages
58
Trophies
0
XP
136
Country
I'm using v0.0.3 of WAIN (there's a v0.0.4 but it's not released yet apparently) and MK8 direct from the cart is split into 4 parts:

Sizes from xc0 to xc4 are:

2,147,680,256 bytes
2,147,483,648 bytes
2,147,483,648 bytes
1,543,307,264 bytes

Just going to do Zelda too to see what sizes it comes out with (I used the "dumping full game cartridge - without certificate splitted 2gb fat32" option)
 
Last edited by mypetfrog,

ravensfan8448

Active Member
Newcomer
Joined
Mar 17, 2011
Messages
36
Trophies
0
XP
87
Country
United States
How did you format it?
Can you try a different sdcard?
Maybe there's somehow a problem with your card.

I'm using a Samsung 128gb evo+.
Tried it with >10 dump. Had no problems.

Here a version for 64k clusters to test:
https://drive.google.com/open?id=15kX_VLEDtd478BPgYW5sbqESgT_aW8ln

Hey, first off thanks for all the work getting this tool running for all of us. I tried out the new 2.4.2 tool and I'm still getting the same problem as before too, games are selectable in the xecuter menu, but doesn't appear on the switch homepage afterwards. I'm on firmware 1.0.0, so the only games that required splitting that I have tried are zelda BOTW, Mario Kart 8, and Disgaea 5.

My info:
256GB samsung evo plus
Guiformat tool used to format to 32k clusters
Cut files are 4,294,934,528 bytes
Switch firmware 1.0.0
Games tried: Mario Kart 8, Zelda BOTW, and Disgaea 5

*additional note*
I just tried trimming the other working games (less than 4gb) just to see how they'd do, and now they are getting the same exact problem as the cut games. So maybe its an issue with the trimming not the cutting?
 
Last edited by ravensfan8448,

mypetfrog

Well-Known Member
Newcomer
Joined
Jun 24, 2006
Messages
58
Trophies
0
XP
136
Country
Just dumped the zelda cart and it crashed the Switch. Ugh, think I'm going to just go to 3.0.1 or try the other exFAT update above. This is so frustrating.

Will try dumping again this time with the certificate.

Update: dump with certificate still didn't work.
 
Last edited by mypetfrog,

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Hey, first off thanks for all the work getting this tool running for all of us. I tried out the new 2.4.2 tool and I'm still getting the same problem as before too, games are selectable in the xecuter menu, but doesn't appear on the switch homepage afterwards. I'm on firmware 1.0.0, so the only games that required splitting that I have tried are zelda BOTW, Mario Kart 8, and Disgaea 5.

My info:
256GB samsung evo plus
Guiformat tool used to format to 32k clusters
Cut files are 4,294,934,528 bytes
Switch firmware 1.0.0
Games tried: Mario Kart 8, Zelda BOTW, and Disgaea 5

*additional note*
I just tried trimming the other working games (less than 4gb) just to see how they'd do, and now they are getting the same exact problem as the cut games. So maybe its an issue with the trimming not the cutting?

So far the only difference, that i can see, is that i am on a higher firmware version (4.1).

But i don't think that's the cause that i am able to play the split dumps.
There must be something else.

I highly doubt that the trimming itself causes the problems. You are the first who has problems with trimmed (not split) games.
 
Last edited by MHDestination,

ravensfan8448

Active Member
Newcomer
Joined
Mar 17, 2011
Messages
36
Trophies
0
XP
87
Country
United States
So far the only difference is that i can see is that i am on a higher firmware version (4.1).

But i don't think that's the cause that i am able to play the split dumps.
There must be something else.

I highly doubt that the trimming itself causes the problems. You are the first who has problems with trimmed (not split) games.
Yea, maybe it is just my firmware I'm not sure. Oddly enough I was able to get the trimmed puyo puyo tetris and retro city rampage to load no problem. But the other <4GB games won't load, this includes Splatoon 2, Arms, 1-2 Switch, Cave Story+, and The Binding of Isaac Afterbirth+. All of these games worked previously with their full XCI. Maybe no one else is reporting this because they don't trim the games under 4GB? I know I didn't have any plans to trim those games, I just did so for experimental purposes. You definitely know more than me though, I'm just trying to provide any useful information I can.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/Tt5J7AfCK6E?si=g4dGzOkhACLJAovM