List of all items in iRacing related to dynamic images

Posts: 72
Hi!

I'm already working with multiples folders containing ( cars manufacturers logos, track image, gain and loss positions ) but i am searching for a way
to know wich data i can link to dynamic image.

For example... in my tracks folders all track are identified with a track id, last week we were at snetterton and i do not have this image...
so the only way i find is to go in the track on iracing website and look at the web address at the end the numbre should be the track id...
problem is, some tracks has a lot of configurations... so have different id number.

My goal here is to find a list of each command you can use with data binding and dynamics images. that way

Track id numbers list, carid number, time of day.

If someone can show me how to quickly know wich numbers belong to wich track i need help!

thank you





Posts: 72
.

Edited (1 time)
Posts: 785
Maybe I misunderstood but you seem to ask two questions?

1:
My goal here is to find a list of each command you can use with data binding and dynamics images
Any data binding can be used for dynamic images. The things like track id and car id are just more useful examples that are typically required for a theme, but you can bind images to track temperature or speed or rpm or whatever you want.


2:
If someone can show me how to quickly know wich numbers belong to wich track i need help!
Unfortunately I don't think there is a quick and easy way. I have written a small program for myself to parse the members page source code, for example if you go to the Cars or Tracks page (where you can buy them) and look at the source code all the info is in there, somewhere, you just need to extract it. There is some piece of JSON that lists all tracks/cars including their ID and a link to their image.
Posts: 72
okay thanks Nick,
I know my question was not really easy to answer and thanks for answering...

my goal here is to understand for example... what atvo folder is looking for... for now as far as i know he will look for the folder cars to obtain
car manufacturer with the carid...
he will look for poschange for lost and gain
i know that he will also look for a tracks folder for tracks images...

because i do not understand anything about coding... i am trying to understand, what are the other folders he will look for...
for example... i read in another post that he will look for status folder to obtain png about, PIT DNF DNS
i there a list somewhere of data bindings = what folders you need for dynamic images...

Thanks a lot Nick!
Posts: 785
ATVO doesn't look for any specific folder at all, you have to specify the path to your dynamic files in the Path property. It's just logical to put car images in a folder called "cars" but you can also put them in any folder, as long as you put the correct Path in the binding.

If you put them in folder "cars" then your Path should be "cars/{0}.png"
If you put them in folder "dynamic_images/cars/whatever/random/stuff" it should be "dynamic_images/cars/whatever/random/stuff/{0}.png"
Posts: 72
okay! well i got it... my conception of the whole thing was wrong... really sorry i feel stupid now...

got it so for the rest it's just logical, if you want to combine something with temperature for example i guess each value 0,1,2,3,4 degré can be linked to a png...
Posts: 785
Yes, although with things like temperature you have to keep in mind that it returns a floating punt number, such as "31.198953" instead of a round number. So you have to put your formatting string correctly so that it rounds to a whole number (or whatever you want). That means instead of the "{0}" part you'd put something like "{0:0}" which means round to 1 digit (no decimals).