How to build branded POI Icons for Primo!   

How to build branded POI Icons for Primo!

Postby carlosjuan » Mon Dec 12, 2011 2:28 pm

1. Prerequisites:

• 128Megs main memory, adding branded POI Icons add a heavy load onto the memory and I don’t see how a 64Meg device can handle that.
• Launch Primo, go to Settings\Visual Guidance\Facility types, and choose the four categories of POI’s you want to see on the screen. I.E. gaz station, restaurant… etc…
• Quit Primo.
• Locate data.zip and branding.zip from a working version of Primo.
• Locate into the SAVE folder the poi_visibilities.txt file copy and paste it on your desktop.
• Rename your poi_visibilites.txt of the source of working Primo SAVE directory into poi_visibilites_old.txt
• Copy and paste on your desktop the data.zip file. Do not decompress the file.
• Copy and paste on your desktop the branding.zip file. Do not decompress the file.
• Rename your BRANDING.ZIP of the source of working Primo to BRANDING_OLD.ZIP
• Download the UPOI Editor from here [Please Register or Login to download file] and decompress.
It’s very important that you do not decompress the Primo files above. If you decompress the files and then compress them again ether by Windows or Winrar, Primo will not be able to open them. I presume that NNG use a special compression format.

2. Brand icon files creation using UPOI program

• Drag your icons into the “Icons” folder under the UPOI program folder. TIP: try to use only the icons of the same category, ie (restaurant, gas, hotel, etc…. If any changes later (add or remove) it will be easier for you. Also name you icons by brand.
• Open UPOI Editor and select “Options” and select “Built icon Stripe / SPR”. Doing this, will create 2 files (BMP and SPR) into “COMMON”, “800_480” and “480_272” in the subdirectory of UI_IGOx.
• Locate the two files within the directory of the screen resolution of your device (800 X 480 = 800_480). Rename those 2 files by the icon file category (ie Restaurant icons = Restaurant.bmp, Restaurant.spr, petrol_station.bmp, petrol_station.spr, etc…)

NOTE: in my case, I have a device with an 800X480 resolution; I found the icons too big on the screen so I took the icons of the 480_272 directory instead.

3. Creating Branding.zip file structure

a. On your desktop, you’re going to create the following directories
• Ui_igo9\icons
• Ui_igo9\common
• Ui_igo9\default
• Ui_igo9\800_480 (your current resolution directory)

b. Now, you’re going to fill those directories
• Open the DATA.zip file
• Copy and paste the directory ICONS\POI to ui_igo9\icons of desktop
• Copy and paste the directory COMMON to ui_igo9\common of desktop
• Copy and paste the file in DEFAULTS\POI_visibilities.txt and nq_ad_categories.txt to ui_igo9\defaults.
• Copy and paste the following SPR & BMP files from the resolution directory you’re using (800_480) to ui_igo9\800_480 of desktop.
• Poi_disabled
• Poi_group
• Poi_hwy
• Poi_hwy_disabled
• Poi_map_close

c. Copy and paste the SPR/BMP category files you created with UPOI Editor ex: Restaurant.spr, Restaurant.bmp… etc…. into your resolution directory (800_480) in igo9\800_480 of desktop.

4. Last steps; create the branded icons association with Primo.

a. Copy and paste the file UI_IGO9\ICONS\poi.icons to your desktop and rename to poi_old.icons the source file in UI_IGO9\ICONS\
b. Drag and Drop the whole UI_IGO9 directory you created above to the BRANDING.ZIP on your desktop. Doing this, Windows will compress the files automatically to the correct format that Primo wants to read
c. Open with Notepad the file in UPOI_Editor\UI_IGOx\ICONS\UPOI_Editor.icons and make the following changes:


• [Amir]
• $poi_mapdistant.bmp
• UPOI_Editor.spr 1

• [A_W]
• $poi_mapdistant.bmp
• UPOI_Editor.spr 2

• [Boston_Pizza]
• $poi_mapdistant.bmp
• UPOI_Editor.spr 3

To:
• [Amir]
• $poi_mapdistant.bmp
• Restaurant.spr 1
• Restaurant.spr 1

• [A_W]
• $poi_mapdistant.bmp
• Restaurant.spr 2
• Restaurant.spr 2

• [Boston_Pizza]
• $poi_mapdistant.bmp
• Restaurant.spr 3
• Restaurant.spr 3

d. Do the modification above for all the brands you have. Quick TIP, don’t hesitate to use find and replace tool in Notepad.
e. Do this for all the brands categories, I.E Restaurant, petrol_station…
f. IMPORTANT: POI.ICONS file makes the association between the SPR/BMP files and Primo. You need to use the same file name for the SPR/BMP files and the inside POI.ICONS text file. To help you to understand read below:
• The brand name in brackets refers to the icon file name
• “$”……..BMP read the file into the COMMON folder
• The SPR file tells to Primo what file to read and tells where the position of the icon in the strip of icons is.
g. Save the file and copy and paste its content into the POI.ICONS on your desktop.
h. Copy and paste this file into the BRANDING.ZIP\UI_IGO9\ICONS\POI\. The file will be compressed
• Now open the poi_visibilities.txt from you desktop and locate all the brands where you want to see the branded icons on the map screen. What you have now is similar to this:
• Petrol_Station Esso||5000|500
• Petrol_Station Shell||5000|500
• Petrol_Station Fas Gas Plus||5000|500
• Petrol_Station Racetrac||5000|500
• Petrol_Station Petro-Canada||5000|500

Into:

• Petrol_Station Esso|esso|5000|500
• Petrol_Station Shell|shell|5000|500
• Petrol_Station Fas Gas Plus||5000|500
• Petrol_Station Racetrac||5000|500
• Petrol_Station Petro-Canada|petro_canada|5000|500

What you have to do is to insert between the || the name of the icon file you had into the POI.ICONS brackets ex: [Esso]-- |esso|.

i. Do this for all the categories and icons you have. Don’t panic, some of your brands may not be there. These are built from the POI’s that came from your POI files from the CONTENT\POI directory.
j. Once completed, copy this file into the SAVE directory mentioned above and also into the BRANDING.ZIP\UI_IGO9\DEFAULTS.

5. Modify your SYS.txt file.

a. To avoid low memory errors, I had to modify the SYS file as per the following:
• max_memory=134217728 ; (128megs) ; (1meg=1048576)
• reserve_memory=4194304 ; (4megs)
• cache=2097152 ; (2megs)

6. You’re done! Now you should see your favorite brand icons on the map screen! My favorites are Tim Horton and Starbucks!
carlosjuan offline


Junior Member



 
Joined: Thu Dec 01, 2011 5:44 pm
Posts: 4
Has thanked: 0 time
Been thanked: 1 time

Postby Chuck88 » Mon Mar 26, 2012 7:56 pm

Thanks for the insight! Just wondering whether the posted procedure is applicable for Primo 2.0, or for v1.2 only.

Cheers!
Chuck88 offline


Junior Member



 
Joined: Wed Aug 18, 2010 2:27 pm
Posts: 9
Has thanked: 0 time
Been thanked: 0 time

Postby Chuck88 » Thu Mar 29, 2012 3:14 pm

OK, it works for Primo v2.0. My own procedure is somehow simpler. Additionally, the icon index should start at 0 rather than 1, at least for Primo 2.0. So for example, [Amir] should be changed from:

• [Amir]
• $poi_mapdistant.bmp
• UPOI_Editor.spr 1

To:
• [Amir]
• $poi_mapdistant.bmp
• Restaurant.spr 0
• Restaurant.spr 0
Chuck88 offline


Junior Member



 
Joined: Wed Aug 18, 2010 2:27 pm
Posts: 9
Has thanked: 0 time
Been thanked: 0 time

Postby deputy01 » Sun Sep 22, 2013 2:24 pm

Does anyone one have branding zip for igo8 with brand icons. I see alot for primo but not for igo8.
deputy01 offline


Junior Member



 
Joined: Sun Jun 02, 2013 12:46 am
Posts: 8
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Mon Sep 23, 2013 12:08 pm

deputy01 wrote:Does anyone one have branding zip for igo8 with brand icons. I see alot for primo but not for igo8.


Here you go:
This board requires you to be registered and logged-in to view hidden content.


Press reload or refresh after pressing thanks.
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1367 times

Postby deputy01 » Mon Sep 23, 2013 11:39 pm

Chas521, you are the man. The branding zip you sent is awesome. It has every icon I need and then some.

Cannot thank you enough
deputy01 offline


Junior Member



 
Joined: Sun Jun 02, 2013 12:46 am
Posts: 8
Has thanked: 0 time
Been thanked: 0 time

Postby bluem9 » Mon Sep 30, 2013 5:29 pm

chas521 wrote:Here you go:
***Hidden content cannot be quoted.***

Press reload or refresh after pressing thanks.


Hi chas521, do you have the same for Primo (v 1.2) too? I downloaded your iGo 8 branding, thank you it is wonderful.
bluem9 offline


Junior Member



 
Joined: Thu Sep 06, 2012 7:23 pm
Posts: 33
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Mon Sep 30, 2013 9:03 pm

This is going to be a little different than the branding.zip.


How to install:
------------------------
Put all bmp files into folder "\iGO\content\userdata\usericon"
Create the folder userdata inside content and create inside that folder usericon.

This board requires you to be registered and logged-in to view hidden content.

Press reload or refresh after pressing thanks.
"S" for res. 480_272
"M" for res 800_480

Thanks to KasteL
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1367 times

Postby bluem9 » Mon Sep 30, 2013 10:51 pm

Great, thank you. do you know whether the performance will be affected if I have many KMLs and icon files? I prefer showing them on my map using place markers. so just wondering.
bluem9 offline


Junior Member



 
Joined: Thu Sep 06, 2012 7:23 pm
Posts: 33
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Tue Oct 01, 2013 11:51 am

I don't use Primo, only iGO8, so you'll just have to do a trial and error thing.
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1367 times

Postby deputy01 » Fri Nov 22, 2013 12:05 am

"chas521, you gave me a branding zip for igo8 but it stop at 480_272. Do you have one that has 800_480. It would really help me.


thanks
deputy01 offline


Junior Member



 
Joined: Sun Jun 02, 2013 12:46 am
Posts: 8
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Sat Nov 23, 2013 2:23 pm

This is going to be a little different than the branding.zip.


How to install:
------------------------
Put all bmp files into folder "\iGO\content\userdata\usericon"
Create the folder userdata inside content and create inside that folder usericon.

[Please Register or Login to download file]

Press reload or refresh after pressing thanks.
"S" for res. 480_272
[color="#FF0000"]"M" for res 800_480[/color]

Thanks to KasteL

Make sure that you make the necessary sys.txt entry for your resolution.
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1367 times

igo8 poi

Postby deputy01 » Sat Nov 23, 2013 5:20 pm

Ok I created the folders put the icons in the folder but I cannot see them in the poi. Is there something I need to do different or what ?

thanks
paul
deputy01 offline


Junior Member



 
Joined: Sun Jun 02, 2013 12:46 am
Posts: 8
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Sun Nov 24, 2013 3:45 pm

@paul
Forgive me for asking but what nav program are you using? I believe it's iGO8. If so, simply go to the data.zip, ui_igo8 folder [I think it's called] and copy/paste the 800_480 folder to the branding.zip's same folder. Make sure that you have the correct resolution entry in the sys.txt.
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1367 times

Postby deputy01 » Sun Nov 24, 2013 3:57 pm

chas521 wrote:@paul
Forgive me for asking but what nav program are you using?


I have a generic china 7" running IGO8 8.3.4.142975.
deputy01 offline


Junior Member



 
Joined: Sun Jun 02, 2013 12:46 am
Posts: 8
Has thanked: 0 time
Been thanked: 0 time

Next

Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google [Bot] and 8 guests