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