Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: tle on November 05, 2020, 09:29:28 pm

Title: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on November 05, 2020, 09:29:28 pm
URL: https://github.com/RobertBeckebans/RBDOOM-3-BFG

The game is still a bit buggy but it does compile and runs on ppc64le!

Gameplay video: https://youtu.be/eHmp3FpSszs?list=PLDegflDdH9RKn08gkPWb_v71hhMFFeTD6
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on March 20, 2021, 05:55:50 pm
UPDATE: Huge progress with RBDOOM-3-BFG 1.3.0, the game no longer crash. There are still some non-blocker issues that I have found such as font glyph misalignment, however it does not stop you from playing the game
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on July 19, 2024, 09:57:24 pm
The texture misalignment has been fixed lately upstream! For the first time the game runs CORRECTLY!
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on August 18, 2025, 08:14:05 pm
Once this PR https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/1047 is merged, we will be having a MUCH OPTIMISED build of the game :D. I am so happy
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: ClassicHasClass on August 19, 2025, 08:46:00 pm
Excellent!
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: pkubaj on January 19, 2026, 07:12:40 am
It looks like the newest version requires Microsoft's DXC which doesn't seem to be available in Portage and is itself an LLVM fork, so I expect getting it to build might be some work in itself. The last version that doesn't require it is 1.4.0.
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on January 24, 2026, 05:50:59 pm
It looks like the newest version requires Microsoft's DXC which doesn't seem to be available in Portage and is itself an LLVM fork, so I expect getting it to build might be some work in itself. The last version that doesn't require it is 1.4.0.

You have to build DXC manually from source. Building it is quite straightforward, no patches required at all
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: pkubaj on January 28, 2026, 07:20:37 am
I built dxc and it seems to be recognized by RBDOOM, but I'm getting a build error:
[ FAIL ] SPIRV builtin/lighting/interactionSM.vs.hlsl {main} {USE_GPU_SKINNING=1 LIGHT_POINT=1 LIGHT_PARALLEL=0 USE_PBR=1 USE_NORMAL_FMT_RGB8=1 USE_SHADOW_ATLAS=1}
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: power9mm on January 28, 2026, 09:05:23 am
Someone should try to look at the dhewm 3 sourceport again, it's in most repos. I think it was in fedora. BFG edition is really not that good, the only benefit is the engine tic being updated to handle 120fps everything else is quite bad vs the original and it also lacks mod support and its missing EAX from the original doom 3. I forget why but dhewm 3 would crash in random places. BFG edition doesnt even have dedicated servers afaik
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: pkubaj on January 29, 2026, 02:27:04 am
dhewm3 starts for me to the main menu, but starting actual game crashes after loading the level.
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: MPC7500 on January 29, 2026, 08:50:12 am
On Alpine Linux it's available on ppc64le. On ArchPOWER it's even available on ppc/ppc64.
https://github.com/kth5/archpower/blob/master/games/dhewm3/PKGBUILD

When I have time, I'll try it on Chimera Linux.
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: power9mm on January 29, 2026, 01:09:41 pm
dhewm3 starts for me to the main menu, but starting actual game crashes after loading the level.

yes this was my experience, I was able to load random maps and some i could play through them fully, try something like map game/mars_city2 for example. Another thing I had messed with was image_cachemegs as that sometimes would prevent crashes when set to a few GB or something. I posted my initial crash reports here https://github.com/dhewm/dhewm3/issues/508
When I have a PPC machine again I'm going to explore getting Half Life 2 to compile
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on February 04, 2026, 06:33:34 am
I built dxc and it seems to be recognized by RBDOOM, but I'm getting a build error:
[ FAIL ] SPIRV builtin/lighting/interactionSM.vs.hlsl {main} {USE_GPU_SKINNING=1 LIGHT_POINT=1 LIGHT_PARALLEL=0 USE_PBR=1 USE_NORMAL_FMT_RGB8=1 USE_SHADOW_ATLAS=1}

I did not run into such issue,

```

# build dxc
git clone https://github.com/microsoft/DirectXShaderCompiler.git
cd DirectXShaderCompiler
git submodule update --init --recursive
mkdir build && cd build
cmake .. -C ../cmake/caches/PredefinedParams.cmake
make dxc -j
sudo make install-dxc
# build the shared library
make dxcompiler -j32
# install it
sudo make install-dxcompiler
# then update the library cache:
sudo ldconfig


# build game
git clone https://github.com/RobertBeckebans/RBDOOM-3-BFG.git
cd ./RBDOOM-3-BFG/
git submodule update --init --recursive
mkdir build && cd build
export DXC_CUSTOM_PATH=/usr/local/bin/dxc
../neo/cmake-linux-debug.sh
cd ../build
make -j32
```
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: pkubaj on February 08, 2026, 05:36:45 am
Thanks, that indeed fixes the build issue for me. But I'm still getting the same runtime issue as before - a segfault after loading the first level.
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on February 08, 2026, 05:54:50 pm
Thanks, that indeed fixes the build issue for me. But I'm still getting the same runtime issue as before - a segfault after loading the first level.

Please run the game with gdb and paste the stacktrace to gist.github.com or pastebin and share the link here
Title: Re: [GAMES] Doom 3 BFG bad ass game XD
Post by: tle on February 13, 2026, 06:01:22 pm
Can anyone help review my PRs?

https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/1073
https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/1077

Many thanks