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

    Doom Legacy - Doom Split-screen Source port

    Scheduled Pinned Locked Moved General Discussion and Gaming
    doomdoomlegacydoom legacysplitscreen
    97 Posts 13 Posters 16.0k 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.
    • I
      ish @mitu
      last edited by

      @mitu im trying to do 2 player but it recognises both key boards as player one how can I fix this

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @ish
        last edited by

        @ish I don't know, I don't have doomlegacy installed.

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

          @mitu Thank you! Thant worked and the game now builds successfully now. Just forgot to add the dispmanx flag, so will have to do it again lol

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

            except it seg faults with dispmanx. D'oh! :(

            executing /home/pi/.doomlegacy/config.cfg
            RequestFullGraphics...
            /opt/retropie/supplementary/runcommand/runcommand.sh: line 1255:  9525 Segmentation fault      SDL1_VIDEODRIVER=dispmanx DOOMWADDIR=/home/pi/RetroPie/roms/ports/doom /opt/retropie/ports/doomlegacy/bin/doomlegacy -iwad "/home/pi/RetroPie/roms/ports/doom/doom.wad"
            
            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @quicksilver
              last edited by

              @quicksilver What happens if you start with an empty config ?

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

                @mitu Didnt help unfortunately

                1 Reply Last reply Reply Quote 0
                • Solid OneS
                  Solid One
                  last edited by

                  Out of curiosity, what happens if you run it from terminal by plugging a usb keyboard and pressing F4?

                  You could try it and post here all the error details that appears on screen. It'll help us figure out why it isn't working on your RPi4.

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

                    @Solid-One It does work, just not with dispmanx scaling turned on.

                    1 Reply Last reply Reply Quote 0
                    • Solid OneS
                      Solid One
                      last edited by

                      So the problem is on dispmanx, right?

                      Well, what about trying an approach similar to this one in SORR? AFAIK, both BennuGD and Doom Legacy were developed in SDL1, so maybe that should work (assuming that, somehow, SORR doesn't uses dispmanx).

                      1 Reply Last reply Reply Quote 0
                      • tpo1990T
                        tpo1990
                        last edited by

                        From what I have tried lately on my PI4, is that it does not launch from emulationstation by its runcommand file doom.sh with dispmanx. If I change the directory to /opt/retropie/ports/doom and launch doomlegacy binary from the terminal it starts up just fine.

                        I'm not sure about how to solve the issue on the Pi4. Maybe someone else here could look into providing a solution. From this point it only works on older PI such as the Pi 3B.

                        Greetings from Denmark. :-)

                        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

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

                          @tpo1990 said in Doom Legacy - Doom Split-screen Source port:

                          If I change the directory to /opt/retropie/ports/doom and launch doomlegacy binary from the terminal it starts up just fine.

                          With dispmanx?

                          tpo1990T 1 Reply Last reply Reply Quote 0
                          • Solid OneS
                            Solid One
                            last edited by

                            Out of curiosity, isn't dispmanx needed only by apps that needs X Server in order to run? RetroArch and other SDL1 / SDL2 apps doesn't require necessarily a X server to run, per example. However, there's still some apps that requires a X Server, such as FoFix (Frets on Fire).

                            Probably I'm wrongly assuming that dispmanx is entirely related to X Server, but if my assumptions are right and dispmanx isn't required, then I guess it's possible to run DL on Pi4. A few years ago, DL ran through X Server, however they recently ported the entire app to SDL1 (unlike ReMooD, that is a DL fork based on a older version), so that should work in theory at least.

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

                              @Solid-One it does work (my issue wasn't that it won't run, it just won't scale properly). sdl1 applications won't scale to fullscreen on the pi 4. This means a tiny window in the corner of the screen.

                              Solid OneS 1 Reply Last reply Reply Quote 0
                              • Solid OneS
                                Solid One @quicksilver
                                last edited by

                                @quicksilver So, what about force DL to run without dispmanx on the doomlegacy.sh file opened by EmulationStation, and solve the video scaling problem by changing DL default resolution from 640x480 to the default one used by RetroPie (1280x720 or 1920x1080)? That should work. And if you need lower resolutions, you could run tvservice through runcommand-start / runcommand-end, to change resolution and revert it afterwards.

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

                                  @Solid-One changing the game res to 1920x1080 and fullscreen mode worked for me. Windowed mode at 1920x1080 was glitchy and didn't work right. Thanks for the advice.

                                  Do I still need to apply your patch to get analog sticks to work on my Xbox 360 controller. It doesn't seem like they are being detected.

                                  Solid OneS 1 Reply Last reply Reply Quote 0
                                  • tpo1990T
                                    tpo1990 @quicksilver
                                    last edited by tpo1990

                                    @quicksilver No it doesn't look like it is running from the terminal with dispmanx.

                                    If it works with changing to 1920x1080 and fullscreen, then that could be considered a workaround until the scaling issue on the Pi 4 gets solved.

                                    Greetings from Denmark. :-)

                                    Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                    1 Reply Last reply Reply Quote 1
                                    • Solid OneS
                                      Solid One @quicksilver
                                      last edited by

                                      @quicksilver No need. The latest version already includes the changes mentioned above. However, you'll still need to create your "bindjoyaxis" settings manually, for allowing moving / aiming / strafing through both analog sticks.

                                      About controllers' detection, make sure your controller is plugged before opening DL (since there's no hotplug support yet). And if you have multiple controllers, make sure you're using the first one for menu navigation, because the others won't navigate through menus properly.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        Govik
                                        last edited by

                                        Please help! I just installed the script and it seemed to compile fine. It has the doom.sh and other XXXX.sh files in the ports folder. I can start the games from emulation station and it brings me to the main menu and I can select options. As soon as I go to start a new game, either singleplayer or 2 players, it crashes back to emulation station. I ran the script from the command line to see if it would indicate any errors but nothing just crashes back to the command line with no error messages showing.

                                        Not sure if there are any logs anywhere.

                                        Looks like I have RetroPie 4.5.15 (stretch). Does this ONLY work with 4.6 (buster)?

                                        BTW amazing work! Was playing SplitWolf and thought I need some split-screen Doom for my retropie and stumbled upon this.

                                        Solid OneS tpo1990T 2 Replies Last reply Reply Quote 1
                                        • Solid OneS
                                          Solid One @Govik
                                          last edited by Solid One

                                          @Govik Are you sure that, when running from the command line, no message shows up regardless of its nature? By Default, DL should show up a lot of messages in the screen, just like most sourceports, and the error should show up just fine.

                                          Take a look at the log file which shows up in this window. According to it, errors should be logged in /tmp/runcommand.log (the file path may differ, depending of the RetroPie version you're using):
                                          alt text

                                          1 Reply Last reply Reply Quote 0
                                          • tpo1990T
                                            tpo1990 @Govik
                                            last edited by

                                            @Govik Thanks for the appreciation. It should also work on (stretch) how ever do take note that there might be some difference when running the game such as the resolution not fitting correctly between Stretch and Buster versions.

                                            If it doesnt' run it could be caused by the scriptmodule not being able to build a binary (doomlegacy) file that the runcommand need in order to be successfully able to run the game.

                                            You can try uninstalling from Retropie-setup and then reinstall it again.

                                            Greetings from Denmark. :-)

                                            Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                            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.