00map.ini file format

Discussions in french or english / Discussions en anglais ou fran

Moderator: S1G

Post Reply
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

00map.ini file format

Post by dimonster2 »

Hello all.
I can not understand some layer's parameters at [LAYERS] section.
For example (from old USA map):

9=00_Railroads 00railrd 20 1 1 0 7 0 6 0 0 0 6 0 3 0 0 0 5 0 2 0 0 0 5 0 1 0 0 0 5 0 0 0 0 DARK_GRAY US_RAIL_ROAD

9 - layer number
00_Railroads - layer name
00railrd - layer filename

But what the next three parameters means? (20 1 1)
User avatar
Sockeye
Admin
 

Posts: 2091
Joined: Mon Sep 03, 2007 9:05 pm
Location: Karlsruhe
Contact:

Re: 00map.ini file format

Post by Sockeye »

To be honest, I have no idea :-)
Just leave them as they are
Freie Karten für Crossover, Triton & eXplorist
https://maps4me.net/
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

Re: 00map.ini file format

Post by dimonster2 »

Thank you for your answer...
I changed "20" to "2000" and repacked a map. After that I opened it in VantagePoint. I see no difference.
I changed second parameter from "1" to "0" and that layer became invisible in VantagePoint.
And as I can see, third parameter is a group number, with exception of routable layers, where third parameter is "-1"

And one more question.
I changed color and style of some layers at [COLORS4BITS] section, but VantagePoint ignored this changes and use color and style from [LAYERS] section. Where to use [COLORS4BITS] section?
User avatar
Sockeye
Admin
 

Posts: 2091
Joined: Mon Sep 03, 2007 9:05 pm
Location: Karlsruhe
Contact:

Re: 00map.ini file format

Post by Sockeye »

Under the [COLORS4BITS] section you can overwrite the display attributes for Lines and Area styles

LAY_COLOR=[Number of layer styles to overwrite] [LAYER_ID 1] [SPACE] [color 1] [SPACE] [style 1] [SPACE] [LAYER_ID 2] [SPACE] [color 2] [SPACE] [style 2] [SPACE] [LAYER_ID 3] [SPACE] [color 3] [SPACE] [style 3]....

e.g to overwrite layer #4, #13 and #26

Code: Select all

[COLORS4BITS]
LAY_COLOR=3 4 DARK_RED THICK_DASH_LINE 13 DARK_GRAY US_RAIL_ROAD 26 GREEN HEX_PAT
This will only work,
- if the LAY_COLOR line is completely in one line (no breaks)
- if the number of layer styles to overwrite corresponds to the number of definitions following

BR
Sockeye
Freie Karten für Crossover, Triton & eXplorist
https://maps4me.net/
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

Re: 00map.ini file format

Post by dimonster2 »

And one more question...
There are 200 line styles at "draw_res.bin" (ABANDONED_LINE, ADMIN_LINE, US_FEDERAL_HW_LINE, US_MAJOR_RD_LINE, WALL_LINE, WATERFALL_LINE, TRAM etc.), but most of them actually visualised in the VantagePoint as a simple thin line, except US_FEDERAL_HW_LINE, US_INTERSTATE_HW_LINE, US_MAJOR_RD_LINE, US_STREET_LINE and some other.
Why?
User avatar
Sockeye
Admin
 

Posts: 2091
Joined: Mon Sep 03, 2007 9:05 pm
Location: Karlsruhe
Contact:

Re: 00map.ini file format

Post by Sockeye »

As the *.imi format is more or less compatible to 3 GPS generations and was patched over and over again, it can contain placeholders for over 400 Line, Point and Area Types. The software Vantagepoint was written by another 3rd party Company and mainly focused on the display of the new additional *.msd files, which contain the grafical definitions of the layers. The number of types supported in the imi files changed with every version of VantagePoint... it is a real mess.

I therefore use the types in a trial & error approach, as an appropriate display in VP does not mean it displays correctly on the GPS and vice versa. Additionally the number of types supported by the Triton and the eXplorist is also different.

BR
Sockeye
Freie Karten für Crossover, Triton & eXplorist
https://maps4me.net/
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

Re: 00map.ini file format

Post by dimonster2 »

Hmm...
How to open .msd files in VantagePoint?
Explorist 610 firmware also contain "draw_res.bin" file with that 200 line styles. Do you have a list of line styles _really_ supported in Explorist 610?
User avatar
Sockeye
Admin
 

Posts: 2091
Joined: Mon Sep 03, 2007 9:05 pm
Location: Karlsruhe
Contact:

Re: 00map.ini file format

Post by Sockeye »

*.msd files only work in combination with the corresponding *.imi file and need to be imported to VP together.
What structure these files have or how the information is saved in there, I do not know...

BR
Sockeye
Freie Karten für Crossover, Triton & eXplorist
https://maps4me.net/
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

Re: 00map.ini file format

Post by dimonster2 »

*.msd files only work in combination with the corresponding *.imi file
Yes. There is a parameter for example "DAY_SKIN=City and Summit NZDay.msd" at "cvg_map.msf" and there is a folder \VantagePoint\Data\skins with .msd files. I've put some .msd files from Australia map to \Data\skin folder and opened an Australia map in VP. But I see no difference. The map style still the same as without .msd files.
User avatar
Sockeye
Admin
 

Posts: 2091
Joined: Mon Sep 03, 2007 9:05 pm
Location: Karlsruhe
Contact:

Re: 00map.ini file format

Post by Sockeye »

The msd files just need to be in the same location as the imi files...

here e.g. Germany (1 Standard Freeway --- 2 with a msd file (Magellan Germany)
Image Image

BR
Sockeye
Freie Karten für Crossover, Triton & eXplorist
https://maps4me.net/
dimonster2
Ehrennavigator ****
 

Posts: 109
Joined: Thu Feb 26, 2015 2:00 pm
Location: Ukraine

Re: 00map.ini file format

Post by dimonster2 »

in the same location as the imi files
Hm.. Yes. It is working. Thank you.
Post Reply