Homebrew Question Retroarch + exFat = corruption?

Did you had any corruption issue while using Retroarch?

  • Yes

    Votes: 70 56.0%
  • No

    Votes: 55 44.0%

  • Total voters
    125

DonKilluminati23

New Member
Newbie
Joined
Dec 3, 2018
Messages
4
Trophies
0
Age
35
XP
356
Country
United States
I would have preferred to use exfat for obvious reasons, and did so for about 4 months.. then it happened. I wasn't mad, I knew I had it coming. Haven't had any issues since converting to fat32, and I don't have that constant bit of worry in the back of my mind every time I go to run retroarch etc.

Use exfat if you want, just be prepared for the (virtually) inevitable, and try not to lose your cool and swallow your pride if / when it's your time to pay for dancing with the devil [emoji6]

Sent from my Nexus 6P using Tapatalk
 

DarknessPlay3r

Well-Known Member
Member
Joined
Jan 27, 2019
Messages
172
Trophies
0
Age
38
XP
2,093
Country
Canada
Nobody said that they're safe from corruption, sd card corruption can happen whether you're on exfat and fat32.
I've got two switches (mine and my partners) both of which have 128gb Sandisk U3 SD cards formatted to exFAT and thus far have been problem free.

A friend of mine was using a cheap SD they bought online (fat32) and it did end up with corrupted files.

got many corruption on exFat , sometimes just files i used , like the save and rom after using retroarch , save exit , when i tried to launch the app cant , on pc only somes filed where un deletable or movable or usable , otheres where ok ,sometime full sd corruption .tried it like 10 times(more or less didnt count ) , could sometime play for 1h sometime 1day always ended up with corruption depending on the amount of use of homebrew/nro , more exits meaning more chance of corruptions .

each of those test were made on official sandisk , one 64Gb the other 128

did the same kind of test with fat32 (32Gb kingston ) never a corruption (even with many crash of homebrew/nro ) .
Though it's likely that's caused by the exFAT driver (it can cause data corruption) did you try those same cards formatted to fat32? Not being able to delete files using your PC sounds like something is either wrong with the card/sd reader. I know my old Adata SD card I used in my phone did that before it died completely.
 

shano

Well-Known Member
Member
Joined
Aug 27, 2012
Messages
219
Trophies
1
XP
1,839
Country
Australia
I recently swapped to FAT32. Was starting to experience very long boot times of GoldLeaf which fixed when i swapped to FAT32.

Maybe my EXFAT card was starting to corrupt. Just split the NSP's with a splitter if worried about not being able to install bigger NSP games/updates.
 

Working_Goose

Well-Known Member
Member
Joined
Feb 16, 2015
Messages
257
Trophies
0
Age
32
Location
Vienna
Website
www.twitch.tv
XP
1,776
Country
Austria
I still use exfat since 2017 and nothing bad happend to me.
And i love the danger, thats my middle name
Stupid danger cunt

It cant hit anyone. Maybe not this day or next week but maybe it can me hit in 2 years
 

jme2712

Active Member
Newcomer
Joined
Feb 17, 2009
Messages
29
Trophies
1
XP
225
Country
United States
Always used exFAT and still no corruption. It's worth noting that I'm using a decent U3 Sandisk SD. If you use a cheap/counterfeit/shit SD card like Kingston, AData, Lexar, and any other budget line you can buy almost anyware. Expect issues regardless of file system. If you are going to use a shit card use fat32.

