RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    ECWolf - Wolfenstein 3D source port for mods

    Scheduled Pinned Locked Moved General Discussion and Gaming
    ecwolfwolf3decwolf modwolf3d mod
    167 Posts 9 Posters 40.5k 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.
    • tpo1990T
      tpo1990 @cyperghost
      last edited by

      @cyperghost No problem, i was not aware that it worked before updating the version of the RetroPie-Setup. At this moment it does not so i will keep the additional dot. :-)

      The hexen2 PR was actually reviewed by joolswills and hhromic. hhromic helped me with making the scriptmodule ready so that the PR can be merged with the RetroPie project. hhromic did state that the PR is ready to merge, but no given answer by joolswills yet.

      Oh yes the internet can be surprising without a doubt. :-)

      Greetings from Denmark. :-)

      Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

      1 Reply Last reply Reply Quote 0
      • tpo1990T
        tpo1990
        last edited by

        I have updated the install mod script with your best practice and made it work with multiple .pk3 files. It only works for full Wolfenstein 3D .wl6 files. I did get it working for the demo versions as well, but decided not to make that change since it would give you this message when the mod script was used: /home/pi/RetroPie/roms/ecwolf: is a directory. . :-)

        Just a little question since i don't know how to do it, how do you highlight text with "red" color in your posts?
        For example this line: "ls"

        Greetings from Denmark. :-)

        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

        cyperghostC ExarKunIvE 2 Replies Last reply Reply Quote 0
        • cyperghostC
          cyperghost @tpo1990
          last edited by cyperghost

          @tpo1990 The is simple Markdown the red code inside are just backticks `` with some code inside.

          Yes I saw your script ;)
          Yes the script "fails" if there are no pk3 files then *.pk3 will be used as argument.
          You can achive a for loop like this, too
          for i in file.a file.b with fixed arguments.

          1. Use shopt parameter and use 2.2
          2. Secure your loops and the output (I prefer this one)
            2.1 test the file inside the the loop with [[ -f "$i" ]] || continue
            2.2 set a second testcommand like [[ -n "$filenames" ]] || { echo "Error: No additional pk3-files found in $PWD"; exit; }
          for i in *.pk3; do
             [[ -f "$i" ]] || continue
             mv "$i" "$HOME/RetroPie/roms/ports/wolf3d"
             filenames="$filenames \"$i\""
          done
          [[ -n "$filenames" ]] || { echo "Error: No additional pk3-files found in $PWD"; exit; }
          

          EDIT:
          The escape could be needed in following cases. A pk3-file named The best mod.pk3 would be resolved as --file The best mod.pk3 Now you are parsing 3 files to the switch. So it's better to parse --file "The best mod.pk3"

          I'm not aware how often pk3 files are splitted by spaces but it's better imho to escape the files. Easiest technique is escaping the quotes, so they are preserved. Or you push the filenames in a new array.

          1 Reply Last reply Reply Quote 0
          • S
            SinisterSpatula @tpo1990
            last edited by

            @tpo1990 said in ECWolf - Wolfenstein 3D source port for mods:

            @SinisterSpatula
            I think your modified ecwolf config file could provide useful to those that use the same case and that it is a good idea to add a link to the extra post that i have reserved at the moment, if i may do so with your accept.

            Yes, of course! :)

            tpo1990T 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @tpo1990
              last edited by

              @tpo1990 great work with all of this

              i just cant get the mods to lunch with your new mod installer.
              i followed the easy instructions but they will not launch.

              im trying Claw of Eisenfaust and the file looks right

              cd "."
              "/opt/retropie/ports/ecwolf/ecwolf" --data WL6 --file  wolf3d_coe_v2.pk3
              wait 
              

              but it will not launch
              any thoughts?

              side note. any idea on how i can check to make sure i have version 1.4 cuz i have no clue

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              cyperghostC 1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost @ExarKunIv
                last edited by cyperghost

                @ExarKunIv There are several errors made due the script output.

                any thoughts?

                Yes tons of, let's inspect!

                1. Is the data of the vanilla Wolfenstein really in the BaseDir? ... means /home/pi/retropie/roms/ports/wolf3d? Or is it in a subfolder? If yes then change the cd . to next directory.... maybe cd wolf3d again.
                2. Furthermore the file extension WL6 could be wl6, take a look in your gamedata how the extension looks.
                3. The wait command is wrong. It should be wait $!

                Furthermore post always the output of /dev/shm/runcommand.log in pastebin or some other snippet viewer https://dpaste.de/

                I think the modscript should be a bit more mocked up with better detection what happens there.

                ExarKunIvE 1 Reply Last reply Reply Quote 0
                • ExarKunIvE
                  ExarKunIv @cyperghost
                  last edited by

                  @cyperghost

                  most of your thoughts are along mine as well.

                  but it seems i had the vanilla wolf in the wrong folder.

                  guess i missed that part on the readme,
                  opps.
                  well with me being a dumbass out of the way.

                  everything is working great.
                  i even have the HD wolf going,

                  Very amazing work, both you @cyperghost and @tpo1990

                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                  Maintainer of RetroPie-Extra .

                  cyperghostC 1 Reply Last reply Reply Quote 2
                  • cyperghostC
                    cyperghost @ExarKunIv
                    last edited by cyperghost

                    @ExarKunIv Thanks for your response ;)

                    @tpo1990
                    There is need for some bugfixing ;)
                    I post here a "new" script to not mess up the forum - it will expire after a few days

                    https://dpaste.de/wiKv
                    https://dpaste.de/7MFJ
                    It's using the quotations around every pk3 file, hope this works as expected ;)

                    EDIT:
                    @tpo1990
                    Why not extend the questions to path and extension?
                    Then it's 100% working in every situation because the user has to setup ;)

                    1 Reply Last reply Reply Quote 0
                    • tpo1990T
                      tpo1990 @SinisterSpatula
                      last edited by

                      @SinisterSpatula Thank you i will add a link to your post in the Extra section of the topic, so that anyone with a GPI case will find it. :-)

                      @ExarKunIv Thank you. Great that you got it working again after checking your files and folders for ECWolf.

                      @cyperghost Good to know thanks. Now i can more easily mark the code.

                      Alright so i followed your dpaste link and added the changes. While i tested out the new changes, i noticed that the mod script would exit immediately without notifying the user that no pk3 files has been found.

                      What i did to prevent this is by adding a sleep timer with the sleep 10s;. This will notify user for 10 seconds and then it will exit the script with the exit;parameter. Success.

                      I have uploaded the changes to my ECWolf git repo for anyone to try out.

                      Greetings from Denmark. :-)

                      Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                      cyperghostC 1 Reply Last reply Reply Quote 1
                      • cyperghostC
                        cyperghost @tpo1990
                        last edited by

                        @tpo1990 Fine ;) Will you set a PR for the scriptmodule?

                        tpo1990T 1 Reply Last reply Reply Quote 0
                        • tpo1990T
                          tpo1990 @cyperghost
                          last edited by

                          @cyperghost Yes. That is what i intend to do :-)

                          Greetings from Denmark. :-)

                          Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                          cyperghostC 1 Reply Last reply Reply Quote 0
                          • cyperghostC
                            cyperghost @tpo1990
                            last edited by cyperghost

                            @tpo1990 Wolfenstein IS classic gaming - plus this scriptmodule is really easier to setup than the Wolf4SDL version ;) I think it'll accepted

                            tpo1990T 1 Reply Last reply Reply Quote 0
                            • tpo1990T
                              tpo1990 @cyperghost
                              last edited by tpo1990

                              @cyperghost Yes. It's a live. The PR has been created for RetroPie project.

                              https://github.com/RetroPie/RetroPie-Setup/pull/2811

                              Edit: Now all there is left to do is fingers crossed and hopefully it will be accepted for merging. ;-)

                              Greetings from Denmark. :-)

                              Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                              1 Reply Last reply Reply Quote 0
                              • ExarKunIvE
                                ExarKunIv
                                last edited by

                                @cyperghost and @tpo1990

                                now that i have sorted out my one problem. this is great, just one question

                                i have come across some nice mods, but they are not in pk3 form, they seem to be in there own standalone game.
                                With their own WL6 and SOD files.

                                is there a way to use ecwolf to play these

                                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                Maintainer of RetroPie-Extra .

                                cyperghostC tpo1990T 2 Replies Last reply Reply Quote 0
                                • cyperghostC
                                  cyperghost @ExarKunIv
                                  last edited by

                                  @ExarKunIv I don't know. You can try on your own and give back report.

                                  1 Reply Last reply Reply Quote 0
                                  • tpo1990T
                                    tpo1990 @ExarKunIv
                                    last edited by

                                    @ExarKunIv I have not tried it out. Can't say if it works or not. If you can somehow extract the file contents of the mod's wl6 and sod files, you could maybe import/archive it into a pk3 file that ECWolf would be able to use.

                                    Greetings from Denmark. :-)

                                    Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                                    • ExarKunIvE
                                      ExarKunIv @tpo1990
                                      last edited by

                                      @tpo1990 ok i did not think about extracting the files from the WL6.

                                      but i did look into building pk3 files.

                                      i will do some digging.
                                      as i have come across a lot of the mods seem to be their own standalone games.
                                      not many are in pk3 version, compared to being their own game

                                      but still
                                      i have a good list going. will update with it soon

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      cyperghostC 1 Reply Last reply Reply Quote 0
                                      • cyperghostC
                                        cyperghost @ExarKunIv
                                        last edited by cyperghost

                                        @ExarKunIv I tried some mods in WL6 format and they work. But the pk3 files should be better because the "old" mods needs own directory ... this is no problem so far by simply editing the .ecwolf files.

                                        I tried Alexstein and Dreams of a Madman.
                                        DoM crashed from time to time.

                                        fb3f5177-b85e-4ae6-ba5b-bf34fe0bccf7-grafik.png

                                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                                        • ExarKunIvE
                                          ExarKunIv @cyperghost
                                          last edited by ExarKunIv

                                          @cyperghost same here, some work and some dont when it comes to the .WL6 files.

                                          and the pk3 is just so easy

                                          so far i have tried

                                          Wolf3D_Demolition
                                          Coffee break
                                          wolfpak2
                                          Wolfenstein Missions First Encounter
                                          Claw of Eisenfaust
                                          Escape from Totenhaus
                                          Wolfenstein 3D - Fourth Encounter
                                          Halten Sie
                                          and Wolf3d HiRes that you posted before

                                          so far they all work for the first level at least

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          cyperghostC 1 Reply Last reply Reply Quote 0
                                          • cyperghostC
                                            cyperghost @ExarKunIv
                                            last edited by

                                            @ExarKunIv I think the old mods heavily depends in internal file versions - you can say every mod (wl6 based of course) that runs in Wolf4SDL will likely run in ec Wolf.
                                            If you find a method to create proper sky3 file then you can leave here a note.

                                            personally will not use the old file hacks

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