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
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
    Psionic Roshambo @ Psionic Roshambo: Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest...