Greetings All,
I have a question about saved tracks in Primo I can't figure out the answer to after hours and hours of trying.
Using Primo i3, 9.6.5.275111 on Windows CE.
When tracks I've saved are shown on the map, in 2d mode they have a white/light coloured 1 pixel line along each edge of the track itself, external colour I think it's referred to as.
Switching to 3d mode this line isn't shown & only the actual colour of the track can be seen.
If you refer to the pics below the top one is 2d mode & the bottom one is 3d mode.
What I'm trying to do is find what has to be edited/changed so that when in 2d mode the outside 1 pixel line of the track is either not shown or the colour it displays at edited & changed to either the same as the track colour or to black so it's not seen on a map with a black background.
Yes I could just keep using it in 3d mode with the angle at 1 degree like in the screenshot but at that zoom level, 599 metres, smaller roads aren't shown and no road labels at all are shown.
You can see on the bottom right of the 2d screenshot there's a road displayed (red) & named, but on the 3d screenshot neither the road or it's name is displayed.
I was thinking it might be something in the color.ini of the scheme being used but it makes no difference what scheme is used, what skin is used, Dimka, Gjak or Default, those tracks display the same regardless.
Here's the color.ini I'm using currently, I've changed everything inside it with '_ext' on the line except 'Blocked Roads' to 0,0,0 which is black.
That changes all the roads etc.'s outside or external 1 pixel strip to black & they display black as they should when using this scheme.
But those recorded tracks unfortunately do not get their display colours from anything I've changed in that file, any other color.ini file I try or from within either the diMkaWA_P156, or GjAk 1.08 skins, or data.zip.
Unless I've missed it I'm thinking it might be something in Primo's data.zip, which I've changed a couple of things in.
I pasted the contents of the above color.ini into the color.ini files inside data.zip/ui_igo9/scheme's folders, never worked nothing changed.
So I'm asking for help from one of the experts that understand these things, I believe the answer will be quite simple but I just can't figure out what it is.
Many thanks.
I moved the position of the cursor in the Dimka skin so it's X axis is centred on the device, when the transparency kicks in I much prefer it in the centre than offset to one side like it was originally.
Did that by replacing the following lines in the file customized.lua in the skin's ui_igo9/common/ui folder:
with
Essentially changing the 3 'posx's to '50' is the only change required.
That number can be adjusted to suit, 50 is screen centre for x-axis.
The lines numbers are 3300, 3301 & 3302.
I have a question about saved tracks in Primo I can't figure out the answer to after hours and hours of trying.
Using Primo i3, 9.6.5.275111 on Windows CE.
When tracks I've saved are shown on the map, in 2d mode they have a white/light coloured 1 pixel line along each edge of the track itself, external colour I think it's referred to as.
Switching to 3d mode this line isn't shown & only the actual colour of the track can be seen.
If you refer to the pics below the top one is 2d mode & the bottom one is 3d mode.
What I'm trying to do is find what has to be edited/changed so that when in 2d mode the outside 1 pixel line of the track is either not shown or the colour it displays at edited & changed to either the same as the track colour or to black so it's not seen on a map with a black background.
Spoiler: screenshot-2d
Spoiler: screenshot-3d
Yes I could just keep using it in 3d mode with the angle at 1 degree like in the screenshot but at that zoom level, 599 metres, smaller roads aren't shown and no road labels at all are shown.
You can see on the bottom right of the 2d screenshot there's a road displayed (red) & named, but on the 3d screenshot neither the road or it's name is displayed.
I was thinking it might be something in the color.ini of the scheme being used but it makes no difference what scheme is used, what skin is used, Dimka, Gjak or Default, those tracks display the same regardless.
Here's the color.ini I'm using currently, I've changed everything inside it with '_ext' on the line except 'Blocked Roads' to 0,0,0 which is black.
That changes all the roads etc.'s outside or external 1 pixel strip to black & they display black as they should when using this scheme.
Code:
[INFO]
name="MyNight"
night=1
preview=""
[color]
0="ground", 0,0,0, 1
a="0_int", 255,0,0
A="0_ext", 0,0,0
d="0_int", 255,0,0
D="0_ext", 0,0,0
c="1_int", 255,0,0
C="1_ext", 0,0,0
e="4_int", 255,0,0
E="4_ext", 0,0,0
g="5_int", 255,0,0
G="5_ext", 0,0,0
h="6_int", 255,0,0
H="6_ext", 0,0,0
i="8_int", 255,0,0
I="8_ext", 0,0,0
k="9_int", 255,0,0
K="9_ext", 0,0,0
l="10_int", 255,0,0
L="10_ext", 0,0,0
u="12_int", 255,0,0
U="12_ext", 0,0,0
r="freeway_int", 255,0,0
R="freeway_ext", 0,0,0
s="poor_int", 255,0,0
S="poor_ext", 0,0,0
x="unpaved_int", 255,0,0
X="unpaved_ext", 0,0,0
z="ped_int", 255,0,0
Z="ped_ext", 0,0,0
b="ferries_int", 255,0,0
B="ferries_ext", 0,0,0
f="ferries_int", 255,0,0
F="ferries_ext", 0,0,0
j="ferries_int", 255,0,0
J="ferries_ext", 0,0,0
v="ferries_int", 255,0,0
V="ferries_ext", 0,0,0
q="train_ferry_int", 255,0,0
Q="train_ferry_ext", 0,0,0
1="orszaghatar szine", 200,0,0
2="megyehatarok szine", 120,0,0
3="kulterulethatarok szine", 100,0,0
4="nagyvaros kerulethatarok szine", 100,0,0
5="viz szine", 0,0,220
international_border=-1, 0,0,0
region_border=-1, 0,0,0
political_border=-1, 0,0,0
space=0, 0,0,0
stars=0, 200,200,200
guidancestrip="0", 255,183,8
guidancestrip_ext="0", 0,0,0
hazecolor=0, 0,0,0
zoomcolor1=0, 100,0,0
zoomcolor2=0, 0,190,190
zoomcolorfont=0, 255,255,255
zoomcolorglow=0, 0,0,0
loading_background=0,0,0
loading_text=0,128,128
3d_sky=0, 30,30,30
3d_grass=0, 0,99,0
3d_building_color=0, 128,128,128
3d_building_roof=0, 96,96,96
3d_faded_building_body=0, 128,128,128
3d_tunnel_master_color=0, 252,0,252
3d_building_outline_color=0, 0,0,0
3d_faded_building_wireframe=0, 192,192,192
guidancestripalt="", 255,183,8
guidancestripalt_ext="", 0,0,0
globe_atmosphere=0,0,70,114
globe_space=0,0,0
Partition_area=9, 0,0,0, 0
built_up=8, 81,37,8, 2
built_up_border=1, 0,0,0, 0
sweet_water=6, 0,0,255, 2
salt_water=6, 0,0,255, 2
intermittent_water=6, 0,0,255, 2
wetland=6, 50,170,220, 2
area_a=-1, 20,20,20, 0
area_b=-1, 30,30,30, 0
area_c=-1, 40,40,40, 0
black=0, 0,0,0, 0
white=0, ,0,0,0, 0
red=0, 0,0,0, 0
lightred=0, 0,0,0, 0
green=0, 0,0,0, 0
blue=0, 0,0,0, 0
lightblue=0, 0,0,0, 0
yellow=0, 0,0,0, 0
purple=0, 0,0,0, 0
cyan=0, 0,0,0, 0
peach=0, 0,0,0, 0
orange=0, 0,0,0, 0
marsh=0, 0,0,0, 0
user_a=0, 0,0,0, 0
user_b=0, 0,0,0, 0
user_c=0, 0,0,0, 0
CM_city_block_yellow=0, 0,0,0, 0
CM_city_block_blue=0, 0,0,0, 0
CM_city_block_green=0, 0,0,0, 0
CM_city_block_peach=0, 0,0,0, 0
CM_city_block_orange=0, 0,0,0, 0
CM_city_block_purple=0, 0,0,0, 0
CM_bank_area=0, 0,0,0, 0
CM_Hospital_ground=0, 0,0,0, 0
CM_Hospital=0, 0,0,0, 0
CM_paved_area=0, 0,0,0, 0
CM_medium_strip=0, 0,0,0, 0
CM_planted_area=0, 0,0,0, 0
CM_garden_path=0, 0,0,0, 0
CM_House=0, 0,0,0, 0
CM_School_ground=0, 0,0,0, 0
CM_School=0, 0,0,0, 0
CM_Commercial_establishment=0, 0,0,0, 0
CM_place_of_worship=0, 0,0,0, 0
CM_Hotel=0, 0,0,0, 0
district.1=8, 255,186,136
district.2=8, 255,206,136
district.3=8, 255,186,156
district.4=8, 235,206,156
district.5=8, 235,206,136
district.6=8, 235,186,156
city_park=4, 63,88,8, 0
state_forest=3, 0,0,0, 0
National_Park=3, 0,0,0, 0
city_forest=1, 63,88,8, 0
airport_ground=4, 4,78,4, 0
airport_runway=2, 74,78,64, 0
building=0, 0,0,0, 0
cemetery_ground=5, 0,0,0, 0
industrial_area=2, 0,0,0, 0
Railway_area=7, 0,10,30, 0
recreational_area=0, 0,0,0, 0
Shopping_Center_Ground=0, 0,0,0, 0
railway=2, 0,0,0, 100,100,100
label_road="", 255,255,255
label_roadlt="", 165,165,165
label_settlements="", 255,255,255
label_poi="", 255,127,255
label_address_point="",255,255,255
road_shield="", 255,255,255
road_box="", 255,255,255
shield_fill="", 0,50,200
shield_border="", 0,0,0
box_fill="", 120,0,0
light_shield="", 0,135,50
light_shield_ext="", 0,0,0
roadlabel_fill="", 0,0,0
roadlabel_frame="", 150,0,0
roadlabel_stick="", 150,0,0
oneway_arrow="", 0,255,0
label_road_bubble="", 0,0,0
alpha_arrow=5
3d_tunnel_color_morph_percent=50
planned_road="", 255,0,0
planned_road_ext="", 0,0,0
planned_road_visited="", 255,0,0
planned_road_visited_ext="", 0,0,0
planned_road_future="", 255,0,0
planned_road_future_ext="", 0,0,0
planned_road_prohibited="", 255,0,0
planned_road_prohibited_ext="", 0,0,0
planned_road_inactive="", 255,0,0
planned_road_inactive_ext="", 0,0,0
planned_road_hnr="", 255,0,0
planned_road_hnr_ext="", 0,0,0
planned_road_alt1="", 255,0,0
planned_road_alt1_ext="", 0,0,0
planned_road_alt2="", 255,0,0
planned_road_alt2_ext="", 0,0,0
planned_road_alt3="", 255,0,0
planned_road_alt3_ext="", 0,0,0
planned_road_alt4="", 255,0,0
planned_road_alt4_ext="", 0,0,0
itiner_highlight="", 255,0,0
itiner_highlight_ext="", 0,0,0
blocked_road="", 255,255,0
blocked_road_ext="", 255,255,0
tmc_event_color0="", 255,255,0
tmc_event_color0_ext="", 0,0,0
tmc_event_color1="", 255,255,0
tmc_event_color1_ext="", 0,0,0
tmc_event_color2="", 255,255,0
tmc_event_color2_ext="", 0,0,0
tmc_event_color3="", 255,255,0
tmc_event_color3_ext="", 0,0,0
tmc_event_color4="", 255,255,0
tmc_event_color4_ext="", 0,0,0
tunnel_overview_background="", 0,0,0
tunnel_overview_main_road="", 255,0,0
tunnel_overview_connected_road="", 255,0,0
[other]
texture="gfx/night/texture.spr"
sun="gfx/night/sun.spr"
sky="gfx/night/sky.spr"
heightcolormap="$skin$/common/nightheightcolormap.bmp"
background_picture_0="sky_night.bmp"
background_picture_1=""
background_picture_2=""
background_picture_3=""
background_picture_4=""
sun_picture_0=""
sun_picture_1=""
sun_picture_2=""
sun_picture_3=""
[font]
default="default"
defaultbd="defaultbd"
[icon]
poi="gfx/night/poi6x6.spr"
poi2="gfx/night/poi26x26.spr"
poi2tc="gfx/poi26x26tc.spr"
settlements="gfx/telepules.spr"
trackinglist="$trackinglist.spr"
flags="skin_night/small_flags.spr"
pins="pins.spr"
gpspos="skin_night/carpos.spr"
cursor="cursor.spr"
cursor_big=""
cursor_places="skin_night/cursor_places.spr"
cursor_places_big=""
cursor_poi="cursor_poi.spr"
cursor_tmc="cursor_tmc.spr"
car="$daycar.spr"
carghost="$daycarghost.spr"
guidancearrow="$nightguidancearrow.spr"
[userpoi]
font="default"
fontsize=10
color=255,255,255
[track]
1=200,0,0, 0,0,0
2=255,85,0, 0,0,0
3=0,240,0, 0,0,0
4=224,0,0, 0,0,0
5=0,213,255, 0,0,0
6=0,0,255, 0,0,0
7=128,0,255, 0,0,0
8=0,255,0, 0,0,0
9=240,240,0, 0,0,0
10=255,198,0, 0,0,0
[model]
car="car.mdl"
car_ghost="car_grey.mdl"
; Roadsign sprites, used when [3d_config] roadsign_bitmaps=1 in SysConfig
[roadsign_sprites]
; Sprite names, should be in theme folder
main="street_name_main_night.spr"
left="street_name_left_night.spr"
right="street_name_right_night.spr"
leg_left="street_name_leftleg_dn_night.spr"
leg_mid="street_name_midleg_dn_night.spr"
leg_right="street_name_rightleg_dn_night.spr"
font_color=224,224,224
Unless I've missed it I'm thinking it might be something in Primo's data.zip, which I've changed a couple of things in.
I pasted the contents of the above color.ini into the color.ini files inside data.zip/ui_igo9/scheme's folders, never worked nothing changed.
So I'm asking for help from one of the experts that understand these things, I believe the answer will be quite simple but I just can't figure out what it is.
Many thanks.
I moved the position of the cursor in the Dimka skin so it's X axis is centred on the device, when the transparency kicks in I much prefer it in the centre than offset to one side like it was originally.
Did that by replacing the following lines in the file customized.lua in the skin's ui_igo9/common/ui folder:
Code:
sc_wSetNavCarPos = function(posx)
if posx~=50 and (MODEL.lua.dragMode() or not st_EasyNav.isActive) then
return
end
local mapLayer = MODEL.map.primary
if mapLayer.car_posx() ~= posx then
mapLayer.car_posx = posx
mapLayer.center_posx = posx
end
Code:
sc_wSetNavCarPos = function(posx)
if posx~=50 and (MODEL.lua.dragMode() or not st_EasyNav.isActive) then
return
end
local mapLayer = MODEL.map.primary
if mapLayer.car_posx() ~= 50 then
mapLayer.car_posx = 50
mapLayer.center_posx = 50
end
That number can be adjusted to suit, 50 is screen centre for x-axis.
The lines numbers are 3300, 3301 & 3302.