How are file sizes >4GB able to be downloaded to the Switch?

InstantMash

Member
OP
Newcomer
Joined
May 19, 2024
Messages
6
Trophies
0
Age
31
XP
20
Country
Canada
Just to clarify, I'm not asking how to install games larger than 4gb. I'm wondering how a FAT32 formatted card is able to store a large file (like an NSZ downloaded from Tinfoil). I can copy the file through usb to Windows, but Windows will only copy up to 3.99GB If I try to move it back. Also if the SD is inserted directly into the PC, the NSZ files show as folders instead with smaller files in them.

What sort of magic is at play here? Just a general curiosity as I've been digging into things. :)
 

BigOnYa

Has A Very Big
Member
Joined
Jan 11, 2021
Messages
3,359
Trophies
1
Age
50
XP
7,943
Country
United States
Just to clarify, I'm not asking how to install games larger than 4gb. I'm wondering how a FAT32 formatted card is able to store a large file (like an NSZ downloaded from Tinfoil). I can copy the file through usb to Windows, but Windows will only copy up to 3.99GB If I try to move it back. Also if the SD is inserted directly into the PC, the NSZ files show as folders instead with smaller files in them.

What sort of magic is at play here? Just a general curiosity as I've been digging into things. :)
Just use a usb installer from pc, like DBI or Awoo.
 

InstantMash

Member
OP
Newcomer
Joined
May 19, 2024
Messages
6
Trophies
0
Age
31
XP
20
Country
Canada
Automatic NSZ/NSP splitting & joining. When you have your Switch connected over USB, you're not accessing the SD card directly. The software is doing some trickery while communicating with the MTP protocol.
Thanks for taking the time to read my question lol. So sort of similar to rar part files, but it shows them all as one?
 
Last edited by InstantMash,
  • Like
Reactions: masagrator

4d1xlaan

Well-Known Member
Member
Joined
Apr 21, 2024
Messages
387
Trophies
0
XP
339
Country
United States
It's like hayato says, instead of a .nca on sd card, you get a folder called .nca, with 00, 01, 02, 03 inside etc, which are split files

and the .nca folder has archive bit set, so the console sees it as a singular file and automatically reads data from each split part together like it was one large file

afaik it splits nca into 4GB parts even when using exfat?
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
704
Trophies
1
XP
2,552
Country
Russia
What sort of magic is at play here?
This magic called PrFile2 filesystem over FAT32
Post automatically merged:

The software is doing some trickery
Software does nothing. All is handled by FS driver. Software just create, open, read or write files. No join-split at software side.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,952
Country
Colombia
Just to clarify, I'm not asking how to install games larger than 4gb. I'm wondering how a FAT32 formatted card is able to store a large file (like an NSZ downloaded from Tinfoil). I can copy the file through usb to Windows, but Windows will only copy up to 3.99GB If I try to move it back. Also if the SD is inserted directly into the PC, the NSZ files show as folders instead with smaller files in them.

What sort of magic is at play here? Just a general curiosity as I've been digging into things. :)
Another XY Problem!! (https://gbatemp.net/posts/10234332/)

What are you trying to do, storing 4GB+ files on your card is normally not needed.
 
  • Like
Reactions: Blythe93

MightySashiman

Well-Known Member
Member
Joined
May 9, 2023
Messages
119
Trophies
0
Age
44
XP
473
Country
Switzerland
but that won't solve the issue of needing to actually STORE a >4GB file. For instance, a large mp4 or mkv file (that you might want to read with NXMP). Fortunately, since the screen is only 720p, 720p movie files would not be 4GB anyway (especially in x265 or even av1).
A rom >4GB would very very probably be for a platform too powerful for the Switch, so that's out of the question.
Can't really find a use case where a >4GB file would need to be store on the SDcard.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,952
Country
Colombia
but that won't solve the issue of needing to actually STORE a >4GB file. For instance, a large mp4 or mkv file (that you might want to read with NXMP). Fortunately, since the screen is only 720p, 720p movie files would not be 4GB anyway (especially in x265 or even av1).
A rom >4GB would very very probably be for a platform too powerful for the Switch, so that's out of the question.
Can't really find a use case where a >4GB file would need to be store on the SDcard.
On FAT32 you DON'T store files bigger than 4GB is a limit of the format, period.

The only way is splitting the file with any method, compression or archiving.

Nintendo switch never needs a filter bigger than 4GB on its SDCARD.

So please tell us what are you trying to do

Normally a "ROM" (like the switch ones) is a image of a storage OF SMALL files. So a 1.2TB ROM really is a set of small files at the case of switch NSP and XCI (NSZ, XCZ) are containers of files and folders which can be "installed" (cooied) on the console (SD or NAND)
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,952
Country
Colombia
I gave a use case (not a nintendo one of course). Please re-read my commented ypu replied to...
perfect, answered on:
On FAT32 you DON'T store files bigger than 4GB is a limit of the format, period.

The only way is splitting the file with any method, compression or archiving.

Nintendo switch never needs a filter bigger than 4GB on its SDCARD.

So please tell us what are you trying to do

Normally a "ROM" (like the switch ones) is a image of a storage OF SMALL files. So a 1.2TB ROM really is a set of small files at the case of switch NSP and XCI (NSZ, XCZ) are containers of files and folders which can be "installed" (cooied) on the console (SD or NAND)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Lol