/MioMap 3.3 DATA.ZIP Tweaks

MioMap 3.3 DATA.ZIP Tweaks

MioMap (iGo) uses DATA.ZIP for a lot of user interface configurations. I have included the DATA.ZIP from my US Mio C230 in my unlocking guide. My reader found that the DATA.ZIP is not compatible with EU model. I am starting this post and record whatever tweaks I know for it. You can then modify your own DATA.ZIP file. I’ll keep updating this post, please come back from time to time to check on any new tweaks.

Before you go on and modify your DATA.ZIP. Make sure you always make a backup copy of it, so if anything happens, you can revert it to the original DATA.ZIP. Do the tweaks one by one and test it before you try the next one. Therefore, if something goes wrong, you know what the problem is. Make a backup copy of individual file before you modify it. The following tweaks have been tested on a US model of Mio C230.

BEFORE YOU FOLLOW THE PROCEDURES TO MODIFY YOUR MIO C230. YOU KNOW THAT YOU MIGHT RENDER YOUR C230 UNUSABLE AND YOU MIGHT VOID YOUR WARRANTY. YOU DO THIS AT YOUR OWN RISKS.

The DATA.ZIP file is at

My Flash DiskMioMapMioMap

or

My Flash DiskMioMapMioMap2

if you use my unlock prior to release 4. To modify a file inside DATA.ZIP, first extract everything to your hard drive. Work on the file that you are interested in and compress every files back to DATA.ZIP again. If you have problems running MioMap after you modify your DATA.ZIP file. Here are some trouble shooting tips:

  • Make sure you compress the files in the same directory structure and you didn’t introduce additional folders.
  • It has been reported that file compressed by WinZip 11 is not working. Please use other applications for zipping.
  • If you do a cut and paste when editing the file, additional line break might be in the edited file. Try to edit the entry by hand.

Exit Door Button *

exit-door.jpg

This is a must for any unlocks. By default, there is no Exit Door at the main screen. This tweak “unhides” the Exit Door button. First edit the file miocommonuidefault_setup.ui . Find the following line.

runif vDeviceType "MIOC230" 'btn_exit_app.hide'

Comment out the line by putting a semicolon before it. Now the line looks like this.

;runif vDeviceType "MIOC230" 'btn_exit_app.hide'

Note that this is for Mio C230. You might try to edit/delete other line for your specific model.

Export Track Button *

exporttrack.jpg

This tweak unhides the Export button in the Track Information screen. Edit this file mio320_240uitracking_320_240.ui . Find the word hide and delete just the word hide.

Easy Route Option *

easyroute.jpg

This tweak enables EASY route option. The route planned requires less turns than other route options. Edit this file mio320_240uiroute_settings_320_240.ui . Find this line

<SLIDER btn_config1 var=vRouteType value="Fastest|FAST|Shortest|SHORT|Economic|ECO" x=82 y=46 w=76 bmp="sel_left.bmp#2" fonttype=buttonlabel1 bmp2="sel_right.bmp#2" align="center" valign="center+5" enablekeys=0>

and change it to

<SLIDER btn_config1 var=vRouteType value="Easy|SIMPLE|Fastest|FAST|Shortest|SHORT|Economic|ECO" x=82 y=46 w=76 bmp="sel_left.bmp#2" fonttype=buttonlabel1 bmp2="sel_right.bmp#2" align="center" valign="center+5" enablekeys=0>

Do not do a copy and paste for this tweak, because you might have an extra line break in the file.

* – These tweaks have been included in my unlock release 3.1.

GPS Power Button

gpsbutton.jpg

This hack enables you to turn off GPS power when you are planning a route or viewing the map. There are two files involved to pull this off. The first file is commongps.ui . Insert the following 3 lines in the <script sc_gpssettings_init> section.

	;!TB - show or hide ON and OFF buttons

	run sc_gps_switch_btn_update

	vGPSStatus.OnChange "sc_gps_switch_btn_update"

Then add the following to the end of the file.

;!TB - start and stop GPS scripts

<script sc_gps_stop>

	gps_stop

	btn_gps_off.disable

</script>

<script sc_gps_start>

	gps_start

	btn_gps_on.disable

</script>

;!TB - update GPS on and off buttons

<script sc_gps_switch_btn_update>

	runif vGPSStatus 0 'btn_gps_on.show, btn_gps_off.hide, btn_gps_on.enable'

	else_run 'btn_gps_off.show, btn_gps_on.hide, btn_gps_off.enable'

</script>

The second file is mio320_240uigps_320_240.ui . Insert the following into the <layer ui_settings_gps> section.

;!TB - Added On and Off GPS buttons

<BUTTON btn_gps_off x=265 y=205 z=1000 bmp="btn_set.bmp#2" text="GPS Off" color=#000000 fonttype=buttonlabel1 fontsize=12 onrelease='run sc_gps_stop' valign="CENTER+4">

