map.ini

This file defines the track map image transformation so that it matches the current position of the car.

Example

[PARAMETERS]

WIDTH=512

HEIGHT=512

MARGIN=20

SCALE_FACTOR=1

MAX_SIZE=1600

X_OFFSET=256

Z_OFFSET=256

DRAWING_SIZE=10

    • WIDTH: should be the width of the image

    • HEIGHT: should be the height of the image

    • MARGIN: unknown, default 20

    • SCALE_FACTOR: this scales the car location to the location on the map. Increasing this value will result in a theoretically larger image, but the image will still be drawn in its original size.

    • MAX_SIZE: unknown, default 1600

    • X_OFFSET: moves the image on the X-axis. WIDTH/2 will place the image center at the map center

    • Y_OFFSET: moves the image on the X-axis. HEIGHT/2 will place the image center at the map center

    • DRAWING_SIZE: unknown, default 10. Seems like a scaling for the drawing size of the image but doesn't do anything