4/6/08: Updated ppc rpm file(s) are now hosted at the Hammer of Thyrion SourceForge site.
Here’s a youtube video showing Hexen 2 running on Yellow Dog 6 for PS3. This is made possible by the awesome Hammer of Thyrion project on Sourceforge. Like Quake 2, it has a software rendering mode that the Playstation 3 handles very well.
While there are no PPC RPM packages listed, there’s a source package file on the project’s download page which makes installing this one much easier than building from the source alone. I downloaded the hexen2-1.4.2-1.src.rpm file, then copied it to my /usr/src/yellowdog/SRPMS folder. Then from the command line, I said:
cd /usr/src/yellowdog/SRPMS sudo setarch ppc rpmbuild --rebuild --ppc hexen2-1.4.2-1.src.rpm
I was pleasantly surprised to see it go through the entire process without a hitch! If you’ve played with many open source projects you’ll know this isn’t always the case. Moving to my /usr/src/yellowdog/RPMS folder I found the hexen2-1.4.2-1.ppc.rpm, hexen2-debuginfo-1.4.2-1.ppc.rpm, and hexenworld-1.4.2-1.ppc.rpm it had generated. So I just browsed to it with the file manager and double-clicked on the hexen2-1.4.2-1.ppc.rpm file to start the install. Again, no problems at all. If you run into trouble here, see my list of Third party repos for Yellow Dog 6. Rebuilding the package will require SDL-devel, at least.
After installing from the new hexen2-1.4.2-1.ppc.rpm I saw I had a Hexen 2 menu item under Applications -> Games. Of course now I needed the data files for Hexen 2. If you want to use the demo files you need version 1.11 of the Hexen 2 demo. Just search Google for hexen 2 demo 1.11 and you should find it available from several sources.
The Hexen 2 demo comes in the form of an .EXE file, but that’s OK — you can still use the unzip command to extract the file. For example, assuming you have downloaded the file to your Desktop, open a terminal window and:
unzip -j ~/Desktop/h2demo.exe Install/Hexen2/data1/*.pak
That will extract the pak0.pak file to your current directory (the -j switch tells unzip you just want to extract the file not create directories). Then you need to move the pak0.pak file to the necessary location: /usr/games/hexen2/data1
sudo mv pak0.pak /usr/games/hexen2/data1
After that, you should be ready to run Hexen 2. If you want to use the full version of Hexen 2, see the readme on the Hammer of Thyrion project page for details.
Start Hexen 2 from the menu item Applications -> Games -> Hexen 2. This should bring up a Hexen II Launcher window. Uncheck the box next to OpenGL, optionally leave Full Screen checked, and select SDL for sound, sample rate 48000 (optional). Without OpenGL checked it will allow you to select a max resolution of 640×480 — don’t worry, you can change it later in the game menu. Finally, click on Play Hexen II. If everything went well you should be up and running!
On my system I’m running at 1280×720, but the game starts at 640×480 at first. If I bring up the game menu I can select Options -> Video Modes and change it to 1280×720 (you can see me doing that in the video).
Maybe they’ll host PPC rpm files on the Hammer of Thyrion page so you won’t have to go through the process of rebuilding the source package… If not, I created a Yellow Dog Linux group on Yahoo! Groups that has some limited file storage. You have to register (free) with Yahoo Groups to access it. In the files area you’ll find a ready-made hexen2-1.4.2-1.ppc.rpm file, along with one I created for Quake 2: quake2-r0.16.1-ydl6.ppc.rpm.
Hopefully all of this is OK with everyone involved … ![]()
23 comments
Comments feed for this article
Trackback link
http://blogs.ydl.net/billb/2008/03/09/hexen-2-on-ydl-6/trackback/
March 22, 2009 at 10:32 pm
Mattek
Do you think XP would run smooth on the PS3?
Have you had ANY luck at all with diablo2 running on the PS3? - Could it be the OS you used?
March 24, 2009 at 7:36 am
billb
XP will definitely run slower than previous versions of Windows on the PS3 (via QEMU).
Due to the higher memory requirements of XP, I don’t think it would help for Diablo 2. With the PS3’s PPE core having to emulate a full x86 machine I think it’s just not going to be fast enough no matter how you do it.
March 26, 2009 at 5:58 am
Joe Cupertino
I got the Java plugin working for firefox but what I want to do is to be able to run Java apps from the YDL 6.1 desktop.
April 2, 2009 at 2:37 am
PiolloTorm
Hello billb:
Sorry for my poor english, but i don’t control your Lenguage.
My Nickname is Piollotorm and I’ve use your install guide to compile SDLMame that you posted in http://pleasantfiction.ipower.com/bodega/viewtopic.php?f=6&t=18&st=0&sk=t&sd=a&hilit=sdl+mame#p28. It’s very good.
I’ve translate (freely) to spanish by petition of one user forum (www.elotrolado.net). I´m a simply user.
I tell you if you don’t want to make it public and you want i erase it.
A lot of thanks.
April 10, 2009 at 10:30 am
BAS
Hey bill, I am having some issues. Now I am pretty much a noob to YDL in general, but here is the issue I am having. I went to do this sudo revisited stuff, and it kept saying sudoers was a read only file and wouldn’t let me change it or anything, even in root. So I made a new file, copying all the content of the original, then named it sudoers, and erased the old one (probably a stupid move lol) but now I get this error when I try to enter sudo, it says “sudo: /etc/sudoers is mode 0644, should be 0440″ and it doesn’t allow me to enter sudo. Is there a way to fix this? or am I screwed? Again, I’m new to this stuff so all help you can afford would be appreciated! Thanks!
-BAS
April 12, 2009 at 12:15 pm
billb
I need to update that guide including the step to make the sudoers file writable. You can fix the issue you’re having with (I’m assuming you’ve already edited the file and made the change):
su -
chmod 0440 /etc/sudoers
exit
April 18, 2009 at 12:18 pm
morgan
Any chance you could attempt to run Grim Fandango using this method? Running that would be my only real reason for going through this process and I don’t want to bother if it won’t work. Thanks.
April 26, 2009 at 3:15 pm
Mick711
Hello
On the original Cloanto files af_boot.uaerc you have :
# E-UAE configuration file
# General options
unix.rom_path=/cdrom/Amiga Files/System/rom
unix.floppy_path=
use_gui=false
use_debugger=false
# Host CPU-specific options
x86.use_tsc=true
# CPU emulation options
cpu_type=68020/68881
cpu_speed=max
cpu_compatible=false
cpu_cycle_exact=false
# JIT compiler options
cachesize=16384
compfpu=true
# Chipset options
chipset=ecs_agnus
ntsc=false
immediate_blits=true
collision_level=none
# ROM options
kickstart_rom_file=$(FILE_PATH)/amiga-os-3×0.rom
kickstart_key_file=$(FILE_PATH)/rom.key
kickshifter=false
# RAM options
chipmem_size=4
bogomem_size=0
fastmem_size=8
z3mem_size=0
gfxcard_size=8
# Floppy drive options
floppy0=
floppy0type=0
floppy1=
floppy1type=0
floppy2=
floppy2type=0
floppy3=
floppy3type=0
nr_floppies=4
floppy_speed=100
# Hard disk options
filesystem2=rw,DH0:System:/cdrom/Amiga Files/System/dir/System,1
filesystem2=rw,DH1:Work:/cdrom/Amiga Files/System/dir/Work,0
# Display options
gfx_framerate=1
gfx_width_windowed=800
gfx_height_windowed=600
gfx_width_fullscreen=800
gfx_height_fullscreen=600
gfx_fullscreen_amiga=true
gfx_lores=false
gfx_linemode=double
gfx_correct_aspect=false
gfx_center_horizontal=none
gfx_center_vertical=none
show_leds=false
# Sound options
sound_output=normal
sound_bits=16
sound_frequency=44100
sound_channels=stereo
sound_interpol=none
# Input device options
joyport0=mouse
joyport1=kbd1
# SCSI emulation options
scsi=true
scsi_device=/dev/cdrom
# Network emulation
bsdsocket_emu=true
# X11-specific options
x11.map_raw_keys=false
x11.low_bandwidth=false
x11.use_mitshm=true
What difference is necessary for run on Linux on PS3 ?
April 30, 2009 at 5:53 am
billb
@morgan — I’ll give that a try. Also it appears there’s a sub-project of scummvm that is in the works (http://apps.sourceforge.net/mediawiki/residual/index.php?title=Main_Page) but I haven’t tried it.
April 30, 2009 at 5:56 am
billb
@Mick711 — my .uaerc file is shown in this post: http://blogs.ydl.net/billb/2008/03/02/amiga-os-3x-on-the-ps3/
May 18, 2009 at 4:27 pm
justfreakinwayne
Hey Billb , I’ve been using ydl for about a year. Still no good at running outside gui. Since 6.1 I can’t find any p2p programs that work. Will never get Usenext on this thing due to the mono issue., but do you know of anything?
May 25, 2009 at 6:36 am
billb
I use deluge:
http://pleasantfiction.ipower.com/ps3linux/ps3bodega61/ppc/repodata/repoview/deluge-0-0.5.8.6-2.ydl6.bdg.html
After setting up repo:
http://pleasantfiction.ipower.com/bodega/viewtopic.php?f=11&t=21
Then just:
yum install deluge
The version I have in the repo is a bit old, but it works for me.
May 26, 2009 at 9:22 am
Arakageeta
billb, do you know if anyone tried compiling snes9x with IBM’s Cell xlc compiler (aka Octopiler)? I am curious to see if the emulator can be enhanced with xlc’s automated SPE offloading.
I was thinking of taking a shot at this myself, but I wanted to check here first.
May 27, 2009 at 9:32 am
billb
Sorry, I don’t know of anyone who has attempted that.
June 27, 2009 at 8:06 am
John Murray
Hey billb. I’ve installed YDL 6.1 on my PS3 and then updated it with as much stuff as I can get my hands on (via yum). I’ve also installed the port of VLC and I’m able to play movies and mp3 fils quite sucessfully. What I am having a problem with is sound (and video) in Firefox. At this point I’m unsure what to do–I’ve had a look at the the available plug-ins, but none of them, seems to have anything to do with sound. Any ideas what I can do to get this part working?
July 18, 2009 at 11:13 pm
ynah2q3
You know what that means - pumpkin guts. They’re gooey, they smell a bit funny, and they’re an easy way to quadruple the weight of your garbage can.
Stickiness aside, what CAN you do with pumpkin guts?
July 18, 2009 at 11:15 pm
ynah2q3
I’m due to inherit shortly a PowerPC based Mac (well at least I think it is as I’m sure it’s over a year old) and I was wondering what my hope of running games on it might be.
I would idealy like to run Ubuntu on it as I like it as an OS. It looks like I wont be able to run games using Wine, are there any other options?
July 18, 2009 at 11:17 pm
ynah2q3
Yes that’s exactly how you would do it. However most software has been written to make use of the environment variables so that files can be stored in the users home folder such as save games etc. If you go to the terminal and type set you can see the entire list of environment variables for the current user.
August 9, 2009 at 11:12 am
Dann
Have you got the fluendo mp3 codec installed? that should get sound working in firefox but videos (youtube etc im guessing follow the sfwdec tut on http://www.yellowdog-board.com/viewtopic.php?f=19&t=3712&start=120&st=0&sk=t&sd=a, sorry if this isnt allowed on forum rules but im new to ydl net :-/
September 11, 2009 at 2:38 am
knicknak
Do certain emulators work better than others for various systems?
i.e. For Genesis, does XE work better than sdlmess? For 2600 does stella work better than sdlmess (not listed but I saw in a post that it does work)? Does the order the emulator is listed (when multiple emulators are listed) indicate a preference?
Basically is there a way to tell which emulator is the best to use for each system on the PS3?
PS: I couldn’t type in the anti-spam word on Chrome, it wont let me type in that box (it goes back to the website box).
September 14, 2009 at 8:02 am
billb
@knicknak
Yes, XE works better for Genesis, and I’d prefer stella for Atari 2600 over sdlmess as well. Here’s a short list of what I’d use:
Amiga — e-uae
Apple II series — sdlmess
Atari 2600 — stella
C64 — vice
Coleco — sdlmess
Genesis — xe
NES, GB, GBC, GBA — mednafen
SNES — snes9x-gtk
October 30, 2009 at 12:14 pm
dislaire
can anybody try fallout 1 & 2 on qemu?because i really want to know if it works, specially fallout 2…
May 6, 2010 at 6:26 pm
mike
does anyone know where the config file .uaerc is saved when you install euae from the dribble repository ?
No matter what changes I make to the one .uaerc file in my home directory, it does not seem to have an effect, cant even change the resolution. Anyone knows if you can use hardfiles with euae as well ?
thanks for your help !