E90Post
 


 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > ConnectedDrive / I-Drive / Navigation Related Discussion > New POIs on Navi (Professional)



Reply
 
Thread Tools Search this Thread
      04-25-2006, 04:06 AM   #89
junegemini
Registered
United Kingdom
0
Rep
1
Posts

Drives: E90 330D M Sport
Join Date: Apr 2006
Location: UK

iTrader: (0)

What a genius!!

I dont suppose you have got a step by step guide of how you did this so that I can show my collegue who has much more knowledge of these things than me.

thanks
Appreciate 0
      04-25-2006, 04:31 AM   #90
CardinalZeus77
Captain
CardinalZeus77's Avatar
United Kingdom
190
Rep
817
Posts

Drives: Porsche 991.2 Carrera S
Join Date: Jul 2005
Location: United Kingdom

iTrader: (0)

Garage List
Great work Mathmos
__________________
Current: 991.2 Carrera S
Sold: BMW G20 320d Xdrive M Sport
Sold: Porsche Macan GTS Night Blue / Full GTS Interior
Sold: F80 M3 Black Sapphire/Sakhir Orange
Sold: E92 M3 Jerez Black/Fox Red Leather
Appreciate 0
      04-25-2006, 10:35 AM   #91
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Ok the procedure I followed is listed below. I would like to stress that the credit for this goes to jav as it was he who first came up with this.

[update]

I've just got the 2006-2 European DVD and the format of the lsc file has changed a bit, a couple of extra sections. It's not difficult to see what else need to change but if anyone really does get stuck then shout and I'll point out the changes.

[/update]

The following steps are what work for me and are only concerned with editing the english side of things. For other languages see the original post by jav for details on how to work with other languages.

1. Create an image of the NAV DVD using DVD Decrypter.

2. Open the iso file for edit (I used UltraISO) and extract the file \tpd\ntcBeu_eu.04.II_20040726\eng\eng.lsc to your local hard disk.

3. Edit the extracted eng.lsc file with a text editor. Wordpad or notepad won't do, I used VEdit.

4. Look for the "TPD-CAT" lines and add a new one for the category you want to add. eg.

TPD-CAT 7395 N Rest areas
TPD-CAT 9101 N Golf clubs

becomes

TPD-CAT 7395 N Rest areas
TPD-CAT 9000 N UK Speed Cameras
TPD-CAT 9101 N Golf clubs

5. Near the top of the eng.lsc file look for the "TPD-GRP" lines and add the new category to one of them eg.


TPD-GRP 10001 9000 41012 7366 7384 7379 7352 7312 9108 41001 7395 7316

becomes

TPD-GRP 10001 41012 7366 7384 7379 7352 7312 9000 9108 41001 7395 7316


6. Look for the "TPD-ICO" lines and add a new one for the new category eg.

TPD-ICO 7395 /icons/poi_rest_area.gif
TPD-ICO 9101 /icons/poi_golf_course.gif

becomes

TPD-ICO 7395 /icons/poi_rest_area.gif
TPD-ICO 9000 /icons/poi_speed_camera.gif
TPD-ICO 9101 /icons/poi_golf_course.gif

7. Look for the "TPD-SEA" lines and add a new one for the new category modifying the numbers accordingly.

TPD-SEA 7395 http://tpdhost/cgi/form?templ=/eng/s...N&UNIT=%23%23U
TPD-SEA 9101 http://tpdhost/cgi/form?templ=/eng/s...N&UNIT=%23%23U

becomes

TPD-SEA 7395 http://tpdhost/cgi/form?templ=/eng/s...N&UNIT=%23%23U
TPD-SEA 9000 http://tpdhost/cgi/form?templ=/eng/s...N&UNIT=%23%23U
TPD-SEA 9101 http://tpdhost/cgi/form?templ=/eng/s...N&UNIT=%23%23U

8. Save the eng.lsc file and copy it back into the correct location in the iso file opened for edit in Step 2.

9. Copy the icon you want to use (the icon must be a 16x16 pixels 256 colors GIF image with transparency) into the \tpd\ntcBeu_eu.04.II_20040726\icons directory in the iso file opened for edit in Step 2.

10. Extract the sf_9101.htm and the st_9101.htm files from the tpd\ntcBeu_eu.04.II_20040726\eng amd rename them accordingly, sf_9000.htm and st_9000.htm in this case.

