View previous topic :: View next topic
Author
Message
BizRate
infama + Joined: 03 Dec 2007 Posts: 2717 Location: Genf
New routing mode discovered? Thu May 15, 2008 10:25 pm
A Pal (Patruns) contacted me with the very good question below:
I was looking at the mod for restoring pedestrian mode. Was there ever a mode with a value of 4? Seems to be missing.
_________________________
Very good question that has kept me from going to bed!
In the HP, it comes stock with:
Car|0|Taxi|1|Bus|2|Truck|3|Pedestrian|5|Bicycle|6
in the setting_800_480.ui file (actually, without the PED mode).
However in searchin g the iGo demo version which has a different file structure, I find reference in navigatemap.ui to:
runif nVehicle 0 'vehicle_icon.bmp "vhcl_car.bmp"'
else_runif nVehicle 1 'vehicle_icon.bmp "vhcl_taxi.bmp"'
else_runif nVehicle 2 'vehicle_icon.bmp "vhcl_bus.bmp"'
else_runif nVehicle 3 'vehicle_icon.bmp "vhcl_truck.bmp"'
else_runif nVehicle 4 'vehicle_icon.bmp "vhcl_emr.bmp"'
else_runif nVehicle 5 'vehicle_icon.bmp "vhcl_ped.bmp"'
else_runif nVehicle 6 'vehicle_icon.bmp "vhcl_bic.bmp"'
This leads me to believe that option 4 is the emergency vehicle mode and that it can be re-enabled. However I am not sure what script is activated by this and where it would be, as HP is different to iGo in terms of file structuring. I will try it tomorrow. Last edited by infama on Mon May 19, 2008 3:02 pm; edited 1 time in total
Back to top
infama + Joined: 03 Dec 2007 Posts: 2717 Location: Genf
Thu May 15, 2008 11:04 pm
in iGo datazip ui_IGO8/common/ui route.ui I see the following:
vTmp.TEXTMODEL_WSTR "route.current_route_type"
vTmp.DROPMODEL
runif nVehicle 5 'txtRI_Method.text "Pedestrian"'
else_runif nVehicle 4 'txtRI_Method.text "Emergency"'
else_runif nVehicle 6 'txtRI_Method.text "Bicycle"'
else_runif vTmp L"ECO" 'txtRI_Method.text "Economic"'
else_runif vTmp L"SHORT" 'txtRI_Method.text "Shortest"'
else_runif vTmp L"FAST" 'txtRI_Method.text "Fastest"'
else_runif vTmp L"SIMPLE" 'txtRI_Method.text "Easy"'
else_run 'txtRI_Method.text "n/a"'
In the equivalent hp file I see:
<script sc_RefreshRouteInfo>
ui_Route.GET_ROUTEINFO txtRI_Distance txtRI_Stops txtRI_TimeLeft txtRI_Arrive txtRI_DestAddress
ui_Route.SHOW_ICONS sprRI_Info1 sprRI_Info2 sprRI_Info3 sprRI_Info4 sprRI_Info5
ui_Route.IS_ACT_VIAPOINT_LAST vTmp
runif vTmp 1 'Title.set "Route information", txtRI_DestType.TEXT "Destination"'
else_run 'Title.set "Viapoint information", txtRI_DestType.TEXT "Viapoint"'
runif nVehicle 5 'txtRI_Method.text "Pedestrian"'
;else_runif nVehicle 4 'txtRI_Method.text "Emergency"'
else_runif nVehicle 6 'txtRI_Method.text "Bicycle"'
else_runif vRouteType L"ECO" 'txtRI_Method.text "Economic"'
else_runif vRouteType L"SHORT" 'txtRI_Method.text "Shortest"'
else_runif vRouteType L"FAST" 'txtRI_Method.text "Fastest"'
else_runif vRouteType L"SIMPLE" 'txtRI_Method.text "Easy"'
else_run 'txtRI_Method.text "n/a"'
</script>
Thus its clear what is needed to restore emergency vehicle mode (option 4). See below:
data.zip:ui_hp_sagan\800_480\ui\setting_800_480.ui: add Emergency mode and Pedestrian mode.
[Before]
z=1 value="Car|0|Taxi|1|Bus|2|Truck|3|Bicycle|6"
[After]
z=1 value="Car|0|Taxi|1|Bus|2|Truck|3|Emergency|4|Pedestrian|5|Bicycle|6"
Bingo...another easy mod!
Back to top
MTurbo Joined: 03 Apr 2008 Posts: 138 Location: Ontario, Canada
Fri May 16, 2008 1:14 am
infama, what does the mod do when you restore emergency vehicle mode ?
Better routing ?
Back to top
infama + Joined: 03 Dec 2007 Posts: 2717 Location: Genf
Fri May 16, 2008 5:56 am
MTurbo wrote: infama, what does the mod do when you restore emergency vehicle mode ?
Better routing ?
Its for Police and ambulances.
Back to top
patruns + Joined: 04 Jul 2007 Posts: 1419 Location: Long Island
Fri May 16, 2008 12:32 pm
Possibly a good mod for some of our emergency people on here and a factor they should consider when making a purchase. I wonder what other brands have a disabled emergency mode.............
Back to top
Uncle Ben + Joined: 06 Nov 2007 Posts: 1075 Location: Canada
Fri May 16, 2008 8:47 pm
Well, this is a darn good feature for me ... apple pies will now be delivered piping HOT HOT HOT! Just like me!
Back to top
infama + Joined: 03 Dec 2007 Posts: 2717 Location: Genf
Sun May 18, 2008 6:47 am
How to add back EASY routing option...from Passion:
PS simple MOD: enabling “EASY” Route Calculation Method
Add “Easy|SIMPLE” in the “Setting_800_480_ui” file in this line:
<SLIDER xxx template=xsld_275 x=35 y=163 z=1 value="Fastest|FAST|Shortest|SHORT|Economic|ECO|Easy|SIMPLE" var=vRouteType>
This will ” Results in a route with fewer turns. With this option, you can make Nav.
to take, for example, the motorway instead of series of
smaller roads or streets.”
Back to top
BizRate
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum