Modding, Mission Design, and Coding > Cross-Platform Development

Looking for a little Help

(1/2) > >>

03BlkEdge:
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.

taylor:

--- Quote ---Originally posted by 03BlkEdge
There is no 'configure' script, at least not that i saw, in the CVS download.
--- End quote ---

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.

Goober5000:
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.

03BlkEdge:
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
--- End quote ---


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:

taylor:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version