Jump to content
AVIC411.com

HOW TO: Replace Red Arrow With Car Image


Recommended Posts

I still haven't dug too deeply into the 'mdl' file but I went ahead and made a 3d bmp icon for myself - it's basically the same as my daycar.bmp but I squished it a little bit on the vertical plane so it has an illusion of being from slightly behind. I still don't use 3d mode much but I figured I'd do this anyways... was a bit bored. :)

 

I did these pics with the map in 'day mode' but night mode looks much better - it's just harder to get a good picture of.

 

I'm still somewhat annoyed that I can't find any way to display the heading in degrees - that's the only thing missing now from my map screen.

 

:o Can I see it?

Link to post
Share on other sites
  • Replies 227
  • Created
  • Last Reply

Top Posters In This Topic

Stephanie, I really like your theme. With the robotic buttons and the futuristic font, it's unique and original. I just have a question about changing the 3d icon:

 

I went back to page 1 and read all the way to 4 to see if it's ever been explained...it really hasn't :( Page 2 and 3 consist you and Skicrave discussing possibilities, then Ski posted his map of a 2d.bmp sitting on the 3d.mdl, then you posted yours of just the new icon....can you write up a quick How To because I'm pretty confused and don't even know where to start. Thank you!!

Link to post
Share on other sites

Please Note: This Howto assumes the following:

1) You know how to get into Testmode

2) You know how to navigate folders, copy and paste, in Windows CE

3) This HOWTO is based in part on information found at this blog post and on the knowledge presented by other contributors here on these forums.

4) With the exception of copying/pasting files, all editing of files will be done on your desktop/laptop computer, *not* the nav unit directly.

5) I will include a copy of my complete data.zip file at the end of this post, you may use it as a basis for your own work, you may edit it to your purposes, or you may use it as-is. If you use it as-is, you will need to place the correct font files in the correct directory. See the readme that accompanies it.

 

This is for educational purposes only and I assume no liability or responsibility if you cause damage to your Navi unit by following these directions.

 

-----------

 

Step 1: Make a backup of your existing data.zip file and your sys.txt file. These are both located at \My Flash Drive\APL2\iGo

 

Step 2: Edit your sys.txt file to add the following section to the bottom:

[map]
3d_scale_carmodel=1
3dcarsizemin=30
3dcarsizemax=40
3dcarsizemul=20

 

Step 3: Get or create your desired bmp file(s) for the 3d view. You can use a rear-view photo of a car, you can use an arrow, you can use anything you want really. For the purpose of this howto, the file must be named car3d.bmp Further, for the purpose of this howto, it is assumed that the dimensions are 85 x 65 pixels.

 

Step 4: Place the car3d.bmp file into the data.zip file at this location: data.zip\ui_pioneer\800_480

 

Step 5: Edit data.zip\ui_pioneer\800_480\ui\navigatemap_800_480.ui to add the following lines in the very first layer section:


 

Step 6: Edit data.zip\ui_pioneer\common\ui\navigatemap.ui and search for the following script:


At the bottom of this script, add the following line:[code]run 'car3d.y 1340'

(This goes directly above the "" line)

 

Step 7: Still in the file data.zip\ui_pioneer\common\ui\navigatemap.ui search for the script


At the bottom of this script, add the following line:[code]run 'car3d.y 340'

(This goes directly above the "" line)

 

Step 8: Save your modified data.zip and sys.txt back to your SD card and copy them into your nav unit in the /My Flash Drive/APL2/iGo directory

 

Step 9: Restart and verify your nav system is displaying the correct image in the correct location.

 

-----------

 

What This Does:

* The changes to sys.txt cause the 3d red arrow to be suppressed.

* The that was added to navigatemap_800_480.ui places the car3d.bmp image onto your map screen. The x and y coordinates are set to properly position an 85 x 65 pixel image on the screen.

* The two lines added to navigatemap.ui cause the car3d icon to be hidden in 2d mode and visible in 3d mode by moving it on or off the screen depending on what view you are in.

 

What this does Not do:

* The car3d.bmp icon will not rotate or tilt, it is a fixed image that is painted ontop of the map

 

Caveats:

* If your image is not 85 x 65 pixels you will need to recalculate the x and y positions. The original red arrow was positioned with the point at x=400 and y=360. It is a minor bit of math to figure out the x and y for any size bmp file. Just remember you are figuring out the x and y for the top left corner of the bmp, in order to make it centered at 400x360.

* If you use my data.zip file as-is please do read the readme.txt which is included in it. My data.zip does a lot more than what is covered by this howto.

* I am happy to help where I can, but in general terms, I prefer to share knowledge and help people learn to help themselves, therefore I will not make a custom data.zip for you. Sorry.

 

My most recent data.zip can be downloaded here: http://www.felesmagus.com/stuff/steph_data.zip

(Unzip that file to get the readme and the actual data.zip)

 

Cheers!

 

Edited to fix typos!

post-21587-12872755304578_thumb.jpg

3Dcar.zip

Link to post
Share on other sites
for some reason I don't see images in firefox I went to IE and now I see everything thanks stephanie

 

You might need to activate images in firefox, or something like that? I use Safari (on Macintosh) and see all the images just fine. Also I think you need to be logged on to the site to see the images? I seem to recall before I registered, I couldn't see any images...

Link to post
Share on other sites
navigatemap.ui files are in the separate "ui" folder, correct?

 

navigatemap.ui is located in data.zip\ui_pioneer\common\ui

 

It should not be confused with navigatemap_800_480.ui which is located in data.zip\ui_pioneer\800_480\navigatemap_800_480.ui

 

The difference between them is files with the 800_480 in their name are mostly graphical/visual elements, while the files that are in the common\ui directory are mostly scripts.

 

Cheers!

Link to post
Share on other sites

My mistake, i had a typo in my last post. (Dang data.zip with it's redundant files and multiple folders)

 

data.zip\ui_pioneer\800_480\ui\navigatemap_800_480.ui

data.zip\ui_pioneer\common\ui\navigatemap.ui

 

Those are the two paths/folders that I was refering to.

Link to post
Share on other sites

skicrave,

 

I used the arrow you gave me, copied both daycar.bmp and nightcar.bmp into my uncompressed data.zip folder and re-compressed it using Winzip (by right clicking on the DATA folder and clicking 'Add to DATA.zip' under the Winzip submenu). I then copied it to my SD card and copied it to My Flash Disk/APL2/iGo on my unit and then restarted. For some reason the system starting prompt comes up and stays up, it doesn't go away. I am able to push buttons and use the radio and such while it's still up, but the system restarts itself after a few minutes of use.

 

Is there a specific compression I should be using? What's happening?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...



×
×
  • Create New...