From a1198255722af501e433c6512dd3c29cd96e1203 Mon Sep 17 00:00:00 2001 From: fanyx <38672086+fanyx@users.noreply.github.com> Date: Sun, 5 Jan 2020 15:25:03 +0100 Subject: [PATCH] Update README.md --- README.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5520137..eca8a7f 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,26 @@ Other configuration options are listed below: - $LAPS_TIMELIMIT | time limit in milliseconds for laps mode -> Default : 0 ``` -### Running a custom playlists + +### Running custom tracks +While the Nadeo tracks are available in this repository and accessible under `GameData/Tracks/Challenges/Nadeo/` you can also run custom tracks following the instructions below. + +You can run custom tracks by mounting a volume from where your tracks are stored to `/opt/tmserver/GameData/Tracks/Custom`. + +In this example i am storing my tracks in `./tracks` relative to the docker-compose file. + +``` +[...] + tmserver: + image: fanyx/tmserver:latest + [...] + volumes: + - ./tracks:/opt/tmserver/GameData/Tracks/Custom +[...] +``` + + +### Running a custom playlist You can add tracks to a playlist in a simple way. Just provide a `playlist.txt` that contains every track in a certain format. Create a folder next to your `docker-compose.yml`, mount it as a volume to `/opt/tmserver/playlist` and put the `playlist.txt` in there. @@ -87,18 +106,3 @@ Challenges/Nadeo/C01-Race.Challenge.Gbx Custom/mini01.Challenge.Gbx Custom/SpeedxZxZ.Challenge.Gbx ``` - -### Running custom tracks -You can run custom tracks by mounting a volume from where your tracks are stored to `/opt/tmserver/GameData/Tracks/Custom`. - -In this example i am storing my tracks in `./tracks` relative to the docker-compose file. - -``` -[...] - tmserver: - image: fanyx/tmserver:latest - [...] - volumes: - - ./tracks:/opt/tmserver/GameData/Tracks/Custom -[...] -```