Using a Samsung evo I was not able to boot into ams. This was at the end of February this year. I just got a black screen. Switching to fat32 immediately remedied the situation.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,203
Country
United States
the thing about exfat corruption is, its definitely still there.
you can do a little to actively avoid it, like waiting a few seconds after homebrew wrote or loaded a file before using the home button, using official exit functions (which retroarch unfortunately doesn't have, at least not working), generally avoid homebrew that reads or writes excessively.

but the corruption is still there. you might not even notice at first, maybe it's just affecting a bunch of unneeded files here or there, a few nes or sega roms here you never start anyways, a savefile there you're not loading, a border file or a screenshot you took.
or an installed game you just hoard and never look at again.

but eventually, a game you're actively playing might not start, a homebrew you want to use might crash because of some file error or a savegame you backed up can't be recovered anymore.

and thats when you wish you just switched to fat32, which also has a chance for corruption, but it's significantly less likely to run into it than for exfat.


you can also still install nsps on fat32, using nsp splitters and installing from sd card, or just getting the zadig drivers, fluffy or a comparable usb install user interface.

or just stay away from homebrew.

You are correct but stay away from homebrew ? Not true. I have been used it for a long time with exFAT and no corruption so far.. NOT JUST YET anyway. I have a backup just in case. So far, everything is so good.
 
  • Like
Reactions: cucholix

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
I've been using exfat since homebrew came to the switch, never experienced corruption. I'm convinced corruption happens due to user error, such as not exiting homebrew correctly.
 

KirovAir

Alcoholic Programmer
Member
Joined
Dec 7, 2006
Messages
768
Trophies
1
Age
32
Location
Netherlands
Website
www.jessesander.nl
XP
2,443
Country
Netherlands
When was the last time you used exFat? Probably very long ago. I assure you that if you changed to exfat now, you would not leave it. This myth about exFat has been dragging from the beginning and it has only happened because homebrew was very underdeveloped, there were no libraries like today. Today exFat support is satisfactory. As I mentioned, I have been using Exfat for a very long time, zero problems or damage to files.

It is and never was a homebrew problem. It's in the Switch kernel. This problem is still here until Nintendo fixes it. Nintendo keeps an own FS table next to the exfat one to fix corruption of the table on every reboot because the kernel is fucked. Homebrew will never have a solution like this unless this is created within a CFW or within the homebrew itself, which is stupid.
Fat32 does not have this issue as it has a backup FS table from itself, which can recover without Horizon OS. (And is suitable for homebrew)

See here for a better explanation:
https://github.com/libretro/RetroArch/issues/7480#issuecomment-432700844
and here:
https://github.com/libretro/RetroArch/issues/7480#issuecomment-434262799
 
Last edited by KirovAir,

Csmrcc

Well-Known Member
Member
Joined
Sep 13, 2018
Messages
412
Trophies
0
Age
37
XP
905
Country
Spain
Sd exfat for switch games, and another sd fat32 for Homebrew and movies.
Everything alright.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,257
Trophies
3
XP
12,006
Country
Poland
I use a 200gb card, I can't use fat32, But I have NO ISSUE
You can, just use guiformat on Windows

Just wanted to add that I don't think there's anything magical about FAT32, you can get corruption no matter which you use.
FAT32 has countermeasures for avoiding corruption of partition table. Exfat hasn't. So on Exfat you have better chance of corruption.
You can read it in Wikipedia.

I got one time corruption in "titles" of Wolfenstein New Colossus, so FAT32 isn't ideal, but better than exfat in terms of risk.
 
Last edited by masagrator,

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,208
Country
United States
It is and never was a homebrew problem. It's in the Switch kernel. This problem is still here until Nintendo fixes it. Nintendo keeps an own FS table next to the exfat one to fix corruption of the table on every reboot because the kernel is fucked. Homebrew will never have a solution like this unless this is created within a CFW or within the homebrew itself, which is stupid.
Fat32 does not have this issue as it has a backup FS table from itself, which can recover without Horizon OS. (And is suitable for homebrew)

See here for a better explanation:
https://github.com/libretro/RetroArch/issues/7480#issuecomment-432700844
and here:
https://github.com/libretro/RetroArch/issues/7480#issuecomment-434262799
It’s not an issue with the kernel (although that does have it’s own set of issues), it’s an issue with the FS sysmodule :P
 
D

Deleted User

Guest
This reminds me of jaded new yorkers its like one stranger goes to you hey dont go down there and other strangers walk by and are like hey it was fine. I said it before i will say it again. Anyone who has retroarch and exfat isnt really playing. Maybe some casual showing off. But no one is really putting hours into the old retro games. If they did they would notice corruption. So it causes confusion cause those people chime in and say hey i have retroarch everything is fine! Meanwhile they occassionally play game gear or something...
 

p1w1x

Well-Known Member
Newcomer
Joined
Aug 14, 2018
Messages
68
Trophies
0
XP
1,132
Country
Uruguay
Hi I use exFat since day one and I can tell you this. My card got corrupted twice, once using nxmtp, the other one was saving a state of a game in retroarch. Im planning use two SDcard, one specific for retroarch
 

Jan200101

Active Member
Newcomer
Joined
May 30, 2017
Messages
29
Trophies
0
Age
23
Website
jandroegehoff.de
XP
220
Country
Germany
I use a 200gb card, I can't use fat32, But I have NO ISSUE
being unable to format 32GB+ drives is a limitation of Windows imposed by Microsoft to get you to adopt exFat, you know, the thing they managed you to do


to add to the discussion
when I first homebrewed my switch I used exFat as I saw that as Nintys prefered filesystem
but my files constantly corrupted
not just files I used e.g. roms ALL files
homebrew, hekate files, etc.
 
Last edited by Jan200101,

chaxelos

Active Member
Newcomer
Joined
Feb 5, 2016
Messages
29
Trophies
0
Age
36
XP
362
Country
I formatted my exFAT SD 3x now in a week since i installed retroarch and started playing PSP games. now im switching to FAT32, and giving it a go! hope this will be the last time i will format my sd! transferring back files back and forth is one hell of a job!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16