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,393
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,393
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
  • sombrerosonic @ sombrerosonic:
    Unity is a asshole and I want to set it on fire
    +1
  • sombrerosonic @ sombrerosonic:
    and C++
  • SylverReZ @ SylverReZ:
    @sombrerosonic, "Unity to die. Coding is a fuck."
  • sombrerosonic @ sombrerosonic:
    Rez how else am I suppose to make my horny AI who wants people to love it?
  • SylverReZ @ SylverReZ:
    Real women are better, AI isn't worth the trouble.
  • AncientBoi @ AncientBoi:
    Mine would be easy. All it has to do is bob it's head :D:evil::blush:
    +1
  • SylverReZ @ SylverReZ:
    Psi can make an AI babe lol.
    +1
  • K3Nv2 @ K3Nv2:
    I knew I should've bought the 50ft ethernet cord over the 25 lesson learned size matters
    +2
  • Bunjolio @ Bunjolio:
    vffvb gferwbgereg
  • AncientBoi @ AncientBoi:
    :O [☎️ Bunjolio's mother that he's swearing]
  • Bunjolio @ Bunjolio:
    she*
    +2
  • K3Nv2 @ K3Nv2:
    Fuck
    +1
  • J @ Just_Ragnar:
    What are mlc.bin files and are they important or can i delete them off my wii u sd card
  • AncientBoi @ AncientBoi:
    My apologies there little Miss @Bunjolio :mellow::blush::)
  • AncientBoi @ AncientBoi:
    Butt I'm still telling her :P
  • K3Nv2 @ K3Nv2:
    Never gonna give you upNever gonna let you downNever gonna run around and desert youNever gonna make you cryNever gonna say goodbyeNever gonna tell a lie and hurt you
  • AncientBoi @ AncientBoi:
    I don't recognise the song. Which one is it?
  • K3Nv2 @ K3Nv2:
    Sigma
  • SylverReZ @ SylverReZ:
    @Bunjolio, Sometimes people make mistakes, if you correct them then they'll remember.
  • SylverReZ @ SylverReZ:
    Try not to easily get offended if somebody calls you by different pronouns by mistake.
  • K3Nv2 @ K3Nv2:
    What I can't just call someone a dick or a vagina
    K3Nv2 @ K3Nv2: What I can't just call someone a dick or a vagina