I have added some icons to Primo 2 that works just fine. I set up a folder ui_igo9 at Primo root directory, added two sub-directories 'common" & "icons/poi". I then added the poi icons (32X32, BMP) & SPR files for them in the "common" sub-folder (poi1.bmp, poi1.spr,...........). The spr file for each icon looks like this:
BmpFlags = 0
DefFlags = ALPHA_PIXEL | ALPHA_LAYER
DefPhase = 1
Stripes = 32
DefAlpha = 32
Now for each of the icons, I had to add a icons file (poi1.icon, poi2.icon,........) in the "poi" sub-folder that reads like this:
$poi_mapdistant.bmp
$poi1.spr 0
$poi1.spr 0
$poi1.spr 0
This procedure is ok if one has few number of icons to add. But if there are hundreds of icons, then one has to create icons file for each of the hundreds of icons which is very tiresome. Is there any way that a few number of icon files can be used to show all the icons? Please note that the icons are 32X32 bmps having just one icon in one bmp file, they are not the multiple icons in one strip.Thanks!