11. Using the perl script provided by jav here and using the .asc file containing the uk speed camera locations obtained from pocketgpsworld.com, create the idx and url files.

12. Look in the tpd\ntcBeu_eu.04.II_20040726\tables\0 directory and find the last .idx and .url files listed. On my DVD they were 0097.idx and 0098.url.

13. rename the idx and url files generated in step 10. accordingly eg. 0099.idx and 0100.url in my case and then copy them back into the correct location in the iso file.

14. Go back and edit the sf_9000.htm and st_9000.htm that you created in Step 9. Change all occurances of 9101 to 9000, change the idx and url references to the filenames you used in step 11. and change any relevant text to what you want eg. Golf clubs becomes Speed Cameras. Once done copy them back into the correct location in the iso file.

15. Save the edited iso image.

16. Burn the iso image to DVD. I used DVD Decrypter.

Last edited by mathmos; 04-29-2006 at 11:15 AM..
Appreciate 0
      04-25-2006, 03:01 PM   #92
StressFull
New Member
0
Rep
26
Posts

Drives: BMW 525d
Join Date: Feb 2006
Location: Belgium

iTrader: (0)

Mathmos

Thanks for this effort. Some addtionnal points

1. How did you use the perl script ? Acvive perl ? What soft ? Did you modified in anyway the idx and url created by the perl script ?

2. Could you post your icon in gif format, I think it is great.

3. Looks pretty similar to the initial howto description which failed for me. What went wrong for you that made you spend so much time to burn the correct dvd ?

4. Brand of the dvd you used ?

Thanks in advance, it is nice to see someone who wants to share. Cheers.
Appreciate 0
      04-25-2006, 03:33 PM   #93
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Quote:
Originally Posted by StressFull
1. How did you use the perl script ? Acvive perl ? What soft ? Did you modified in anyway the idx and url created by the perl script ?
First of all I tried Activeperl but others here said that wasn't working so I created a virtual machine running SUSE Linux and ran it under that. However I am going to go back and retry the Activeperl route and compare the files produced to see if there is any difference.

I have also installed Cygwin and run the perl script under that and the idx and url files produced via this route appear to be identical to the ones produced under Linux when I compare them with Windiff but I haven't tried them on a DVD yet!

Quote:
Originally Posted by StressFull
2. Could you post your icon in gif format, I think it is great.
Done

Quote:
Originally Posted by StressFull
3. Looks pretty similar to the initial howto description which failed for me. What went wrong for you that made you spend so much time to burn the correct dvd ?
I don't honestly know. I set my Nero up exactly as the screenshots earlier in this thread indicated along with javs correction (making it Level 2) but whilst the Nav system appeared to read the DVD ok and displayed the map correctly when I tried to select POIs it just reported No Entries!

It really has been a case of trial and error finding a toolset and setup combination that produces a DVD in apparantly the correct format. I gave up for a week after burning so many duds but in the end I just had to have 1 more go and this time around whatever I did cracked it!

Quote:
Originally Posted by StressFull
4. Brand of the dvd you used ?
They are Datawrite DVD+R (Datawrite Classic 4 x 4.7GB General Purpose DVD+R)


Quote:
Originally Posted by StressFull
Thanks in advance, it is nice to see someone who wants to share. Cheers.
your welcome. best of luck with your efforts!
Attached Images
 

Last edited by mathmos; 04-29-2006 at 11:14 AM..
Appreciate 0
      04-27-2006, 12:27 PM   #94
StressFull
New Member
0
Rep
26
Posts

Drives: BMW 525d
Join Date: Feb 2006
Location: Belgium

iTrader: (0)

Cheers mate, I think thanks to you, I might give it another try !
I reached exactly the same results (menu appearing, but no entry, and no display on map), so I think it is down to the scirpts.
If you find differences between activeperl and the virtual machine, I am interested. Any alternative to activeperl that works under Windows (some guy who wanted to sell his solution on ebay claimed he used a 100% windows approach...) ?

Again thanks for the time you spend to share, what a pure spirit !
Appreciate 0
      04-28-2006, 12:25 AM   #95
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

Hi mathmos,
Could you please upload your new idx and url files created from jav's perl script?

I tried to read a couple of existing idx and url files out of the original DVD, but i'm not sure they are pure ASCII files. (I think url is ASCII, though.)

