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

    Wolf4SDL closes immediately after starting Spear of Destiny Ep 1

    Scheduled Pinned Locked Moved Help and Support
    wolf4sdlretropie
    13 Posts 3 Posters 376 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.
    • C
      Chuckgofer
      last edited by

      Pi Model or other hardware: Pi 4 Model B
      Power Supply used: Raspberry Pi 15W USB-C Power Supply
      RetroPie Version Used: 4.8.8
      Built From: Prebuilt Retropie image retropie-buster-4.8-rpi4_400.img
      USB Devices connected: Keyboard, Xbox 1 Power A controller
      Controller used: Xbox 1 Power A controller
      Error messages received: None
      Verbose log (if relevant):
      Guide used: https://retropie.org.uk/docs/Wolfenstein-3D/
      File: /home/pi/RetroPie/roms/ports/wolf3d/vswap.sd1
      Emulator: Wolf4SDL
      Attachment of config files:

      # /opt/retropie/configs/ports/wolf3d/emulators.cfg 
      wolf4sdl = "/opt/retropie/ports/wolf4sdl/bin/wolf4sdl.sh %ROM%"
      default = "wolf4sdl"
      

      How to replicate the problem: Launch Wolf4SDL from Emulationstation, game closes almost immediately

      1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael
        last edited by

        More information in the Reddit post. We weren't able to find a solution there, so I directed them to the forums here for more help:

        https://www.reddit.com/r/RetroPie/s/m4J6zLA8Sa

        1 Reply Last reply Reply Quote 1
        • C
          Chuckgofer
          last edited by Chuckgofer

          Just for a bit of further testing, I made an alternate .sh that points to "vswap.sod" instead of "vswap.sd1". Same thing happens, closes almost immediately, no error.

          #/dev/shm/runcommand.log
          Parameters: 
          Executing: /opt/retropie/ports/wolf4sdl/bin/wolf4sdl.sh "/home/pi/RetroPie/roms/ports/wolf3d/vswap.sod"
          ~/RetroPie/roms/ports/wolf3d ~
          ~
          

          I have both sets of the 3 files (sd1 and sod) in the /roms/ports/wolf3d folder. Splitwolf gave a missing files error without them (the sod files).

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

            Seems like you're missing some files - did you copy the files from a working DOS installation ? Make sure all files (.sod, .sd1) are lowercase.

            Post a listing of your $HOME/RetroPie-Setup/roms/ports/wolf3d files (run ls -1 $HOME/RetroPie/roms/ports/wolf3d).

            1 Reply Last reply Reply Quote 0
            • C
              Chuckgofer
              last edited by Chuckgofer

              audiohed.sd2
              audiohed.sd3
              audiohed.sdm
              audiohed.sod
              audiohed.wl1
              audiohed.wl6
              audiot.sd2
              audiot.sd3
              audiot.sdm
              audiot.sod
              audiot.wl1
              audiot.wl6
              config.sd2
              config.sd3
              config.sdm
              config.sod
              config.wl6
              gamemaps.sd1
              gamemaps.sd2
              gamemaps.sd3
              gamemaps.sdm
              gamemaps.sod
              gamemaps.wl1
              gamemaps.wl6
              maphead.sd1
              maphead.sd2
              maphead.sd3
              maphead.sdm
              maphead.sod
              maphead.wl1
              maphead.wl6
              vgadict.sd2
              vgadict.sd3
              vgadict.sdm
              vgadict.sod
              vgadict.wl1
              vgadict.wl6
              vgagraph.sd2
              vgagraph.sd3
              vgagraph.sdm
              vgagraph.sod
              vgagraph.wl1
              vgagraph.wl6
              vgahead.sd2
              vgahead.sd3
              vgahead.sdm
              vgahead.sod
              vgahead.wl1
              vgahead.wl6
              vswap.sd1
              vswap.sd2
              vswap.sd3
              vswap.sdm
              vswap.sod
              vswap.wl1
              vswap.wl6

              I downloaded the Spear of Destiny files off of my retropie setup, and dropped ecwolf in the folder, and Spear of destiny ep 1 worked. Matched the md5 too.

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

                I don't have access right now to my installation to check, though it seems most of the files needed (mainy .sod ones) are there. Can you run a checksum on them just to cross-check ?

                pushd $HOME/RetroPie/roms/ports/wolf3d
                md5sum *.sod
                popd
                
                1 Reply Last reply Reply Quote 0
                • C
                  Chuckgofer
                  last edited by Chuckgofer

                  6e914d15335125872737718470061ad8 audiohed.sod
                  10020fce0f04d21bd07b1b5b951c360a audiot.sod
                  3e676d1c1350de03d1bd58e7b8dda498 config.sod
                  04f16534235b4b57fc379d5709f88f4a gamemaps.sod
                  276c79a4a6419db6b23e7699e41cb9fa maphead.sod
                  30b11372b9ec6bc06289eb3e9b2ef0b9 vgadict.sod
                  3b85f170098fb48d91d8bedd0cac4e0d vgagraph.sod
                  fb75007a1167bba05c4acadf90bc30d8 vgahead.sod
                  b1dac0a8786c7cdbb09331a4eba00652 vswap.sod

                  And the md5 of everything else

                  6e914d15335125872737718470061ad8 audiohed.sd2
                  6e914d15335125872737718470061ad8 audiohed.sd3
                  f0022742f86c214872bd72f03aaf1529 audiohed.sdm
                  58aa1b9892d5adfa725fab343d9446f8 audiohed.wl1
                  a41af25a2f193e7d4afbcc4301b3d1ce audiohed.wl6
                  10020fce0f04d21bd07b1b5b951c360a audiot.sd2
                  10020fce0f04d21bd07b1b5b951c360a audiot.sd3
                  fcde1333c941229f4dd6ca099fcfe616 audiot.sdm
                  4b6109e957b584e4ad7f376961f3887e audiot.wl1
                  2385b488b18f8721633e5b2bdf054853 audiot.wl6
                  3e676d1c1350de03d1bd58e7b8dda498 config.sd2
                  3e676d1c1350de03d1bd58e7b8dda498 config.sd3
                  4ccd2a2b1c957423641ddded63f9f7d8 config.sdm
                  aa75133df873b660d2058425ca8539b3 config.wl6
                  04f16534235b4b57fc379d5709f88f4a gamemaps.sd1
                  fa5752c5b1e25ee5c4a9ec0e9d4013a9 gamemaps.sd2
                  29860b87c31348e163e10f8aa6f19295 gamemaps.sd3
                  4eb2f538aab6e4061dadbc3b73837762 gamemaps.sdm
                  30fecd7cce6bc70402651ec922d2da3d gamemaps.wl1
                  a4e73706e100dc0cadfb02d23de46481 gamemaps.wl6
                  276c79a4a6419db6b23e7699e41cb9fa maphead.sd1
                  d55508cd58e2e61076ac81b98aeb9269 maphead.sd2
                  a8b24dd3d3271e0b7fc6f2f995915f27 maphead.sd3
                  40fa03caf7a1a4dbd22da4321c6e10d4 maphead.sdm
                  7b6dd4e55c33c33a41d1600be5df3228 maphead.wl1
                  b8d2a78bc7c50da7ec9ab1d94f7975e1 maphead.wl6
                  30b11372b9ec6bc06289eb3e9b2ef0b9 vgadict.sd2
                  30b11372b9ec6bc06289eb3e9b2ef0b9 vgadict.sd3
                  2f85b6763a582df19e6a35dd9634c736 vgadict.sdm
                  76a6128f3c0dd9b77939ce8313992746 vgadict.wl1
                  dec8939cff5a4ec27ae7b43e8f52ec28 vgadict.wl6
                  3b85f170098fb48d91d8bedd0cac4e0d vgagraph.sd2
                  3b85f170098fb48d91d8bedd0cac4e0d vgagraph.sd3
                  1cc5ceb8e43c0c0030cf552fc8ae9d0d vgagraph.sdm
                  74decb641b1a4faed173e10ab744bff0 vgagraph.wl1
                  8b40b5b785f898e229bf1c2f2e3ee003 vgagraph.wl6
                  fb75007a1167bba05c4acadf90bc30d8 vgahead.sd2
                  fb75007a1167bba05c4acadf90bc30d8 vgahead.sd3
                  18c03cb401ed274bc0b659e951140e64 vgahead.sdm
                  61bf1616e78367853c91f2c04e2c1cb7 vgahead.wl1
                  8e75e3ffb842ed3d08abe6ffea97b231 vgahead.wl6
                  b1dac0a8786c7cdbb09331a4eba00652 vswap.sd1
                  25d92ac0ba012a1e9335c747eb4ab177 vswap.sd2
                  94aeef7980ef640c448087f92be16d83 vswap.sd3
                  35afda760bea840b547d686a930322dc vswap.sdm
                  6efa079414b817c97db779cecfb081c9 vswap.wl1
                  b8ff4997461bafa5ef2a94c11f9de001 vswap.wl6

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

                    The .sod files are similar to my installation - which works fine - so it seems this is not an issue with missing game files. Just to make sure, the checksum was calculated directly on the RPI and not on the original installation ?

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Chuckgofer @mitu
                      last edited by

                      @mitu yes

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

                        Ok. Well, just on the slim chance there's somehow a file that's wrong somewhere, can you run the following commands:

                        pushd /home/pi/roms/ports/wolf3d
                        strace -e openat /opt/retropie/ports/wolf4sdl/bin/wolf4sdl-spear
                        popd
                        

                        The 2nd command should try and start the game, recording any file access (open) and printing it on the terminal. Post the last 20 lines that begin with openat, printed by wolf4spl before it exits.

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Chuckgofer @mitu
                          last edited by

                          @mitu I assume you mean /home/pi/RetroPie/roms/ports/wolf3d,

                          Here's the output

                          #
                          openat(AT_FDCWD, "/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 14
                          openat(AT_FDCWD, "/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 15
                          openat(AT_FDCWD, "maphead.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "gamemaps.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "vgadict.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "vgahead.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "vgagraph.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "audiohed.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "audiot.sod", O_RDONLY) = 14
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/config.sod", O_RDONLY) = -1 ENOENT (No such                                                                          file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam0.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam1.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam2.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam3.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam4.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam5.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam6.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam7.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam8.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          openat(AT_FDCWD, "/home/pi/.wolf4sdl/savegam9.sod", O_RDONLY) = -1 ENOENT (No su                                                                         ch file or directory)
                          
                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

                            Seems ok. The config.sod opening error is ok, since this is where the settings are stored and you haven't got a chance to save any setting.

                            Not sure what's the issue here and unfortunately the game doesn't have any logging to show what's not working.

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chuckgofer
                              last edited by

                              I see, thanks for trying

                              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.