Hacking Question XCI Explained

Picalo

Well-Known Member
OP
Newcomer
Joined
Feb 18, 2019
Messages
89
Trophies
0
Age
44
XP
298
Country
United States
Hello all, I was wondering if anyone could explain what makes XCI special over NSP, and how is it possible to load the file rather than installing it.
From my understating XCI
-XCI is a dump from from a cartridge.
-XCI can be repackage to include the updates and DLC.
-Sx SO is the only way to load the file.

Is XCI the same size as a NSP (example A.xci vs A.nsp)?
When a nsp installed is it the same size as the actual file?

In order to play XCI is the cartridge software emulated and that is why no other dev want to touch it? / whats stopping other devs from creating a method to install nsp on external storage like a usb stick.

Sorry I am not a dev I am just wondering if there are items that are not talked about or i missed some information.
 

Undi

TRASH 悲しい天使
Member
Joined
Feb 22, 2014
Messages
344
Trophies
0
Age
28
XP
1,361
Country
Belgium
Don't take my word for absolutely 100% accurate, but NSP are just a compacted file that contain the same game file XCI have, with some more infos files to be able for the switch to install it.

Sorry for bad English.
 
Last edited by Undi,

tinkle

taciturn shill girl
Member
Joined
Jun 9, 2015
Messages
405
Trophies
0
Age
26
XP
1,540
Country
United States
XCI and NSP are virtually identical, but XCI has certificates and can be used with cart-slot-redirection, a feature currently (and probably only) limited to SXOS. They're mounted like cartridges and therefore playable as any cartridge would be. AFAIK, it's an ethical issue as much like older flash carts would 'pretend' to be games by using cloned headers, so too does TX's implementation of cart redirection.

The reason you can't install NSPs to USB drives is because the Switch has no logic for it presently. I imagine it might be trivial to do MicroSD Slot -> USB redirection, the way the PSTV does (or similar,) but that might be outside the scope and benefit range of projects right now.

As for filesize, an XCI will be the size of the cartridge at first (if dumped,) but when trimmed of that excess space will be roughly the same as an NSP of the same.
 
Last edited by tinkle,

Picalo

Well-Known Member
OP
Newcomer
Joined
Feb 18, 2019
Messages
89
Trophies
0
Age
44
XP
298
Country
United States
Hey Tinkle, thank you for the response. In other words its all about cart/microsd-slot-redirection and that is what SXOS has implemented in their CFW. Why only SXOS (sorry I am new to the switch and the CFW devs). Is SXOS emulating the XCI when loaded? or once the redirection is made it tricks the system in thinking its a cartridge?

thank you undi.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Hello all, I was wondering if anyone could explain what makes XCI special over NSP, and how is it possible to load the file rather than installing it.
From my understating XCI
-XCI is a dump from from a cartridge.
-XCI can be repackage to include the updates and DLC.
-Sx SO is the only way to load the file.

Is XCI the same size as a NSP (example A.xci vs A.nsp)?
When a nsp installed is it the same size as the actual file?

In order to play XCI is the cartridge software emulated and that is why no other dev want to touch it? / whats stopping other devs from creating a method to install nsp on external storage like a usb stick.

Sorry I am not a dev I am just wondering if there are items that are not talked about or i missed some information.
XCI files are basically the same as ROM files. a 1:1 clone of the data on a cartridge. Since cartridges contain some additional info like FW update files they tend to be bigger than their NSP counterparts.

Cartridges (and thus XCIs) can come with Updates or DLC on the cart. The Switch is designed to recognize these and load data from them directly rather than installing them. Since XCIs are 1:1 copies of cartridges, we can exploit this behavior and make custom XCIs with Updates or DLC built into them allowing us to play the updates and DLC without installing it.

SX OS are currently the only ones that have XCI mounting because the only way to get it done right now involves including copyrighted sectors of a real game cartridge to be passed to the game card slot to then trick it to be redirected to the XCI file. SX OS doesn't care about the legal ramifications of this and does it anyway while trying to hide it away but other open-source devs would not do this as it's very illegal. Source: #43

Since NSPs only contain the game and metadata info and not other data like firmware files, an NSPs size is roughly equal to the space the games will take up once installed.
 

tinkle

taciturn shill girl
Member
Joined
Jun 9, 2015
Messages
405
Trophies
0
Age
26
XP
1,540
Country
United States
Hey Tinkle, thank you for the response. In other words its all about cart/microsd-slot-redirection and that is what SXOS has implemented in their CFW. Why only SXOS (sorry I am new to the switch and the CFW devs). Is SXOS emulating the XCI when loaded? or once the redirection is made it tricks the system in thinking its a cartridge?

thank you undi.
Thats more-or-less accurate, yup! SXOS are the only ones doing it, I think for reasons twofold: their implementation requires Nintendo code to load, and XCI releases are associated with the 'scene' and ergo piracy. NSP compatibility can at least be pretensed as being for patches.
 
  • Like
Reactions: Picalo

Picalo

Well-Known Member
OP
Newcomer
Joined
Feb 18, 2019
Messages
89
Trophies
0
Age
44
XP
298
Country
United States
Thank you all, now it makes more sense why XCI mounting will not be coming out to other cfw any time soon. I guess I will buy SX OS once the new release is iron out a bit more.
 
Last edited by Picalo,

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
XCI's are illegal, NSP's aren't. That simple. Also why free CFW aren't implementing it since they can get sued and go through legal troubles and so forth since they're not China based hackers who for some reason are quite immune to the law since the Chinese goverment doesn't do shit also the reason why every game has dumb chinese aimbotters in it
 
Last edited by kumikochan,

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
XCI's are illegal, NSP's aren't.

Not quite true - homebrew nsp's aren't illegal. Any sold games from ninty are copyright and it's illegal to share/install them on your device. If you're going to tell people something isn't illegal - don't go sparingly with the truth.

It's just as illegal to download/install and play and NSP version of a copyright game than it is to play an XCI version - if you're going to break that law (which 99.9% of us are doing) - it makes no difference how you break it, the game devs are still not making money from you/ninty is not making money from you. Thinking is less ethical to and illegal to play an nsp version over an xci version is wishful thinking on your part. The only people that whinge about xci - are those that don't wish to pay for an sx os licence & want everything for free - including games & cfw.
 
  • Like
Reactions: tbb043 and Vorde

Picalo

Well-Known Member
OP
Newcomer
Joined
Feb 18, 2019
Messages
89
Trophies
0
Age
44
XP
298
Country
United States
mrdude
Is it still illegal if you purchase the cartridge and install the nsp on your system?
(asking to better understand)
 

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
...what? Do you really believe that? That's utterly wrong. Of course, a NSP of a copyrighted game is just as illegal as an XCI.
An NSP by itself ain't illegal, if a game is packed as an NSP it is but an XCI is always illegal because it contains headers

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

They are both illegal if they contain copyrighted material.
an XCI is always illegal while an NSP is only when a game is packed as an NSP but an NSP by itself ain't illegal while an XCI always will be
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Thats pretty cool.