Bug 32772 - PrBooM is not able to be invoked.
Summary: PrBooM is not able to be invoked.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-01-25 01:58 CET by Ben McMonagle
Modified: 2024-02-04 03:51 CET (History)
5 users (show)

See Also:
Source RPM: prboom-2.5.0-25.mga9.src.rpm
CVE:
Status comment:


Attachments
lspcidrake output (4.08 KB, text/plain)
2024-01-25 02:47 CET, Ben McMonagle
Details

Description Ben McMonagle 2024-01-25 01:58:33 CET
Description of problem: attempting to invoke prboom, the application exits silently.
attempting: $ prboom
returns:
$ prboom

prboom v2.5.0 (http://prboom.sourceforge.net/)
I_SetAffinityMask: manual affinity mask is 1
M_LoadDefaults: Load system defaults.
 default file: /home/work/.prboom/prboom.cfg
IdentifyVersion: IWAD not found



Version-Release number of selected component (if applicable):
prboom-2.5.0-25.mga9


How reproducible: always


Steps to Reproduce:
1. create a new install, LXDE only, with sufficient root partition space to install task-games (+20GB) and update to latest.
2.install task-games.
3.attempt to invoke PrBooM from application launcher or commandline.
Comment 1 Ben McMonagle 2024-01-25 02:01:40 CET
PrBoom Multiplayer is also not able to be invoked.
Comment 2 Ben McMonagle 2024-01-25 02:47:09 CET
Created attachment 14298 [details]
lspcidrake output
sturmvogel 2024-01-25 05:31:01 CET

Source RPM: task-games-9-1.mga9 => prboom-2.5.0-25.mga9.src.rpm

Comment 3 Jani Välimaa 2024-01-27 20:37:16 CET
PrBoom doesn't work without IWAD file.

https://prboom.sourceforge.net/linux.html#IWAD

"The IWAD is the main data file containing the graphics and levels for Doom. You need one to use PrBoom. If you have a copy of one of the original Doom games, copy your Doom, Doom 2, Ultimate Doom or Final Doom IWAD (doom.wad, doom2.wad, tnt.wad or plutonia.wad) to /usr/local/share/games/doom/. Or, if you don't have any of those, use the shareware IWAD"
Comment 4 Jani Välimaa 2024-01-28 09:02:27 CET
And from package %description:

"PrBoom is a game engine: it provides a program to play DOOM levels, but
it does not include any levels itself. More importantly, you need all the
sounds, sprites, and other graphics that make up the DOOM environment.
So to play PrBoom, you need one of the main DOOM date files from id
Software: either doom.wad, doom2.wad, tnt.wad or plutonia.wad from one
of the commercial DOOM games, or install FreeDOOM."
Comment 5 Ben McMonagle 2024-01-28 10:17:59 CET
thanks for that info.

it (PrBooM) is packaged as part of task-games.
Freedoom is not included as part of task-games.
Should Freedoom be included into task-games?
Comment 6 Otto Leipälä 2024-01-31 21:50:22 CET
(In reply to Ben McMonagle from comment #5)
> thanks for that info.
> 
> it (PrBooM) is packaged as part of task-games.
> Freedoom is not included as part of task-games.
> Should Freedoom be included into task-games?

This one commit is from 2008 so obsolete?

Proom is these days prboom++

Don't pack Freedoom as can download newest wad from githb...

https://github.com/freedoom/freedoom/releases/tag/v0.13.0
Comment 7 Lewis Smith 2024-02-01 08:02:50 CET
Indeed, this pkg dates from 2008!

PrBoom+
PrBoom+ is a Doom source port developed from the original PrBoom project.
Its home page https://github.com/coelckers/prboom-plus says nothing, but is visible:
Update CI to macos-11 2 years ago
bump version to 2.6.66 8 months ago
and its release page https://github.com/coelckers/prboom-plus/releases
[This repository has been archived by the owner on Jun 23, 2023. It is now read-only] shows:
Jun 20, 2023
PrBoom-Plus 2.6.66 Latest
What's Changed
...

So it looks to me that we should drop the current pkg, and possibly replace it by PrBoom+
Note comment 6. That freedoom link is for brand new Freedoom 0.13.0.
Our current one is 4y old, so warrants the update.

@Ben
Do you want to install freedoom anyway, and see what happens? It could be big...
Need to see whether old prboom works as-is before going further.

CC: (none) => lewyssmith

Comment 8 Rémi Verschelde 2024-02-01 13:48:15 CET
I could reproduce the issue, the prboom code was not adapted to look up freedom IWADs in the proper path where we install them.

I fixed it so it now supports both `freedoom` and `freedm`, either can be installed together with `prboom` (none is forced, but `doom-iwad` is recommended, which matches either `freedoom` and `freedm`). The engine can be used to play the real original Doom IWAD, or any custom downloaded ones, so technically neither `freedoom` nor `freedm` are needed, so I kept them as Recommends.

I agree we should look into packaging prboom-plus and obsolete prboom. The Fedora package for prboom-plus seems clean enough, I might look into it.

But for Mageia 9 we need a fix anyway, so here goes.

Advisory:
=========

Updated prboom package fixes locating the freedoom and freedm IWADs

  PrBooM is an engine for DOOM, and other games designed to use the same engine,
  through IWAD files.

  Mageia's package now properly supports loading the IWADs of the 'freedoom'
  and 'freedm' packages (either of which is recommended to install together
  with 'prboom') so that running 'prboom' properly starts a game out of the
  box.

SRPM in core/updates_testing:
=============================

prboom-2.5.0-26.mga9

RPMs in core/updates_testing:
=============================

prboom-2.5.0-26.mga9
prboom-gl-2.5.0-26.mga9
prboom-server-2.5.0-26.mga9

---

For testing, running `prboom` should run either `freedoom1.wad` ("FreeDOOM Phase 1" on the menu) or `freedm.wad` ("FreeDM" on the menu).

This can be configured with the `-iwad` option if you installed both, including launching `freedoom2.wad` which is "FreeDOOM Phase 2", also part of the `freedoom` package.

CC: (none) => rverschelde
Assignee: bugsquad => qa-bugs

Marja Van Waes 2024-02-01 15:37:26 CET

CC: (none) => marja11
Keywords: (none) => advisory

Comment 9 katnatek 2024-02-02 02:03:41 CET
Tested in real hardware mageia 9 x86_64 lxqt

 LC_ALL=C urpmi prboom
In order to satisfy the 'timidity-instruments[== 2]' dependency, one of the following packages is needed:
 1- timidity-patch-freepats-20060219-23.mga9.noarch: Patch set for MIDI audio synthesis (to install)
 2- timidity-patch-fluid-3.1-16.mga9.noarch: Pro-quality General Midi sound font in GUS patch format (to install)
 3- timidity-patch-gravis-1.0-38.mga9.noarch: Instruments for the timidity midi->wave converter/player (to install)
What is your choice? (1-3) 1
In order to satisfy the 'doom-iwad' dependency, one of the following packages is needed:
 1- freedm-0.12.1-3.mga9.noarch: Deathmatch Doom Game with no monsters (to install)
 2- freedoom-0.12.1-3.mga9.noarch: Complete and free DOOM IWAD (to install)
What is your choice? (1-2) 2
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "QA Testing (64-bit)")
  prboom                         2.5.0        26.mga9       x86_64  
(medium "Core Release")
  freedoom                       0.12.1       3.mga9        noarch  (recommended)
  lib64SDL_mixer1.2_0            1.2.12       19.mga9       x86_64  
  lib64SDL_net1.2_0              1.2.8        11.mga9       x86_64  
  lib64fluidsynth3               2.3.2        1.mga9        x86_64  
  lib64instpatch1.0_2            1.1.6        2.mga9        x86_64  
  lib64mikmod3                   3.3.11.1     5.mga9        x86_64  
  lib64smpeg0.4_0                0.4.5        12.mga9       x86_64  
  timidity++                     2.15.0       3.mga9        x86_64  
  timidity-patch-freepats        20060219     23.mga9       noarch  
91MB of additional disk space will be used.
45MB of packages will be retrieved.
Proceed with the installation of the 10 packages? (Y/n) y


    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64instpatch1.0_2-1.1.6-2.mga9.x86_64.rpm
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64smpeg0.4_0-0.4.5-12.mga9.x86_64.rpm                   
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/freedoom-0.12.1-3.mga9.noarch.rpm                          
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64fluidsynth3-2.3.2-1.mga9.x86_64.rpm                   
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/timidity++-2.15.0-3.mga9.x86_64.rpm                        
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/timidity-patch-freepats-20060219-23.mga9.noarch.rpm        
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64SDL_net1.2_0-1.2.8-11.mga9.x86_64.rpm                 
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64mikmod3-3.3.11.1-5.mga9.x86_64.rpm                    
    https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/lib64SDL_mixer1.2_0-1.2.12-19.mga9.x86_64.rpm              
installing /var/cache/urpmi/rpms/freedoom-0.12.1-3.mga9.noarch.rpm                                                                   
/var/cache/urpmi/rpms/lib64smpeg0.4_0-0.4.5-12.mga9.x86_64.rpm
/var/cache/urpmi/rpms/lib64instpatch1.0_2-1.1.6-2.mga9.x86_64.rpm
/var/cache/urpmi/rpms/lib64SDL_mixer1.2_0-1.2.12-19.mga9.x86_64.rpm
/var/cache/urpmi/rpms/lib64mikmod3-3.3.11.1-5.mga9.x86_64.rpm
/var/cache/urpmi/rpms/lib64SDL_net1.2_0-1.2.8-11.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/prboom-2.5.0-26.mga9.x86_64.rpm
/var/cache/urpmi/rpms/timidity-patch-freepats-20060219-23.mga9.noarch.rpm
/var/cache/urpmi/rpms/lib64fluidsynth3-2.3.2-1.mga9.x86_64.rpm
/var/cache/urpmi/rpms/timidity++-2.15.0-3.mga9.x86_64.rpm
Preparing...                     ###################################################################################################
     1/10: timidity-patch-freepats
                                 ###################################################################################################
     2/10: timidity++            ###################################################################################################
     3/10: lib64SDL_net1.2_0     ###################################################################################################
     4/10: lib64mikmod3          ###################################################################################################
     5/10: lib64instpatch1.0_2   ###################################################################################################
     6/10: lib64fluidsynth3      ###################################################################################################
     7/10: lib64smpeg0.4_0       ###################################################################################################
     8/10: lib64SDL_mixer1.2_0   ###################################################################################################
     9/10: prboom                ###################################################################################################
    10/10: freedoom              ###################################################################################################

Launch from the menu, the game load

Whiteboard: (none) => MGA9-64-OK

Comment 10 Thomas Andrews 2024-02-02 03:44:54 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 11 Mageia Robot 2024-02-04 03:51:02 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0039.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.