Tutorial  Updated

How to fix SD-Reading-Problems for MacOS-Users

Some of you have noticed, that thinks like Homebrew-Launcher and LayeredFS-Injects aren't working as expected when using MacOS for SD-Card-Management.

The problem is, MacOS is setting an "archive flag" on every sd-card mounted and the switch won't read that folders.

So every time you are changing something on your sd-card like new layeredFS-Folders on your SD-Card just simple run this command in terminal:

sudo chflags -R arch /Volumes/SDVOLUME/

Change SDVOLUME to the name of your SD-Card!

Enter ur Mac-Password after that.

upload_2018-7-10_7-14-52.png


Update:

To avoid getting your Nintendo-SD-Files corrupted change back the archive-flag on your Nintendo-Folder:

sudo chflags -R noarch /Volumes/SDVOLUME/Nintendo/

Change SDVOLUME to the name of your SD-Card!



In addition to the above mentioned problem MacOS creates so called DS_STORE files (hidden) which also lead to problems. These can be easily removed with the tool "Hidden Cleaner Improved".

Download: https://www106.zippyshare.com/v/mxTwEyUi/file.html




After this everything should work fine for you :)
 
Last edited by Klodeckel1990,

linkazoid

New Member
Newbie
Joined
Nov 11, 2018
Messages
2
Trophies
0
Age
36
XP
77
Country
United Kingdom
The commands above are the wrong way round.

As per the other Windows guide we need to set the archive bit only on the contents of the Nintendo/Contents/registered folder so the commands above should be

sudo chflags -R noarch /Volumes/SDVOLUME/

sudo chflags -R arch /Volumes/SDVOLUME/Nintendo/Contents/registered

I haven't tested it on my Mac as i got fed up and used Windows to fix it in the end.
 

GraFfiX420

Well-Known Member
Member
Joined
Oct 14, 2009
Messages
465
Trophies
1
XP
1,593
Country
United States
The commands above are the wrong way round.

As per the other Windows guide we need to set the archive bit only on the contents of the Nintendo/Contents/registered folder so the commands above should be

sudo chflags -R noarch /Volumes/SDVOLUME/

sudo chflags -R arch /Volumes/SDVOLUME/Nintendo/Contents/registered

I haven't tested it on my Mac as i got fed up and used Windows to fix it in the end.


I just did a little testing, had an issue where folders created on my mac were showing up as files inside of programs on the switch. I haven't tested this fully, but this should work, don't set the archive bit on the entire Nintendo/Contents/registered folder, rather just the folders inside of that folder, considering that, this should work.

1. Copy all files etc you need to your SD
2. In terminal run the following commands:

sudo dot_clean /Volumes/SDVOLUME/

sudo chflags -R noarch /Volumes/SDVOLUME/

sudo chflags -R arch /Volumes/SDVOLUME/Nintendo/Contents/registered/*

Let me know if this works.
 
Last edited by GraFfiX420,

PEVOx

Well-Known Member
Member
Joined
Dec 28, 2017
Messages
197
Trophies
0
XP
1,590
Country
Italy
I just did a little testing, had an issue where folders created on my mac were showing up as files inside of programs on the switch. I haven't tested this fully, but this should work, don't set the archive bit on the entire Nintendo/Contents/registered folder, rather just the folders inside of that folder, considering that, this should work.

1. Copy all files etc you need to your SD
2. In terminal run the following commands:

sudo dot_clean /Volumes/SDVOLUME/

sudo chflags -R noarch /Volumes/SDVOLUME/

sudo chflags -R arch /Volumes/SDVOLUME/Nintendo/Contents/registered/*

Let me know if this works.

Terminal says that the operation is not permitted. How can I do this actions?
 

focusonme

Well-Known Member
Member
Joined
Jun 30, 2016
Messages
222
Trophies
0
Age
35
XP
439
Country
United States
you don't need all of this anymore.
just copy all the folders/files you need to your micro sd.
start hekate on your nintendo switch, go to options, fix archive bit.
then you should good to go
 

PEVOx

Well-Known Member
Member
Joined
Dec 28, 2017
Messages
197
Trophies
0
XP
1,590
Country
Italy
you don't need all of this anymore.
just copy all the folders/files you need to your micro sd.
start hekate on your nintendo switch, go to options, fix archive bit.
then you should good to go
I'm on SX OS and I've got the error: Unable To Access to MicroSD card.
 

Juan9999

Member
Newcomer
Joined
Aug 11, 2017
Messages
24
Trophies
0
Age
44
XP
69
Country
United States
I'm using the SD card from this guide on FW 5.1 on Mojave and trying to fix the software was closed because of an error



I tried

sudo dot_clean /Volumes/SDVOLUME/

and got

Failed trying to change dir to .Spotlight-V100
Bad Pathname: Operation not permitted


also
sudo chflags -R noarch /Volumes/SDVOLUME/

and got
chflags: /Volumes/NX/.Spotlight-V100: Operation not permitted

this worked
sudo chflags -R arch /Volumes/SDVOLUME/Nintendo/Contents/registered/*

also ran Hidden cleaner improved.

HELP!
 
Last edited by Juan9999,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,209
Country
United States
The easier one and the best program I ever have is called: CleanEject for macOS. When you put them in there. Just click CleanEject and it will find your drive and click Ok and your usb will eject and run it on your Switch. Works AWESOME!!!

Very lightly and works 100 percent perfectly. Try it!
 
Last edited by spotanjo3,
  • Like
Reactions: Shinji3rd

macnemo79

Member
Newcomer
Joined
Mar 14, 2009
Messages
14
Trophies
1
XP
191
Country
It worked for me, I upgraded SD card from 256gb to 1TB and the switch in custom mode wouldn't recognise the SD card.
I run the script with the terminal and now it works, thank you @klodeckel :grog:
 

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,419
Country
Laos
Also had a corrupted game issue today after running dot_clean -

(Some games would not boot, but push an error message and exit to the home screen)

What fixed it for me was either
In addition to the above mentioned problem MacOS creates so called DS_STORE files (hidden) which also lead to problems. These can be easily removed with the tool "Hidden Cleaner Improved".

Download: https://www106.zippyshare.com/v/mxTwEyUi/file.html
or more likely the:

switch-eject-script-v1.3 script from here:
https://gbatemp.net/threads/sdcard-cleanup-script-for-for-macos-users.521177/post-8341407

Had done different things before, including Hekates "set archive bit" option and this tutorial: https://gbatemp.net/threads/how-to-fix-archive-bit-for-all-sd-files-and-folders.515258/

To no avail, but one of the two things above fixed it for me. :)

That or I had an atmosphere (exosphere.ini, override_config.ini, or system_settings.ini) on (debug mode enabled, or something) - that prevented sigpatches from applying. (Also deleted them from the /atmosphere/config/ folder.

Just fyi, if you find yourself in that situation. :) Dont panic, it can be fixed without deleting the games.

Current version of atmosphere as of this posting is 1.1.1, and current Switch FIrmware 13.0.0.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse