Hacking Question NSP files to big for SD card

trueicecold

Well-Known Member
Newcomer
Joined
Jan 31, 2011
Messages
83
Trophies
1
XP
1,218
Country
United States
Either use the splitNSP python code or, like I do now, use ns-usbloader split option. It will split the game into 4gb files and put them in a folder with an .nsp extension. Copy the folder to your card.
 
  • Like
Reactions: Raoulsteeghs02

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,297
Trophies
3
XP
12,075
Country
Poland
You can just install directly via USB by using Awoo Installer and NS-USB Loader.
Also DBI app supports automatic Concatenation in mtp, so if you will try to put > 4GB file via mtp, it will split it automatically and set archive bit so Switch could see it as one file.

I will never recommend using exFAT.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,336
Trophies
4
Location
Space
XP
13,914
Country
Norway
How do you guys slit nsp files?
All the games that I downloaded are over 4 GB but my FAT32 sd card only reads under 4GB.
Just use USB/network installs, it's the most convenient. If you're installing a lot of games simply run it overnight. Avoid ExFAT, you will have corruption sooner or later, all it takes is 1 crash (from homebrew or even from buggy games, Pokemon Sword/Shield had a crash bug in it that was corrupting SD cards, even on OFW), when a crash occurs on ExFAT it's often irrecoverable and your data is lost forever, with FAT32 at most the files that were being written to are corrupted.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,007
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,113
Country
United States
They are not Switch dev.
I have used exFAT exclusively on my Switch, with zero issues. Just make sure it's formatted with 32KB clusters for a 32GB card or smaller, and 64KB clusters for a 64GB card or larger.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,297
Trophies
3
XP
12,075
Country
Poland
I have used exFAT exclusively on my Switch, with zero issues. Just make sure it's formatted with 32KB clusters for a 32GB card or smaller, and 64KB clusters for a 64GB card or larger.
Something works for me, so problem doesn't exist? Any Switch dev that has something done more than simple console program will agree.

Any program that is not validating written data will eventually write corrupted data to sdcard - f.e. Retroarch with their shader cache or my tool that installs Polish translation mod for FF VIII when validating data is not applied. Fat32? Only one corruption in 2 years.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,007
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,113
Country
United States
Something works for me, so problem doesn't exist? Any Switch dev that has something done more than simple console program will agree.

Any program that is not validating written data will eventually write corrupted data to sdcard - f.e. Retroarch with their shader cache or my tool that installs Polish translation mod for FF VIII when validating data is not applied. Fat32? Only one corruption in 2 years.
That's cool and all, but I don't fuck around with split files.
 

Purple_Heart

GBATemp´s weirdest Individual
Member
Joined
Oct 11, 2015
Messages
4,414
Trophies
1
Age
28
Location
Hamburg
XP
3,742
Country
Germany
Nintendos exfat drivers are buggy
--------------------- MERGED ---------------------------

so i translated a text which describes whats with Switch ExFat driver:

Ever since the start of the homebrew scene, users have been warned against using exFAT for microSD cards for the switch, as this leads to long-term data loss. The reason is that Nintendo's FAT driver is faulty and constantly changes files and folders, even with simple reads. The changes are never correctly synchronized with the file system, which means that if an application is terminated improperly / a reboot / shutdown occurs, the file handlers are lost and are then missing in the file allocation table. This also happens with FAT32.

Since exFAT, unlike FAT32, does not have a second backup file allocation table, the data and folders are irretrievably lost.
 
  • Like
Reactions: tabzer

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
That's cool and all, but I don't fuck around with split files.
I honestly don't understand why OP is trying to host NSPs on the Switch. They probably don't know how to install them in a practical way. It's a redundancy.

What situations do you find FAT32 4GB limit to be hindering? Are you using it as a storage media for other devices?

Is there a reason I am overlooking?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: https://www.youtube.com/shorts/T78NsMwZOA0