project-navigation
Personal tools

Author Topic: [ INSTALL ] how to have the 2.0-rc6 running on linux ?  (Read 17947 times)

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« on: November 23, 2006, 12:55:37 am »
##############################################
LIST OF EVERYTHING TO MAKE IT WORK [ ufoai_2.0-rc6 ]
##############################################

#make a directory to download/build the game
mkdir ufo_2.0-rc6_svn_4746

#go to this directory
cd ufo_2.0-rc6_svn_4746

#download source of 2.0-rc6 release 4746
svn co -r 4746 https://svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_2.0-rc6

#once downloaded a directory: "ufoai_2.0-rc6" must be present, contains a lot of things
#go to this directory
cd ufoai_2.0-rc6

#clean traces of any previous build
make clean

#compile the game
make src

#copy "ufo2map" from: "ufo_2_6_4746/ufoai_2.0-rc6/src/releasei386"
#in: "ufo_2_6_4746/ufoai_2.0-rc6/"
cp src/releasei386/ufo2map ./


#compile the maps
make maps


#copy: "ufo", " ref_glx.so", "ref_sdl.so", "snd_alsa.so", "snd_oss.so", "snd_arts.so", "snd_sdl.so"
#from: "ufo_2_6_4746/ufoai_2.0-rc6/src/releasei386"
#in: "ufo_2_6_4746/ufoai_2.0-rc6/"
cp src/release/i386/ufo ./
cp src/release/i386/ref_glx.so ./
cp src/release/i386/ref_sdl.so ./
cp src/release/i386/snd_alsa.so ./
cp src/release/i386/snd_oss.so ./
cp src/release/i386/snd_arts.so ./
cp src/release/i386/snd_sdl.so ./


#copy: "game.so"
#from: "ufo_2_6_4746/ufoai_2.0-rc6/src/releasei386"
#in: "ufo_2_6_4746/ufoai_2.0-rc6/base"
cp src/releasei386/game.so /base

#launch the game
./ufo

ubequitz

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #1 on: November 23, 2006, 01:36:57 am »
It looks like you managed to compile trunk, although the round not finishing issue you encountered is strange.

There are RPMs now available for RC6 and some work to get Debian packages ready is ongoing.

Did you check out the guide for compiling? http://ufo.myexp.de/wiki/index.php/Compile_for_Linux

You will find trunk is currently easier to get running since it uses automake. The build system in 2.0 branch is quite broken and requires a few manual steps. However 2.0 branch is the better single-player game at the moment (a few too many half-finished/half-broken features in trunk at the moment).

You might find you can get some help on the IRC channel: #ufo:ai on the server freenode  (although it can be quiet there during certain times of the day).

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #2 on: November 23, 2006, 02:03:00 am »
thanks for reply, i'll come see you on irc when possible  :)
oh and yes i have followed getting source/compile from wiki

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #3 on: November 23, 2006, 05:33:05 pm »
i made a sort of tutorial in my first post and continue it when resolv problems
if anyone could help me don't hesitate post here
i've put the problems i encountered at the end of the procedure

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #4 on: November 23, 2006, 05:49:55 pm »
i've read your messages in our irc channel - you have to copy ufo2map to your path or to base/maps to compile the maps

tsyma

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #5 on: November 24, 2006, 11:32:07 am »
sorry
where possibly download compiled version (RC6)  for Linux?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #6 on: November 24, 2006, 11:38:41 am »
currently there is no compiled version for ufo:ai - but as the developers are mostly using linux, you can join the irc channel and we can send you binaries - there will be binaries for 2.0 final

tsyma

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #7 on: November 24, 2006, 12:24:15 pm »
Quote from: "Mattn"
currently there is no compiled version for ufo:ai - but as the developers are mostly using linux, you can join the irc channel and we can send you binaries - there will be binaries for 2.0 final

I must thank you for your answer.

I try compile source independently. if arose problems : i join to irc

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #8 on: November 24, 2006, 01:22:50 pm »
IT WORKS !!!!!!!!!    :D
a bit barbarian method but it works....

finally it look likes just an install miss in makefile
if someone could help make things cleaner (isolated game needed files, modify makefile..)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #9 on: November 24, 2006, 02:15:16 pm »
we have a new bulid system in our current developement version - in trunk - which uses autoconf. if you want to port it - feel free to do so :-D

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #10 on: November 24, 2006, 03:10:54 pm »
i think port this is totally impossible for me...
now the game run but i would like clean everything not needed because at the moment this is 937.8mo weight

maps is the bigger ~500mo
i'll try remove from it but it really helps if someone could tell me which files or files types the game need

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #11 on: November 24, 2006, 04:12:28 pm »
it's the normal size

MartinG

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #12 on: March 01, 2007, 12:48:05 am »
I just installed Fedora Core 6, have no idea how Linux works, so can somebody please explain to me how I can compile the files I downloaded? All the posts in this thread went right over my head, and I'd really like to play this game.

_alexmyself

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #13 on: March 01, 2007, 01:51:35 pm »
you  just have to open a terminal (or console or command line, choose name you want) and input each line of the first post, those which doesn't begin by '#'.
normally it will build a functionnal 2rc6 :)

MartinG

  • Guest
[ INSTALL ] how to have the 2.0-rc6 running on linux ?
« Reply #14 on: March 02, 2007, 03:43:23 pm »
Quote from: "_alexmyself"
you  just have to open a terminal (or console or command line, choose name you want) and input each line of the first post, those which doesn't begin by '#'.
normally it will build a functionnal 2rc6 :)


Thanks!