logo separator

[mkgmap-dev] MdrSummary fix and improvements

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Feb 2 13:29:56 GMT 2022

Hi Gerd

Patch attached to fix MdrSummary readHeaderLen, cope with different hdr
lengths more clearly and improve output.

I've found I can now split my old "City Navigator Europe NT" map and
look at the MDR, which includes sections 30/31, 32/33, 34, 37 & 38 

codePage=1252 id1=18 id2=1 unk=0x0011 hdrLen=708
Compressed strings flag=0x0000
MDR 1  NR=265    (000109) RS=4  magic=0x00000002
    2  NR=0      (000000) RS=2  magic=0x00000000
    3  NR=0      (000000) RS=2  magic=0x00000000
    4  NR=0      (000000) RS=3  magic=0x00000000
MDR 5  NR=633075 (09a8f3) RS=15 magic=0x00003e51
MDR 6  NR=181613 (02c56d) RS=4  magic=0x00000001
    7  NR=0      (000000) RS=9  magic=0x00001ae2
    8  DS=0         (00000000)  magic=0x00000000
MDR 9  NR=1      (000001) RS=4  magic=0x00000000
MDR 10 DS=1607528   (00188768)  magic=0x00000000
MDR 11 NR=401882 (0621da) RS=13 magic=0x00000575
    12 DS=0         (00000000)  magic=0x00000000
    13 DS=0         (00000000)  magic=0x00000000
    14 DS=0         (00000000)  magic=0x00000000
    15 DS=0         (00000000)  magic=0x00000000
    16 DS=0         (00000000)  magic=0x00000000
MDR 17 DS=2868654   (002bc5ae)  magic=0x00000000
    18 DS=0         (00000000)  magic=0x00000000
    19 DS=0         (00000000)  magic=0x00000000
MDR 20 DS=65810719  (03ec311f)  magic=0x00060000
    21 DS=0         (00000000)  magic=0x00000000
MDR 22 NR=8006434(7a2b22) RS=9  magic=0x0004035e
    23 NR=0      (000000) RS=9  magic=0x00000000
MDR 24 NR=15516  (003c9c) RS=7  magic=0x00000000
MDR 25 NR=649642 (09e9aa) RS=3  magic=0x00000000
    26 DS=0         (00000000)  magic=0x00000000
    27 DS=0         (00000000)  magic=0x00000000
    28 NR=0      (000000) RS=13 magic=0x00000000
MDR 29 NR=1452   (0005ac) RS=20 magic=0x000003f6
MDR 30 NR=637    (00027d) RS=4  magic=0x00000000
MDR 31 DS=3983      (00000f8f)  magic=0x00000000
MDR 32 NR=566    (000236) RS=4  magic=0x00000000
MDR 33 DS=3039      (00000bdf)  magic=0x00000000
MDR 34 NR=12     (00000c) RS=3  magic=0x00000000
    35 NR=0      (000000) RS=3  magic=0x00000000
    36 NR=0      (000000) RS=4  magic=0x00000000
MDR 37 NR=2194204(217b1c) RS=23 magic=0x00000000
MDR 38 NR=17120  (0042e0) RS=40 magic=0x00000033
    39 NR=0      (000000) RS=22 magic=0x00000000
    40 DS=0         (00000000)  magic=0x00000000


Ticker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdrSummary.patch
Type: text/x-patch
Size: 3254 bytes
Desc: not available
URL: <https://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20220202/758dff24/attachment.bin>


More information about the mkgmap-dev mailing list