GDMENUCardManager icon indicating copy to clipboard operation
GDMENUCardManager copied to clipboard

Can't access SD Card from app

Open yuenanojyona opened this issue 1 year ago • 4 comments

Hello, I'm on Mac OS Ventura 13.0 Beta

The app runs fine, but I can't access the SD card. The volume "ROMS" (my SD card) doesn't show up. The same SD card works fine on the PC version. I tried running sudo ./GDMenucardmanager but that didn't help. Screenshot 2022-07-28 at 7 54 04 AM

Screenshot 2022-07-28 at 7 50 25 AM

yuenanojyona avatar Jul 27 '22 23:07 yuenanojyona

Hi. Sorry to hear that. I don't have access to a Mac so I can't test. But please take a look at this and let me know if it works: https://github.com/sonik-br/GDMENUCardManager/issues/27#issuecomment-1164324158

sonik-br avatar Jul 31 '22 12:07 sonik-br

Yes that totally worked! Thank you so much!

For any Mac users reading this:

• Right-click (or option-click) GDMENUCardManager and select "Show Package Contents" • Open the "Contents" folder • Open MacOS • Right-click (or option-click) GDMENUCardManager.dll.config and select Open With... TextEdit • Look for the line that has: add key="ShowAllDrives" value="False" / • Change "False" to "True". Now the line should look like this: add key="ShowAllDrives" value="True" / • Save the file (Command-S) then quit TextEdit • Go back to the Applications folder (or wherever GDMENUCardManager is located) and open it. • WARNING: MAKE SURE that your SD drive is selected now before you write anything. You don't want to erase the wrong drive!

BTW if you ever need other Mac stuff tested, don't be afraid to give me a shout. I'm happy to do what I can. Thanks again!

yuenanojyona avatar Aug 01 '22 00:08 yuenanojyona

Later this week I will do an test app and I will ask you to try it. It will help figure out what's changed and how to fix.

sonik-br avatar Aug 01 '22 12:08 sonik-br

Hi @yuenanojyona ,

I've made another version with some debug info. Can you test it please? It's on the releases page. GDMENUCardManager.v1.3.5.debug1-osx-x64-AppBundle.tar.gz On the app click on the about button. It will show a text with a list of your discs/drives. Copy the line that matches your SD card and past it here.

sonik-br avatar Aug 19 '22 03:08 sonik-br

OK I tried it. I can see the list of drives, but I'm unable to paste it into the SD Drive field. That field is just a pull-down menu. Unlike Temporary Folder and Search (under Games List), the SD Drive field has no way to enter text into it directly. If it doesn't appear on the pull-down list, then you can't choose it.

On Fri, Aug 19, 2022 at 11:10 AM Matheus Fraguas @.***> wrote:

Hi @yuenanojyona https://github.com/yuenanojyona ,

I've made another version with some debug info. Can you test it please? It's on the releases page. GDMENUCardManager.v1.3.5.debug1-osx-x64-AppBundle.tar.gz On the app click on the about button. It will show a text with a list of your discs/drives. Copy the line that matches your SD card and past it here.

— Reply to this email directly, view it on GitHub https://github.com/sonik-br/GDMENUCardManager/issues/32#issuecomment-1220194873, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMYJHR46JG4VPAYTISFLODVZ33K5ANCNFSM543LZYBA . You are receiving this because you were mentioned.Message ID: @.***>

yuenanojyona avatar Oct 11 '22 09:10 yuenanojyona

@yuenanojyona Please past the content here on github. You can remove any personal info before posting.

sonik-br avatar Oct 11 '22 17:10 sonik-br

Hello,

I'm having the same issue, on MacOS Version 13.0.

The output I get from the debug release is:

Fixed; apfs; / Ram; devfs; /dev Fixed; apfs; /System/Volumes/Preboot Fixed; apfs; /System/Volumes/VM Fixed; apfs; /System/Volumes/Update Fixed; apfs; /System/Volumes/Data Network; autofs; /System/Volumes/Data/home Unknown; nullfs; /private/var/folders/gf/3xzvkbxj1h1b9264x_pcz64r0000gn/T/AppTranslocation/E8A06D06-389D-4629-ADD7-22C364ABBD32 Unknown; lifs; /Volumes/Untitled Fixed; apfs; /System/Volumes/Update/mnt1

My SD Card Drive is at /Volumes/Untitled.

kkalanijs avatar Nov 10 '22 01:11 kkalanijs

@kkalanijs thanks for the report. I will take a look.

What is "lifs"? Devices with FAT and FAT32 shows as lifs on mac?

sonik-br avatar Nov 10 '22 02:11 sonik-br

@sonik-br Yes, it seems to show as lifs in that case — card is formatted with FAT32 when I check disk utility.

kkalanijs avatar Nov 10 '22 03:11 kkalanijs

@kkalanijs great. I'm going to do a new test build in next few days.

sonik-br avatar Nov 10 '22 14:11 sonik-br

@kkalanijs please try this version:

File GDMENUCardManager.v1.3.5.debug2-osx-x64-AppBundle.tar.gz on the releases page

It's based on the latest code that supports both gdmenu and openmenu. For openmenu you will have to provide it's DAT files. Gdmenu should work as before.

sonik-br avatar Nov 13 '22 13:11 sonik-br

