Forums
track listing - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: track listing (/showthread.php?tid=268)



track listing - rigelan - 07-14-2006

When I start the game, it cannot find the list of tracks.

Error opening track list.

How can I make it so it will find the track list?

Slackware 10.2 Linux
SVN version


- clytle374 - 07-14-2006

Will it run??
Track list should be in ~/data/tracks/
Is it there, are it permissions OK?

Cory


- rigelan - 07-14-2006

What is the EXACT file name and path that I need? I found both track list files in the data/tracks/ directory. Do I need to link to the full or minimum list or anything of that nature? Do they need to be writable? What permissions do I need?


- clytle374 - 07-14-2006

Should be; .vdrift/data/tracks/track_list.txt
permissions -rw-r--r--
list is full if you have full install, so just rename it to track_list.txt
file contents should match track folders in the track directroy
cory


- rigelan - 07-14-2006

Yup, got me further. Now it found it.

Unfortunately, the game now just sits there for minutes at 100% processor and doesn't start anything. No RAM is allocated, no other changes happen. its like the binary just doesn't actually do anything. I might be able to weasel out some more specific information on what the binary is doing.


- kcid - 07-14-2006

Hey rigelan,

Did you compile Vdrift? I guess so cause your using the svn version.
Did you compile Vdrift with gcc 4? Then try gcc 3.4 or something in that range.
Do you have all dependencies like openal, sdl etc installed?
I also remember somebody else having some problems with the newest SDL version and Slackware.
Hope this will help you.

Cheers,

Kcid


- rigelan - 07-14-2006

I've got openal, and I compiled with the old_openal function, otherwise it complained and stopped.

I've got sdl 1.2.10, stock version from slackware.
I don't actually know if I have libsdl-image, libsdl-net. I'm not sure what files are in those. I'll see if I can check that out. Wouldn't scons check for that? Is there a log where it checks for those? Maybe I'll find those.

GCC 3.4.5, again stock version from slackware.

definitely have the opengl libraries.

The problem is that it doesn't even pop open a window or anything. It just starts the processor chugging away, and doesn't stop till I ctrl-C it. I had it going for 5 minutes hoping it would do something.


- rigelan - 07-14-2006

Response: Yes the stock version comes with:

libSDL_net-1.2.so.0.0.6
libSDL_net.la
&
libSDL_image-1.2.so.0.1.4
libSDL_image.la


- rigelan - 07-14-2006

I did the same for the cars.txt.full & it started up the window. Yeah! Problem is that it should have complained about it instead of just not working.

Now it is not loading the gui files. Any of them. the menus are navigational, I merely have no idea what they are saying.


- joevenzon - 07-14-2006

Where is your executable located, and where is your data located? VDrift has some problems at the moment if you get too fancy with where you put your data (and if you don't do a scons install). Try doing a scons install and just letting it put the data where it wants to (the default path).

Let me know if that works for you.


- rigelan - 07-17-2006

Well, I hashed it out on irc the other night. The problems that kept me from starting vdrift did not, in fact have to do with my data_dir. It autodetected it just fine. I had it in home/user/vdrift/data right next to home/user/vdrift/build.

The problems:

1. To rename track_list.txt.full to track_list.txt
I was alerted because it complained it couldn't find it.

2. To rename car_list.txt.full to car_list.txt
This one boggled me because the program didn't complain, it just didn't work.

3. Because I had SDL 1.2.10 & SDL_image 1.2.5, I had to install the previous version SDL 1.2.9 & SDL_image 1.2.4. Some bug in image 1.2.5?

And I finally got it all to work on my slackware 10.2 machine.


- thelusiv - 07-17-2006

The .full files thing is my fault, I set it up so that SCons would pick the right files (.full or .minimal) and make car_list.txt and track_list.txt when you did the install. Of course I didn't think about the non-installing folks and deleted the normal files from the repository. I'll put the files back as soon as I get SVN back up... :roll:


- joevenzon - 07-17-2006

told ya soooo

:-)

sorry, couldn't resist