Iris2.de

Iris2-Forum
It is currently Fri Apr 26, 2024 3:08 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Aug 14, 2007 7:55 am 
Offline

Joined: Mon Aug 13, 2007 12:34 am
Posts: 3
Location: Salt Lake City, UT
Well I just spent a ridiculous amount of time getting Iris2 to run on my openSUSE 10.2 install so I thought I'd write up a little howto and help out others that may be having similar troubles. Mind you some of this I'm pulling from memory so I don't promise accuracy.

Preparation
You'll of course want to get UO installed on your system. There's links on the Wiki to download it and the installer and the game itself run flawlessly under Wine.
Next you'll want to open YaST (or whatever package manager you use) and get the following packages. For every package you'll want the devel as well, if applicable.
ogre 1.4.0+
ogre-plugin-cg
ois
freeimage
boost
SDL-1.2.11+
libogg
libvorbis
openal
freealut
(one could argue you don't need openal and freealut but just to avoid it complaining.)
libjpeg
libtiff

Other Software
Lua 5.0
The lua files from my distribution were not recognized at all by the configure script. I downloaded 5.0 source from http://www.lua.org (I'd imagine any 5+ version would work).
tar xzvf lua*.tar.gz
./configure --prefix=/usr
(I had some problems with the default /usr/local and had to export the path, your mileage may vary)
make
(as root)
make install
make so
make soinstall

SDL_image 1.2.5+
the configure script complained about some option not being enabled in my SDL_image package, I don't recall which. I downloaded the source from http://www.libsdl.org/projects/SDL_image/. In my case libjpeg and libtiff were not installed, which is why I mentioned them in the requirements. Other than that the generic install worked fine for me.
./configure --prefix=/usr
make
(as root)
make install

FMod 4.x
This is directly from the INSTALL file.
download FMOD Ex 4.x Programmers API for linux from http://www.fmod.org/
tar xfz fmodapi40622linux.tar.gz
cd fmodapi40622linux
su
make install

Preparing Iris2 for compilation.
I couldn't get this to compile at all with openal, as is a common problem it would seem. I got the solution for that from this post http://iris2.de/forums/viewtopic.php?t=1072&start=15 .
So unpack your Iris2 tarball where ever you want to build it and edit these files in the src directory
Makefile.am
On line 25 for me I changed
Code:
      sound_openal.cpp\
      //sound_openal.cpp\

sound.cpp
Right near the top, line 4 make sure these entries look like this
Code:
      define USE_FMOD                        1
      //#define USE_OPENAL                   1


Compiling Iris2
From the main Iris2 directory.
sh bootstrap && sh configure && make
(Hopefully that will compile correctly. If not it's ok to cry)

Running Iris2
Once you are finished you can call Iris2 from start.sh in the main directory of where you untarred it. You'll of course want to finish configuring it as per the instructions on http://www.iris2.de/index.php/InstallationManual .
I personally was unable to get focus on the window in fullscreen mode, if you have the same issue you can run it in windowed mode, that solves the problem.
Also my last bit of advice, assuming you installed UO with wine it's probably some unwieldy path. I just did a symbolic link for simplicity.
ln -s ~/.wine/drive_c/Program\ Files/EA\ Games/Mondain\'s\ Legacy ~/uo

Well I think that's about it, I hope someone finds that useful.


Last edited by melchoir on Tue Aug 14, 2007 4:21 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 14, 2007 8:56 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
thanks for sharing

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 14, 2007 11:37 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
yeah, thank you very much, that'll help many people.
i also put a link to this thread in the wiki : http://www.iris2.de/index.php/Building_From_Source


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group