@sonik-br thank you! I can confirm that it is reading the card and displaying the contents correctly.

kkalanijs avatar Nov 13 '22 22:11 kkalanijs

Some problem here on macOS Ventura:

Screenshot 2023-01-03 at 10 59 15

I can't see the SD card. Any fix for this?

I am on the lastest version.

It seems it looks in the wrong place:

Screenshot 2023-01-03 at 11 01 32

mtoensing avatar Jan 03 '23 10:01 mtoensing

@mtoensing Hi, Can you try with the version linked two posts above? https://github.com/sonik-br/GDMENUCardManager/issues/32#issuecomment-1312731402

It's a test version but should work. I don't have access to a mac and can't test so I need community feedback.

sonik-br avatar Jan 03 '23 12:01 sonik-br

@sonik-br works =)

mtoensing avatar Jan 03 '23 18:01 mtoensing

Sadly, after saving it tells me "Read only file system" but I can manually write to the SD Card using macOS since it is FAT32

What is the problem? A permission problem?

Screenshot 2023-01-03 at 20 02 15

mtoensing avatar Jan 03 '23 19:01 mtoensing

Fixed it with privacy->full disk access.

mtoensing avatar Jan 03 '23 19:01 mtoensing

I am having the same issue. I am running macOS Ventura 13.1 and using the v1.3.5 debug2 build linked above.

I have given the app full disc access, but when I try to save any changes it still says that it is a 'read-only file system'. Also, every time that message is displayed the 01 folder containing the gdmenu.cdi file gets removed from the SD card.

louis-moa avatar Jan 06 '23 12:01 louis-moa

That's strange. If it's read only, the 01 folder was not expected to be deleted.

I can't help with that. I don't have access to a mac. If there's something I can do on the app to fix let me know.

sonik-br avatar Jan 06 '23 22:01 sonik-br

No problem. I have written a quick Python script to get my SD card setup.

Just to be clear, your app displayed a message claiming that the SD was read-only, but I could read/write to it fine using the mac file browser.

The app also deleted the 01 folder after displaying that message, so it seems like it did have read/write access to the card.

louis-moa avatar Jan 07 '23 14:01 louis-moa

@louis-moa It writes to the "temp" before moving it's contents to the card's "01" folder. The detected/configured temp folder is correct? Can you write a file to it?

You can also try to set the temp folder as the root of he SD card. Temp folder is used for the creation of the 01 folder, and it's content's are super small. So no harm to the card. On windows version the temp folder is also used for unzip/gdishrink, so it's not a good idea to use the sd card for it.

sonik-br avatar Jan 07 '23 14:01 sonik-br

I got an SD card and put 5 games on it, plus the gdmenu file, so 6 directories in total. I loaded the app and it detected the contents correctly. I set the temp directory as the SD card root. I tried to use the app to add a new game (4x4 Evolution) When I clicked 'Save Changes' the app displayed a message saying "Read-only file system". At the same time, the app created a temp directory on the SD card, deleted the 01 directory off the SD card and then deleted the temp directory that was created.

I had to get the timing right for the screenshot below, because this all happens in around 1 second.

I also tried using a temp directory on my desktop with the same results.

This happens regardless of the task I try to perform, add game, sort list, delete game etc. It always results in the 01 dir being deleted and the 'Read-only file system' message being displayed.

Screenshot 2023-01-08 at 12 31 34

louis-moa avatar Jan 08 '23 12:01 louis-moa

@louis-moa Can you try with a clean/formated card? With a clean card, open the app and select the card. Add a single game. Save.

sonik-br avatar Jan 11 '23 21:01 sonik-br

i have same problem i cant see my SD card on the list. I downloaded the lastest version of the APP but i cant see my sd card any help ?

dragonstory avatar Feb 05 '23 13:02 dragonstory

@dragonstory GDMENUCardManager.v1.3.5.debug2-osx-x64-AppBundle.tar.gz is not working for you? I need someone to confirm that the latest changes are working on mac.

sonik-br avatar Feb 05 '23 14:02 sonik-br

@dragonstory GDMENUCardManager.v1.3.5.debug2-osx-x64-AppBundle.tar.gz is not working for you? I need someone to confirm that the latest changes are working on mac.

this one worked after i tested many things but this time it gives me an error " menu not selected on settings " do you know what is this ?

dragonstory avatar Feb 11 '23 18:02 dragonstory

@dragonstory this:

image

sonik-br avatar Feb 12 '23 03:02 sonik-br

@dragonstory this:

image

Sorry i forgot to mentioned, i have MAC OSX :( and there is no button like that , or am i missing something ?

dragonstory avatar Feb 12 '23 09:02 dragonstory

@dragonstory Hi, Sorry I forgot that this menu was not enabled on the osx version. I've enabled it. It's on releases page. File named as debug3. Please test. Sometimes you have to click the selection more than once for it to activate. I still need to look into this issue.

Let me know how this goes. If it detects your SD card and if openMenu works For openMenu you will have to provide it's DAT files inside tools/openMenu/menu_data folder.

sonik-br avatar Feb 12 '23 13:02 sonik-br

I had all the above problems, and went through all the fixes listed but it still said 'Read Only File System'. I was running the program from my downloads folder, so I thought i would move the app to the Applications folder. It works perfectly now. Hope this works for other people.

mafty avatar Mar 11 '23 17:03 mafty