Homebrew Discussion [POLL] FAT32 vs. exFAT | issue discussion

What do you use and did you face any issues?

  • FAT32 - no issues yet

    Votes: 151 21.4%
  • FAT32 - I had issues

    Votes: 13 1.8%
  • exFAT - no issues yet

    Votes: 412 58.5%
  • exFAT - I had issues

    Votes: 128 18.2%

  • Total voters
    704

Wezaa

Well-Known Member
Member
Joined
Apr 29, 2015
Messages
169
Trophies
0
Age
36
XP
777
Country
Ok, I have reformatted to fat32, copied all my files back over.

I had to split some of my XCI files to fit onto onto the card now, which is fine.
The issue I have now is, the split files now show a white box in the SX menu instead of the normal picture of the game.
Anyone else have this/know how to fix please?

This was all done on windows 10.
 

lordelan

Well-Known Member
OP
Member
Joined
Jan 4, 2015
Messages
5,784
Trophies
1
Age
44
XP
6,507
Country
Germany
Ok, I have reformatted to fat32, copied all my files back over.

I had to split some of my XCI files to fit onto onto the card now, which is fine.
The issue I have now is, the split files now show a white box in the SX menu instead of the normal picture of the game.
Anyone else have this/know how to fix please?

This was all done on windows 10.
This is a known issue of SX OS and as far as I can tell they are already working on it.
 

crimpshrine

Well-Known Member
Member
Joined
Jun 18, 2014
Messages
594
Trophies
0
XP
1,169
Country
United States
So is it safe to assume if you don't use HOMEBREW at all that using exfat on the sdcard is relatively safe? I understand with homebrew apps they are highly likely to cause corruption. Just wondering about if you ONLY use XCI's and installed NSP games. I assume the games are written in a manner to fully support pressing home and not corrupt things.

What is the internal storage formatted? Fat32?
 

dreambottle

Member
Newcomer
Joined
Mar 2, 2016
Messages
19
Trophies
0
Age
32
XP
241
Country
@m4xw so do you know what's causing exfat corruption? If you explained this before, could you point me there?
Just wondering if there is anything at all that can be done by users, or maybe there's a way to do file writes in HB, which can prevent or minimize the risk of corruption with exfat.
 

lordelan

Well-Known Member
OP
Member
Joined
Jan 4, 2015
Messages
5,784
Trophies
1
Age
44
XP
6,507
Country
Germany
I've been on multiple versions using exFAT and I've had my shit corrupt about 5 times already. Finally stopped being lazy and converted to FAT32, no issues since.
Welcome to the bright side of life.

@m4xw so do you know what's causing exfat corruption? If you explained this before, could you point me there?
Just wondering if there is anything at all that can be done by users, or maybe there's a way to do file writes in HB, which can prevent or minimize the risk of corruption with exfat.
You shouldn't quote him and waste his precious time although I agree on the fact that someone should write a very good explanation which should be featured on gbatemp's frontpage for a few days and stickied to the Switch forum.
However: No it's Ninty's driver that is causing the sh*t to happen. Unless someone (SciresM?) writes a whole new filesystem driver for exFAT (and why in the world would he even think about wasting his time for that if FAT32 works perfectly and has no real downside) this won't change.

Just stick to FAT32. Install games via USB (Goldleaf 0.5+) and if you need SX OS and XCI loading that much, use XCI splitting or an external drive (which ironically is recommended to be on exFAT, because the SD problems are not existent there as it turns out).
 

kekoroto

Active Member
Newcomer
Joined
Mar 20, 2019
Messages
25
Trophies
0
Age
29
Location
Granada
XP
678
Country
Spain
So if I want to format my exfat card, what do I have to do with my currently installed games on the SD card? Do I need to install them all again since I won't be able to paste back the Nintendo folder cause it is bigger than 4 GB?
 

lordelan

Well-Known Member
OP
Member
Joined
Jan 4, 2015
Messages
5,784
Trophies
1
Age
44
XP
6,507
Country
Germany
So if I want to format my exfat card, what do I have to do with my currently installed games on the SD card? Do I need to install them all again since I won't be able to paste back the Nintendo folder cause it is bigger than 4 GB?
Create a folder on your PC desktop called "temp".
Copy everything from your SD root into that folder.
Format to FAT32.
Copy everything from "temp" back to your SD root.
Simple as that. ;)

Edit: Installed games are always automatically separated into chunks smaller than 4 GB, even on exFAT so don't worry.
 

