Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot can't find wine (Flatpak) #48293

Closed
bastil0 opened this issue Apr 29, 2021 · 5 comments
Closed

Godot can't find wine (Flatpak) #48293

bastil0 opened this issue Apr 29, 2021 · 5 comments

Comments

@bastil0
Copy link

bastil0 commented Apr 29, 2021

Godot version:
3.3 (Flatpak version)

OS/device including version:
Ubuntu 21.04

Issue description:
Godot can't find wine for the rcedit command (Windows export). I tried to leave the wine option in the editor settings blank, I tried "wine", "/usr/bin/wine", ... When I click on browse I can't find it either, but it works if I run it in the terminal. It works in the normal download version of Godot but not in the Flatpak version so I think this is a permission thing.

Steps to reproduce:

  • Install Godot via Flatpak
  • Install wine
  • Try to find and use it in an export
@akien-mga
Copy link
Member

akien-mga commented Apr 29, 2021

That's a normal limitation of flatpaks, they're sandboxed so they don't give you access to other system binaries. That's not something that we can fix in Godot sadly.

@bastil0
Copy link
Author

bastil0 commented Apr 29, 2021

Ok, I understand. Would be helpful if the whole command would be printed in the output console to run the command by hand in the terminal as a solution.

@Calinou
Copy link
Member

Calinou commented Apr 29, 2021

It should be possible to implement support for rcedit with the Flatpak as long as WINE is installed on the host: flathub/org.godotengine.Godot#38

@Calinou
Copy link
Member

Calinou commented May 11, 2021

Closing in favor of flathub/org.godotengine.Godot#73, as Flatpak-specific issues should be tracked on that repository instead.

@Pobega
Copy link
Contributor

Pobega commented May 30, 2022

You shouldn't have to use host wine anymore, Godot should be able to use org.winehq.Wine.

Unfortunately the way it's currently distributed is as a base app, but Godot can choose to distribute its own Wine as an extension (similar to how I did in the Fightcade Flatpak: com.fightcade.Fightcade.Wine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants