Hexen II - uHexen II: Hammer of Thyrion source port on RetroPie/Raspbian (Ready for download)
-
@tpo1990 I'm a little lost, if anyone has the time to give me a hand. I've installed Hexen 2 source port and everything runs great; I even got the joystick working with little effort. But I can't for the life of me figure out how to get the Portals of Praevus mission pack to work. I have pak3.pak in the data1 folder, and I also have the "Portals" folder from the version installed on my pc copied into "/home/pi/RetroPie/roms/ports/hexen2" so I have pak3.pak in two different places to be safe.
I tried creating a .sh file similar to all of my doom source files that says "#!/bin/bash
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "hexen2" "/home/pi/RetroPie/roms/ports/hexen2/Portals/pak3.pak" and during the load screen it'll even say loading pak3.pak, but it always just starts playing Hexen II, and not the mission pack. Does anyone know what I'm doing wrong? -
@OldSchool For the Hexen 2 source port to recognize Portals of Praevus mission pack and getting it to work, the pak3.pak file should be placed only in its own folder "portals" in the hexen2 roms folder and you need to specifiy the .sh file to launch Portal of Pravevus by using the switch "-portals"
That means it would probably look something like this in the new .sh file.
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "hexen2 -portals"
I hope this helps.
-
@tpo1990 Ah, that makes sense. I changed it to "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "hexen2 -portals" "" but it didn't work. It went to the command line for a second and said no config found for system hexen2 -portals. So I went into the Portals of Praevus folder on my PC install, but there was no config file there either. I started a game of Portals of Praevus hoping the game would then create a config file, which it did. So after closing Portals of Praevus on the PC I transferred the config file into the portals folder on the RetroPie, but I still get the same message of no config file. Maybe it's supposed to be in a different directory than the portals folder? I feel like it's so close, like I'm missing one crucial thing.
-
Hi OldSchool. You are using the runcommand tool to start the hexen2-binary, so you have to configure the location of your hexen-binary also. In this case look for the file configs/ports/hexen2/emulator.cfg. The file should point to your hexen2:
uhexen2 = "/usr/games/hexen2 %ROM%" default = "uhexen2"
Just create it, if the file is missing or start hexen2 without runcommand.
My command line for hexen2 is
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "hexen2" ""
and for the misson pack
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "hexen2" "-portals"
-
@OldSchool Yes its probably just a line that you need change in order for the Hexen 2 binary to load the mission pack.
The suggestion that @QuakeGuy comes up with seems like a feasible solution to accomplish it.
-
My emulator.cfg file says
hexen2 = "/opt/retropie/ports/hexen2/hexen2" default = "hexen2"
and the Hexen 2 Thyrion Source Port works great, so I'm assuming while the line isn't the exact same as yours is, it functions correctly. But when I use the ssh file with the command line you said to use
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "hexen2" "-portals"
all it does is launch Hexen 2, and not the Portals missions pack. It starts Hexen 2 up great, but it doesn't seem to direct it to load pak3.pak from the portals folder, which is itself inside my hexen2 folder where I believe it is supposed to be. I'm just stumped as to what the problem is, because I've tried all the instructions here. I'm truly lost and maybe it just isn't going to work at the moment.
-
@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"
-
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.isuIt'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.
-
@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 -
@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.
-
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?? -
@RetroFreak89 RetroPie is Raspbian on the PI.
-
@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??
-
@RetroFreak89 Please stop hijacking other topics with your questions. You already have a topic opened for it, add your questions there.
-
@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...
-
@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.
-
@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 thoughtsright now i have a key mapped to the Y key so i can exit the game
lol
-
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.
-
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 2also 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 -
@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.
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.