sonik-br / GDMENUCardManager

Manage content on SD Card for Dreamcast's GDMenu
GNU General Public License v3.0
245 stars 19 forks source link

Can't access SD Card from app #32

Closed yuenanojyona closed 2 years ago

yuenanojyona commented 2 years ago

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
sonik-br commented 2 years ago

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

yuenanojyona commented 2 years ago

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!

sonik-br commented 2 years ago

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 commented 2 years ago

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.

yuenanojyona commented 2 years ago

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: @.***>

sonik-br commented 2 years ago

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

kkalanijs commented 2 years ago

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.

sonik-br commented 2 years ago

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

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

kkalanijs commented 2 years ago

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

sonik-br commented 2 years ago

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

sonik-br commented 2 years ago

@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.

kkalanijs commented 2 years ago

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

mtoensing commented 1 year ago

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
sonik-br commented 1 year ago

@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.

mtoensing commented 1 year ago

@sonik-br works =)

mtoensing commented 1 year ago

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 commented 1 year ago

Fixed it with privacy->full disk access.

louis-moa commented 1 year ago

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.

sonik-br commented 1 year ago

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.

louis-moa commented 1 year ago

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.

sonik-br commented 1 year ago

@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.

louis-moa commented 1 year ago

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

sonik-br commented 1 year ago

@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.

dragonstory commented 1 year ago

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 ?

sonik-br commented 1 year ago

@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.

dragonstory commented 1 year ago

@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 ?

sonik-br commented 1 year ago

@dragonstory this:

image

dragonstory commented 1 year ago

@dragonstory this:

image

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

sonik-br commented 1 year ago

@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.

mafty commented 1 year ago

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.