I'm pretty fluent in Matlab so probably I could make matlab script and make EXE file using matlab compiler so that others can run in on DOS prompt. For doing so, I need to know exact format of idx and url files..

Thanks~!
__________________
330i-NAV-Premium
Appreciate 0
      04-28-2006, 12:23 PM   #96
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

In jav's script, the following line is what I don't understand.

print IDX sprintf("%*s", $idlen, $i) . pack("N2a" . $namelen, $data[$i][0], $data[$i][1], $data[$i][2]);

I think it writes lines containing 1) serial number, 2) coordinates (binary) and 3) name of POI, but since I have no idea about the number identifiers for perl, I don't know what "N2a" defines.

BTW, anyone in the US is interested in this? I see most of the comments are from the Europe.
I verified the 2^29/45 works for the coordinates of POI in the US. Although the name of the folders and number of files in them are different, I guess the procedure and the logic is not different from the European version.
__________________
330i-NAV-Premium
Appreciate 0
      04-28-2006, 03:22 PM   #97
StressFull
New Member
0
Rep
26
Posts

Drives: BMW 525d
Join Date: Feb 2006
Location: Belgium

iTrader: (0)

drfluid

You would be blessed to compile such an exe. AFAIK activeperl is not doing the trick and not everybody is fluent in linux...

Keep us posted !

Cheers !
Appreciate 0
      04-28-2006, 06:43 PM   #98
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

Quote:
Originally Posted by jav

POS:P:8 is just longitude and latitude expressed as 32-bit signed big-endian integers. But be aware that, just after the first two lines of the *.idx files, there's a binary lookup table that needs to be created.
This answers some of my questions.

I'll keep trying.
__________________
330i-NAV-Premium
Appreciate 0
      04-29-2006, 03:03 AM   #99
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Quote:
Originally Posted by StressFull
drfluid

You would be blessed to compile such an exe. AFAIK activeperl is not doing the trick and not everybody is fluent in linux...

Keep us posted !

Cheers !
I can confirm that Activeperl on Windows does work ok!

I have just created the idx and url files using Activeperl, added them to my DVD image and tried it out in the car and everything worked fine.

There is no need to edit the original perl script in anyway, just run it as it is.
Appreciate 0
      04-29-2006, 03:15 AM   #100
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Quote:
Originally Posted by drfluid
Hi mathmos,
Could you please upload your new idx and url files created from jav's perl script?

I tried to read a couple of existing idx and url files out of the original DVD, but i'm not sure they are pure ASCII files. (I think url is ASCII, though.)

I'm pretty fluent in Matlab so probably I could make matlab script and make EXE file using matlab compiler so that others can run in on DOS prompt. For doing so, I need to know exact format of idx and url files..

Thanks~!
Attached are a sample of the asc file I used to generate the idx and url files that I used and the idx and url files generated from this sample asc file.

Hope it helps
Attached Files
File Type: zip samples.zip (1.7 KB, 403 views)
Appreciate 0
      04-29-2006, 04:44 AM   #101
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

Thanks mathmos,
Since you confirm the activeperl (whatever it is ), on windows, maybe I don't even bother to make EXE anymore. But, oh well, I dig those things.

I'll try my way of doing it and see if it would work.
BTW, I'm dealing with US spec DVD, so it might be worth of trying after all
__________________
330i-NAV-Premium
Appreciate 0
      04-29-2006, 07:31 AM   #102
Nemis
Private First Class
1
Rep
153
Posts

Drives: 330d -> 550Nm@1750
Join Date: Sep 2005
Location: italy

iTrader: (0)

??? i have try with activeperl (on winxp§) but don't create a valid .idx & .url file

what is the secret? :mad:
__________________
i'm sorry for my errors and my bad english


330d attiva, SG, dakota Terra, 162 18", xeno als, pcd front & rear, Navi Pro with MP3, rear tint, sun roof, sport pak , sport seat , M shift knob...
Appreciate 0
      04-29-2006, 11:12 AM   #103
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Quote:
Originally Posted by Nemis
??? i have try with activeperl (on winxp§) but don't create a valid .idx & .url file

what is the secret? :mad:
Pass

