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,

DontForgetLuigi

Member
Newcomer
Joined
May 23, 2018
Messages
21
Trophies
0
Age
42
XP
255
Country
Norway
First, thanks for an excellent tool!

About the trimming process, is it as fast as it can be?
I'm trimming my XCIs on a 2x 512 GB samsung SSD, and it takes "some time" to trim a file.

al9bBCz.png


RyEkB4r.png
 

uzi

Well-Known Member
Member
Joined
Mar 21, 2006
Messages
100
Trophies
1
XP
308
Country
thanks for this, but the trimming is slow. why have to rebuild the gamedata?
i used this to check all 201 games to see which ones i missed trimming then i just used xci explorers trimming feature, with that it takes 2 secs to trim the file

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

First, thanks for an excellent tool!

About the trimming process, is it as fast as it can be?
I'm trimming my XCIs on a 2x 512 GB samsung SSD, and it takes "some time" to trim a file.


use xci explore to trim, takes not even 2 secs, but use this program to know what files are not trimmed.. ;]
 

datahoarder

Organized.
Member
Joined
Jul 7, 2007
Messages
567
Trophies
1
XP
750
Country
United States
thanks for this, but the trimming is slow. why have to rebuild the gamedata?
i used this to check all 201 games to see which ones i missed trimming then i just used xci explorers trimming feature, with that it takes 2 secs to trim the file

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




use xci explore to trim, takes not even 2 secs, but use this program to know what files are not trimmed.. ;]
I'm guessing you didn't enable "fast mode" which doesn't rebuild the data/make a copy and just trims without the safety of a copy.
 
  • Like
Reactions: DontForgetLuigi

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
thanks for this, but the trimming is slow. why have to rebuild the gamedata?
i used this to check all 201 games to see which ones i missed trimming then i just used xci explorers trimming feature, with that it takes 2 secs to trim the file

You don't have to rebuild the gamedata. That's what fast mode is for.
I guess trimming 201 files one by one with xci explorer took a lot of time.

Trimming with fast mode is exactly the same as trimming with xci explorer.

That would have processed your whole collection in a few seconds.
 
Last edited by MHDestination,

Insane

Well-Known Member
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,398
Country
Germany
Just since this came up in this thread quite often: It seems file system fragmentation has no impact on the playability of backups (ran some tests, files were fragmented and working, files were not fragmented and not working etc)
 

uzi

Well-Known Member
Member
Joined
Mar 21, 2006
Messages
100
Trophies
1
XP
308
Country
You don't have to rebuild the gamedata. That's what fast mode is for.
I guess trimming 201 files one by one with xci explorer took a lot of time.

Trimming with fast mode is exactly the same as trimming with xci explorer.

That would have processed your whole collection in a few seconds.
well i didnt do one by one just a few that werent already trimmed, and i didnt know what was what fast mode was for lol my bad.
 

ils

Well-Known Member
Newcomer
Joined
Mar 8, 2008
Messages
83
Trophies
0
XP
398
Country
Indonesia
Note: Make sure to format the SD card with a maximum clustersize of 32k.

is this necessary? what will happen if i use 64K/128K cluster size exFAT?
 

deedie

Member
Newcomer
Joined
Feb 3, 2016
Messages
5
Trophies
0
Age
46
XP
45
Country
I have just read through this thread and cant find the answer to my question, unless I missed it somewhere.

as an example lego Incredibles is 15gb untrimmed, and 8gb trimmed. if I install an untrimmed version, will it still install 15gb of data on to the switch, or will it only install 8gb. 8gb being the amount that is actually part of the game.
 

MHDestination

Well-Known Member
OP
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
Note: Make sure to format the SD card with a maximum clustersize of 32k.

is this necessary? what will happen if i use 64K/128K cluster size exFAT?

The clustersize is important for splitting.
Split games won't work with clustersizes >32k.

But while using exFAT, you won't need splitting at all. Therefore it doesn't matter.

I have just read through this thread and cant find the answer to my question, unless I missed it somewhere.

as an example lego Incredibles is 15gb untrimmed, and 8gb trimmed. if I install an untrimmed version, will it still install 15gb of data on to the switch, or will it only install 8gb. 8gb being the amount that is actually part of the game.

xci-files won't be installed at all (unlike nsp-files. You just have to copy the file to your sdcard. Therefore it will only occupy the trimmed filesize (the 8gb).
 
  • Like
Reactions: ils

deedie

Member
Newcomer
Joined
Feb 3, 2016
Messages
5
Trophies
0
Age
46
XP
45
Country
The clustersize is important for splitting.
Split games won't work with clustersizes >32k.

But while using exFAT, you won't need splitting at all. Therefore it doesn't matter.



xci-files won't be installed at all (unlike nsp-files. You just have to copy the file to your sdcard. Therefore it will only occupy the trimmed filesize (the 8gb).

I actually read the difference between nsp and xci, pretty much after posting the question.

so its worth trimming xci, but not really worth trimming nsp as the install file will be deleted afterwards anyway? is that accurate?
 

Insane

Well-Known Member
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,398
Country
Germany
I actually read the difference between nsp and xci, pretty much after posting the question.

so its worth trimming xci, but not really worth trimming nsp as the install file will be deleted afterwards anyway? is that accurate?
Well except the fact that you manually have to delete the NSP yes... for NSP only splitting would be usefull, if Tinfoil would support it.

But if you are anyways upgrading to the latest and greatest version of Horizon (cause NSPs might require it), one could also do the exFat update...
 
Last edited by Insane,

Tere Valentin

Well-Known Member
Member
Joined
Nov 21, 2015
Messages
1,291
Trophies
0
Age
36
XP
2,368
Country
United States
Awesome tool. But question: What are the potential dangers of using fast mode when trimming several xci games all at once? Is it safer to just use fast mode with one game at a time?
 

aln1k0

Member
Newcomer
Joined
Aug 23, 2018
Messages
11
Trophies
0
Age
40
XP
50
Country
United States
Great tool, but it looks like even trimmed XCIs are larger than NSPs. Octopath Traveler - Trimmed XCI - 3.30GB, NSP - 2.94GB. Not by much, but still. Or when NSP is installed it's going to take more or the same amount of space as trimmed XCI?
 

Caster06

Member
Newcomer
Joined
Dec 7, 2015
Messages
15
Trophies
0
Age
47
XP
94
Country
Italy
I already have gone there, but I found zip and z archive only containing file to be assembled. The download icon instead reload the same page...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...