General > Discussion
Game stops in black screen
(1/1)
[S|G]:
Hello,
I started talking about this problem in another thread but I think it would be appropriate to move to a new one since the problem doesn't seem to be the one in that thread anymore.
I downloaded and compiled ufo from svn (ver. 234 if I'm not mistaken). I first encountered the /etc/ufo.conf problem, but managed to fix it by creating a ~/.ufoai/base/default.cfg. Now I am able to "start" the game: it enters full screen mode but only a black screen with a green crosshairs mouse cursor can be seen.
I tried changing to windowed mode, but the same thing happens, and also the mouse seems to be "locked" on the top left corner of the screen. Moving it quickly will make it move around the window, but the pointer returns to the top left edge (on full screen the cursor works fine). Aside from that, nothing else happens. No error messages or anything. Attaching gdb to ufo caused X to freeze (I had to control+alt+backspace).
If the information helps, I'm running Ubuntu 5.1 (Breezy Badger) with KDE 3.5.1. I have a Nvidia Geforce 4 128mb Agp8x with the latest official drivers installed on a custom 2.6.15 kernel.
My ~/.ufoai/base/default.cfg is the following:
--- Code: ---
//set vid_ref gl
//set gl_driver "opengl32"
set vid_ref glx
set gl_driver libGL.so
--- End code ---
And my base/config.cfg:
--- Code: ---
// generated by ufo, do not modify
set g_select_empty "0"
set sv_teamplay "0"
set gl_fog "1"
set hostname "NoName"
set allow_download "1"
set allow_download_players "1"
set allow_download_models "1"
set allow_download_sounds "1"
set allow_download_maps "1"
set sv_reconnect_limit "3"
set vid_xpos "49"
set vid_ypos "24"
set vid_gamma "1.0"
set win_noalttab "0"
set hand "0"
set gl_particle_min_size "2"
set gl_particle_max_size "40"
set gl_particle_size "40"
set gl_particle_att_a "0.01"
set gl_particle_att_b "0.0"
set gl_particle_att_c "0.01"
set gl_modulate "1"
set gl_bitdepth "0"
set gl_shadows "1"
set gl_finish "0"
set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
set gl_texturealphamode "default"
set gl_texturesolidmode "default"
set gl_vertex_arrays "0"
set gl_ext_swapinterval "1"
set gl_ext_palettedtexture "1"
set gl_ext_multitexture "1"
set gl_ext_combine "1"
set gl_ext_pointparameters "1"
set gl_ext_compiled_vertex_array "1"
set gl_swapinterval "0"
set gl_3dlabs_broken "1"
set intensity "2"
set s_volume "0.7"
set s_khz "44"
set s_loadas8bit "0"
set s_mixahead "0.2"
set s_primary "0"
set ov_volume "0.62"
set cursor "1"
set viewsize "100"
set cd_nocd "0"
set adr0 ""
set adr1 ""
set adr2 ""
set adr3 ""
set adr4 ""
set adr5 ""
set adr6 ""
set adr7 ""
set adr8 ""
set cl_stereo_separation "0.4"
set cl_run "0"
set freelook "0"
set lookspring "0"
set lookstrafe "0"
set sensitivity "2"
set cl_markactors "1"
set m_pitch "0.022"
set difficulty "0"
set mn_hud "hud"
set mn_lastsave "slot0"
set name "NoName"
set team "human"
set equip "standard"
set teamnum "1"
set rate "25000"
set msg "1"
set cl_vwep "1"
set in_mouse "1"
set in_joystick "0"
set gl_ext_texture_compression "1"
set gl_ext_s3tc_compression "1"
set gl_maxtexres "2048"
set vid_fullscreen "0"
set gl_mode "6"
--- End code ---
The only change I made to it was turning off fullscreen. I have also tried to change gl_mode, but aside from the window size nothing changed.
Btw, sorry for the long post :?
sonik:
copy your /<install_dir>/base/default.cfg to ~/.ufoai/base/default.cfg
That worked for me.
[S|G]:
Thanks a lot! That got the game working (any ideas about why was that happening? I copied the default.cfg from base dir and worked right afterwards) :)
But... Now I've run into another problem. When I tried to launch a mission I got the following error:
--- Code: ---
------- Loading game.so -------
LoadLibrary failed (/home/diego/Games/ufoai//home/diego/.ufoai/base/game.so)
/home/diego/Games/ufoai//home/diego/.ufoai/base/game.so: cannot open shared object file: Arquivo ou diret?rio n?o encontrado
LoadLibrary failed (/home/diego/Games/ufoai/./base/game.so)
/home/diego/Games/ufoai/./base/game.so: cannot open shared object file: Arquivo ou diret?rio n?o encontrado
********************
ERROR: failed to load game DLL
********************
--- End code ---
And (guess what), the game stops in a black screen until I press ESC. I checked my ~/Games/ufoai/base/ and there IS a game.so there with the following permissions:
--- Code: ---
lrwxrwxrwx 1 diego diego 27 2006-03-22 16:59 ./base/game.so -> src/linux/debugi386/game.so
--- End code ---
Should I copy it anywhere else?
Mattn:
try it at /<install_dir>/base/
[S|G]:
--- Quote from: "Mattn" ---try it at /<install_dir>/base/
--- End quote ---
Ok.... game is working perfectly now :) Thanks!
Navigation
[0] Message Index
Go to full version