flathub icon indicating copy to clipboard operation
flathub copied to clipboard

Add com.doomretro.DOOM-Retro

Open Calinou opened this issue 1 year ago • 17 comments

DOOM Retro is the classic, refined DOOM source port.

I've been able to get most features working (loading IWADs and PWADs from configuration folder, controller support[^1]).

However, I haven't been able to get music working despite trying to configure FluidSynth (it seems the Flatpak uses system SDL_mixer as opposed to the bundled SDL_mixer, judging by ldd output). I've also tried configuring Timidity by installing timidity.tar.gz in /app/lib/ to no avail.

[^1]: Hotplugging isn't supported due to lack of udev support in Flatpak, so the controller must be connected before the game starts.

cc @bradharding

Please confirm your submission meets all the criteria

  • [x] I have read the App Requirements and App Maintenance pages.
  • [x] My pull request follows the instructions at App Submission.
  • [x] I have built and tested the submission locally.
  • [x] I am using only the minimal set of permissions. (If not, please explain each non-standard permission.)
  • [x] All assets referenced in the manifest are redistributable by any party. If not, the unredistributable parts are using an extra-data source type.
  • [x] I am an upstream contributor to the project. If not, I contacted upstream developers about submitting their software to Flathub. Link: https://github.com/bradharding/doomretro/issues/807
  • [ ] I own the domain used in the application ID or the domain has a policy for delegating subdomains (e.g. GitHub, SourceForge).
  • [ ] Any additional patches or files have been submitted to the upstream projects concerned. (If not, explain why.)
    • I haven't looked into modifying the CMake setup upstream to install Linux files yet.

Calinou avatar Dec 10 '23 19:12 Calinou

Please don't remove and answer the questions from the template. It's not optional.

hfiguiere avatar Dec 10 '23 19:12 hfiguiere

bot, build com.doomretro.DOOM-Retro

hfiguiere avatar Dec 10 '23 21:12 hfiguiere

Queued test build for com.doomretro.DOOM-Retro.

flathubbot avatar Dec 10 '23 21:12 flathubbot

Started test build 87039

flathubbot avatar Dec 10 '23 21:12 flathubbot

Build 87039 failed

flathubbot avatar Dec 10 '23 21:12 flathubbot

bot, build com.doomretro.DOOM-Retro

hfiguiere avatar Dec 10 '23 21:12 hfiguiere

Queued test build for com.doomretro.DOOM-Retro.

flathubbot avatar Dec 10 '23 21:12 flathubbot

Started test build 87040

flathubbot avatar Dec 10 '23 21:12 flathubbot

Build 87040 failed

flathubbot avatar Dec 10 '23 21:12 flathubbot

bot, build com.doomretro.DOOM-Retro

hfiguiere avatar Dec 10 '23 22:12 hfiguiere

Queued test build for com.doomretro.DOOM-Retro.

flathubbot avatar Dec 10 '23 22:12 flathubbot

Started test build 87052

flathubbot avatar Dec 10 '23 22:12 flathubbot

Build 87052 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/69711/com.doomretro.DOOM-Retro.flatpakref

flathubbot avatar Dec 10 '23 22:12 flathubbot

Build 87052 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/69711/com.doomretro.DOOM-Retro.flatpakref

How does it work? I see a dialogue box saying "DOOM Retro couldn't find any IWADs." , then it closes.

bbhtt avatar Dec 11 '23 01:12 bbhtt

How does it work? I see a dialogue box saying "DOOM Retro couldn't find any IWADs." , then it closes.

You need to drop an IWAD (game data) into $HOME/.var/app/com.doomretro.DOOM-Retro/.config/doomretro/ (create the doomretro folder if needed). This can be doom.wad, doom1.wad (shareware), doom2.wad, freedoom1.wad or freedoom2.wad (Freedoom).

DOOM Retro itself should ideally be displaying this path in the error dialog, but it currently doesn't.

Note that DOOM Retro also lacks a graphical IWAD launcher on non-Windows platforms, so if you have multiple IWADs in that folder, it will always run Doom 2 unless you specify another IWAD on the command line with -iwad doom.wad.

Calinou avatar Dec 11 '23 11:12 Calinou

How does it work? I see a dialogue box saying "DOOM Retro couldn't find any IWADs." , then it closes.

You need to drop an IWAD (game data) into $HOME/.var/app/com.doomretro.DOOM-Retro/.config/doomretro/ (create the doomretro folder if needed). This can be doom.wad, doom1.wad (shareware), doom2.wad, freedoom1.wad or freedoom2.wad (Freedoom).

DOOM Retro itself should ideally be displaying this path in the error dialog, but it currently doesn't.

Note that DOOM Retro also lacks a graphical IWAD launcher on non-Windows platforms, so if you have multiple IWADs in that folder, it will always run Doom 2 unless you specify another IWAD on the command line with -iwad doom.wad.

That's often the problem with these kind of proprietary data file requiring programs, if you can be as explicit as possible to help/instruct users that goes a long way. Calinou, I recognise this name for some reason, hi :wave: .

BeverlyCode avatar Dec 13 '23 12:12 BeverlyCode

DOOM Retro itself should ideally be displaying this path in the error dialog, but it currently doesn't.

Other Doom wrappers land a zenity dialog to tell user files are missing and where to place them.

barthalion avatar Dec 19 '23 08:12 barthalion