Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 133

Threaded View

  1. #11
    Navigation software Moderator kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    908
    Rep Power
    440

    Default

    Quote Originally Posted by testlelelala View Post
    I think that the info in imgformat-1.0.pdf is not complete/ok , take a look at [Only registered and activated users can see links. ].
    Thank you for this nice doc! After looking at it briefly I've started suspecting that "pointers" are offsets relative to subsections of subfiles (aka LBL1 is a subsection of LBL), and therefore your method is fine.

    Quote Originally Posted by testlelelala View Post
    Either way, in case some of the offsets do really point to a position in another subfile, this could be detected, just taking into account that if some offset in a header is greater than the end of the corresponding subfile, the subtract value will change including now the header size of the others subfiles that are between or something else.
    Well, I wasn't talking only about headers, I was talking about some data referring other data through specifying the offset. You can't fix that without deep IMG format knowledge.
    But your doc and the fact that you can convert CarteBlanche convince me that your way is just fine.

    Also, I've discovered another way:
    1) Unpack the pseudo-NT IMG with GMapTool
    2) For every YYYYYYYY.GMP
    2.1) for every XXX subfile inside YYYYYYYY.GMP
    2.1.1) save a copy of YYYYYYYY.GMP as YYYYYYYY.XXX
    2.1.2) replace the GMP header with XXX header in YYYYYYYY.XXX
    3) Pack the map with GMapTool

    This method has a disadvantage: the map size increases 6-7 times.
    But it also allowed me to open CarteBlanche with mapedit. And also all maps converted this way (I've tested NT and pseudo-NT) work fine on Garmin devices.

    It seems to me that both NT and non-NT maps can be stored using GMP and not using GMP (I've checked, see above).
    So, maybe GMP is not relevant to NT at all? Maybe NT is just another way of storing/encoding individual subfiles?

    Can you try your method of "offset subtracting" on NT maps? And then use those maps on Garmin devices?
    Last edited by kunix; 12th August 2013 at 08:46 AM.

  2.    Advertissements


 

 

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
  •