project-navigation
Personal tools

Author Topic: Problems with textures[SOLVED]  (Read 3133 times)

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Problems with textures[SOLVED]
« on: March 06, 2010, 03:27:33 pm »
Why textures look like this?


« Last Edit: March 07, 2010, 12:00:35 am by greenif »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: problems with textures
« Reply #1 on: March 06, 2010, 03:41:33 pm »
missing files maybe. console log please.

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: problems with textures
« Reply #2 on: March 06, 2010, 05:09:20 pm »
missing files maybe. console log please.
Yes! You are right.

But I can not understand why.

I run ./ufo with root privileges, from here /data/ufoai/ufo
ls -l /data/ufoai/ufo
http://dpaste.com/168720/

console log:
http://dpaste.com/168721/

Code: [Select]
ls -l /data/ufoai/ufo/base/models/aliens/taman/
-rw-r--r-- 1 anton users  69293 Мар  6 15:30 body01a.jpg
-rw-r--r-- 1 anton users   1471 Мар  6 15:30 body01.anm
-rw-r--r-- 1 anton users  23634 Мар  6 15:30 body01b.jpg
-rw-r--r-- 1 anton users 747712 Мар  6 15:30 body01.md2
-rw-r--r-- 1 anton users  53792 Мар  6 15:30 body01.tag
-rw-r--r-- 1 anton users   9203 Мар  6 15:30 head01a.jpg
-rw-r--r-- 1 anton users   8168 Мар  6 15:30 head01.md2

In log I find this:
Adding game dir: ./base


Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: problems with textures
« Reply #3 on: March 06, 2010, 05:55:32 pm »
you should uninstall the old ufo version

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: problems with textures
« Reply #4 on: March 06, 2010, 10:40:40 pm »
you should uninstall the old ufo version
Nothing change.

find /usr /home /lib /lib64 /lib32 /etc -name "*ufo*"
http://dpaste.com/168814/

I tryed:
change file mode to 666, directory mode to 777
Create symlink
ln -s /data/ufoai/ufo/base/models /data/ufoai/ufo/models

./configure && make clean && make && make lang && make maps &&  make install && make install_data

find /usr /home /lib /lib64 /lib32 /etc -name "*ufo*"
http://dpaste.com/168816/

My linux - gentoo.

P.S. copy ufo on my notebook, with xubuntu.
./configure && make clean && make
./ufo
And everything is Ok.
But I can't play on notebook. ati ;-(
« Last Edit: March 06, 2010, 11:36:56 pm by greenif »

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
I find guilty!!!!
« Reply #5 on: March 06, 2010, 11:59:16 pm »
Guilty media-libs/sdl-image-1.2.10

receipt:
  • emerge -C media-libs/sdl-image
#Unmasking version 1.2.10-r1
  • echo "=media-libs/sdl-image-1.2.10-r1" >> /etc/portage/package.keywords
  • emerge =media-libs/sdl-image-1.2.10-r1
  • make clean
  • ./configure
  • make
  • ./ufo
  • enjoy

Thank you Mattn!