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'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.
-
@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.
-
@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 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@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.
-
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.
-
@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
-
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 busterwhen 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.
-
@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 theemulators.cfg
entry withXINIT:
and RetroPie's runcommand should take care of launching an X session with the game. -
That worked! I uninstalled xserver-xorg-legacy (which RetroPie-Setup does anyway when you run it) and tested it.
Music still doesnt work though. can you shed any light on that issue? Files are in mp3 format, renamed just like the read me on the hammer of thyron website says to do. In the hexen2 console it says "cant handle music file casa1"
can you shed any light on why this music wont work for me?
-
@polygaryd I'm not familiar with Hexen or this particular source port, I can't say why it's not working. Just check that the files have the proper permissions, maybe you accidentally moved things around as
root
and thepi
user cannot read them ? -
permissions for the mp3s are
user : pi
group: pi
view : anyone
change: only owner
execute:anyoneI replaced all of the mp3 files with ogg files and the music loads now. Permissions are the same as the mp3 files. The ogg files are named the same way as the mp3 files as instructed in the readme on the HoT website.
New issue is the music is choppy (in game not in vlc player in lxde) and the sound effects sound odd like crackly.
Same goes for Hexen 2 portals, music works now that the files are ogg files but is choppy and sound effects crackle.
Interestingly enough the mp3s and the ogg files for hexen 2 were gotten online aka someone else made them from cd tracks i assume. The portals music I took right off the cd image in bin/cue format directly to wav files then used soundconverter to convert them to ogg files. The music issue is the same in both hexen2 and the expansion pak even though the files come from different original sources and different methods of converting them. This leads me to believe the HoT port has some issue or I'm missing something I need to make it work properly.
Any advice for as to why this may happen?
-
@polygaryd so the mp3 files work. I just had a space in front of casa1.mp3 so hexen2 couldnt find it and I never went past the first level. I only found out when I installed sox to play mp3 from command line figuring that may have something to do with it. I typed play casa1.mp3 and it said no file found when i knew it was there. saw it had a space removed the space, started hexen2 and it works. Sound is still messed up though choppy and sound effects crackle in a way that you know isn't normal or how the sound effect is meant to be.
-
@polygaryd Hi! I just had a go at Hexen II, too. I found that by adding the option
-sndspeed 44100
the sound crackling went away. maybe you can add the option in the start script, but better would be to add it to\opt\retropie\ports\hexen2\emulators.cfg
.I don't know, if this will work though, because I'm now using a SDL2 enabled version of Hexen II.
@tpo1990 Maybe you can look into updating your script to that, because with that you don't have to rely ondispmanx
for scaling -
hey thank you for the info. I will try it and let you know.
How did you upgrade to the sdl2 version of hexen 2?
-
@polygaryd I'm very sorry, but I have forgotten... I probably downloaded the source from the github page and compiled it and copied the executable over? Maybe I edited tpo1990's install script so that it points to the github page? I really can't remember and I'm away from my Rpi4.
But I can assure that it probably wasn't too hard, otherwise I probably wouldn't have pulled it off ;) -
@ecto If you could follow up and let me know how you did it specifically for your setup Id appreciate it. I'm still fairly new to the linux world as well as github, and I dont want to mess anything up.
-
@ecto I tried your suggestion and added -sndspeed 44100 to the emulator.cfg file but it is still crackling however it did seem better.
On another note I think I figured out how to change the install script to build and install the hexen 2 sdl2 version.
download the install script using tpo1990's provided command:
wget https://raw.githubusercontent.com/tpo1990/Hexen2-RPI/master/hexen2.sh -P /home/pi/RetroPie-Setup/scriptmodules/ports/
Go into RetroPie-Setup/scriptmodules/ports folder and the script is named hexen2.sh
Edit the script find and and change https://github.com/svn2github/uhexen2.git to https://github.com/jpernst/uhexen2-sdl2.git
save it
go into the retropie settings in emulationstation,
go to manage experimental packages
select hexen 2,
install
then reboot the system or just restart emulation station after its done, and its good to go.Tell me if I'm wrong but it seemed to work 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.