Prboom - pWads not loading. Log file offers strange reasons for not running.
-
@XD3l Post your launch (
.sh
) file. You have mine in the previous post. -
#!/bin/bash /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/pwad/alienvendetta/av.wad" --appendconfig /dev/shm/retroarch.cfg
-
@XD3l Do you have the
doom2.wad
and theprboom.wad
files in the same folder asav.wad
? As I said, I just followed the instructions in the wiki and put them in the same folder, then created a.sh
file usingruncommand
which works without issues. -
@mitu When using the script above (a modification of your own), then no, I only have AV in it's own folder along with the DEH and CFG files.
It is only when I use a script based on the Wiki example that I have problems.
File lay out:
/home/pi/RetroPie/roms/ports/doom/pwad/av/
-av.wad
-av.deh
-doom2.wad (or doom2.wad link, which ever)
-prboom.wad (or prboom.wad link, which ever)
-prboom.cfg (with deh and wad links included)and with this I use this script:
#!/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/pwad/av/doom2.wad" "lr-prboom"
Which in turn produces this error:
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/doom/pwad/av/doom2.wad --appendconfig /dev/shm/retroarch.cfg retro_load_game: invalid WAD header '(���З/' D_DoomDeinit:
This non-sense at the end after WAD header always seems to changed but always consists of garbage.
And again, all files are freshly downloaded, and my iwad checks out A OK with an MD5 checker.
-
@XD3l Did you try updating from source the
lr-prboom
package ? I got the same 'Invalid WAD header' before updating from source. -
I think we're making it to complicated and
lr-prboom
is smarter than we realized and doesn't need us telling it every single parameter and seams to automatically add the files it needs...somehow. Also the Doom wiki probably needs to be updated to reflect this.Both of these launch scripts seams to work for me and I'm not mentioning the
doom2.wad
or theav.deh
but they both are getting loaded automatically.#!/bin/bash /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/av/av.wad" --appendconfig /dev/shm/retroarch.cfg
and launching through the
runcommand
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "doom" "/home/pi/RetroPie/roms/ports/doom/av/av.wad" "lr-prboom"
Using the scripts above somehow loads all the files needed:
W_Init: Init WADfiles. adding /home/pi/RetroPie/roms/ports/doom/doom2.wad adding /home/pi/RetroPie/roms/ports/doom/prboom.wad adding /home/pi/RetroPie/roms/ports/doom/av/av.wad adding /home/pi/RetroPie/roms/ports/doom/av/av.deh
Here's my Alien Vendetta directory:
pi@retropie16:~ $ ls -l ~/RetroPie/roms/ports/doom/av drwxr-x--- 2 pi pi 4096 May 26 09:49 av -rw-r--r-- 1 pi pi 7403 Dec 24 2002 av.deh -rw-r--r-- 1 pi pi 1816944 Dec 24 2002 avmovfix.wad -rw-r--r-- 1 pi pi 23819412 Dec 24 2002 av.wad -rw-r--r-- 1 pi pi 58599 May 26 09:38 prbmsav0.dsg -rw-r--r-- 1 pi pi 58599 May 26 09:34 prbmsav1.dsg -rw-r--r-- 1 pi pi 9642 May 26 21:36 prboom.cfg
Note: when you launch through the
runcommand
it make a sub-directory namedav
(or both scripts use it...I'm not exactly sure) shown below:pi@retropie16:~ $ ls -l ~/RetroPie/roms/ports/doom/av/av -rw-r--r-- 1 pi pi 58943 May 26 09:49 prbmsav0.dsg -rw-r--r-- 1 pi pi 9630 May 26 21:37 prboom.cfg
I don't have any symbolic links to the
doom2.wad
anywhere:pi@retropie16:~ $ sudo find ~/ -name "doom2.wad" /home/pi/RetroPie/roms/ports/doom/doom2.wad
-
I have a hunch that when we add the location to
doom2.wad
in the launch script that it might be loading updoom2.wad
a 2nd time thinking it is a PWAD and giving us the retro_load_game: invalid WAD header error. -
This post is deleted! -
@mitu said in Prboom - pWads not loading. Log file offers strange reasons for not running.:
@XD3l Did you try updating from source the
lr-prboom
package ? I got the same 'Invalid WAD header' before updating from source.I had deleted PrBOOM and re-installed it from scratch in fact, but now I just did a full system update and what do you know, it works!!!!
Again, thank the both of you for all of your time!!! I don't often receive help on this site.
-
And oddly enough I am attempting to duplicate all of these steps on my Pi3 setup and I am back to where I began. Except now the WAD Header error has a lot more garbage at the end than ever before.
EDIT: This only reflects the Run Command method.
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.