Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: CiberWizZ on October 10, 2007, 07:03:40 am

Title: HELP linux configuration
Post by: CiberWizZ on October 10, 2007, 07:03:40 am
Hi, i'm using ubuntu feisty and i used the open installer it worked well and dandy i can play but the graphics are just awfull, i've been to the wiki and searched the forum but still don't know how to configure it properly. i believe i'm not using the mediavps and i have o idea how to make it work...

Can you please help me? sorry for the unconviniense
Title: Re: HELP linux configuration
Post by: RedDwarf on October 10, 2007, 11:29:36 am
Everywhere says you need to use "secondarylist = ,mediavps;" in mod.ini. But I think this file is only read by the Windows launcher, so you must specify the mods manually. I started playing FSPort wth "./fs2_open_r -mod fsport,mediavps".
Don'tforget to put 1024x768x32bits in ~/.fs2_open/fs2_open.ini.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 10, 2007, 04:10:54 pm
hi, thanks i tryed it and the graphics are the same...

my image looks like this:
(http://img239.imageshack.us/img239/2489/cenasup4.th.jpg) (http://img239.imageshack.us/my.php?image=cenasup4.jpg)

and in the console i just typed: "./fs2_open -mod fsport,mediavps"  i edited the ~/.fs2_open/fs2_open.ini and its fine, can't find the the mod.ini...

what do you think?
Title: Re: HELP linux configuration
Post by: Turey on October 10, 2007, 04:16:20 pm
The mainhall graphics have never been updated. try playing a mission.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 10, 2007, 05:02:10 pm
this was done in the tutorial...
(http://img215.imageshack.us/img215/1156/cenas1bl4.th.jpg) (http://img215.imageshack.us/my.php?image=cenas1bl4.jpg)
(http://img215.imageshack.us/img215/2312/cenas2oh1.th.jpg) (http://img215.imageshack.us/my.php?image=cenas2oh1.jpg)
(http://img74.imageshack.us/img74/8108/cenas3vt9.th.jpg) (http://img74.imageshack.us/my.php?image=cenas3vt9.jpg)
(http://img215.imageshack.us/img215/1622/cenas4fi6.th.jpg) (http://img215.imageshack.us/my.php?image=cenas4fi6.jpg)

was it supposed to be this "good"? the gamplay looks good but still...

Thanks
Title: Re: HELP linux configuration
Post by: Herra Tohtori on October 10, 2007, 05:25:28 pm
Try and create a script that makes FS2_Open run with these command lines in addition to the mod activation:

Code: [Select]
#!/bin/bash
cd /path/to/your/freespace/
./fs2_open_r -spec -glow -env -mipmap -missile_lighting -cache_bitmaps -targetinfo -rearm_timer -ship_choice_3d -3dwarp -warp_flash -snd_preload -ambient_factor 60 -no_emissive_light -spec_exp 16.7 -spec_point 0.6 -spec_static 0.9 -spec_tube 1 -mod fsport,mediaVPs

At least the specular lighting should improve things rather drastically... ;7


EDIT: Note that some of these are my preferences, such as ambient_factor XX, no_emissive_light and all the differnet specular lighting definitions... you might want to familiarize yourself with the command line reference in Hard Light Wiki in order to customize your FS2_Open to your likes.

Command-Line Reference (http://www.hard-light.net/wiki/index.php/Command-Line_Reference)
Title: Re: HELP linux configuration
Post by: jr2 on October 11, 2007, 02:13:26 am
And then post some comparison screenies.  :)
Title: Re: HELP linux configuration
Post by: Wanderer on October 11, 2007, 02:18:51 am
Perhaps the easiest way to check if the mediavps are in use - other than to run debug and check which vp files are loaded - is to go to the tech room and select 'GTF Hercules'. If it looks somewhat like the one seen here http://www.hard-light.net/wiki/index.php/GTF_Hercules then you have the mediavps on (easiest thing to spot is the modeled cockpit).
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 05:47:20 am
Without args                                                                  Same args as suggested by Herra Tohtori                    From the wiki

(http://imagens.webtuga.com/thumbs/32227c1.jpg) (http://imagens.webtuga.com/images/32227c1.jpg)  (http://imagens.webtuga.com/thumbs/432242cenas2.jpg) (http://imagens.webtuga.com/images/432242cenas2.jpg)  (http://www.hard-light.net/wiki/images/Apollo320x240.jpg)


(http://imagens.webtuga.com/thumbs/616685c2.jpg) (http://imagens.webtuga.com/images/616685c2.jpg)  (http://imagens.webtuga.com/thumbs/436353cenas3.jpg) (http://imagens.webtuga.com/images/436353cenas3.jpg)  (http://www.hard-light.net/wiki/images/Anubis320x240.jpg)

(http://imagens.webtuga.com/thumbs/365129c3.jpg) (http://imagens.webtuga.com/images/365129c3.jpg)  (http://imagens.webtuga.com/thumbs/462871cenas4.jpg) (http://imagens.webtuga.com/images/462871cenas4.jpg)  (http://www.hard-light.net/wiki/images/Scarab320x240.jpg)

(http://imagens.webtuga.com/thumbs/378494c4.jpg) (http://imagens.webtuga.com/images/378494c4.jpg)  (http://imagens.webtuga.com/thumbs/616374cenas5.jpg) (http://imagens.webtuga.com/images/616374cenas5.jpg)  (http://www.hard-light.net/wiki/images/Typhon320x240.jpg)




I guess i can conclude that the mediavps are working  :)
But i have to say, I'm a little disappointed, hoped for better graphics....  :P

but i still  have have one more thing to fix. i posted a topic here (http://www.hard-light.net/forums/index.php/topic,49980.0.html) and no one answered...
I'll summarize it for you: my sound chokes ( is this the word?) and on the console i get X11: Unknown xsym, sym = 0x1008ff11 do you know what might be the problem?

Thank you all  :lol:
Title: Re: HELP linux configuration
Post by: Herra Tohtori on October 11, 2007, 06:04:56 am
Regarding sound problem - first question that arises is whether you have OpenAL installed or not?

$ sudo apt-get install libopenal libopenal-dev

...although I think you'll only need the dev library if you go compiling your own builds, in which case you should already have them installed or you couldn't have compiled your build in the first place, but if you grapped a ready binary file, then it's a different story.

If you have that already, then I'll pass the ball to someone more knowledgeable.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 06:14:25 am
i installed the game from the open installer... when i do
sudo apt-get install libopenal libopenal-dev
 E: Couldn't find package libopenal
i searched synaptics and found libopenal0a installed...

and now i have another problem  :doubt:
(http://imagens.webtuga.com/thumbs/305221fogo_marado.jpg) (http://imagens.webtuga.com/images/305221fogo_marado.jpg)


What do you make of it?
Title: Re: HELP linux configuration
Post by: Herra Tohtori on October 11, 2007, 06:29:18 am
Alpha channel problems...

What do you have in your MediaVP directory?
Title: Re: HELP linux configuration
Post by: Wanderer on October 11, 2007, 06:36:04 am
I specifically stated 'GTF Hercules' (and NOT PVF Anubis or other such) as it has high poly model included in the mediavps. The ones you selected all lack the high poly models and there fore wont appear any better apart from certain mapping improvements.

As for the image... Well seems like alpha blending is not in use for some reason. Though i kinda thought that error had already been fixed from the data files. Can you provide link to the installer or rather to the place where you got it? I am not sure if driver issues could cause the same problem...
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 06:48:21 am
Herra Tohtori here it is:
mp-710_models.vp FS1OGGcutscenepack.vp mp-710_adveffects.vp mp-710_effects.vp mv_adveffects.vp mv_core.vp mv_effects.vp mv_models.vp mv_music.vp mv_textures.vp readme.txt sparky_hi_fs1.vp stu_fs1.vp tango_fs1.vp warble_fs1.vp and the data folder

Wanderer
couldn't find that ship.... so i posted those... sorry
Got It from here http://www.hard-light.net/forums/index.php/topic,42854.0.html

i'll try updating my video driver to see it it helps. but thing is, if i lunch the game with no args  that bug... doesn't happen.... strange..

thanks
Title: Re: HELP linux configuration
Post by: Wanderer on October 11, 2007, 07:00:44 am
Hmm... Ah yes... Forgot that you were playing fsport where Herc isnt in the techroom at the beginning of the campaign. Well with tiny bit of spoilage you could press 'ctrl + shift + s' in the techroom and then you should be able to see it.

Odd... you shouldn't have these 'sparky_hi_fs1.vp stu_fs1.vp tango_fs1.vp' in the mediavps directory - they should be in fsport directory.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 07:03:10 am
lool the other day i tryed to fix it for my self and copied to that dir..
i'll post the image in  a moment..

tks
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 07:10:25 am
(http://imagens.webtuga.com/thumbs/616899hercules.jpg) (http://imagens.webtuga.com/images/616899hercules.jpg)

What do you think?

i've updated the graphics driver but the fire still looks the same...
what would you recomend?

Thanks
Title: Re: HELP linux configuration
Post by: Wanderer on October 11, 2007, 08:06:50 am
That is the high poly herc so mediavps ok... Then just have to find that alpha channel issue.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 09:55:13 am
The alfa channel is the sound? what do you think i should do?
Title: Re: HELP linux configuration
Post by: Mr_Maniac on October 11, 2007, 11:10:26 am
The alfa channel is the sound? what do you think i should do?
No. The Alpha-Channel is - basically said - transparency.
It defines, how transparent or opaque something is. It's used just like the red, green or blue Color-Channels (RGB).
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 03:55:44 pm
Ahhh you ment the alpha of RGBA!!! foulish me  ;7

any idea on how to solve the problem?

Thanks :)

Title: Re: HELP linux configuration
Post by: jr2 on October 11, 2007, 03:56:08 pm
As for graphics not being good enough for your highness... :p  :lol:  Looky here (http://www.hard-light.net/forums/index.php/topic,25406.msg1008431.html#msg1008431).  Drooling?  :drevil:
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 11, 2007, 04:26:15 pm
Drooling? naaahhh, i just filled a glass cup with saliva.... It would be more accurate to say flood....

Wy are you're graphics so much better than mine? I'm now becoming a jealously murderer, now who should i kill to get what i want? hein?

I was demanding because i played Freelancer a couple of years ago and loved it (the graphics as well)...
I didn't mean any disrespect when when i said it  :nervous: :eek2:
Title: Re: HELP linux configuration
Post by: jr2 on October 11, 2007, 10:04:16 pm
Get the latest xT build.  Recent Builds (http://www.hard-light.net/forums/index.php/board,97.0.html)
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 14, 2007, 12:43:32 pm
Jr2 is there a topic on how to compile it? i think i'm missing a lib and configure doesn't say anything about ir....

here is where the error starts:

Code: [Select]
In file included from cutscene/mveplayer.cpp:58:
./sound/ds.h:199:20: error: AL/al.h: No such file or directory
./sound/ds.h:200:21: error: AL/alc.h: No such file or directory
./sound/ds.h:248: error: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp:87: error: ‘ALenum’ does not name a type
cutscene/mveplayer.cpp:92: error: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp:93: error: ‘ALuint’ does not name a type
cutscene/mveplayer.cpp: In function ‘void mve_audio_createbuf(ubyte, ubyte*)’:
cutscene/mveplayer.cpp:272: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:272: error: ‘AL_INVALID’ was not declared in this scope
cutscene/mveplayer.cpp:291: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:291: error: ‘AL_FORMAT_STEREO16’ was not declared in this scope
cutscene/mveplayer.cpp:293: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:293: error: ‘AL_FORMAT_MONO16’ was not declared in this scope
cutscene/mveplayer.cpp:297: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:297: error: ‘AL_FORMAT_STEREO8’ was not declared in this scope
cutscene/mveplayer.cpp:299: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:299: error: ‘AL_FORMAT_MONO8’ was not declared in this scope
cutscene/mveplayer.cpp:304: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:310: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:310: error: ‘alGenSources’ was not declared in this scope
cutscene/mveplayer.cpp:314: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:314: error: ‘AL_GAIN’ was not declared in this scope
cutscene/mveplayer.cpp:314: error: ‘alSourcef’ was not declared in this scope
cutscene/mveplayer.cpp:316: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:316: error: ‘ALuint’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘void mve_audio_play()’:
cutscene/mveplayer.cpp:329: error: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:329: error: expected `;' before ‘status’
cutscene/mveplayer.cpp:331: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:331: error: ‘AL_SOURCE_STATE’ was not declared in this scope
cutscene/mveplayer.cpp:331: error: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:331: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:333: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:333: error: ‘AL_BUFFERS_QUEUED’ was not declared in this scope
cutscene/mveplayer.cpp:333: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:333: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:337: error: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:337: error: ‘AL_PLAYING’ was not declared in this scope
cutscene/mveplayer.cpp:337: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:338: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:338: error: ‘alSourcePlay’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘void mve_audio_stop()’:
cutscene/mveplayer.cpp:351: error: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:351: error: expected `;' before ‘p’
cutscene/mveplayer.cpp:355: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:355: error: ‘alSourceStop’ was not declared in this scope
cutscene/mveplayer.cpp:356: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:356: error: ‘AL_BUFFERS_PROCESSED’ was not declared in this scope
cutscene/mveplayer.cpp:356: error: ‘p’ was not declared in this scope
cutscene/mveplayer.cpp:356: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:357: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:357: error: ‘p’ was not declared in this scope
cutscene/mveplayer.cpp:357: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:357: error: ‘alSourceUnqueueBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:358: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:358: error: ‘alDeleteSources’ was not declared in this scope
cutscene/mveplayer.cpp:362: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:362: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:362: error: ‘alIsBuffer’ was not declared in this scope
cutscene/mveplayer.cpp:363: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:363: error: ‘alDeleteBuffers’ was not declared in this scope
cutscene/mveplayer.cpp: In function ‘int mve_audio_data(ubyte, ubyte*)’:
cutscene/mveplayer.cpp:386: error: ‘ALint’ was not declared in this scope
cutscene/mveplayer.cpp:386: error: expected `;' before ‘bprocessed’
cutscene/mveplayer.cpp:387: error: ‘ALuint’ was not declared in this scope
cutscene/mveplayer.cpp:387: error: expected `;' before ‘bid’
cutscene/mveplayer.cpp:389: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:389: error: ‘AL_BUFFERS_PROCESSED’ was not declared in this scope
cutscene/mveplayer.cpp:389: error: ‘bprocessed’ was not declared in this scope
cutscene/mveplayer.cpp:389: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:391: error: ‘bprocessed’ was not declared in this scope
cutscene/mveplayer.cpp:392: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:392: error: ‘bid’ was not declared in this scope
cutscene/mveplayer.cpp:392: error: ‘alSourceUnqueueBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:394: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:394: error: ‘AL_BUFFERS_QUEUED’ was not declared in this scope
cutscene/mveplayer.cpp:394: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:394: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:396: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:399: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:399: error: ‘AL_SOURCE_STATE’ was not declared in this scope
cutscene/mveplayer.cpp:399: error: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:399: error: ‘alGetSourcei’ was not declared in this scope
cutscene/mveplayer.cpp:401: error: ‘status’ was not declared in this scope
cutscene/mveplayer.cpp:401: error: ‘AL_PLAYING’ was not declared in this scope
cutscene/mveplayer.cpp:401: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:402: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:402: error: ‘alSourcePlay’ was not declared in this scope
cutscene/mveplayer.cpp:405: error: ‘bqueued’ was not declared in this scope
cutscene/mveplayer.cpp:429: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:430: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:430: error: ‘alGenBuffers’ was not declared in this scope
cutscene/mveplayer.cpp:433: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:433: error: ‘struct MVE_AUDIO_T’ has no member named ‘format’
cutscene/mveplayer.cpp:433: error: ‘alBufferData’ was not declared in this scope
cutscene/mveplayer.cpp:435: error: ‘struct MVE_AUDIO_T’ has no member named ‘source_id’
cutscene/mveplayer.cpp:435: error: ‘struct MVE_AUDIO_T’ has no member named ‘audio_buffer’
cutscene/mveplayer.cpp:435: error: ‘alSourceQueueBuffers’ was not declared in this scope
make[1]: *** [mveplayer.o] Error 1
make[1]: Leaving directory `/home/ciberwizz/downloads/free/fs2_open-3.6.10-20071007/code'
make: *** [all-recursive] Error 1


any ideas?
Title: Re: HELP linux configuration
Post by: taylor on October 14, 2007, 12:51:24 pm
Make sure that you have the OpenAL dev package.  Also make sure that you've the dev packages for Ogg, Vorbis and Theora as well.
Title: Re: HELP linux configuration
Post by: CiberWizZ on October 16, 2007, 05:09:54 am
OpenAL-dev wasn't installed...  :D

now i have a problem with this build... posted it on the build post :s

where are the log files? i can't seem to find them...

CiberWizZ