Ports in RetroPie not working properly
-
Problem: PORTS in RetroPie Not being able to play DOOM wads (with the exception of the shareware that comes pre-installed with IR-prboom)
Version of RetroPie: 4.1.12
Raspberry Pi: Raspberry Pi 3 Model BAfter thumbing through all the topics, I am not seeing anything related to problems in Version 4.1.12 in the forum related to PORTS not emulating at all ... so either this is a new problem, or I am missing something from the Wiki pages on how to install everything. The directions are very clear on the Wiki, and I don't ask for help unless I have exhausted every other option.
Description: I can see all the .wad files I moved over to the RetroPie and they are available in the PORTS menu. Selecting any one of the .wad files (with the exception of the pre-installed shareware version) all do the exact same thing: The RetroPie screen fades out, the grey info box with the launching, hit any key to config appears, then fades out, and instead of running the game, it fades back to the PORTS menu in RetroPie.
My wad files are golden, as they work on my PC without a problem. So something has to be going on in RetroPie.
Here's what I have done:
I made sure Ir-prboom was installed, and up to date.
I have checked all of the .sh files to make sure there were no syntax errors, and that each one was properly named to its corresponding wad file.
I double checked all of the configs, tried every single resolution to see if I could get it up and running.
Nothing.
SO.....
I looked into the shareware doom wad and .sh file and found that it reads:#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "doom" ""
This looks nothing like anything on the Wiki page... In fact... it looks like it shouldn't work at all. I went so far as to rewrite the .sh file for plutonia with this format changing out the word "doom" with "plutonia". Nothing. Just fade out, and fade back in. Except for the shareware.
All my other games are working, NeoGeo, NES, even my old Atari 800 games work great. PORTS seems to be a problem. Is Ports need to This is preplexing! Any ideas? Suggestions?
-
ok it is not as straight forward as that. for doom 1 if you have doom 1 or if you only have ultimate doom, just overwrite the doom1.wad (rename yours to all lowercase as linux is case sensitive) in /home/pi/RetroPie/roms/ports/doom/ . also put your doom2.wad, your tnt.wad, and your plutonia.wad there.
now you have to make a .sh file for each game other than doom, so for example you need to make a file in /home/pi/RetroPie/roms/ports/ called Doom2.sh (no spaces until later). now in that file you will put this info in it:
#!/bin/bash /opt/retropie/supplementary/runcommand/runcommand.sh 0 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/ports/doom/retroarch.cfg /home/pi/RetroPie/roms/doom/doom2.wad" "lr-prboom"
now you need to save the file then give permissions to the file. in the commandline you would type:
sudo chmod +x /home/pi/RetroPie/roms/ports/Doom2.sh
now you can go back to the file and rename it and add spaces if you wish. but keep the .sh at the end. now you just repeat for tnt.wad (Final Doom: Evilution), plutonia.wad (Final Doom: The Plutonia Experiment) and if you have both doom and ultimate doom, rename the Ultimate Doom's DOOM1.WAD to just doom.wad and create a .sh file for it.
-
I am only modifying the doom2.sh. Once I get that working, I will copy the procedure with the other games. I started fresh. I do not have any spaces in the sh file names. Keeping it simple prevents mistakes, eh? I am very careful with this so here's what I did:
I entered in the
sudo chmod +x /home/pi/RetroPie/roms/ports/Doom2.sh
into the commandline, as you instructed. It said
press any key to continue...
Success? I restarted Emulation station, just to be safe. Then tracked back to PORTS.
It still will not start. No error messages why it will not start... just fade out, and then fade back into the PORTS screen.
This sounds like it should be a very straight forward easy fix... but its not. Quite perplexing...
-
@SpacedInvader
what is runcommand.log saying?eta
/dev/shm/runcommand.log -
@SpacedInvader im sorry. Typo. Put this in your doom2.sh
#!/bin/bash /opt/retropie/supplementary/runcommand/runcommand.sh 0 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/ports/doom/retroarch.cfg /home/pi/RetroPie/roms/ports/doom/doom2.wad" "lr-prboom"
-
@jcook84 Here ya go!
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/ports/doom/retroarch.cfg /home/pi/RetroPie/roms/ports/doom/doom2.wad --appendconfig /dev/shm/retroarch.cfg M_LoadDefaults: Load system defaults. default file: /home/pi/RetroPie/roms/ports/doom/prboom.cfg IdentifyVersion: basesavegame: /home/pi/RetroPie/roms/ports/doom i: 1 myargv[0]: prboom myargv[1]: -iwad myargv[2]: doom2.wad myargv[3]: (null) myargv[4]: (null) myargv[5]: (null) myargv[6]: (null) myargv[7]: (null) myargv[8]: (null) myargv[9]: (null) myargv[10]: (null) myargv[11]: (null) myargv[12]: (null) myargv[13]: (null) myargv[14]: (null) myargv[15]: (null) myargv[16]: (null) myargv[17]: (null) myargv[18]: (null) myargv[19]: (null) myargv[20]: (null) myargv[21]: (null) myargv[22]: (null) myargv[23]: (null) myargv[24]: (null) myargv[25]: (null) myargv[26]: (null) myargv[27]: (null) myargv[28]: (null) myargv[29]: (null) myargv[30]: (null) myargv[31]: (null) iwad: (null) IdentifyVersion: IWAD not found /opt/retropie/supplementary/runcommand/runcommand.sh: line 957: 997 Aborted /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/ports/doom/retroarch.cfg /home/pi/RetroPie/roms/ports/doom/doom2.wad --appendconfig /dev/shm/retroarch.cfg
I hope you can help me decipher this... my understanding of this is a bit... lacking. :(
I guess the best question is: What is this telling me that I am missing, or forgot to do? Mind you this is RetroPie Verison 4.1.12
I have all updates for Ir-prboom.
-
@SpacedInvader look at my correct post directly above this one for the correct setup. Not sure why you added an --appendconfig /dev/shm/retroarch.cfg and removed the " "lr-prboom" "?
-
@SpacedInvader read my last post. Also your problem is that you either dont have the doom2.wad in the correct location or you need to give it a 0777 permissions. Remember it CANNOT have any caps in the name. It cannot be named DOOM2.WAD OR doom2.WAD
-
-
Just to note - If you have updated retropie-setup in the last few days - update again, and reinstall the emulator from binary. The copy Doom.sh and change the wad name in the copy. It's been simplified.
-
If you install/update
lr-prboom
on the latest RetroPie-Setup yourRetroPie/roms/port/Doom.sh
should contain#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "doom" "/home/pi/RetroPie/roms/ports/doom/doom1.wad"
so it's just a matter of copying this to "Doom2.sh" (if you want to play doom2, and making it look like
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "doom" "/home/pi/RetroPie/roms/ports/doom/doom2.wad"
the older wiki method should still work, but this is simpler.
-
I have made an update to retropie-setup to autoatically set up launch scripts for installed doom games if any of the following are installed
doom1.wad
,doom2.wad
,tnt.wad
andplutonia.wad
.If you have any of those wads in place in
roms/ports/doom
- you can then update retropie-setup and re-install any doom emulator and the launch scripts should be created. -
I changed the "WAD" to "wad" and the Updated to RetroPie 4.1.13, Uninstalled Ir-prboom and Reinstalled, and updated Ir-prboom, and then rebooted!
OMG! IT WORKS! IT WORKS! I just nee to reconfig the joystick, but that's nothing! I just need to get Ultimate Doom working , but I think I can figure that out on my own now that everything is up and running and playable!
Guys, I may have to buy you both a few pints next time I'm overseas!
-
ULTIMATE DOOM NOW WORKS!!!!
CASE SOLVED!
I will have to experiment with some of the Doom Master Level wads and see if I can get those to work now!
Again, THANKS!
-
@SpacedInvader curious if music packs work as well...
-
@SpacedInvader ok so you need to install zdoom for the master levels. then you need to download a file on the internet called ZDMLMENU.pk3 . make sure its is named exactly as i posted it with caps and lowercase or rename it to what i put. of course put this and all the master levels wads in your doom rom folder. next you need to create a Doom2MasterLevels.sh file in /home/pi/RetroPie/roms/ports. in that file you will put this content:
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _SYS_ doom2ml
now you need to give it a chmod. go to the commandline and type:
sudo chmod +x /home/pi/RetroPie/roms/ports/Doom2MasterLevels.sh
now you can put spaces in the name if it worked. then you need to create a folder in /opt/retropie/configs/ called doom2ml. in that folder you need to create a file called emulators.cfg. in that file you need to add this content:
zdoom = "/opt/retropie/ports/zdoom/zdoom -iwad /home/pi/RetroPie/roms/ports/doom/doom2.wad -file /home/pi/RetroPie/roms/ports/doom/ZDMLMENU.pk3" default = "zdoom"
now you i would give this file 0777 permissions just to make sure you dont have any conflicts. then you should be good to go.
-
@herb_fargus I have not tried adding the music yet. I may try next weekend, work has been stealing my evening play time at home. Right now, the sound effects work great!
-
@edmaul69 I will be trying this out probably next weekend. I hope this works! I gotta head into work later this afternoon. Thanks! I will report any issues I have.
I will install zdoom, and then update from binary first.
-
@herb_fargus I installed the mp3 renamed music files for Doom. No music. I did rename all the files for the proper coding for epsisode and level... as is on the tutorial. :(
Although, my Raspberry Pi has a lot of faint static. I do have the audio forced out of the 3.5mm jack, as right now I have it hooked up to my monitor, not a television. I am using Creative A60 Speakers. The sound GREAT on my computer. The Pi, not so much. I suppose I should look up the fixing audio, eh?
-
Stupid me... UPLOAD FILES, THEN RESTART THE SYSTEM! I HAVE MUSIC!!!!!!
Stupid me, stupid me.... I tackle zdoom on Sunday!
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.