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

    [SOLVED] Wolf4SDL shell script query for using a specific emulator for Wolf3D and Spear of Destiny

    Scheduled Pinned Locked Moved Help and Support
    portsruncommandshell script
    6 Posts 3 Posters 2.4k 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.
    • S
      sonicsheppard
      last edited by sonicsheppard

      Hi all,

      I was wondering if someone could please help with a runcommand / .sh question with regards to the Wolf4SDL port of Wolfenstein 3D.

      Basically I have the Steam version of Wolfenstein 3D and the mission pack Spear Of Destiny, I have created two separate .sh files to run from the Ports menu, but I was wondering if there is anyway to specify which emulator to use for Wolf4SDL from within the .sh script.

      For example, I would like my Wolfenstein 3D.sh file to always boot with wolf4sdl-gt-v14, and I would like my Spear Of Destiny.sh to always boot with wolf4sdl-spear. At the moment I have to enter the runcommand and choose the emulator manually.

      Pi Model: Raspberry Pi 3
      RetroPie Version Used: 4.1 image, updated to 4.1.4 script.
      Built From: Pre-made 4.1 image.
      USB Devices connected: Wireless Rapoo T-series keyboard.
      Controller used: WiiU Pro Bluetooth.
      Error messages received: N/A
      Log found in /dev/shm/runcommand.log (if relevant):
      Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/Wolfenstein-3D
      Emulator: Wolf4SDL

      Let me know if any more information is needed.

      Absolutely love everything that's done here. Thanks very much everyone!

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @sonicsheppard
        last edited by

        @sonicsheppard I had a similar issue with the Rise of the Triad port in getting Dark War and The Hunt Begins to launch separately from ES.

        The fix is pretty simple though. In the folder /opt/retropie/configs/ports/, create a copy of the folder wolf3d and rename it wolf3d-sod, say.

        Now, in your launch script for Spear of Destiny, change the string wolf3d to wolf3d-sod. When you now launch your scripts, you can choose your binary via the runcommand menu and your choices should remain whenever you launch Wolfenstein 3d or Spear of Destiny in the future.

        1 Reply Last reply Reply Quote 1
        • S
          sonicsheppard
          last edited by

          Awesome, thanks very much @dudleydes , I'll give that a go!

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

            Tried this last night and it worked a treat, so thanks again @dudleydes , much appreciated!

            edmaul69E 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @sonicsheppard
              last edited by edmaul69

              @sonicsheppard all you had to do was when you went into run command before the game booted and chose default emulator + rom and it would always work on that emulator.

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

                Ah of course! Talk about not seeing the wood for the trees! Thanks everyone.

                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.