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

    Hexen II - uHexen II: Hammer of Thyrion source port on RetroPie/Raspbian (Ready for download)

    Scheduled Pinned Locked Moved General Discussion and Gaming
    hexen iihexen 2uhexen iihammer of thyriuhexen2
    67 Posts 13 Posters 23.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 @OldSchool
      last edited by tpo1990

      @OldSchool Use this approach that i did in order to get Portal of Praevus working. This should work 100%.

      Missionpack - Portal of Praevus
      First Copy the "portals" folder to /home/pi/RetroPie/roms/ports/hexen2/
      Copy Hexen II.sh and rename it to Hexen II Mission Pack: Portal of Praevus.sh.
      Edit Hexen II Mission Pack: Portal of Praevus.sh file with this line:

      "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 "/opt/retropie/ports/hexen2/hexen2 -portals"
      

      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.

      O 1 Reply Last reply Reply Quote 0
      • O
        OldSchool @tpo1990
        last edited by

        @tpo1990

        I really appreciate the help you've given me. Sadly that didn't work either, which is weird. It still just loads up Hexen 2 like normal. Am I missing a file in the portals folder? I copied over the entire folder from my PC installation, which contains
        config.cfg
        default.cfg
        hexen.rc
        infolist.txt
        pak3.pak
        progs.dat
        puzzles.txt
        strings.txt
        Uninst.isu

        It's confusing that it won't just direct to pak3.pak, but rather loads up regular Hexen 2 instead. I remember making separate sh files for the Doom sequels, and they all worked fine. Not so much with this I guess.

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

          @OldSchool Thats weird. The way i do it should work since all it does is using the same method as if you were running hexen2 hammer of thyrion in Windows.

          In my hexen2 installation i have put the portals folder inside /home/pi/RetroPie/roms/ports/hexen2 folder and not in hexen2/data1/. That means that inside my hexen2 folder i have 2 subfolders named "data1" and "portals"

          Have you tried to do the same with the portals folder?

          My portals folder contains these files.
          default.cfg
          hexen.rc
          infolist.txt
          pak3.pak
          progs.dat
          puzzles.txt
          strings.txt

          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
          • Q
            QuakeGuy
            last edited by

            @OldSchool your emulator.cfg misses something, the %ROM% part. it should look like this:

            hexen2 = "/opt/retropie/ports/hexen2/hexen2 %ROM%"
            default = "hexen2"
            

            this is for the 2nd "" after your PORT part in the runcommand statement. now

            "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "hexen2" "-portals"
            

            works.

            otherwise u can start hexen2 without runcommand. the statement then will look like this

            /opt/retropie/ports/hexen2/hexen2 -portals
            

            my data folders are in /home/pi/.hexen2/data1 -> Hexen 2 and /home/pi/.hexen2/portals -> Portal of Praevus.

            O P 2 Replies Last reply Reply Quote 0
            • R
              RetroFreak89
              last edited by

              I dont want to change subject but im in bit clueless...
              im about to start for my doom/hexen/heretic pi project but im confused what the best way to go is should i go Raspbian or Retropie also what is doom best performing port??

              mituM 1 Reply Last reply Reply Quote -2
              • mituM
                mitu Global Moderator @RetroFreak89
                last edited by

                @RetroFreak89 RetroPie is Raspbian on the PI.

                R 1 Reply Last reply Reply Quote 0
                • R
                  RetroFreak89 @mitu
                  last edited by

                  @mitu huh?? So retropie ES is raspbian??? Well let me put it this way what is best to play these fps ports on ES or raspbian desktop? Or does both give same performance and have the same ports??

                  mituM 1 Reply Last reply Reply Quote -1
                  • mituM
                    mitu Global Moderator @RetroFreak89
                    last edited by mitu

                    @RetroFreak89 Please stop hijacking other topics with your questions. You already have a topic opened for it, add your questions there.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      RetroFreak89 @mitu
                      last edited by

                      @mitu said in Hexen II - uHexen II: Hammer of Thyrion source port on RetroPie/Raspbian (Ready for download):

                      @RetroFreak89 Please stop hijacking other topics with your questions. You already have a topic opened for it, add your questions there.

                      I do not my topic open for it is about doom im asking you if retropie ES is raspbian or not but whatever because you told me IN THIS TOPIC that it was?? But whatever have it your way, peace...

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

                        @RetroFreak89 Please ask only questions that are relevant for Hexen 2 in this topic. If you have any other questions then open a new topic instead.

                        Thank you.

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

                          @QuakeGuy thanks for this. it was a great help.

                          the only thing is i cant get the kill_hexen2.sh to run when i press the buttons.
                          any thoughts

                          right now i have a key mapped to the Y key so i can exit the game

                          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
                          • Q
                            QuakeGuy
                            last edited by

                            ExarKunlv: I assume you followed my instructions closely. Can you post your xboxdrv_hexen2.cfg file? The last line in my example is:

                            guide+start=exec:/opt/retropie/configs/all/kill_hexen2.sh
                            

                            That means bind the key combo Guide-button with Start-button pressed to this script. In your case for the Y key it would be:

                            [evdev-keymap]
                            BTN_WEST=y
                            [ui-buttonmap]
                            y=exec:/opt/retropie/configs/all/kill_hexen2.sh
                            

                            Just the important parts of the cfg. The script is made executable? Just test it over ssh while while Hexen2 is running. You should close Hexen2 remotely so. When this works, there is something else wrong.

                            1 Reply Last reply Reply Quote 1
                            • R
                              retropi19
                              last edited by retropi19

                              Hey there i got an error in the installation by the script
                              error running tar -xv -z -C
                              /home/pi/RetroPIe/roms/ports/hexen --strip-components 1
                              hexen2demo_nov1997/data1 returned 2

                              also the address to get the demo is not reachable anymore

                              instead you can replace it with this
                              https://liquidtelecom.dl.sourceforge.net/project/uhexen2/Hexen2Demo-Nov.1997/hexen2demo_nov1997-linux-i586.tgz

                              Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                              Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

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

                                @retropi19 What RetroPie version are you running since you received the error in the installation process?

                                I just tested the download link for the Hexen 2 demo: https://netix.dl.sourceforge.net/project/uhexen2/Hexen2Demo-Nov.1997/hexen2demo_nov1997-linux-i586.tgz

                                It works perfectly fine for me.

                                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.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  retropi19 @tpo1990
                                  last edited by

                                  @tpo1990 still is not working with me strange
                                  the error was about the demo download that why the installation was stopping
                                  can you put to the script to by-pass the demo if its not found and continue the installation?

                                  Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                                  Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

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

                                    @retropi19 The error should not be caused by the demo download link not working. It is simply that it can not extract it hence why it is failing with tar.

                                    I have seen this before. Try updating your RetroPie installation to the latest version and then try running the scriptmodule again.

                                    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.

                                    P 1 Reply Last reply Reply Quote 0
                                    • O
                                      OldSchool @QuakeGuy
                                      last edited by OldSchool

                                      @QuakeGuy

                                      I've forgotten about this for awhile in my frustration, but I checked this thread again and sure enough, adding %ROM% to emulator.cfg and changing the command line was it. Unbelievable. Such a small change to make, but of course the smaller it is the harder it is to notice that it's incorrect. It works perfect, thank you so much for all of your help, and also to @tpo1990. I feel dumb, but whatever. It's working, and that's all I really care about. Couldn't have managed it without your guys' help.

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

                                        @OldSchool Good to hear that you got it working. I might add the %ROM% part to the install script at a later time, but not before my pull request has been merged with the RetroPie project. Feel free to ask any time.

                                        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
                                        • P
                                          PunchlineKing @tpo1990
                                          last edited by

                                          @retropi19 said in Hexen II - uHexen II: Hammer of Thyrion source port on RetroPie/Raspbian (Ready for download):

                                          Hey there i got an error in the installation by the script
                                          error running tar -xv -z -C
                                          /home/pi/RetroPIe/roms/ports/hexen --strip-components 1
                                          hexen2demo_nov1997/data1 returned 2

                                          also the address to get the demo is not reachable anymore

                                          instead you can replace it with this
                                          https://liquidtelecom.dl.sourceforge.net/project/uhexen2/Hexen2Demo-Nov.1997/hexen2demo_nov1997-linux-i586.tgz

                                          @tpo1990 said in Hexen II - uHexen II: Hammer of Thyrion source port on RetroPie/Raspbian (Ready for download):

                                          @retropi19 The error should not be caused by the demo download link not working. It is simply that it can not extract it hence why it is failing with tar.

                                          I have seen this before. Try updating your RetroPie installation to the latest version and then try running the scriptmodule again.

                                          I had the same problem, just wanted to say that this fixed it for me. Thanks for making this and helping a fool in need.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            polygaryd
                                            last edited by polygaryd

                                            Hi guys I have hexen 2 and the expansion pack working just fine on my pi3b+ with buster and retropie4.7.1, but I cant get the mp3 files to load. I have renamed all the tracks and have them in the data1/music folder as the tutorial says to do. The issue is the console says it cant handle the music file. it cant initialize timidity if using hexen2 -sndsdl and gives me a different error when using -sndalsa flag, unable to set interlieved access, invalid argument. Failed initializing sound. What am I doing wrong here? audio works in every other game and in lxde, kodi, etc.

                                            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.