|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Today's Posts | Search |
|
BMW 3-Series (E90 E92) Forum
>
New POIs on Navi (Professional)
|
|
04-25-2006, 04:06 AM | #89 |
Registered
0
Rep 1
Posts |
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 |
Captain
190
Rep 817
Posts
Drives: Porsche 991.2 Carrera S
Join Date: Jul 2005
Location: United Kingdom
|
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 |
New Member
0
Rep 29
Posts |
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 |
New Member
0
Rep 26
Posts |
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 | |||||
New Member
0
Rep 29
Posts |
Quote:
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:
Quote:
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:
Quote:
Last edited by mathmos; 04-29-2006 at 11:14 AM.. |
|||||
Appreciate
0
|
04-27-2006, 12:27 PM | #94 |
New Member
0
Rep 26
Posts |
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 |
Second Lieutenant
23
Rep 244
Posts |
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 |
Second Lieutenant
23
Rep 244
Posts |
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, 06:43 PM | #98 | |
Second Lieutenant
23
Rep 244
Posts |
Quote:
I'll keep trying.
__________________
330i-NAV-Premium
|
|
Appreciate
0
|
04-29-2006, 03:03 AM | #99 | |
New Member
0
Rep 29
Posts |
Quote:
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 | |
New Member
0
Rep 29
Posts |
Quote:
Hope it helps |
|
Appreciate
0
|
04-29-2006, 04:44 AM | #101 |
Second Lieutenant
23
Rep 244
Posts |
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 |
Private First Class
1
Rep 153
Posts |
??? 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 | |
New Member
0
Rep 29
Posts |
Quote:
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, 02:59 PM | #105 |
Rudolf OS X
0
Rep 39
Posts |
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 |
Appreciate
0
|
04-29-2006, 03:38 PM | #106 |
Rudolf OS X
0
Rep 39
Posts |
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 | |
Second Lieutenant
23
Rep 244
Posts |
Quote:
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 | |
Second Lieutenant
23
Rep 244
Posts |
Quote:
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 |
New Member
0
Rep 26
Posts |
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 |
New Member
0
Rep 26
Posts |
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
|
Bookmarks |
|
|