Question exFAT corruption bug - can it happen with NSPs?

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by PT333, Oct 22, 2018.

  1. PT333
    OP

    PT333 Member

    Newcomer
    3
    Jul 19, 2018
    United States
    AFAIK this can only happen if you exit homebrew from Album applet menu while it's doing I/O stuff. Converting homebrew to NSP format should lower or remove risk since it will be run normally. Or is there anybody who didn't use HB on exFAT and still got their data corrupted?
     
  2. chaoskagami

    chaoskagami Former CFW Dev

    Member
    9
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    Pressing HOME -> Close is the same thing as pressing HOME in an applet. If you quit the application in the wrong place, it's still possible to corrupt things.
     
  3. Clydefrosch

    Clydefrosch GBAtemp Guru

    Member
    11
    Jan 2, 2009
    Germany
    Is exiting hbmenu through home an issue?
     
  4. Draxzelex

    Draxzelex GBAtemp Guru

    Member
    17
    Aug 6, 2017
    United States
    New York City
    Nope.
     
  5. Largooo

    Largooo Advanced Member

    Newcomer
    1
    Aug 11, 2018
    Bangladesh
    exfat corruption bug seems to appear when you use some homebrew that doesnt pay attention of the fat system (bad programmation)
    specially retroarch which seems to be the first cause of exfat corruption
    so dont use retrarch until the bug is fixed
     
    Last edited by Largooo, Oct 23, 2018
  6. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    10
    Oct 10, 2015
    Mexico
    You mean Nintendo to fix their shitty exFAT driver implementation, right?
     
    bottmint likes this.
  7. bottmint

    bottmint Advanced Member

    Newcomer
    3
    Oct 28, 2017
    United States
    Wanna share what you're smoking? Seems like high quality stuff, judging by the content of your post.
     
  8. regnad

    regnad Button Masher

    Member
    7
    May 19, 2008
    Considering the corruption only happens when using homebrew, I'd say Nintendo has little motivation to fix this.
     
  9. Largooo

    Largooo Advanced Member

    Newcomer
    1
    Aug 11, 2018
    Bangladesh
    bad exfat driver implementation seems to come from homebrew maker and not from nintendo.

    i use exfat since day one with no issue and most exfat corruption seems to appear when people use homebrew. refer to this thread -> [POLL] FAT32 vs. exFAT | issue discussion

    and people most used homebrew are emulators as retroarch which seem to be one of the cause of the bug ->
    RetroArch thread.


    — Posts automatically merged - Please don't double post! —

    i dont think i need to share what i smoke with you cause you seems to smoke something harder than mine and your brain got now too much damage judging by the content of your post.
    maybe you could ask your mom a new brain for christmas B-)
     
    Last edited by Largooo, Oct 23, 2018
    thaikhoa likes this.
  10. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    10
    Oct 10, 2015
    Mexico
    That thread is bs, as your claims as well, true FACTS are other...
     
  11. bottmint

    bottmint Advanced Member

    Newcomer
    3
    Oct 28, 2017
    United States
    Damn, dude. You can extrapolate such an elaborate attempt at an insult from such a simple question and opinion. I bow before your almighty logic-a-mahficationings. Lawdy, why did I ever think I could compare to such a lofty intelligence. /s
     
  12. Largooo

    Largooo Advanced Member

    Newcomer
    1
    Aug 11, 2018
    Bangladesh
    you are right facts and only facts !

    i give you 2 recent thread with many pages and you give me back a single old post with only 18 comments

    and the poll showing 75% people got no problem and 25% of people using howebrew got problem is a fake

    ah ah gg ...

    hombrew maker may know the architecture of the console, they dont know how ofw works and how an app interract with ! if they could prevent os from read write when their programs runs they could prevent corruption bug.
    they actually need to learn more about how the console works specially the os ...

    for sure a cave developper with a lack of information know more than nintendo's dev about the os they have created ...

    — Posts automatically merged - Please don't double post! —

    oh sorry maybe a misexplain its not a insult just my opinion :teach:
     
  13. nWo

    nWo The Game Master

    Member
    5
    Oct 20, 2016
    Mexico
    Well I use exFAT for bought digital games since day one (and now backups) and no problems at all. Not even one. On the other side, I have another SD in exfat and have been using it with homebrew and all and until now, no issues. I guess luck but, yeah at least in my case, when using NSP`s and original firmware things there are no problems with exFAT until now. Have my Switch since a year and a couple months ago.
     
  14. Localhorst86

    Localhorst86 GBAtemp Addict

    Member
    9
    Jul 17, 2014
    Germany
    Nintendo works for my dad
    Games generally don't write to the SD. Hence why you'll most likely not see any corruption issues with exFAT when using games.
    Homebrew often writes to the SD (retroarch for config files, save states, screenshots, etc.) - hence why corruption only seems to appear using homebrew. Kill the application at the wrong time (during write access) and you'll likely caus FS corruption.
     
  15. Unleanone999

    Unleanone999 GBAtemp Fan

    Member
    5
    May 15, 2018
    Togo
    I've been using exfat since it was available to me and the only time I got corruption when I was transferring a file using an sd adapter and the damn thing disconnected while I'm still transferring files. I've been using everything on exfat from homebrews to retroarch to sx os cheats and haven't gotten any issues with it.
     
  16. bi388

    bi388 GBAtemp Maniac

    Member
    6
    May 29, 2015
    United States
    Youre misunderstanding his claim. The problem does mainly affect homebrew, but from what I can see on that thread thats because nintendos driver can cause issues when homebrew applications close. Its still a bad driver from nintendo and their 'fault', but it wont usually affect normal games because of the way in which they close. This could be totally wrong but thats what ive seen, and it fits with the idea that it is both a bad driver from nintendo and something that only affects homebrew users.
     
  17. Largooo

    Largooo Advanced Member

    Newcomer
    1
    Aug 11, 2018
    Bangladesh

    Games generally don't write to the SD but they write in the internal memory.
    And which fat system do you think this internal memory use ? exfat !
    So corruption problem could appear ... but it doesnt ! why ?
    cause games developpers know how to close their app properly

    apps and operating system can communicate
    but homebrew maker just dont consider this interaction when home button is pushed

    if so they could prepare to close files and stop read write process and prevent corruption
     
  18. Localhorst86

    Localhorst86 GBAtemp Addict

    Member
    9
    Jul 17, 2014
    Germany
    Nintendo works for my dad
    I doubt they are using exFAT in their internal memory. Why would we need to install the exFAT update if it would be using exFAT internally already?
    They are presumably using their own Filesystem

    EDIT: They are apparently using FAT32 internally:

    https://switchbrew.org/wiki/Flash_Filesystem

    Do you just assume that they can or do you have any documentation on this? Maybe you can provide patches to the homebrew developers, then.
     
    Last edited by Localhorst86, Oct 23, 2018
  19. bottmint

    bottmint Advanced Member

    Newcomer
    3
    Oct 28, 2017
    United States
    Ohhh... I think I get it now... Blatantly stating someone has brain damage is just an "opinion." Okay, well, in my "opinion", you are grossly misinformed, and an idiot. You clearly have no understanding of how this system works.
     
  20. Largooo

    Largooo Advanced Member

    Newcomer
    1
    Aug 11, 2018
    Bangladesh
    you get it ? sure ? i dont think so ! you dont seem to notice and understand this was irony ...
    you know irony ? no ?
    probably alzeihmer ...
    so for your comprehension lets try something else
    if i were you " i would say "You extrapolate" about my opnion :grog:
     
Loading...