-----------------------------
I. Generating maps for tracks
-----------------------------
You don't need SDL, but ImageMagick is needed to generate *.png files.

1. Compile the graphical functions:

./comp-graph

Select 3. No SDL (write BMP file)

2. compile the program for converting tracks into images:

./comp track2bmp

3. Compile the program for converting tracks:

gcc src/conv4bmp.c -o conv4bmp -Wall -W

4. Generate a list of the tracks:

ls trk/*.TRK > list;ls trk/*.trk >> list
chmod 755 list

5. Edit list, replace "trk/" with "./cv trk/" and save.

6. Run the script:

./list

The *.png files should be in directory "trk".

------------------------------------
II. 3D viewing and driving on tracks
------------------------------------
1. First, you need SDL 1.2 or SDL 2. To compile the graphical functions, type:

./comp-graph

Then carefully select the desired parameters.

2. Compile the program for converting tracks:

gcc src/convtrack.c -o convtrack -Wall -W

3. Run it:

./convtrack trk/ZCT271.TRK track1

4. Compile the program for viewing tracks:

./comp viewtrack

5. Run it:

./viewtrack track1

To drive on track1:

1. Download simcar-5.2.0.tar.gz:

https://sourceforge.net/projects/simple3d/files/simcar/5.2.0/

2. Extract files and compile according to the instructions there.

3. Copy the executable files, simcar and replay or simcar2 and replay2, into
this directory (scv2).

4. Run them:

./replay2 replays/rep2 (to see how you to drive)

./simcar2 cars/car5 track1

./replay2 replays/rep1
