could not load texture textures/notexture (SOLVED)

could not load texture textures/notexture (SOLVED)

Postby Gallaecio » 01 Sep 2012, 09:11

Hi,

I’ve just upgraded to 1.3 and I am getting this when I try to run the game:

{l Code}: {l Select All Code}
[gallaecio@afonsox sdl_image]$ redeclipse
loading enet..
loading game..
loading sdl..
loading video mode..
vsync is disabled
loading video misc..
loading gl..
renderer: GeForce 8800 GT/PCIe/SSE2 (NVIDIA Corporation)
driver: 3.3.0 NVIDIA 304.37
Rendering using the OpenGL assembly/GLSL shader path.
could not load texture textures/notexture
could not find core textures


I can not asure this was not the case before the upgrade, though, so it might has nothing to do with the new version.

The only relevant thing I found was a topic on the Pardus forums, http://www.pardus-linux.org/forum/pisi-atölyesi/red-eclipse-ve-unknown-horizons-paketleri (you will probably need Google Translate), which seems to suggest it might be an issue with sdl_image. I am using sdl_image 1.2.10, however neither rebuilding it nor upgrading it to 1.2.12 solved the issue.

Any help is more than welcome.
Gallaecio
 
Posts: 63
Joined: 14 Jan 2010, 20:23

Re: could not load texture textures/notexture

Postby qreeves » 01 Sep 2012, 09:47

You need to run Red Eclipse from the directory it is stored in.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Postby Gallaecio » 01 Sep 2012, 09:52

{l Code}: {l Select All Code}
[gallaecio@afonsox aqueronte]$ cat /usr/bin/redeclipse
#!/bin/sh
for arg
do
    if [ "$arg" = --help ]
    then
       exec man redeclipse
    fi
done

RE_OPTIONS=""
cd /usr/lib/redeclipse || exit 1
exec ./redeclipse ${RE_OPTIONS} ${1+"$@"}


I am building the game for Chakra, and I had built it in a build server. I decided to try locally, using the same script to build it. The local build works. But I need to find out why the other one does not. Both have the data files in place, including the textures/notexture.png file.
Gallaecio
 
Posts: 63
Joined: 14 Jan 2010, 20:23

Re: could not load texture textures/notexture

Postby qreeves » 01 Sep 2012, 10:12

You should probably use pushd and popd instead of cd, for starters. But I can't really help you if you use the game in a way other than how we intended.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Dependency mismatch

Postby Gallaecio » 01 Sep 2012, 10:26

It turned out to be a simple dependency mismatch. I build it in the stable repository in the build server, but I use the testing in local, and there were some packages in testing that prevented the RE build from stable from working. Fixed with a testing rebuild.

Thanks anyway, and now lets have some fun! :D
Gallaecio
 
Posts: 63
Joined: 14 Jan 2010, 20:23

Who is online

Users browsing this forum: No registered users and 1 guest