<BUTTON btn_gps_on x=265 y=205 z=1000 bmp="btn_set.bmp#2" text="GPS On" color=#000000 fonttype=buttonlabel1 fontsize=12 onrelease='run sc_gps_start'  valign="CENTER+4" hide>

When you copy the previous lines, make sure you copy the whole lines.

Switch View Button (Cockpit <-> Map)

cockpitbutton.jpgmapbutton.jpg

When I used the default skin, I always wish there is a button to switch between map view and cockpit view easily. People trying out riks skin found that there is a button which does just that. With this example in mind, I was able to modify the original skin to add the button. This tweak is the most complicated so far. You also need some bitmap files for the icon. Here are the modifications needed.

File: mio320_240uinavigate_320_240.ui

Modification: Add the following to the end of the file.

; script handling switch view button map -> cockpit - computerbits.wordpress.com

<script riks_switch_to_cockpit>

	btn_switch_view_cockpit.hide

	btn_switch_view_map.show

	NEXTSTATE ST_NAVIGATE

</script>

; script handling switch view button cockpit -> map - computerbits.wordpress.com

<script riks_switch_to_map>

	btn_switch_view_cockpit.show

	btn_switch_view_map.hide

	NEXTSTATE ST_BROWSEMAP

</script>

File: mio320_240uimap_layers_320_240.ui

Modification: Insert the following to the <LAYER ui_gpsstatusonmap> section.

; add swtich view (cockpit <-> map) button - computerbits.wordpress.com

<BUTTON btn_switch_view_cockpit  x=249 y=24 z=2 bmp="$cockpit.bmp" alpha=20 onclick='run riks_switch_to_cockpit'  >

<BUTTON btn_switch_view_map x=249 y=24 z=2 bmp="$map.bmp" alpha=20 onclick='run riks_switch_to_map' >

<SPRITE btn_switch_view     x=249 y=24 z=1 bmp="$circle.spr" alpha=20 fontsize=12 color=#808080 >

File: commonbrowse.ui

Modification: Insert the following 3 lines to the <script init> section.

; show the correct switch view icon - computerbits.wordpress.com

btn_switch_view_cockpit.show

btn_switch_view_map.hide

File: commonnavigate.ui

Modification: Insert the following 3 lines to the <script init> section.

; show the correct switch view icon - computerbits.wordpress.com

btn_switch_view_cockpit.hide

btn_switch_view_map.show

We also need the bitmap files for the icons. You can download the files in a zip file here. I compressed the files in correct folder order. If you uncompress the file to your DATA.ZIP working folder, the files will go to the right locations. Just in case you did not get it right, the locations for these icons are at miocommondaylight and miocommonnight.

Fast Fly-Over

1/29/2008

Before I tried the various new skins, I thought fast fly-over can only be achieved by modifying the SYS.TXT file. Later, I found that this is not true. You can actually choose to do the regular fly-over or fast fly-over without modifying the SYS.TXT file. Here is how.

File: commonmap_common.ui

Modification: Add the following scripts to the end of the file.

<script fly_over_speed>

         run vCockpitCurrentQuickMenuCloseScript

         FINDPATH_SIMULATE 0

         vStopFlyoverOnDone.set 0

         STATE ST_NAVIGATE

</script>

<script fly_over_slow>

         run vCockpitCurrentQuickMenuCloseScript

         FINDPATH_SIMULATE 1

         vStopFlyoverOnDone.set 0

         STATE ST_NAVIGATE

</script>

File: mio320_240uimap_layers_320_240.ui

Modification: Modify the line

<BUTTON btn_route_flyover w=105 x=202 y=65  z=2 text="Fly Over"  font="tahomabd"   valign="BOTTOM-6" align="RIGHT-8" bmp="btn_go_clr_7.bmp#3" fontsize=12 color=#444444 onrelease='run vCockpitCurrentQuickMenuCloseScript, FINDPATH_SIMULATE 1, vStopFlyoverOnDone.set 0,STATE ST_NAVIGATE'>

so that it’s like this.

<BUTTON btn_route_flyover w=105 x=202 y=65  z=2 text= "Fly Over" font= "tahomabd" valign="BOTTOM-6" align="RIGHT-6" bmp="btn_go_clr_7.bmp#3" fontsize=12 color=#444444 onrelease='INITMESSAGEBOX 2 "Fast Fly Over?" fly_over_speed fly_over_slow' twolineoffset=-8>

[Update: 2/14/2008] I have uploaded a DATA-ComputerBits.zip file to here. It has all the hacks mentioned in this post. Just rename it to DATA.ZIP and put it in the folder where MioMap.exe is.

x-click-but04.gif


Find deals on Amazon.com

Mio C230 Mio GPS Garmin GPS TomTom GPS GPS and Navigation

TAGS: