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,

GerbilSoft

Well-Known Member
Member
Joined
Mar 8, 2012
Messages
2,395
Trophies
2
Age
35
XP
4,274
Country
United States
oh I didnt know that... that sounds reasonable. but then it means on the cart itself theres a pretty complex processor to handle all that..?
File access is handled by the OS. It's sort of like how user programs on Windows can't access the raw HDD directly; you have to request files.

(Not counting accessing \\.\PhysicalDriveN, and that requires administrator permission.)
 

Maximilious

Whistles a familiar tune
Member
Joined
Nov 21, 2014
Messages
2,571
Trophies
1
XP
1,855
Country
United States
I don't get the blank data part!?
Why require 10 GB if the actual game data is 5 GB?
Anyway great tool! I just hope trimming and getting rid of the original won't be an issue later.

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.
 
  • Like
Reactions: Zumoly

xy-maps

Well-Known Member
Newcomer
Joined
May 14, 2018
Messages
52
Trophies
0
Age
33
XP
534
Country
Germany
Can it be that the current releases of bbb are already trimmed? Because they all have different sizes and are not 16Gb in size (except of course the games that need an additional download)​
 

jfosheezy

Active Member
Newcomer
Joined
Feb 7, 2017
Messages
33
Trophies
0
Age
29
XP
273
Country
United States
Can it be that the current releases of bbb are already trimmed? Because they all have different sizes and are not 16Gb in size (except of course the games that need an additional download)​

The Hyrule Warriors file I downloaded today is the exact same size as the Lego City Undercover file that is marked Dec' 2017

I see only 4 different file sizes for the 30 games I downloaded.

Nintendo Switch carts do come in varied sizes depending on the game size

But those 4 varied sizes have been the same in all releases so far
 

shabbypenguin

Well-Known Member
Newcomer
Joined
Apr 29, 2015
Messages
84
Trophies
0
Age
37
XP
413
Country
United States
Can it be that the current releases of bbb are already trimmed? Because they all have different sizes and are not 16Gb in size (except of course the games that need an additional download)​
compressing the xci file has a similar effect as this trimmer, however you cant load up tx sx with a compressed rom, so by scrubbing/trimming it you get the real size of the game.
 
D

Deleted User

Guest
File access is handled by the OS. It's sort of like how user programs on Windows can't access the raw HDD directly; you have to request files.

(Not counting accessing \\.\PhysicalDriveN, and that requires administrator permission.)
oh ok gotch, so all read/ writes go through os? that means it will not be hard to make it support trimmed roms once we have cfw because yoi can tell os to return ff for requested reads beyond the given rom
edit:... oh wait I completely missed the point. then it should be ok as is
 
Last edited by ,

detonyle

Active Member
Newcomer
Joined
Sep 5, 2017
Messages
39
Trophies
0
Age
38
XP
679
Country
France
Thanks for this tools really.

Did you try to contact Xecuter? maybe they can test a cut xci with XS product?

- Do you think you can do a group/batch cutter? for example just put a folder and he took all xci files in subfolder?
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
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.
 

ChronoX_

Well-Known Member
Member
Joined
Oct 11, 2008
Messages
192
Trophies
1
XP
751
Country
Netherlands
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.

Maybe read the first line?

I wrote a small tool to cut off the unused sectors at the end of xci files.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Maybe read the first line?
Should rename it to XCI-Trimmer then. I read the post, thought 'Hey, it's a trimmer!', then read the name and thought, 'Did I miss something? It says it's a cutter'. These tools and terms have been around for a long time, it's just odd to see them mixed up like that is all.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    Xdqwerty @ Xdqwerty: :sad: