Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 6 of 6
  1. #1
    Vip Master qwik's Avatar
    Join Date
    Jan 2010
    Location
    Where you live
    Posts
    95
    Rep Power
    227

    Default partnumber in DSKIMG header on original img files

    I can’t find any information on how to read or edit the partnumber part in a DSKIMG file. It is present in original files like:
    • gmaptz.img
    • gmapprom/gmapsupp.img
    • gmapbmap.img
    • gmap3d.img


    Where to find information:
    • You can read it in your nuvi inventory [hold battery ,next until Version Information, start test, More]
    • It appears in GarminDevice.xml and other logfiles that are send to Garmin with webupdater/mapupdater program [firmware/lifetime updates].
    • GMaptool does not handle it [re-assembled files get hex 00 values]
    • MapSource does not handle it [mapsource images all get the same partnumber]


    GarminMapUpdater.exe does handle it properly and gets it from the file:
    %temp%\ IMG\006-Dxxxx-xx\manifest.xml
    Code:
    Please Login or Register to see the links
    GarminMapUpdater.exe holds GpsImgWrapper.dll, I guess that this is where the secret things happen ???

    All different coverage/regions from the map have a different partnumber making it a usefull tool to identify original maps. Additional files [DB, SID, ASR, G2S, JCV, etc.] for the mapupdate have all normal readable partnumbers in the header or even have the partnumber in the filename.

    I used a gmaptz.img and rename it to gmapsupp.img on a SD-card for testing in the nuvi inventory page.
    -only the first 64 printable ASCII chars are displayed [#20 -> #5F = space -> underscore = capitals, numbers, etc.]
    [Only registered and activated users can see links. ]
    -invalid partnumber are displayed as ?????-??
    -The last 2 numbers of the partnumber are the part revision, incremented with every mapupdate. But on some files like gmaptz the version number is updated and not the part revision number.
    -The partnumber string is located just before the date/time
    [Only registered and activated users can see links. ]
    - it is a string of 8 char coded in 9 bytes
    - D032318AG013 is displayed as D0323-18, the "-" is part of the string and is the "AG013" also coded somewhere in the string or left out?
    - the full partnumber is 006-D0323-18, but the "006-" prefix is left out.
    - a "little endian conversion" makes some sense, when you compare two img files like 2012.40 and 2012.30
    - if you hex-edit a byte +1, the displayed char leaps 4 places in the ASCII Code Chart
    - the start of the string is not always on the same place
    Last edited by qwik; 19th March 2012 at 12:05. Reason: added info

  2.    Advertissements


  3. #2
    Vip Master qwik's Avatar
    Join Date
    Jan 2010
    Location
    Where you live
    Posts
    95
    Rep Power
    227

    Default

    PDF file with some try-outs

    Hopefully someone knows how the partnumber is coded to read or edit the string in Garmin DSKIMG files.
    Last edited by qwik; 28th March 2012 at 21:02. Reason: solved puzzle

  4. #3
    Vip Master qwik's Avatar
    Join Date
    Jan 2010
    Location
    Where you live
    Posts
    95
    Rep Power
    227

    Default

    Solved the puzzle, it was fun

    partnumber in DSKIMG header
    start 30h
    length 9 bytes

    Code:
    Please Login or Register to see the links
    -reverse byte order [little endian conversion]
    -nibble together 12 bits
    example: GH + upper 4bits from EF = GHE
    -split into 2 bytes, using upper and lower 6bit
    example: 410h = 10h and 10h
    -add 20h [jump 32 places in the ascii table]
    -convert byte to char [20h - 5Fh, the first 64 printable chars]
    -string = 12 char
    -2 types of strings
    "006/010" type, displays last 8 char of string
    "D" type without "-" in string, displays first 7 char of string [need to test more to define format]

    See test+PDF-DISKIMG.rar for testing your software

    Maybe this is added to GMapTool or some other tool.
    Attached Files Attached Files
    Last edited by qwik; 28th March 2012 at 21:55.

  5. #4
    ☼ADMIN☼
    catymag's Avatar
    Join Date
    Nov 2007
    Location
    light side
    Posts
    23,563
    Rep Power
    5310

    Default

    see:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    You have to navigate to get to the good.
    Nuvi1250/Nuvi 34xx/Nuvi 2200/Nuvi 66/Oregon 600/Galaxy S5 MM 6.0.1/TomTom GO/iGO Nextgen Avic,Basar,Isr.Gift/Navigon
    Please don't flood my pm box with questions you can post on forum!! You won't hear back from me.

  6. #5
    Navigation software expert

    Giomen's Avatar
    Join Date
    Apr 2009
    Location
    Suomi-Russia
    Age
    49
    Posts
    2,578
    Rep Power
    589

    Default

    Small Microsoft Excel file for convert Part Number from HEX to ANSI or vice versa.

    [hide][Only registered and activated users can see links. ][/hide]

    SORRY! Now this file only for Russian locales due to peculiarities of my remote access! Usually Microsoft makes compliance to any locale but I am not sure for other devices than mine. If you need the file for the English locales for Excel you must ask me!

    All thanks to the author: qwik
    Last edited by Giomen; 12th August 2012 at 02:29.
    Love your wife? Buy yourself a GPS for answering to her favorite question: "Dear, where are you?".

  7. #6
    Master bommelb's Avatar
    Join Date
    Jun 2009
    Location
    EU
    Posts
    234
    Rep Power
    103

    Default

    Works fine Giomen !
    I loaded the file in my (Dutch) Excel and some formulas automatically were translated, the other one's I did by myself with the help of translate.google (mostly HexX.N.Bin, Hex.N.Dec and so on)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.