Rosalie241 / RMG

Rosalie's Mupen GUI
GNU General Public License v3.0
611 stars 52 forks source link

Latest flatpak fails to run #48

Closed pizzadude closed 2 years ago

pizzadude commented 2 years ago

When running the latest flatpak, I get this error: image

pizzadude commented 2 years ago

the portable version works

JakobDev commented 2 years ago

This looks like a missing permission. Here is the code for the directory: https://github.com/Rosalie241/RMG/blob/53044626a0cf60db1938adab83258a4f619d5751/Source/RMG-Core/Directories.cpp#L200-L217

This looks like permission for xdg-pictures, but grating this permission does not fix the Issue.

Rosalie241 commented 2 years ago

I apologize for the issue, removing the ScreenshotPath line from the mupen64plus.cfg configuration file should resolve this issue.

I changed the default screenshot directory, which was already set when you've run a previous version of RMG, so it didnt change accordingly.

pizzadude commented 2 years ago

Removing the ScreenshotPath line didn't fix it, but changing it to something like:

ScreenshotPath = "/home/username/.var/app/com.github.Rosalie241.RMG/data/RMG/Screenshots"

fixed it. Thanks.

DSzero8 commented 2 years ago

Hello,

I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck.

Thank you for your time.

pizzadude commented 2 years ago

Hello,

I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck.

Thank you for your time.

/home/INSERT_YOUR_USERNAME_HERE/.var/app/com.github.Rosalie241.RMG/config/RMG/mupen64plus.cfg

DSzero8 commented 2 years ago

Hello, I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck. Thank you for your time.

/home/INSERT_YOUR_USERNAME_HERE/.var/app/com.github.Rosalie241.RMG/config/RMG/mupen64plus.cfg

Got it! Thank you. I had to show hidden files, and there was no username folder between /home and /.var Changed screenshots path and I can launch the app now. :)

pizzadude commented 2 years ago

I had to show hidden files, and there was no username folder between /home and /.var

Odd, i'm not sure how the steam deck handles things (i'm on fedora kde)

Glad you got it working though.

bonzai1888 commented 2 years ago

Hello, I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck. Thank you for your time.

/home/INSERT_YOUR_USERNAME_HERE/.var/app/com.github.Rosalie241.RMG/config/RMG/mupen64plus.cfg

Got it! Thank you. I had to show hidden files, and there was no username folder between /home and /.var Changed screenshots path and I can launch the app now. :) I tried to fix this, can you offer some guidance on how to do it?

DSzero8 commented 2 years ago

Hello, I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck. Thank you for your time.

/home/INSERT_YOUR_USERNAME_HERE/.var/app/com.github.Rosalie241.RMG/config/RMG/mupen64plus.cfg

Got it! Thank you. I had to show hidden files, and there was no username folder between /home and /.var Changed screenshots path and I can launch the app now. :)

I tried to fix this, can you offer some guidance on how to do it?

This is how I fixed mine on SteamDeck:

  1. I created a "Screenshots" folder in the "Pictures" directory under "Places" when viewed in Dolphin while in desktop mode.
  2. Then, go to Home and click on the hamburger icon (Three lines in the top right of the Dolphin file browser)
  3. Select the "Show Hidden Files" option
  4. Go into: .var -> app -> com.github.Rosalie241.RMG -> config -> RMG -> open the "mupen64plus.cfg" file
  5. Find the "ScreenshotsPath =" section and add the dirctory path for the screenshots path, in my case it looks like this: ScreenshotsPath = "/home/deck/Pictures/Screenshots/"
  6. Then save and close the .cfg file
  7. Open Rosalie's Mupen GUI and play your games!

Thats how I got mine to work, hope that helps. Obviously if you create your screenshots folder somewhere else, you'll need to use the correct path.

bonzai1888 commented 2 years ago

Brilliant, I hadn't created a screenshot folder for a start, so, that was never going to work. Will give this ago later on, cheers.Username...is that just your steam name I take it?Sent from my Galaxy -------- Original message --------From: DS08 @.> Date: 12/09/2022 01:11 (GMT+00:00) To: Rosalie241/RMG @.> Cc: bonzai1888 @.>, Comment @.> Subject: Re: [Rosalie241/RMG] Latest flatpak fails to run (Issue #48)

Hello, I'm also running into this issue after the most recent update. Would you happen to know what the directory path is for the mentioned config file? I'm having trouble finding it on my steamdeck. Thank you for your time.

/home/INSERT_YOUR_USERNAME_HERE/.var/app/com.github.Rosalie241.RMG/config/RMG/mupen64plus.cfg

Got it! Thank you. I had to show hidden files, and there was no username folder between /home and /.var Changed screenshots path and I can launch the app now. :)

I tried to fix this, can you offer some guidance on how to do it?

This is how I fixed mine on SteamDeck:

I created a "Screenshots" folder in the "Pictures" directory under "Places" when viewed in Dolphin while in desktop mode. Then, go to Home and click on the hamburger icon (Three lines in the top left of the Dolphin file browser) Select the "Show Hidden Files" option Go into: .var -> app -> com.github.Rasalie241.RMG -> config -> RMG -> open the "mupen64plus.cfg" file Find the "ScreenshotsPath =" section and add the dirctory path for the screenshots path, in my case it looks like this: ScreenshotsPath = "/home/deck/Pictures/Screenshots/" Then save and close the .cfg file Open Rosalie's Mupen GUI and play your games!

Thats how I got mine to work, hope that helps. Obviously if you create your screenshots folder somewhere else, you'll need to use the correct path.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Rosalie241 commented 2 years ago

Ive made a bugfix release (v0.1.6), should be in the flathub repos in a few hours which should resolve this issue by changing the screenshots directory when it hasnt changed from the broken previous default one from v0.1.4.

JakobDev commented 2 years ago

@Rosalie241 You can publish hot fixes directly without waiting.

  1. Go to the Buildserver
  2. Login with your GitHub Account
  3. Wait until the Build is finished
  4. Search your Build in "Unpublished builds" list
  5. Click on the number to get to the build information
  6. Click "Publish"
Rosalie241 commented 2 years ago

Done, it should be published to the repo now :heart:

Rosalie241 commented 2 years ago

Considering this issue has been fixed, I'll close this issue 💕