Author Topic: Need help (big time)  (Read 3127 times)

0 Members and 1 Guest are viewing this topic.

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Well I hope that you are not too busy these times because it may be long to answer. My friend is running on Linux Ubuntu 5.10 and we want to install FS2 and the SCP. We do not know very much how the console works. I don't know if it is important to know, but we are downloading the HOTU version of FS2. Anyway, here's the question (and yes we read the how to install on Linux, we are not sure how it works  :blah:).

1)How, if possible in a step-by-step and easy manner, can we install FreeSpace 2 on Linux (more precisely on Ubuntu)?

2)After getting it installed, how do we install the SCP on it and get the multiplayer?

Bonus question (1000 points): How can we get a Logitech rumble pad work on Linux?

Well that's it, I know I'm asking very much, but that's what happens you are new to Linux! Feel But hey feel free to redirect us at some post out here to explain your point if it's needed. As you see we really want FS2 working  :). Thanks!

EDIT: We run on a AMD 800MHz with a GeForce 2 MX I hope it's enough.
« Last Edit: December 18, 2005, 02:50:41 pm by Pyro MX »

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
(Anytime I use a $, it means that this is at the console...you'll need to know how to get around, ie "cd" goes to a directory, and "ls" lists the current directory's contents, and "cd .." means to go up a directory)

Question 1
1) Download this file to your home directory: http://icculus.org/~taylor/fso/releases/fs2_open-3.6.7.tar.bz2
2) Extract it somewhere - "$ tar -xjf fs2_open-3.6.7.tar.bz2" from the console.
3) go into the folder that was made and type ./configure --help. Look over the options. If you see any you like, include them on the commandline for the final ./configure command (eg "$ ./configure --enable-debug").
4) If for any reason you see missing library errors, you will need to use synaptic/kynaptic to get them. Usually you want to look up "lib(whatever)-dev". For example, "libopenal-dev" or "libsdl-dev". Usually they will have additional numbers in the name.
5) type "make". The executable (binary) will be created in the "code" folder
6) If you see missing library errors here, google them/look in synaptic for them like in step 4.

Now you need to get the freespace 2 files on it. The easiest way to do this is to go onto a Windows computer with FS2 installed, compress all the "*_fs2.vp" files, into a ZIP or RAR, write them to a CD, and then copy them onto the Linux computer from it. Unfortunately I can't give you exact commands for unzipping them, hopefully the GUI can handle them.

For a destination for those files, I suggest "/opt/freespace2". You will have to use sudo. I'm not sure if /opt is created in Ubuntu, if it is, ignore the bolded instructions in the following:
Quote
$ cd /
$ sudo mkdir opt
$ sudo chmod 755 opt

$ cd opt
$ sudo mkdir freespace2
$ sudo chmod 777 freespace 2

Now, copy all the VP files, and the build, to the new folder "/opt/freespace2". From the console this would be something like:
Quote
$ cp ~/fs2_open-3.6.7/code/fs2_open_r /opt/freespace2

Question 2
If you followed these instructions then fs2_open will already be installed. Pick out the mediaVPs you want from here to get the fancy graphics and such. Note that for Patch 3, you'll have to get CVS

Bonus Question
Ask taylor. :p
-C

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Thx a lot! We'll try that  :yes:

If we get any problem we'll get back, but it should be okay.

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
There's an error that showed up:

