"Could not find core textures" in Ubuntu 10.4 |
by JohnnyKnives
on 08/01/2010 02:23, 13 messages, last message: 08/06/2010 16:06, 4330 views, last view: 05/04/2024 08:50 |
|
Hi, I downloaded the latest version of Sauerbraten for Ubuntu 10.4.
I did Make Install. Went fine.
Whenever I use the following command, I get an error.
sudo sh sauerbraten_unix
could not load texture packages/textures/notexture.png
could not find core textures
What can I do to fix this?
The older version of sauerbraten works fine on my computer.
|
|
Board Index
|
|
#1: .. |
by eihrul
on 08/01/2010 02:25
|
|
Why are you using sudo? Your problem is likely related to that, and probably having extracted the files as something only root can read.
reply to this message
|
|
#2: .. |
by JohnnyKnives
on 08/01/2010 02:29
|
|
Using either of the two following commands results in the same error:
sh sauerbraten_unix
./sauerbraten_unix
reply to this message
|
|
#3: Re: .. |
by eihrul
on 08/01/2010 05:22, refers to #2
|
|
You may need to install libpng then, as this no longer seems to be an automatic dependency of libsdl-image1.2 in newer Debian (and probably Ubuntu too) packages.
reply to this message
|
|
#4: .. |
by JohnnyKnives
on 08/01/2010 06:14
|
|
I already have LibPNG.
reply to this message
|
|
#5: .. |
by JohnnyKnives
on 08/01/2010 06:15
|
|
I have tried completely redoing it in the home folder, using chown to give me permissions and everything.
How's Vegas btw?
reply to this message
|
|
#6: Wrong directory position? |
by Whales ( Dthdealer )
on 08/01/2010 13:43
|
|
I'm assuming the binary is inside a folder named 'bin'. To run Sauer, you must run the binary while in the Sauer 'root' directory, where directories such as 'bin', 'data' and 'packages' are stored.
e.g.
If you are in the directory Sauer is installed/compiled to,
do this:
$ bin/sauerbraten_unix
not this:
$ cd bin
$ ./sauerbraten_unix
Being in the directory above makes Sauer work from there, but when run from inside the 'bin' directory it searches fruitlessly for the game data.
To simplify this process you could create a shell script to do this for you.
i.e.
===File: Sauerbraten.sh===
#!/bin/sh
cd /the/locations/of/sauer/directory
exec bin/sauerbraten_unix
===EOF===
$ chmod u+x Sauerbraten.sh
Does this fix your problem?
reply to this message
|
|
#7: .. |
by JohnnyKnives
on 08/01/2010 19:16
|
|
Doesn't help. Still gives me the same error.
reply to this message
|
|
#8: Re: .. |
by eihrul
on 08/01/2010 19:52, refers to #7
|
|
Try libpng12-0
reply to this message
|
|
#9: .. |
by JohnnyKnives
on 08/01/2010 23:02
|
|
Already have it.
reply to this message
|
|
#10: Game Files? |
by Whales ( Dthdealer )
on 08/02/2010 09:38
|
|
Do you actually have the folder it is complaining it can't find? Is it empty? Is it not in the right position for the binary?
reply to this message
|
|
#11: .. |
by Hirato Kirata
on 08/03/2010 04:57
|
|
what about libpng-dev (or somesuch), if you compile without it you will lack support for PNG images. irregardless of the presence of libpng
reply to this message
|
|
#12: .. |
by SheeEttin
on 08/04/2010 21:05
|
|
Move the directory to ~/sauerbraten, "sudo chown -R $USER:$USER ~/sauerbraten", "sudo chmod -R u+r ~/sauerbraten".
Then, if it still doesn't work, post some errors...
reply to this message
|
|
#13: Message censored by administrator |
by degrave3
on 08/06/2010 16:06
|
|
|
|
Board Index
|
|