I created the idx and url files under linux and got a working 2006-2 DVD. I then created the idx and url files again, this time using Activeperl on Windows XP SP2 and compared the files with Windiff which reported the files were identical. I then copied the Activeperl generated idx and url files into my DVD image and burnt a new DVD which worked perfectly when I tried it in the car.
Appreciate 0
      04-29-2006, 11:13 AM   #104
mathmos
New Member
0
Rep
29
Posts

Drives: 525d
Join Date: Apr 2006
Location: UK

iTrader: (0)

Quote:
Originally Posted by drfluid
BTW, I'm dealing with US spec DVD, so it might be worth of trying after all
Does it differ a great deal?
Appreciate 0
      04-29-2006, 02:59 PM   #105
rudolfoxs
Rudolf OS X
United Kingdom
0
Rep
39
Posts

Drives: LCI 325i M Sport Touring
Join Date: Apr 2006
Location: UK

iTrader: (0)

One last technie problem

Hi all

Just followed this thread for first time end to end and my first disk works pretty well. All done on an Apple Mac under OS X and using www.gpsvisuliser.com to create psuedo .asc files.

One problem - I've create two new categories under Places to Visit for English Heritage and National Trust. The menus are fine, however the actual list of POI's only shows the distance and not the place name.

I am on the 2006 01 disk in an E91....

Any suggestions? I used the Perl script from Jav and followed the step by step instructions from Mathmos. I've attached my two .asc files (with .txt extensions to get them uploaded) incase that's where the problem lies..

Thanks in advance - this is a great thread!!!

G
Attached Files
File Type: txt NT.asc.txt (11.2 KB, 310 views)
File Type: txt EH.asc.txt (3.6 KB, 251 views)
Appreciate 0
      04-29-2006, 03:38 PM   #106
rudolfoxs
Rudolf OS X
United Kingdom
0
Rep
39
Posts

Drives: LCI 325i M Sport Touring
Join Date: Apr 2006
Location: UK

iTrader: (0)

Followup observations on Jav;s Perl script

Hi

Just being trying to find why my place names do not appear, noticed that Jav's (excellent) perl script hardcodes the country to the url file. Those outside Spain may wish to either rehardcode their own country (for local POI's) or even consider extending the script to have the country read record by record from the input file (asc modifed).

Just a thought!

Keep on hacking!

G
Appreciate 0
      04-30-2006, 01:18 AM   #107
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

Quote:
Originally Posted by rudolfoxs

Just followed this thread for first time end to end and my first disk works pretty well. All done on an Apple Mac under OS X
nice work
wow, that's a great new that you could run it on Mac.
Maybe I should use my Mac to do it.

Mac rocks!
__________________
330i-NAV-Premium
Appreciate 0
      04-30-2006, 01:21 AM   #108
drfluid
Second Lieutenant
drfluid's Avatar
United_States
23
Rep
244
Posts

Drives: 2006 - 330i Navi, Premium
Join Date: May 2005
Location: Walnut Creek, CA

iTrader: (0)

Quote:
Originally Posted by mathmos
Does it differ a great deal?
I think it basically maintain the same folder structure, but with more idx and url, I guess.
My disc ends up at 0223.idx and 0224.url.
And, of course, the root folder name is different.

F:\tpd\ntcBus_na_20041111\tables\0
..and so on so forth
__________________
330i-NAV-Premium
Appreciate 0
      04-30-2006, 01:46 AM   #109
StressFull
New Member
0
Rep
26
Posts

Drives: BMW 525d
Join Date: Feb 2006
Location: Belgium

iTrader: (0)

Mathmos,

I have the same car than you with Nav Pro. My dvd is 2006-1, and however I do not have the same files than you. For instance, my working dir is : \tpd\ntcBeu_eu_20050704...

Anyone has got something different again ? BMW might also have changed some parameters alongside with filenames...

Just my 2 cents.

Keep posting.
Appreciate 0
      04-30-2006, 03:07 AM   #110
StressFull
New Member
0
Rep
26
Posts

Drives: BMW 525d
Join Date: Feb 2006
Location: Belgium

iTrader: (0)

Also, another challenge for your mathmos. As the script needs obviously some adaptation, and as most of us travel all accross europe, what about writing a url and idx that would encompass all speed cameras in Europe ?
Tough work, but you seem to master it !
I'm in the middle of the work, I'll probably suggest some modifications for your how to once finished.

Thanks !
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:38 PM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST