Author Topic: Looking for a little Help  (Read 2656 times)

0 Members and 1 Guest are viewing this topic.

Looking for a little Help
I downloaded the Freespace2 installer several months ago from; http://www.icculus.org/~ravage/freespace2/  And I finally got around to installing and playing it now.  

The game runs great, except for a problem with the main campaign..  I have gotten near the end, i think, to the "clash of the titans II" mission. All the Shivan ships are gathered around the sun, and you have to escort the bastion to the jump node to blow it up.  The problem is that the Bastion just sits there and floats around in circles.  

This made me decide to look for an update or patch that might resolve this problem.  I followed these instructions to download the latest CVS build; http://www.icculus.org/freespace2/cvsinfo.php

And I stumbled on a 'recent' Makefile here; http://cvs.icculus.org/cvs/freespace2/Makefile?rev=1.45&view=log

....  Now what?  

I'm a CVS noob, and Im not really sure what to do next to configure and compile the source, and I'm not even sure it will solve my problem. There is no 'configure' script, at least not that i saw, in the CVS download.  

Any help would be greatly appreciated.  

Regards,

Steve.
My System:
AMD XP 2800+ 2.08ghz
1gb DDR400 - Ram
200GB 7400 RPM HDD
GeForce FX5700LE 128mb

Running Suse 9.1 Pro - Kernel 2.6
Windows XP - VMware.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Looking for a little Help
Quote
Originally posted by 03BlkEdge
There is no 'configure' script, at least not that i saw, in the CVS download.

You don't need one.  Just type 'make' and it will build the binary.  You might want to edit the Makefile though and remove the # in front of these two lines near the top:

#CFLAGS+=-O2
#CFLAGS+=-DNDEBUG

This will make sure that you make an optimized release build.  The release build doesn't have all of the debug info and runs a bit faster.  It will make a "freespace2" binary in the current directory so just copy that where ever you need it.

For your particular problem though, it does happen but seems rather random.  I've had it happen in other missions but never really found the cause.  Compiler issue perhaps but I haven't seen it in quite a while now.  Do try the CVS version built for your own machine and see if that helps.  I'm betting it will and even if it doesn't you'll at least get audio for movies, music and briefing voices which is pretty cool.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Looking for a little Help
It's not a compiler issue, it's a Freespace bug.  Sometimes a capship doesn't flag its waypoints as complete.  It's completely unpredictable; some people have it happen to them all the time and some people never have it happen to them.

Your best course of action is to edit the mission so that the event checks the distance from the Bastion from its last waypoint, not whether the waypoints are actually complete.

 
Looking for a little Help
I get this error during compilation,,,  

Quote
src/sound/ds.cpp: In function `int ds_init(int, int)':
src/sound/ds.cpp:1475: error: `ALCubyte' undeclared (first use this function)
src/sound/ds.cpp:1475: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
src/sound/ds.cpp:1475: error: `initStr' undeclared (first use this function)
make: *** [src/sound/ds.o] Error 1


Any idea's?  

Regards,

Steve

P.S. Thanks for all the help so far.  I tried to run make before and came up with an error.  Then I realized that I needed to install openal and SDL devel packages.  :doh:
My System:
AMD XP 2800+ 2.08ghz
1gb DDR400 - Ram
200GB 7400 RPM HDD
GeForce FX5700LE 128mb

Running Suse 9.1 Pro - Kernel 2.6
Windows XP - VMware.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Looking for a little Help
Most likely your OpenAL version is out of date or the install is messed up a little.  Check in /usr/include/AL/alctypes.h for ALCubyte and if it's not there then it's probably out of date.

Most distros only ship older versions so try and find one that's a bit newer.  You may have to get it out of CVS which is a little touchy right now.  Instructions are here http://openal.org/downloads.html but make note of the tags they list.  For TAG in their cvs checkout command line you'll want to use "Linux_Spec1_0" in order to get a version that will work.

If you search around a little though I bet you'll be able to find a newer openal that has already been compiled for your version of SuSE.

 
Looking for a little Help
actually i think there is a typo in src/sound/ds.cpp

I change the line that contained `ALCubyte' and made it 'ALubyte' and the binary compiled ok.  However there is a pretty crappy buzz going on during the mission breifing and during play.  I think it only has to do with certaint sound files though.  it only seems to happen when the weapons are fired, or when you hit the after-burner.
My System:
AMD XP 2800+ 2.08ghz
1gb DDR400 - Ram
200GB 7400 RPM HDD
GeForce FX5700LE 128mb

Running Suse 9.1 Pro - Kernel 2.6
Windows XP - VMware.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Looking for a little Help
Both ALCubyte and ALubyte should exist, though they are technically the same thing which is why you could interchange them.  If ALCubyte is not there then the OpenAL version is too old.  If that's the case then you're likely to get numerous problems and that may be part of what you're seeing.  What kind of sound card do you have?

 
Looking for a little Help
You were right Taylor..  I had to update openal.

RPM Seek had one for suse that worked well, no problems with the sound.. Im tempted to go play the whole orig campaign again just for the movies and mission breifings. ;)  

Thanks for all your help

Steve.  

P.S. I am using a SB Live Value.  Actually IIRC.  I bought that card the same day I bought FS2 back in '99...
« Last Edit: June 15, 2005, 12:45:53 am by 2856 »
My System:
AMD XP 2800+ 2.08ghz
1gb DDR400 - Ram
200GB 7400 RPM HDD
GeForce FX5700LE 128mb

Running Suse 9.1 Pro - Kernel 2.6
Windows XP - VMware.