JustLinux Forums

JustLinux Forums (http://justlinux.com/forum/index.php)
-   Games (http://justlinux.com/forum/forumdisplay.php?f=31)
-   -   Anyone try Warzone2100 (http://justlinux.com/forum/showthread.php?t=141666)

Calipso 07-23-2005 11:22 PM

Anyone try Warzone2100
 
Anyone ever try Warzone2100??

http://www.strategyplanet.com/warzon...overview.shtml

looks great but I cant seem to get it to compile. Keeps saying that I dont have OpenAL installed. I tried looking for a few rpms, and the few that I tried installing didnt help the situation.

Looks like a really good game though.

bwkaz 07-24-2005 01:38 PM

Did you install openal, or openal-dev? If you're compiling, you need the -dev version. (Or -devel.)

Calipso 07-25-2005 10:37 PM

Thank you...you were right. I didnt have the devel package installed.
Now new problem though...doesnt compile and gives this error

cdaudio.c:10:17: error: mad.h: No such file or directory
make[3]: *** [cdaudio.o] Error 1
make[3]: Leaving directory `/home/tomfedora/.sourceinstall/build/warzone2100-0.2.1/lib/sound'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tomfedora/.sourceinstall/build/warzone2100-0.2.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tomfedora/.sourceinstall/build/warzone2100-0.2.1'
make: *** [all] Error 2

Now time for me to track this down. I really wanna play this game!

Calipso 07-25-2005 11:21 PM

cdaudio.c:10:17: error: mad.h: No such file or directory

gets solved by installing libmad and libmad devel

Calipso 07-25-2005 11:29 PM

Great...now when trying to run the game I get this:

ErrorBox: Couldn't open palette.bin
ErrorBox: Couldn't load palette data

Time to go hunting for a solution

Calipso 07-26-2005 01:07 AM

woo
I got it to work.
What you have to do is, after you extract everything, and ./configure and then make. You dont do makeinstall, but what you have to do is copy or link the binary file from /src/ to /data/ in the directory that you extracted. Then you launch the game via the binary in the data folder.

Its a great looking game. Really happy that such a nice RTS is avaiable for linux.
I highly recommend it.

Icarus 07-26-2005 07:33 AM

sounds like the 'make install' script is broken

I'll have to check out this game soon

SuuperFly 11-25-2005 12:35 PM

Hi there I have done everything you wrote but now i get this error:
[root@iceland data]# ./warzone
Warning: Using colour depth of 16 instead of 24.
Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual).

any help?

je_fro 11-25-2005 06:03 PM

Do you have glx libs installed?
WHat video card do you have?

CaptainPinko 11-25-2005 08:24 PM

Quote:

Originally Posted by Calipso
cdaudio.c:10:17: error: mad.h: No such file or directory

gets solved by installing libmad and libmad devel


Yeah, rpms are AWFUL about that. I don't think they actually test them. Even Fedora had this problem when I used it. Ideally Every SRPM(or whatever) would be built from scratch on a clean system with only the base system and it's dependencies

Quote:

Originally Posted by Calipso
Great...now when trying to run the game I get this:

ErrorBox: Couldn't open palette.bin
ErrorBox: Couldn't load palette data

Time to go hunting for a solution

try looking at the permissions for those files. set them to chmod a+rwx palette.bin and trying running it. Then start removing priveleges incrementally.

Calipso 11-25-2005 09:48 PM

Quote:

try looking at the permissions for those files. set them to chmod a+rwx palette.bin and trying running it. Then start removing priveleges incrementally.
hehe, thanks captainpinko but the message I wrote following the one you replied to says I fixed the problem and got the game working :D I appreciate you trying to help though :)


SuuperFly....sounds like some sort of vid card issue or maybe like je_fro said, you may not have glx installed.


All times are GMT -4. The time now is 04:49 AM.

Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.