News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

PrBoom+

Started by Jochen Schäfer, June 05, 2021, 03:28:07 PM

Previous topic - Next topic

Jochen Schäfer

So, I narrowed it down to SDL not implementing relative mouse movement. This means SDL goes into an emulation of relative mouse movement. But then, the WM_MOUSEMOVE window message is always reporting the same coordinates and so, no movement is reported.
I'm not understanding, why that does happen. If somebody has some suggestions, they would be welcome.

Martin Iturbide

#16
Hi

Just one little thing with "prboom-plus-2.6um-alpha1.zip". Today I reinstall it on a machine, I did "yum install  flac  fluidsynth SDL2_image" to install the required DLL's.

I wanted to check again the MIDI stuff, I installed TIMIDITY from Alex Taylor, but it was still not working.

So I checked over the web and got "http://www.libsdl.org/projects/SDL_mixer/timidity/timidity.tar.gz", unzipped all the files in /etc/timidity and MIDI music started to work. I'm not sure if Alex Taylor Timidity was needed there, I guess FluidSynth is doing the MIDI work.

Regards


UPDATE: Link was updated to: http://www.libsdl.org/projects/mixer/timidity/timidity.tar.gz
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

Quote from: Jochen Schäfer on July 01, 2021, 10:16:30 PM
So, I narrowed it down to SDL not implementing relative mouse movement. This means SDL goes into an emulation of relative mouse movement. But then, the WM_MOUSEMOVE window message is always reporting the same coordinates and so, no movement is reported.
I'm not understanding, why that does happen. If somebody has some suggestions, they would be welcome.

That is the only thing missing to make it the perfect Doom running on ArcaOS, but it awesome anyways to play it with the keyboard.

Video resolution is here working at full screen, 1366x768 and 36bit video mode. The best Doom for OS/2.

Thanks for this port.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Jochen Schäfer

Quote from: Martin Iturbide on February 05, 2022, 06:09:32 PM
Hi

Just one little thing with "prboom-plus-2.6um-alpha1.zip". Today I reinstall it on a machine, I did "yum install  flac  fluidsynth SDL2_image" to install the required DLL's.

I wanted to check again the MIDI stuff, I installed TIMIDITY from Alex Taylor, but it was still not working.

So I checked over the web and got "http://www.libsdl.org/projects/SDL_mixer/timidity/timidity.tar.gz", unzipped all the files in /etc/timidity and MIDI music started to work. I'm not sure if Alex Taylor Timidity was needed there, I guess FluidSynth is doing the MIDI work.

Regards
I couldn't get it to work either and didn't try further.

Jochen Schäfer

Quote from: Martin Iturbide on February 05, 2022, 06:27:12 PM
Quote from: Jochen Schäfer on July 01, 2021, 10:16:30 PM
So, I narrowed it down to SDL not implementing relative mouse movement. This means SDL goes into an emulation of relative mouse movement. But then, the WM_MOUSEMOVE window message is always reporting the same coordinates and so, no movement is reported.
I'm not understanding, why that does happen. If somebody has some suggestions, they would be welcome.

That is the only thing missing to make it the perfect Doom running on ArcaOS, but it awesome anyways to play it with the keyboard.

Video resolution is here working at full screen, 1366x768 and 36bit video mode. The best Doom for OS/2.

Thanks for this port.
It's a problem with SDL2-os2. I hunted it down, but I have no solution at the moment.

Jochen Schäfer


Alfredo Fernández Díaz

Hi,

Quote from: Jochen Schäfer on June 07, 2021, 09:35:37 AMIIRC, in the original DOS DOOM there was no mouse support.
The original DOOM had excellent mouse support. It didn't work under Windows (95?) so many people thought there was none, but it always worked, and still works fine to this day under OS/2.

Anyway, I hope I will be able to have a go at this PrBoom+ thing soon <g>

Jochen Schäfer

So, I finally sat down and fixed the issue with wrc playing well with cmake (include path with /@unixroot and -I parameters instead of -i=).
I had to make an custom command to link the resources in to the exe.

But without further ado: https://github.com/josch1710/prboom-plus-os2/releases/tag/v2.6.66a-os2

David McKenna

#23
Hi Jochen,

  No matter what I do, I can't seem to get this running at all. I installed with the RPM and it worked well, it also installed a folder with program object and 'Readme' file. The 'Readme' file will not open with a double click (must right click and choose text) because of the '*.command-line' suffix. The program object very briefly hatches, then nothing - no POPUPLOG, no exceptq file no error message. Command line start does not show any message - just returns to prompt. Do I need to create a 'Boom.cfg' file first?

Regards,

Martin Iturbide

#24
Hi Jochen.

I installed it with yum, but I don't know where should I put the .wad files.
I located it on \usr\share\prboom-plus but the game list looks empty. (picture attached).

By the way: SDL2_mixer SDL2_net pcre are also needed so you can add those on the release info.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

Hello Again.

I don't know what I did, but it works now. I'm using doom shareware wad, and it loads.
It works fine for the moment, but the mouse movement moves too much the camera. I need to keep testing it, it is always nice to play some doom.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Jochen Schäfer

#26
Quote from: Martin Iturbide on April 16, 2024, 03:08:17 AM
Hi Jochen.

I installed it with yum, but I don't know where should I put the .wad files.
I located it on \usr\share\prboom-plus but the game list looks empty. (picture attached).

By the way: SDL2_mixer SDL2_net pcre are also needed so you can add those on the release info.

Regards
The search paths are:


  • /@unixroot/usr/local/share/games/doom
  • /@unixroot/usr/share/games/doom
  • /@unixroot/usr/local/share/doom
  • /@unixroot/usr/share/doom
The launcher has cache, so perhaps this had to be filled on the first launch?

I will add the dependencies.

Jochen Schäfer

I have updated the dependencies and rebuilt the package.

David McKenna

 Hi Jochen,

Got it working - didn't realize I needed to install the Doom.wad file separately (it was included in your first alpha version). It works great, sound and mouse work well, everything worked that I tried... nice work, thanks!

Regards,

Jochen Schäfer

On GOG, you can get the full games for little money.
Just extract the WADs, put them in one of the wad directories, and you're good to go.