Skip to content

Conversation

tx00100xt
Copy link
Contributor

@tx00100xt tx00100xt commented May 19, 2025

Hello!
This is a port of the game DOOM-3-BFG to OpenBSD.
This is the open source code of .RBDOOM-3-BFG. OpenGL version.

send to ports@ 2025-19-05

Tested on amd64 architecture on OpenBSD 7. 7 installed on real hardware:
ASUS TUF GAMING B450M-PRO II
AMD Ryzen 5 5600G
AMD Radeon RX 580 PowerColor.
(amdgpu)

Works as good as on Linux.
Video:
https://www.youtube.com/watch?v=7E5OFp_dHfA
https://www.youtube.com/watch?v=a0zuUrsbXCY

I want to add this to the official ports tree, so please
leave any feedback or suggestions on how to improve it. Thanks!

Source on Github:
https://github.com/RobertBeckebans/RBDOOM-3-BFG

@tx00100xt
Copy link
Contributor Author

I updated the pull request a bit. Removed glslang, since the system one is used.
Updated the patches. Now you can also build the OpenGL version by specifying -DUSE_VULKAN=OFF.
The functionality of the OpenGL version has been tested.


CATEGORIES= games

HOMEPAGE= https://www.moddb.com/mods/rbdoom-3-bfg
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if that is good to use as a homepage... or rather delete the line and leave the default, which will be the GitHub repo...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

# c++17
COMPILER = base-clang ports-gcc

# Set -DUSE_VULKAN=OFF to build OpenGL version of the game.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few systems that don't build or run Vulkan. I wonder if we should have 2 separate flavors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it too. It is better to have two ports. One with Vulkan support. The other OpenGL.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you write this man page? I appreciate the effort, but feel this is something for upstream, not for the the port

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was written by Tobias Frost [email protected] for a deb package under GPL-2 or later. I'll just remove this file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably also better to have upstream include this file rather than supplying it this way with the port. If this file isn't included upstream, the license may be unclear and could be an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

-project(RBDoom3BFG)
+project(rbdoom3bfg)

+include_directories(/usr/X11R6/include)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's cleaner and easier to maintain to add include directories in the port Makefile, which usually works with:

CXXFLAGS += ${X11BASE}/include

and depending on which compiler languages are used also:

CFLAGS += ${X11BASE}/include

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready.

@tx00100xt
Copy link
Contributor Author

tx00100xt commented May 30, 2025

I updated the pull request taking into account all the comments. Now I will send to ports@ and make a pull request for the Vulkan version.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants