Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Likes Likes:  0
Results 1 to 5 of 5
  1. #1
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    38
    Posts
    208
    Rep Power
    129

    IGO Primo Icon location file???

    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.

  2.    Advertissements


  3. #2
    Master
    Join Date
    Aug 2011
    Location
    uk
    Posts
    157
    Rep Power
    514

    Default

    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

  4. #3
    Member + furat52's Avatar
    Join Date
    May 2011
    Location
    United Arab Emirates
    Posts
    31
    Rep Power
    38

    Default

    Speedcam icons located inside data.zip file.

  5. #4
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    38
    Posts
    208
    Rep Power
    129

    Default

    Quote Originally Posted by furat52 View Post
    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.

  6. #5
    Master
    Join Date
    Aug 2011
    Location
    uk
    Posts
    157
    Rep Power
    514

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •