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

    DSDA-doom help

    Scheduled Pinned Locked Moved Help and Support
    dsdadoompi3
    7 Posts 2 Posters 497 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.
    • D
      Dabenport
      last edited by Dabenport

      Hi. I'm currently setting up a pi3 with retropie. I have doom working in lrprboom. I would prefer to use dsda-doom. It looks & runs better. Also I can't seem to adjust anything in lrprboom. dsda-doom works with doom1/2/tnt/plutonia/chex3v but I can't get sigil1&2, master levels, or no rest for the living to work. Everything boot fine in lrprboom.

      Pi Model or other hardware: pi3b

      Power Supply used: canakit 2.5amp

      RetroPie Version Used 4.8.9

      Built From: raspberry pi imager retropie

      USB Devices connected: 2.4ghz keyboard.

      Controller used: bluetooth xbox one

      Error messages received: none emulator crashes on boot & goes back to ES "ports"

      Verbose log (if relevant): none?

      Guide used: https://retropie.org.uk/docs/Doom

      Files:
      \retropie\roms\ports\doom\sigil\sigil1.wad
      \retropie\roms\ports\doom\sigil2\sigil2.wad
      \retropie\roms\ports\doom\master\master.wad
      \retropie\roms\ports\doom\nerve\nerve.wad

      Emulator: DSDA-DOOM installed from source (latest source) v0.28.2

      Attachment of config files: https://pastebin.com/yLJj5XF1 & https://pastebin.com/YM25Q9fJ located in \retropie\configs\ports\doom

      I believe the problem is in the emulators.cfg file. It only loads -iwad %ROM%. I think it needs -file .wad. But I don't know how to get this working(https://dsdarchive.com/guides/dsda_doom)
      "-file x.wad - uses x.wad as a pwad (custom maps that will use the resources of the iwad)."

      How to replicate the problem: Installed doom wads via "https://retropie.org.uk/docs/Doom/" instructions. Install dsda-doom & attempt to boot. Some wads work some don't.

      I tried changing the .sh file that launches each wad. To boot sigil this works in lrprboom & no boot in dsda.

      "#!/bin/bash
      "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "doom" "/home/pi/RetroPie/roms/ports/doom/sigil/sigil.wad"

      I changed to this which matches the instructions(which dont work lol) and only doom boots not sigil in dsda & lrprboom.

      #!/bin/bash
      "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "doom" "/home/pi/RetroPie/roms/ports/doom/sigil/doom.wad"

      I know I'm doing something wrong here. these wads should work right? Any advice would be greatly appreciated. Thank you for your time.

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

        @Dabenport said in DSDA-doom help:

        I know I'm doing something wrong here. these wads should work right? Any advice would be greatly appreciated. Thank you for your time.

        Not really, you're not doing something wrong. I think we only support iwads as direct entries and pwads should be loaded through the dsda-doom-addon launcher after copying it in the ports/doom/addon subfolder. Of course, this is not practical if you have a lot of WADs you'd like to play at once.

        Here's what I do - I created launchers in the ports folder without runcommand by calling dsda-doom directly and putting all the pwad files in roms/ports/doom:

        • Sigil.sh:

          #!/bin/bash
          pushd $HOME/roms/ports/doom;
          /opt/retropie/ports/dsda-doom/dsda-doom -iwad doom1.wad -file sigil.wad
          popd
          
        • Legacy_of_Rust.sh:

           #!/bin/bash
           pushd $HOME/roms/ports/doom;
           /opt/retropie/ports/dsda-doom/dsda-doom -iwad doom2.wad -file id1.wad
           popd
          
        D 1 Reply Last reply Reply Quote 0
        • D
          Dabenport @mitu
          last edited by

          @mitu

          Ok I tried moving doom.wad & sigil.wad into the roms/ports/doom/ directory & running the sigil.sh you created and I get 4 errors.

          /home/pi/RetroPie/roms/ports/SIGIL.sh: line 4: popd: directory stack empty
          /home/pi/RetroPie/roms/ports/SIGIL.sh: line 2: pushd: /home/pi/roms/ports/doom: no such file or directory
          /home/pi/RetroPie/roms/ports/SIGIL.sh: line 2: $'\r' : command not found.
          dsda-doom v0.28.2 (https://github.com/kraflab/dsda-doom/)
          IdentifyVersion: IWAD not found
          

          Changing the SIGIL.sh file to this.

          #!/bin/bash
          pushd $HOME/RetroPie/roms/ports/doom;
          /opt/retropie/ports/dsda-doom/dsda-doom -iwad doom.wad -file sigil.wad
          popd
          

          Results in the following errors.

          ~ /RetroPie/roms/ports/doom ~
          /home/pi/RetroPie/roms/ports/SIGIL.sh: line 2 $'\r' : command not found
          dsda-doom v0.28.2 (https://github.com/kraflab/dsda-doom/)
          dsda-doom is released under the GNU general public license v2.0.
          You are welcome to redistribute it under certain conditions.
          It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.
          
          Playing: The Ultimate DOOM
          " is not supported
          ~
          

          Also I do not see dsda-doom-addon launcher. I only see lrprboom & dsda-doom. I had lzdoom & lzdoom-addon before but I removed lzdoom.

          I'm super confused by this "/home/pi/RetroPie/roms/ports/SIGIL.sh: line 2 $'\r' : command not found" As that isn't even written on line 2. Or anywhere in the .sh file lol

          Looks like we are on the right track though! Thanks again!

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

            @Dabenport said in DSDA-doom help:

            I'm super confused by this "/home/pi/RetroPie/roms/ports/SIGIL.sh: line 2 $'\r' : command not found" As that isn't even written on line 2. Or anywhere in the .sh file lol

            You created the file on a Windows PC and it added an extra CR character at line-ending (\r). Make sure the file has Unix/Linux line endings (LF or \n) and you shouldn't have a problem.

            D 1 Reply Last reply Reply Quote 0
            • D
              Dabenport @mitu
              last edited by

              @mitu

              oh yea I did make the files on windows. I changed the file in notepad++ to unix and sigil booted right up!

              Thank you so much I appreciate the help. Have a great day!

              1 Reply Last reply Reply Quote 0
              • D
                Dabenport
                last edited by Dabenport

                I ran into another issue now. Is it possible to have dsda-doom use external mp3s? I have all the music named properly/working in lrprboom. The midi "fluidsynth" on the pi3 sounds bad lol

                Edit: Figured it out. Used slade to made a file doommu.wad(name doesnt matter) with all doom music with original filenames.

                #!/bin/bash
                pushd $HOME/RetroPie/roms/ports/doom/doom;
                /opt/retropie/ports/dsda-doom/dsda-doom -iwad doom.wad -file doommu.wad
                popd
                

                Above is the file I used to launch with mp3s working.

                #!/bin/bash
                pushd $HOME/RetroPie/roms/ports/doom;
                /opt/retropie/ports/dsda-doom/dsda-doom -iwad /doom/doom.wad -file /doom/doommu.wad
                popd
                

                This also works. I have all my wads in separate folders with their mp3s. Looks like I can put them all in 1 folder now, ditch the mp3s & use this to boot them.

                #!/bin/bash
                pushd $HOME/RetroPie/roms/ports/doom;
                /opt/retropie/ports/dsda-doom/dsda-doom -iwad doom.wad -file doommu.wad
                popd
                

                Time to get the rest of the wads finished. Hope this helps if anyone runs into same/similar problem.

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

                  Glad you got it working.
                  For Sigil2, make sure you're using the SIGIL_COMPAT_v1_21.wad file, due to a bug in the wad's embedded UMAPINFO lump.

                  1 Reply Last reply Reply Quote 1
                  • 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.