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 15.7k 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.
    • 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
                                      • P
                                        polygaryd @QuakeGuy
                                        last edited by

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

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

                                        this works 100 percent btw. i had the run command correct but not the emulator.cfg was missing the %ROM%. learned something new today. very cool

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

                                          has anyone tried glhexen2 through emulationstation ?

                                          pi4b 8gb ram
                                          image from downloaded image on retropie website
                                          cannakit power adapter that came with the pi
                                          retropie 4.7.1 buster

                                          when running glhexen2 you have to use the command sudo xinit /opt/retropie/ports/hexen2/glhexen2. Through lxde desktop it starts just fine ((no need for sudo xinit) except music) even through terminal in lxde desktop it works fine ((no need for sudo xinit) except music)

                                          The problem is doing it through emulation station or command line by hitting f4 in emulationstation. It says the user dir = root/.hexen2 and that it cant find a hexen2 installation there. Well no kidding because that's not where its located. its located in /home/pi/.hexen2 aka /home/pi/RetroPie/ports/hexen2 how do you change the user dir to the proper folder? hexen2 executable shows it correctly and therefore loads properly .

                                          I'm assuming it has something to do with having to use sudo to run xinit ever since x-server was updated recently but I'm unsure that's the reason the user dir is in the root folder instead of pointing to where its supposed to be.

                                          Still cant figure the music out for hexen2 or glhexen2 executables. neither work

                                          Any help on these two issues would be great.

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

                                            @polygaryd Most likely you've started the game once as root and it wrote that path to a configuration file ?
                                            sudo should be needed to start an X application, just prefix the emulators.cfg entry with XINIT: and RetroPie's runcommand should take care of launching an X session with the game.

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