Does anyone know what igo file has the icon file location of the speedcam icons.
I have found where the bmp icons are located but what I am specifically looking for is what file actually lists the icon name and location it points to.
Does anyone know what igo file has the icon file location of the speedcam icons.
I have found where the bmp icons are located but what I am specifically looking for is what file actually lists the icon name and location it points to.
I could well be wrong as its not something I have looked into , but I think the speedcam icon ID is coded in the primo.exe its self, which then links to the speedcam category. this might not be a problem but depends on what you ultimately want to achieve.
regards
morco
Speedcam icons located inside data.zip file.
its not the specific icons I am after as know where they are located, its where the directory structure is located.
example:
in html when building a website you have a page file that has <img scr:"folder/folder1/image.jpg">
so in igo where is the line similar to html that has a similar line structure as this <img scr:"folder/folder1/image.jpg"> showing where the speedcam bmp are located. Obviously something directs the program to find the bmp images but its knowing where to look.
im not an expert, but as far as i am aware the folder structure and file locations are coded within the primo.exe
one of the many tasks primo.exe performs is to import the script files from the data.zip (see main.ui)
in these script files you can see what image files are used,where and for what purpose but no information of actual location (eg 800_480/skin_night/button.bmp)
because primo.exe knows this location.
with the speedcam icons, as far as i am aware,the speedwarn_list.bmp (which contains 20 or so speedcam icons in a strip) is scripted but not what icon is used for a particular speedcam.
my theory is that primo imports the speedcam.txt ,extracting location and speedcam catagory type and then gives each catagory type an id number.All the information is then saved in its own format (speedcam.spdb).so then with these id numbers it knows which icon on the image strip to display for a particular speedcam
you can see reference to the speedcamlist,index and id in the driveralerts.ui and variable_def.ui
(when you add or edit a speedcam (eg change icon) the only info saved is in speedcamupdates.spud)
like i say ,this is only a theory so good luck with your search
Bookmarks