I recently discovered a recreation of Bioware’s Infinity Engine which runs Baldur’s Gate 2, IceWind Dale 1 and 2, and Planescape Torment. The project, named GemRB (”Game engine made (with) (pre)Rendered Background”), is still in alpha and the games aren’t fully playable, but it looks promising!
With a little work and some help from the GemRB discussion forum I was able to get it running on the PS3 under Yellow Dog Linux 6. Here are some screenshots of Icewind Dale running on my system using gemRB:
There were no performance issues on the PS3 — the game appears to run at full speed. The sound effects are perfect, but I have not yet been able to get the music to play. There isn’t much to do in the games at this time since a number of features haven’t been implement yet, but it’s great to see an engine for these games running on the PS3.
For more information, check out the GemRB wiki and the Sourceforge project homepage. The GemRB discussion forum can be found here.
If you want to try it yourself, be sure to grab the latest source from SVN. Here’s a basic howto:
1. Open a terminal window and create a folder where you’d like to download the source. For example, I use a build folder in my home directory:
mkdir build
2. Change to your new folder and download the source with this command:
cd build
svn co https://gemrb.svn.sourceforge.net/svnroot/gemrb/gemrb/trunk gemrb
3. Change to the gemrb source folder and run autogen.sh to prepare for compilation:
cd gemrb
./autogen.sh
You may need to install additional libraries on your system — the configure script should point these out.
4. Run make and make install. This will compile gemRB and install it in a GemRB folder in your home directory. You can run both commands on one line like so:
make && make install
5. Change to your new ~/GemRB folder and edit GemRB.cfg.sample. To set it up for Icewind Dale, I made the following changes and saved it as GemRB.cfg in the ~/GemRB folder:
GameType=iwdGameName=Icewind Dale GamePath=/media/apricorn/gatedata/icewind/ CD1=/media/apricorn/diskimages/icewind1/ CD2=/media/apricorn/diskimages/icewind2/cd2/ PluginsPath=./plugins/ EndianSwitch=1
The GamePath is a folder where I copied a complete install of Icewind Dale from a Windows PC (you can install Icewind Dale on Windows via QEMU if necessary), and the CD1 and CD2 folders are where I copied all the files from the two install CDs. The EndianSwitch=1 is necessary for game to run properly on the PS3.
6. Finally, run gemrb. I had to “hide” the music folder from gemrb because it crashed when attempting to play the music at the title screen. Also on my system I don’t have a /dev/dsp — it is /dev/dsp1 instead, so I made a symbolic link to /dev/dsp1.
Renaming the music folder:
mv /media/apricorn/gatedata/icewind/music /media/apricorn/gatedata/icewind/music.bak
Making a link to /dev/dsp1:
sudo ln -s /dev/dsp1 /dev/dsp
Starting gemrb:
cd ~/GemRB
./gemrb
7 comments
Comments feed for this article
Trackback link
http://blogs.ydl.net/billb/2008/04/12/baldurs-gate-2-and-icewind-dale-on-the-ps3/trackback/
May 27, 2008 at 5:06 pm
Jonathan
I need a little help with setting the video-mode for a ps3 on fedora 9. When I’m in root and put in video-mode I can only choose 480p. And when you mention “video=ps3fb:mode:3 rhgb
(this section may look different depending on how you installed Fedora 9)” in your post on fedoraforum.org, Mine is different and that does not appear on the editor screen. Can you help??
June 16, 2008 at 4:31 pm
Mark
Just wanted to say thanks for all the tutorials. I did this Opera one, and it worked great. I think I have a new favorite browser!
Thanks…..Mark
June 18, 2008 at 4:37 am
Lawrence
Hey Billb…Whats going on with the Yellow Dog Forum? Its been down for a few days now. Do you know whenit will be back up?
June 21, 2008 at 3:08 pm
dan
I installed port audio prior to snes9x-gtk as instructed, but I sitll get no sound. Help?
June 22, 2008 at 7:27 am
billb
@dan, in snes9x-gtk, look in Options -> Preferences -> Sound and make sure your playback rate is 44100 or 48000 — I think it defaults to 32000 and that doesn’t work on the PS3.
June 24, 2008 at 3:15 pm
danb
hey bill. First time here and all of your tutorials and helpful links are the reason I can do all this from my couch. Thanks in advance. Anyway, I was tryin to get GTK 1.51 and Port audio. I tried installing the RPM for port audio and I keep getting an error at the end. I was hoping you could help me out. I get:
Error Resolving Dependencies
Unable to resolve dependencies for some packages selected for installation.
In the details Tab:
Missing Dependency: libjack.so.0 is needed by the package portaudio
thanks again for all your help.
June 24, 2008 at 6:46 pm
billb
@danb, I see — that is provided in the fedora-extras repo (fc6), so if you haven’t added the additional third-party repos as described here:
http://blogs.ydl.net/billb/2008/03/02/third-party-repos-for-ydl-6/
Then the installer won’t pick up the dependency. There may be other RPM packages I have made that require the third party repos as well. There’s a post on the YDL community board that describes them in more detail here, plus how to install software on YDL in general:
http://www.yellowdog-board.com/viewtopic.php?t=3017
Once you have them set up properly, the installer should pick up the dependency and add it automatically.
jack-audio-connection-kit.ppc 0.103.0-1.fc6 fedora-extras
Matched from:
libjack.so.0
Also, I have a new version of the portaudio rpm that I haven’t posted yet — here’s a direct link:
http://pleasantfiction.ipower.com/ps3linux/ps3bodega/portaudio-19-5.ppc.rpm
(still need to add the 3rd party repos first, at least fedora-extras anyway)
And when you have snes9x-gtk installed, look in Options -> Preferences -> Sound and make sure your playback rate is 44100 or 48000 — I think it defaults to 32000 and that doesn’t work on the PS3.