RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Prboom - pWads not loading. Log file offers strange reasons for not running.

    Scheduled Pinned Locked Moved Help and Support
    prboomdoompwad
    27 Posts 3 Posters 2.6k 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.
    • XD3lX
      XD3l @mitu
      last edited by

      @mitu For what ever reason, using the runcommand method does not work for me, which is what drove me to create this thread. I have never once seen it work since all my days using the Pi. Sadly though the Pi Zero can't seem to handle ZDOOM, so I'm stuck with PrBOOM, which I'm not the hugest fan of as you can tell. :)

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

        @XD3l Post your launch (.sh) file. You have mine in the previous post.

        XD3lX 1 Reply Last reply Reply Quote 0
        • XD3lX
          XD3l @mitu
          last edited by

          @mitu

          #!/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
          
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @XD3l
            last edited by

            @XD3l Do you have the doom2.wad and the prboom.wad files in the same folder as av.wad ? As I said, I just followed the instructions in the wiki and put them in the same folder, then created a .sh file using runcommand which works without issues.

            XD3lX 1 Reply Last reply Reply Quote 0
            • XD3lX
              XD3l @mitu
              last edited by XD3l

              @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.

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

                @XD3l Did you try updating from source the lr-prboom package ? I got the same 'Invalid WAD header' before updating from source.

                XD3lX 2 Replies Last reply Reply Quote 0
                • B
                  backstander
                  last edited by backstander

                  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 the av.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 named av (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
                  
                  1 Reply Last reply Reply Quote 0
                  • B
                    backstander
                    last edited by backstander

                    I have a hunch that when we add the location to doom2.wad in the launch script that it might be loading up doom2.wada 2nd time thinking it is a PWAD and giving us the retro_load_game: invalid WAD header error.

                    1 Reply Last reply Reply Quote 0
                    • XD3lX
                      XD3l @mitu
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • XD3lX
                        XD3l @mitu
                        last edited by XD3l

                        @mitu

                        @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.

                        1 Reply Last reply Reply Quote 1
                        • XD3lX
                          XD3l
                          last edited by XD3l

                          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.

                          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.