Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

- **`--socket=x11`**: ROTA is built with Godot Engine 3.6. Wayland support didn't come until [Godot 4.3](https://godotengine.org/article/dev-snapshot-godot-4-3-dev-3/#wayland-support-for-linux), and porting from 3.6 to 4.3 is pretty monumental; thus X11/XWayland needs to be used unless/until someone volunteers to port to Godot Engine 4.3+.

- **`--device=all`**: Necessary for controller support. See: https://github.com/flathub/net.hhoney.rota/pull/2
- **`--device=all`**: Currently necessary for controller support. See: https://github.com/flathub/net.hhoney.rota/pull/2

- **`--talk-name=org.freedesktop.ScreenSaver`**: Allows the game to inhibit idle. See: https://github.com/godotengine/godot/issues/108634

[flathub]: https://flathub.org/apps/details/net.hhoney.rota
9 changes: 8 additions & 1 deletion net.hhoney.rota.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ sdk: org.freedesktop.Sdk
command: godot-runner
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio

# Wayland support not added until Godot Engine 4.3
- --socket=x11

# Currently necessary for controller support
- --device=all

# Necessary to inhibit idle (screensaver/suspend) when using a controller
- --talk-name=org.freedesktop.ScreenSaver
modules:
- name: rota
buildsystem: simple
Expand Down