home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


cannot find data files ??

by marcin on 08/20/2007 22:39, 15 messages, last message: 08/22/2007 13:05, 1682 views, last view: 05/02/2024 16:38

Hi. I compiled sauerbraten (summer_ed) with no errors and when i type
./sauerbraten_unix game not start and i see text:
cannot find data files (you are running from the wrong folder, try .bat file in the main folder)

but i run THAT file in main folder.

Help

   Board Index   

#1: ..

by noerrorsfound! on 08/21/2007 00:04

Run sauerbraten.sh instead of the executable.

reply to this message

#2: Re: ..

by noerrorsfound! on 08/21/2007 00:04, refers to #1

actually: sauerbraten_unix

I've played too much AssaultCube.

reply to this message

#3: Re: ..

by noerrorsfound! on 08/21/2007 00:05, refers to #2

...so you were correct in what you ran, my fault. :P

reply to this message

#4: mv

by dfgddfggdfconordjskhkjdsfhdsjkf on 08/21/2007 04:59

mv sauerbraten_bin ../../../bin


Or, change the amount of ../'s


Basically, move the one in the current directory into bin

(Not into /bin :D)

hibernating until next incident.

reply to this message

#5: Re: mv

by MarcinPl on 08/21/2007 10:13, refers to #4

I moved sauerbraten_unix to bin_unix(alocated in folder sauerbraten) and still nothink
I moved too to the /usr/bin and still error
Do I understandet you correctly ?

reply to this message

#6: My solution

by Morosoph on 08/21/2007 11:54

After compiling Sauerbraten -O3 for the x86_64, I move the parts that I need into ~/lib, and add a short invoking script for ~/bin (which I put in $PATH).

$ ls ~/lib/sauerbraten
config.cfg data init.cfg packages sauer_client sauer_server servers.cfg
$ cat ~/bin/sauerbraten
#!/bin/bash
cd ~/lib/sauerbraten; ./sauer_client -w1920 -h1200 $@
$ cat .bash_profile
. . .

PATH=$HOME/bin:$PATH
export PATH
. . .

reply to this message

#7: no

by mar on 08/21/2007 14:01

No results :(
must i copy /sauerbraten/src/lib to /usr/lib ?

reply to this message

#8: no

by mar on 08/21/2007 14:01

No results :(
must i copy /sauerbraten/src/lib to /usr/lib ?

reply to this message

#9: ..

by SheeEttin on 08/22/2007 01:20

No. Keep sauerbraten_unix in sauerbraten/.

Now, let's say you have Sauer in /usr/local/sauerbraten. You would do "cd /usr/local/sauerbraten; ./sauerbraten_unix", correct?
What does that do?

reply to this message

#10: ans

by marr on 08/22/2007 08:59

I do what you sey
cd /
cd /usr/local/sauerbraten
./sauerbraten_unix
i do it correct and i stiil se text

init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
cannot find data files (you are running from the wrong folder, try .bat file in the main folder)

I dont understand why he sey that i am in wrong folder since i am in correct folder

I tried to run game form another icons
like
/usr/local/sauerbraten/bin_unix/native_client
or
/usr/local/sauerbraten/src/native_client
and still nothing :(

reply to this message

#11: Re: ans

by eihrul on 08/22/2007 09:04, refers to #10

Do you have a data/ directory, and moreover is there a data/stdlib.cfg in it?

Sounds like maybe you are actually missing files?

reply to this message

#12: ..

by marr on 08/22/2007 10:32

I do not have data folder.
In sauerbraten i have :
bin_unix CVS packages README.html sauerbraten_unix src

Is there a data folder?
when i unpack i havent got a Data folder

reply to this message

#13: Re: ..

by eihrul on 08/22/2007 11:01, refers to #12

That's really weird. It should be included in the .bz2 package.

Try downloading this and unpacking it within your sauerbraten folder:

http://tunes.org/~eihrul/data.tar.gz

reply to this message

#14: ..

by marcin on 08/22/2007 11:49

thank you very very much. Its working Now. Thanks. See later on the server :)

reply to this message

#15: Re: no

by Morosoph on 08/22/2007 13:05, refers to #7

Oh, I forgot to say: I move sauer_client and sauer_server into my sauerbraten directory after compliation.

I do this since the sauerbraten_unix script doesn't recognise x86_64.

If you wanted to follow what I wrote above, you'll first need to place sauer_client into ~/lib/sauerbraten so that the replacement script in ~/bin will find it!

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53862617 visitors requested 71637709 pages
page created in 0.018 seconds using 10 queries
hosted by Boost Digital