cutscene/mveplayer.cpp:65: erreur: ‘ALenum’ does not name a type
cutscene/mveplayer.cpp:70: erreur: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp:71: erreur: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp:72: erreur: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp: In function ‘void mve_audio_createbuf(ubyte, ubyte*)’:
cutscene/mveplayer.cpp:248: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:248: erreur: ‘AL_INVALID’ was not declared in this scope
cutscene/mveplayer.cpp:267: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:267: erreur: ‘AL_FORMAT_STEREO16’ was not declared in this scope
cutscene/mveplayer.cpp:269: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:269: erreur: ‘AL_FORMAT_MONO16’ was not declared in this scope
cutscene/mveplayer.cpp:273: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:273: erreur: ‘AL_FORMAT_STEREO8’ was not declared in this scope
cutscene/mveplayer.cpp:275: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:275: erreur: ‘AL_FORMAT_MONO8’ was not declared in this scope
cutscene/mveplayer.cpp:280: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:286: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:286: erreur: ‘alGenSources’ was not declared in this scope
cutscene/mveplayer.cpp:290: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:290: erreur: ‘AL_GAIN’ was not declared in this scope
cutscene/mveplayer.cpp:290: erreur: ‘alSourcef’ was not declared in this scope
cutscene/mveplayer.cpp:291: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:291: erreur: ‘AL_POSITION’ was not declared in this scope
cutscene/mveplayer.cpp:291: erreur: ‘alSource3f’ was not declared in this scope
cutscene/mveplayer.cpp:292: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:292: erreur: ‘AL_VELOCITY’ was not declared in this scope
cutscene/mveplayer.cpp:292: erreur: ‘alSource3f’ was not declared in this scope
cutscene/mveplayer.cpp:293: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:293: erreur: ‘AL_DIRECTION’ was not declared in this scope
cutscene/mveplayer.cpp:293: erreur: ‘alSource3f’ was not declared in this scope
cutscene/mveplayer.cpp:294: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:294: erreur: ‘AL_ROLLOFF_FACTOR’ was not declared in this scope
cutscene/mveplayer.cpp:294: erreur: ‘alSourcef’ was not declared in this scope
cutscene/mveplayer.cpp:295: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:295: erreur: ‘AL_SOURCE_RELATIVE’ was not declared in this scope
cutscene/mveplayer.cpp:295: erreur: ‘AL_TRUE’ was not declared in this scope
cutscene/mveplayer.cpp:295: erreur: ‘alSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:297: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:297: erreur: ‘ALuint’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘void mve_audio_play()’:
cutscene/mveplayer.cpp:309: erreur: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:309: erreur: expected `;' before ‘status’
cutscene/mveplayer.cpp:311: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:311: erreur: ‘AL_SOURCE_STATE’ was not declared in this scope
cutscene/mveplayer.cpp:311: erreur: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:311: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:313: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:313: erreur: ‘AL_BUFFERS_QUEUED’ was not declared in this scope
cutscene/mveplayer.cpp:313: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:313: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:317: erreur: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:317: erreur: ‘AL_PLAYING’ was not declared in this scope
cutscene/mveplayer.cpp:317: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:318: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:318: erreur: ‘alSourcePlay’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘void mve_audio_stop()’:
cutscene/mveplayer.cpp:329: erreur: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:329: erreur: expected `;' before ‘p’
cutscene/mveplayer.cpp:333: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:333: erreur: ‘alSourceStop’ was not declared in this scope
cutscene/mveplayer.cpp:334: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:334: erreur: ‘AL_BUFFERS_PROCESSED’ was not declared in this scope
cutscene/mveplayer.cpp:334: erreur: ‘p’ was not declared in this scope
cutscene/mveplayer.cpp:334: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:335: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:335: erreur: ‘p’ was not declared in this scope
cutscene/mveplayer.cpp:335: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:335: erreur: ‘alSourceUnqueueBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:336: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:336: erreur: ‘alDeleteBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:337: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:337: erreur: ‘alDeleteSources’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘int mve_audio_data(ubyte, ubyte*)’:
cutscene/mveplayer.cpp:356: erreur: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:356: erreur: expected `;' before ‘bprocessed’
cutscene/mveplayer.cpp:357: erreur: ‘ALuint’ was not declared in this scope
cutscene/mveplayer.cpp:357: erreur: expected `;' before ‘bid’
cutscene/mveplayer.cpp:359: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:359: erreur: ‘AL_BUFFERS_PROCESSED’ was not declared in this scope
cutscene/mveplayer.cpp:359: erreur: ‘bprocessed’ was not declared in this scope
cutscene/mveplayer.cpp:359: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:361: erreur: ‘bprocessed’ was not declared in this scope
cutscene/mveplayer.cpp:362: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:362: erreur: ‘bid’ was not declared in this scope
cutscene/mveplayer.cpp:362: erreur: ‘alSourceUnqueueBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:368: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:368: erreur: ‘AL_BUFFERS_QUEUED’ was not declared in this scope
cutscene/mveplayer.cpp:368: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:368: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:370: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:373: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:373: erreur: ‘AL_SOURCE_STATE’ was not declared in this scope
cutscene/mveplayer.cpp:373: erreur: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:373: erreur: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:375: erreur: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:375: erreur: ‘AL_PLAYING’ was not declared in this scope
cutscene/mveplayer.cpp:375: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:376: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:376: erreur: ‘alSourcePlay’ was not declared in this scope
cutscene/mveplayer.cpp:379: erreur: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:403: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:404: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:404: erreur: ‘alGenBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:407: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:407: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:407: erreur: ‘alBufferData’ was not declared in this scope
cutscene/mveplayer.cpp:409: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:409: erreur: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:409: erreur: ‘alSourceQueueBuffers’ was not declared in this scope

 :shaking:

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
You need openal...look up "libopenal0-dev" or something similar.
-C

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
All right I've done it and it worked (I think). But when I execute the file, the screen turns black and it quits immediately - returning to the desktop. Any idea of what could cause this?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Does it give you any errors and do you have the retail FS2 VPs in the same directory as the binary executable?

