project-navigation
Personal tools

Author Topic: Correct compilation & installation from trunk  (Read 5890 times)

bvg

  • Guest
Correct compilation & installation from trunk
« on: June 03, 2007, 09:24:26 am »
Hello all

After having problems with glibc, I just tried to install the game by svn->compile->install. I've looked around in the wiki and have done following steps:

./configure --prefix=/opt/ufoai
make
make maps
make lang
make install

That  installed the game to /opt/ufoai but is telling me also "please unpack file ufoai-2.2-dev-data.tar into /opt/ufoai/share/ufoai" . I do not know where to find this file.

Starting the game leads to "Error: Couldn't load pics/colormap.pcx"

If I start the game out of the trunk tree (as written in the wiki) i see errors of follwing kind:

- "map is not in maps/ folder 'autoexec.cfg'"
or
- "MN_PrecacheModels: Could not register model 'models/aircraft/ufo_big/ufo_big_body_closed.md2'"

The game itself is starting then, but after entering intitial informations (name) i just can't get any further with the ok button.

So my questions are:

- What did I do wrong while compiling & installing the game ?
- Should I just check out a non actual Tag / Branch ?

Thanks for any help, and greetings from Switzerland

Bernhard von Gunten

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
Re: Correct compilation & installation from trunk
« Reply #1 on: June 04, 2007, 01:10:15 pm »
Quote from: "bvg"
That  installed the game to /opt/ufoai but is telling me also "please unpack file ufoai-2.2-dev-data.tar into /opt/ufoai/share/ufoai" . I do not know where to find this file.

Starting the game leads to "Error: Couldn't load pics/colormap.pcx"

You installed the game compiled on your own into the same dir you had installed the game from package previously?

bvg

  • Guest
Correct compilation & installation from trunk
« Reply #2 on: June 04, 2007, 09:43:58 pm »
Hi there and thanks for your reply.

It was the "make install" step, that told me to install/unpack this file. Anyways, I'm playing on the trunk folder now, and everything is fine.

Greetings from Switzerland,

3b

nemchenk

  • Guest
Re: Correct compilation & installation from trunk
« Reply #3 on: February 13, 2008, 01:07:29 am »
Having the same issue ("Please unpack file ufoai-2.3-dev-data.tar into /usr/local/share/ufoai") -- anyone have any ideas? :(

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Correct compilation & installation from trunk
« Reply #4 on: February 13, 2008, 01:12:05 am »
That's odd. Why would it ask you for 2.3 data files?

Did you try grabbing the data tar from SF? As far as I know, dev data is the same as normal data, so it should work.

If that doesn't help you, you might want to try checking out the 2.2 branch from SVN  (or just the trunk for all the latest bugs features).

nemchenk

  • Guest
Re: Correct compilation & installation from trunk
« Reply #5 on: February 13, 2008, 01:32:11 am »
Hi BTAxis,

I checked out /trunk. I can actually play from the my working directory, or if I "make install" and then manually copy the pk3 files to /usr/local/share/ufoai/base/.

What is happening is I get black Battlescapes. I've actually just discovered that it might not be complete lack of textures, since if I fire an RPG I can briefly see the map illuminated in the red glow of the rocket engine :D Could there be some kind of brightness control on the Battlescape? Geoscape seems fine...

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Correct compilation & installation from trunk
« Reply #6 on: February 13, 2008, 01:37:23 am »
Hmm, I work with a trunk checkout as well, and everything is fine here.

PK3 files though. You shouldn't have any on a trunk checkout, just the loose files. Did you make them yourself or something?

nemchenk

  • Guest
Re: Correct compilation & installation from trunk
« Reply #7 on: February 13, 2008, 01:38:34 am »
Per pixel lighting! Turned it off, its fine.

I'l give you my details if you tell me how to get them :D openSuse 10.2, for starters.


Thanks!! :)

nemchenk



PS. Yes, went into base/ and ran ./archives.sh, in an effort to sort out this "Black Battlescape" problem  :P silly me ;)

Offline pancho

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: Correct compilation & installation from trunk
« Reply #8 on: May 18, 2008, 03:19:24 pm »
Hello all!
There is no need to build and copy pk3s manually.
There is an issue with /INSTALL file. It says that:
Quote
3. Type `make install' to install the programs and any data files and
     documentation.
By default `make install' target implies only `install_exec', and not `install_data'.
And `make install_complete' works perfectly in this case.