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 38.8k 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 tpo1990

      @cyperghost Thank you, i will soon correct this in the PR and in the original repo once i have my RPI with me.

      Do you happen to know what the $PWD trigger does?.
      It looks like some variable.

      All in all. It does look great and it seems to perform well within RetroPie.

      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

        @tpo1990 $PWD means present working directory. The dot is just a relative path. I think the string is just better coding as it's a built in in most shells

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

          @cyperghost Ah i see. It makes perfectly sense to use built-in strings.

          Did you try to install ecwolf before or after the use of $PWD?

          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

            @tpo1990 I installed with the variable. But I wouldn't change so far maybe I'm wrong - I'm not a professional programmer and probably I'm wrong - just wanted to tell my point of view

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

              @cyperghost Well at least i will test it out my self before making any changes just to be sure.

              Me neither. Most of the time it is trial and error. Hopefully it will improve on my part of programming as well. :-)

              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

                @tpo1990 sorry my last post sounded like that I'm not sure if it will work. Of course it works - it was more the point if it's better coding style to use relative or fixed pathes

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

                  @cyperghost No problem. Maybe hhromic can answer this or someone else.

                  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
                  • ectoE
                    ecto
                    last edited by

                    Hi, I tried to install ecwolf through your shellscript, but the bitbucked link seems to be down. Changing the link in the script to a new download link doesnt work, because then the application of the patch fails.

                    Anyways, thanks for your commitment to ports! I just sunk my teeth into them and I have lots of fun with the whole thing. Sadly I'm a real noob with *nix and compiling, but I try to learn!

                    Cheers!

                    1 Reply Last reply Reply Quote 0
                    • BenMcLeanB
                      BenMcLean
                      last edited by

                      I've been too lazy to try this so far but I need to sometime.

                      Would be nice to be able to add a mods menu for other games too.

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

                        @BenMcLean @ecto I have announced this on github already. It is possible to use git as download method now. The patch that I have written still works.

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

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

                          @tpo1990 If you don't want the github clone method you can use this snipplet to obtain zip archives....
                          This will always download the newest archive and auto download newest branch.

                          #!/bin/bash
                          
                          zipfile=$(wget -q -O- https://bitbucket.org/ecwolf/ecwolf/downloads/ | \
                                    grep -Po '(?<=href=")[^"]*.zip(?=")')
                          path="https://bitbucket.org${zipfile}"
                          zipfile=$(basename $zipfile)
                          wget -q $path
                          unzip $zipfile
                          mv ecwolf-ecwolf-${zipfile%.*} ecwolf
                          
                          ExarKunIvE tpo1990T 2 Replies Last reply Reply Quote 0
                          • ExarKunIvE
                            ExarKunIv @cyperghost
                            last edited by

                            @cyperghost

                            If I copy what you posted above into a ".sh" will it install it and what not. Or is there something else that needs to be done.

                            I have ecwolf installed on my test setup. But not my main one. So of course right when I was about to get it going...

                            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 it will not install of course. It just downloads the newest zip package. You can update the scriptmodule with this. I already mentioned another and stronger solution into gits PR by using proper pull command.

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

                                @cyperghost Yes i do want to use the github's clone method if feasible for the port. I will need to make some small change with the clone/pull from source into the script PR.

                                As an alternative this could come in handy for ecwolf and other source ports as well if github's clone method doesn't work.. Thanks. :-)

                                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 @cyperghost
                                  last edited by

                                  @cyperghost where would i add this into the script?

                                  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 It would look like this --> https://dpaste.de/BAyL/raw

                                    The better version would be this one --> https://dpaste.de/WMBY/raw (did not test yet) This would be the version that @tpo1990 would post ;)

                                    ExarKunIvE 2 Replies Last reply Reply Quote 2
                                    • ExarKunIvE
                                      ExarKunIv @cyperghost
                                      last edited by

                                      @cyperghost thanks, i almost had it i had a . after the new line. opps lol

                                      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 .

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

                                        @cyperghost i copyed what you posted and i get a error

                                        /home/pi
                                        Could not successfully install ECWolf - ECWolf is an advanced source port for Wolfenstein 3D, Spear of Destiny, and Super 3D Noah's Ark based off of the Wolf4SDL code base. It also supports mods from .pk3 files. (/home/pi/RetroPie-Setup/tmp/build/ecwolf/ecwolf/ecwolf not found).
                                        

                                        i do have the log file if you need anything else

                                        granted im messing with the untested one
                                        it just seems like it is not moving it from where it builds to there it is needed to run, but i dont know Shit about codeing, but you did say the mv command is useless now,

                                        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 Then the ret-command would something like ecwolf/ecwolf/ecwolf

                                          function install_ecwolf() {
                                              md_ret_files=(
                                                 'ecwolf/ecwolf/ecwolf'
                                                 'ecwolf/ecwolf/ecwolf.pk3'
                                              )
                                          

                                          As I said I did just a quick look into this and did not test so far.
                                          Was the compile procedure okay? You can use the first script I've posted.... this will work.

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

                                            @cyperghost @ExarKunIv Okay so i have now made some small changes in how the scriptmodule fetch the source files from the ecwolf repo. I have removed the downloadAndExtract and replaced it with gitPullOrClone .

                                            It now looks like this.

                                            function sources_ecwolf() {
                                                gitPullOrClone "$md_build" "https://bitbucket.org/ecwolf/ecwolf"
                                            }
                                            

                                            I have tested the changes and it works for me. I have uploaded the changes to the ecwolf.sh file in my ecwolf repo. Although it works for me, i would like one of you to test it out before i add the change to the RetroPie project's PR. :-)

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