project-navigation
Personal tools

Author Topic: Linux client partially runs on Debian  (Read 2650 times)

Offline VulcanRidr

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Linux client partially runs on Debian
« on: June 12, 2011, 04:52:17 am »
I downloaded and installed the 2.3.1 packages on debian unstable, ufoai, ufoai-common, ufoai-data, ufoai-map-sources, ufoai-radiant, ufoai-server, ufoai-server-data and ufoai-tools.

The game starts up, and I am able to go into campaign mode, though the diagostics show some things missing, such as sound files:

Code: [Select]
M_Start: Could not load 'van_theme' background track
CL_LanguageInit: language settings are stored in configuration: en
...using language: en_US.utf8

The last time I tried, I found that I was never able to go to the site, so this time I tried skirmish mode. That was less than successful...

Code: [Select]
Shutdown gametype 'Campaign mode'
Change gametype to 'Skirmish mode'
------- Loading game.so -------
not found at '/usr/lib/ufoai'
not found at '/home/storm/.ufoai/2.3.1/base'
not found at './base'
not found at '/usr/share/ufoai/base'
********************
ERROR: failed to load game library
********************
Shutdown server: Server crashed.
Shutdown gametype 'Skirmish mode'
/usr/lib/games/ufoai/ufo(Sys_Backtrace+0x20)[0x81a753a]
/usr/lib/games/ufoai/ufo(Com_Error+0x11c)[0x8146042]
/usr/lib/games/ufoai/ufo(SV_InitGameProgs+0x3d1)[0x81669b7]
/usr/lib/games/ufoai/ufo(SV_Map+0xf0)[0x8166b7a]
/usr/lib/games/ufoai/ufo[0x81654cf]
/usr/lib/games/ufoai/ufo(Cbuf_Execute+0x272)[0x813c4da]
/usr/lib/games/ufoai/ufo[0x8076c95]
/usr/lib/games/ufoai/ufo[0x814518f]
/usr/lib/games/ufoai/ufo(Qcommon_Frame+0xc4)[0x8144a44]
/usr/lib/games/ufoai/ufo(main+0x5d)[0x81a7279]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf714ee46]
/usr/lib/games/ufoai/ufo[0x8067b01]
music change to van_theme (from van_theme)
music change to van_theme (from van_theme)

game.so does exist in /usr/lib/games/ufoai/base. Since one of the search paths for game.so was ./base, I started the game from /usr/lib/games/ufoai. Still had the same crash.

Could someone help me get this running reliably on my setup? Because eventually, you have to go in and manage your team...

Thanks,
--vr

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Linux client partially runs on Debian
« Reply #1 on: June 12, 2011, 08:30:34 am »
just create a symlink - this is a bug in the package:

Code: [Select]
ln -s /usr/lib/games/ufoai/base/game.so /usr/share/ufoai/base/game.so

Offline VulcanRidr

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Linux client partially runs on Debian
« Reply #2 on: June 12, 2011, 08:19:08 pm »
just create a symlink - this is a bug in the package:

Code: [Select]
ln -s /usr/lib/games/ufoai/base/game.so /usr/share/ufoai/base/game.so

Thanks Mattn. That worked. I'm still seeing other things like missing music. Would it buy me anything to grab the sources and build my own debs? or will I run into the same boat without digging into the source code?

-vr