Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
📝 update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JAGFx committed Dec 30, 2020
1 parent 5981f75 commit c33274e
Showing 1 changed file with 59 additions and 7 deletions.
66 changes: 59 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ This project allow you to do:
- Retrieve the companies placed in each cities
- Generate JSON file with this information

### Supported game and / or maps mods
## What is it ?

TODO

### Supported game and / or maps mods

Currently, only ETS2 and ATS vanilla maps

## Requirements

TODO
Expand All @@ -24,32 +28,80 @@ TODO

TODO

## How to use
## How to use ?

### Production

You can get or import the json files from the `dist/` folder. See **Dist files** section to know more.

### Developement

To generate the JSON files, you need to follow this step:

- Get or extract the cities files for ETS ou ATS (See **Raw data** section)
- Run the `coradinateRetriever` exe (See **Projects** section)
- Run the `jsonGenerator` exe (See **Raw data** section)
- Run the `jsonGenerator` exe (See **Projects** section)
- Use the JSON files (See **Dist files** section)

Please read the section corresponding of each step.

### Raw data

There are place in `raw/` directory
There are placed in `raw/` directory

TODO

### Projects

There are place in `projects/` directory
There are placed in `projects/` directory

TODO
Two project for two things:
- `coradinateRetriever`: Generate a file with the cities coordinates. (Use the `goto` command from the ETS2/ATS game)
- `jsonGenerator`: Generate json files with the concatened data of cities list, companies list and cities coordinates.

### Dist files

There are place in `dist/` directory
There are placed in `dist/` directory

**A city example data**

````json
{
"felixstowe": {
"gameName": "felixstowe",
"realName": "Felixstowe",
"country": "uk",
"companies": {
"tree_et": {
"gameName": "tree_et",
"realName": "Tree-ET"
},
"lkwlog": {
"gameName": "lkwlog",
"realName": "LkwLog GmbH"
},
"tradeaux": {
"gameName": "tradeaux",
"realName": "Tradeaux"
}
},
"x": "-31664.6",
"y": "101.398",
"z": "-13837.2"
}
}
````

**A company example data**

````json
{
"spinelli": {
"gameName": "spinelli",
"realName": "Spinelli"
}
}
````


## Licence
Expand Down

0 comments on commit c33274e

Please sign in to comment.