sonik-br / GDMENUCardManager

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

7z: "Access denied" to "01" folder when "Save Changes" #8

Closed cinnamonmatexfce closed 3 years ago

cinnamonmatexfce commented 3 years ago

Implemented 7z and rar support for linux by using the SharpCompress lib. @cinnamonmatexfce and @Mi1ezDR please go to the releases and grab the file named BETA. It needs some testing. Let me know of any problem.

Originally posted by @sonik-br in https://github.com/sonik-br/GDMENUCardManager/issues/2#issuecomment-844502753

Adding 7z files to the list works, but when "Save Changes" it will stop with error "Access to the path /run/media/$USERNAME/foo/01 is denied.", note it's referring to 01 folder!

GDMENUCardManager v1 3 2-linux-x64-BETA  access denied GDMENUCardManager v1 3 2-linux-x64-BETA  cannot load

sonik-br commented 3 years ago

01 folder is the menu folder. It need's to update the menu with the new game list. Saving without adding a 7z file still works? Try to just change the order of one game and save.

sonik-br commented 3 years ago

Hi @cinnamonmatexfce . Can you do this test?

cinnamonmatexfce commented 3 years ago

Adding uncompressed .gdi games works and also works when sorting list. Changes will be saved with no issues at all. Tested with latest BETA

sonik-br commented 3 years ago

It's working fine on my Ubuntu on VM. Just added some 7z and rar games to my card and it saved ok.

image

sonik-br commented 3 years ago

Closing as this seems to be fixed. Feel free to open again if needed.