Doom Legacy - Doom Split-screen Source port
-
@mitu im trying to do 2 player but it recognises both key boards as player one how can I fix this
-
@ish I don't know, I don't have
doomlegacy
installed. -
@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
-
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"
-
@quicksilver What happens if you start with an empty config ?
-
@mitu Didnt help unfortunately
-
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.
-
@Solid-One It does work, just not with dispmanx scaling turned on.
-
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).
-
From what I have tried lately on my PI4, is that it does not launch from emulationstation by its runcommand file
doom.sh
withdispmanx
. If I change the directory to /opt/retropie/ports/doom and launchdoomlegacy
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.
-
@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?
-
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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
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.
-
@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):
-
@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.
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.