RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New installer Doom3 BFG (rbdoom3-bfg)

    Scheduled Pinned Locked Moved Ideas and Development
    ports
    8 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      I've written an installer for Doom3 BFG Edition.

      https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/doom3_bfg/scriptmodules/ports/rbdoom3_bfg.sh

      Looking for feedback for improvements.

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @A Former User
        last edited by

        @gderber does this run on a raspberry pi? For some reason I thought I read it was x86/x64 only. I could be mistaken though, I have been working on too many projects lately and could be mixing them up.

        ? 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @quicksilver
          last edited by

          @quicksilver Not sure. I haven't seen anything one way or the other. I use an x86 setup for my retropie setup. That's one of the tests I need help with. Identify the appropriate architectures for this.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @quicksilver
            last edited by

            @quicksilver Based on the fact it's in the Rasbian repo it should work on a RPi.

            quicksilverQ 1 Reply Last reply Reply Quote 1
            • quicksilverQ
              quicksilver @A Former User
              last edited by quicksilver

              @gderber

              Log started at: Thu 18 Jun 11:28:57 EDT 2020
              
              RetroPie-Setup version: 4.6.1 (fb02fd76)
              System: Raspbian GNU/Linux 10 (buster) - Linux retropie 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
              
              = = = = = = = = = = = = = = = = = = = = =
              Installing dependencies for 'rbdoom3_bfg' : rbdoom3_bfg - Doom 3: BFG Edition
              = = = = = = = = = = = = = = = = = = = = =
              
              /home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg /home/pi
              
              = = = = = = = = = = = = = = = = = = = = =
              Getting sources for 'rbdoom3_bfg' : rbdoom3_bfg - Doom 3: BFG Edition
              = = = = = = = = = = = = = = = = = = = = =
              
              git clone --recursive --depth 1 --branch master "https://github.com/RobertBeckebans/RBDOOM-3-BFG.git" "/home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg"
              Cloning into '/home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg'...
              Submodule 'neo/extern/glslang' (https://github.com/KhronosGroup/glslang.git) registered for path 'neo/extern/glslang'
              Cloning into '/home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg/neo/extern/glslang'...
              Submodule path 'neo/extern/glslang': checked out '1bc601c674aecc2fee0dee8ff7a118db76b4c439'
              HEAD is now in branch 'master' at commit 'c0e76c492a0a13b308ac57edb222be070d21db2a'
              /home/pi
              /home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg /home/pi
              
              = = = = = = = = = = = = = = = = = = = = =
              Building 'rbdoom3_bfg' : rbdoom3_bfg - Doom 3: BFG Edition
              = = = = = = = = = = = = = = = = = = = = =
              
              -- The C compiler identification is GNU 8.3.0
              -- The CXX compiler identification is GNU 8.3.0
              -- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
              -- Check for working C compiler: /usr/bin/cc
              -- Check for working C compiler: /usr/bin/cc -- works
              -- Detecting C compiler ABI info
              -- Detecting C compiler ABI info - done
              -- Detecting C compile features
              -- Detecting C compile features - done
              -- Check for working CXX compiler: /usr/bin/c++
              -- Check for working CXX compiler: /usr/bin/c++ -- works
              -- Detecting CXX compiler ABI info
              -- Detecting CXX compiler ABI info - done
              -- Detecting CXX compile features
              -- Detecting CXX compile features - done
              -- CMAKE_BUILD_TYPE:RelWithDebInfo
              -- Performing Test COMPILER_SUPPORTS_CXX11
              -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
              CMake Warning (dev) at idlib/CMakeLists.txt:127 (GET_DIRECTORY_PROPERTY):
                Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
                property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
                cmake_policy command to set the policy and suppress this warning.
              This warning is for project developers.  Use -Wno-dev to suppress it.
              
              -- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libGL.so   
              -- Found OpenAL: /usr/lib/arm-linux-gnueabihf/libopenal.so  
              CMake Warning (dev) at CMakeLists.txt:1699 (GET_DIRECTORY_PROPERTY):
                Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
                property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
                cmake_policy command to set the policy and suppress this warning.
              This warning is for project developers.  Use -Wno-dev to suppress it.
              
              -- Configuring done
              -- Generating done
              -- Build files have been written to: /home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg/build
              Scanning dependencies of target precomp_header_idlib
              [  0%] Creating idlib/precompiled.h.gch for idlib
              In file included from precompiled.h:32:
              sys/sys_defines.h:117:5: error: #error unknown CPU
                  #error unknown CPU
                   ^~~~~
              In file included from precompiled.h:37:
              sys/sys_intrinsics.h:33:11: fatal error: emmintrin.h: No such file or directory
                #include <emmintrin.h>
                         ^~~~~~~~~~~~~
              compilation terminated.
              make[2]: *** [idlib/CMakeFiles/precomp_header_idlib.dir/build.make:58: idlib/CMakeFiles/precomp_header_idlib] Error 1
              make[1]: *** [CMakeFiles/Makefile2:205: idlib/CMakeFiles/precomp_header_idlib.dir/all] Error 2
              make: *** [Makefile:84: all] Error 2
              /home/pi
              Could not successfully build rbdoom3_bfg - rbdoom3_bfg - Doom 3: BFG Edition (/home/pi/RetroPie-Setup/tmp/build/rbdoom3_bfg/build/RBDoom3BFG not found).
              
              Log ended at: Thu 18 Jun 11:29:22 EDT 2020
              Total running time: 0 hours, 0 mins, 25 secs
              

              Getting an unknown CPU error when building

              Reading over some of the documentation it looks like OpenGL >2.1 is required. Since the pi 4 is only capable of OpenGL 2.1 I dont think its going to work for the rpi platform.

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @quicksilver
                last edited by

                @quicksilver I'll look at what Rasbian does to build it. Maybe I'll get some ideas there.

                G 1 Reply Last reply Reply Quote 0
                • G
                  greyed @A Former User
                  last edited by

                  @gderber Vulkan support is coming along nicely on the Pi 4 now https://blogs.igalia.com/itoral/2020/07/23/v3dv_vulkan_driver_update/. I could play some PSP games quite a lot faster than opengl.

                  RBDoom3 supports Vulkan now (to some degree), and as Doom 3 is already pushing the HW, I think trying to make it work with vulkan would make more sense.

                  quicksilverQ 1 Reply Last reply Reply Quote 0
                  • quicksilverQ
                    quicksilver @greyed
                    last edited by

                    @greyed yea, as-is doom 3 BFG is not functioning on the pi 4 due to the openGL requirements being too high. Dhewm3 does work though. Once the vulkan drivers mature I'd be curious to see how they help performance for those games that can utilize them.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.