(Like I said, I'd recommend putting 'em in /opt/freespace2. Then, If you're comfortable enough with the console, make a symlink  in /opt/freespace2 to the binary ($ln -s [path to cvs]code/fs2_open))
-C

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
No errors at all. And I use Home of the underdogs version of FS2. Yep, the VPs are in opt/freespace2, the folder where I put the executable (a copy of the executable).

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Hmm...

Do you have the NVIDIA graphics driver installed yet? I don't know if it's installed automatically under Breezy, but FS2 almost certainly won't run without it.

What do you get if you run "glxgears" from the console? (Ctrl-c at the console will stop it if closing the window doesn't).
-C

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
To our knowledge, the drivers are installed (we installed all the packages necessary and followed the steps for installation). But I cannot really try "glxgears" right now cuz I'm not at my friend's house. But I'll try to contact him to do it.

I will install the SCP over my computer, which runs over Fedora Core 4. If it works with the HOTU VPs, then ithe problem will most likely be the Nvidia drivers.

Merry Christmas by the way  :).

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Okay I've been forced to install the SCP in windows using the Home Of The Underdogs version, and I have not been able to update FS2 to V1.2. I tested it anyway, and oddly enough, it does the same problems when on my friend's computer in Linux: the game starts, but close right away.  There was an error about the video card settings I think. But when I switched to open gl, the game worked until I start a mission, the game closed without any errors. So I guess the problem is the VPs. Any idea?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Have you tried debug builds under Windows or Linux?
-C

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Okay I've been forced to install the SCP in windows using the Home Of The Underdogs version, and I have not been able to update FS2 to V1.2.

Can't help with the main problem but the HotU Crack Pack in my FAQ's download section has all the files that get changed by the 1.2 patch in it. All you'd need on Linux is the new root.vp really but that's included.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Well my friend switched back to Windows (but don'T worry I will use Linux soon so I will use this help big time  :yes:). It works fine in Windows, but we don't hear any music  :blah:. We hear only "tic" "tic"... We use the new music VP.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Make sure that you have OpenAL 1.1
-C

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
We have it. I checked out the data/music folder, and noticed that every music are empty, they all have a size of 1 ko, so that's why we hear only "tic".  But what is od is that we downloaded mv_music and we put it in the FS2 folder. Shouldn't the new music override the old ones?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Data and it's subfolders always override anything in the main folder.

BTW if you have those files you obviously have a poorly cleaned up HotU install. You might want to check the rest of your data folders for other similarly sized files.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Data and it's subfolders always override anything in the main folder.

Well in the readme it said just put the mv_music in the fs2 folder where FS2 open is. So how can we make the new music work if it's overrided by the old ones?  :blah:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
The readme is written for people who are using retail FS2 (or a properly upgraded version of HotU). The old files will only be there if you're using the HotU build and haven't properly cleaned it up.

Quote from: From my HotU page
Simply downloading a VP file and putting it in your freespace2 folder isn't enough to make the files work though. The HotU version contained a series of dummy files to replace the files that weren't included. The problem is that these dummy files have a higher priority than the ones in the VP file so they get used instead.
The easiest thing to do is to download all the VP files first. You then put them in the Freespace2 folder (overwrite or remove the versions already present). Then clean out all the subfolders in Freespace2\Data\ with the exception of Freddocs and Players. You can remove the TangoA and TangoB folders at this point too.

BTW : This paragraph refers to the retail VP files not the mediaVPs.

If you've installed the retail VP files after installing the HotU version you need to get rid of all that extranious stuff in your data folder or it will interfere with your FS2 or FS2_open installs.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Pyro MX

  • 29
  • Frenadian
    • Pyro MX's Art
Well, my friend said that FS2 worked but I dunno for the new VP files. I will maybe get a retail version soon anyway.

Okay now (gosh I have a lot of problems eh) I installed FS2 Open on my computer, which runs on Linux and FS2 still doesn't work: a windows opens and then closes immediately. I installed the NVidia dirvers and tryed glxgears (i see gears that are rotating so it must be working. I also see the Nvidia logo on the startup). What could do this? Bad Vp files?