kekoroto

Active Member
Newcomer
Joined
Mar 20, 2019
Messages
25
Trophies
0
Age
29
Location
Granada
XP
678
Country
Spain
Create a folder on your PC desktop called "temp".
Copy everything from your SD root into that folder.
Format to FAT32.
Copy everything from "temp" back to your SD root.
Simple as that. ;)

Edit: Installed games are always automatically separated into chunks smaller than 4 GB, even on exFAT so don't worry.

Great. I'll be doing the formatting today then. Thanks!
 
  • Like
Reactions: lordelan

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
You shouldn't quote him and waste his precious time although I agree on the fact that someone should write a very good explanation which should be featured on gbatemp's frontpage for a few days and stickied to the Switch forum.
However: No it's Ninty's driver that is causing the sh*t to happen. Unless someone (SciresM?) writes a whole new filesystem driver for exFAT (and why in the world would he even think about wasting his time for that if FAT32 works perfectly and has no real downside) this won't change.

From what I understand (from knowing the filesystems and this), it's equal parts exFAT being terrible and Nintendo's driver being buggy.

Nintendo's driver has two things wrong with it:
  1. It writes metadata on reads. This is not sane for obvious reasons.
  2. It doesn't synchronize data to disk on application close/poweroff, and there's no way to manually trigger this.
Taken together, these mean that if the filesystem is reading data and the application is quit, crashes or the system is powered off, the entry which was being read has likely only been partially written to disk. FAT32 is structured slightly different from exFAT, and due to this FAT32 is unlkely to corrupt from incomplete metadata writes if the system is writing data in-place. exFAT, however, can be left in a state where whole directory entries can be broken due to being designed quite different from FAT12/FAT16/FAT32.

As for the reason this doesn't affect official software: official software does something similar to a mount operation with romfs, and after that uses a specialized method of reading data inside the romfs. It doesn't go through the relevant code path aside from when software is first opened, unlike homebrew.
 
Last edited by chaoskagami,

wiewiec

Well-Known Member
Member
Joined
Dec 24, 2015
Messages
774
Trophies
0
Age
39
Location
Somewhere
XP
1,373
Country
Poland
Only thing that was corrupted on my card was Pinball from Zen Studio after upgrade from 6.1 to 7.0.1 after game update it refuses to launch - now I do not know what should I do wait for DJV to be ported to 7.X or update to 8.X...
 
D

Deleted User

Guest
well we dont have a splitter for the Switch OS directly so you need a PC and not everybody want to be split NSPs or XCIs
btw SD Cards can be restored with CHKDSK
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
well we dont have a splitter for the Switch OS directly so you need a PC and not everybody want to be split NSPs or XCIs

Explain to me how a splitter would be useful on the switch itself. What is it supposed to split? If you're on exFAT, it's pointless. On FAT32, the files are already split.

Before you say "game dumps" - gcdumptool can output split XCIs and NSPs which can be renamed and archive bit'd in NXShell, so that's only an issue if you're a filthy pirate.

btw SD Cards can be restored with CHKDSK

Best case, you end up with missing files or corrupted files in LOST.DIR. Worst case, chkdisk fails and moves corrupted entries to LOST.DIR. Sometimes exfat-fuse's fsck can save it when chkdisk can't but I've had the switch irreparably corrupt exFAT before such that a format was required.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,270
Country
Chile
As a former exFAT user I must say avoid it, it not only can corrupt some files but you will have issues with some apps write/over write, I lost my stuff once using exFAT and ftp, I wanted to delete a specific folder but it ended deleting other folders in root, no idea why it took paths that weren’t intended to be deleted.
 
  • Like
Reactions: Dichotomy754
D

Deleted User

Guest
Explain to me how a splitter would be useful on the switch itself. What is it supposed to split? If you're on exFAT, it's pointless. On FAT32, the files are already split.

Before you say "game dumps" - gcdumptool can output split XCIs and NSPs which can be renamed and archive bit'd in NXShell, so that's only an issue if you're a filthy pirate.
.
oh really but not everybody dumps his games self...
Best case, you end up with missing files or corrupted files in LOST.DIR. Worst case, chkdisk fails and moves corrupted entries to LOST.DIR. Sometimes exfat-fuse's fsck can save it when chkdisk can't but I've had the switch irreparably corrupt exFAT before such that a format was required.
at worked everytime with my one...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: It's mostly the ones that are just pictures and no instructions at all