windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
390 stars 36 forks source link

TMC Location tables question #97

Closed veso266 closed 11 months ago

veso266 commented 11 months ago

Sorry to bother you, but I just don't know where else to ask this question I am playing with a map for VW/seat/Skoda cars (RNS510), trying to add our Slovenian TMC location tables to the map

Just wondering if anyone maybe saw this file format before

TMC consists of TMCINFO.ini which looks like this

[PROD]
PROD =  "RNS_EU_38"
SCOPE = "EU"
; DATE "2019_06_07H16:56"
;IoCo: Updated Austria, Belgium, Finland, France, Germany, Italy, Norway, Switzerland, UK with new versions.
[LT]
AUSTRIA        = 0xa,  1, "AT",   "aut_A_1_3_4",    9.53485,   46.41923,   17.11080,   48.99898, 0,       272678, , "A"
BELGIUM        = 0x6,  1, "BE",   "bel_6_1_3_1",    2.55995,   49.50883,    6.34339,   51.48590, 0,       187900, , "B"
SWITZERLAND    = 0x4,  9, "CH",   "che_4_9_6_7",    5.96445,   45.64020,   10.58965,   48.00405, 0,       167488, , "CH"
CZECH_REPUBLIC = 0x2, 25, "CZ",  "cze_2_25_7_0",   12.16019,   48.56245,   18.85167,   51.02279, 0,       407735, , "CZ"
GERMANY1       = 0x1,  1, "DE",  "deu_D_1_18_0",    5.87690,   47.38710,   15.00870,   55.01726  0,       857037, , "D"
GERMANY2       = 0xd,  1, "DE",  "deu_D_1_18_0",    5.87690,   47.38710,   15.00870,   55.01726, 0,       857037, , "D" 
DENMARK        = 0x9,  9, "DK",  "dnk_9_9_12_0",    7.91384,   54.18433,   15.14151,   59.18825, 0,       229504, , "DK"
SPAIN          = 0xe, 17, "ES",  "esp_E_17_4_1",  -16.74393,   27.75962,    3.18844,   43.73141, 0,       593935, , "E"
FINLAND        = 0x6, 17, "FI",  "fin_6_17_2_5",   19.00100,   59.82831,   31.48623,   70.35791, 0,       668423, , "FIN"  
FRANCE         = 0xf, 32, "FR", "fra_F_32_12_1",   -4.77149,   42.36702,    8.18458,   51.06969, 0,       950911, , "F"
UNITED_KINGDOM1= 0xc,  7, "GB",   "gbr_C_7_4_1",   -8.09545,   43.33306,    8.43887,   60.48963, 0,       519343, , "GB"
ITALY          = 0x5,  1, "IT",   "ita_5_1_4_3",    6.67319,   36.69411,   18.51336,   47.04999, 0,       922643, , "I"
NETHERLANDS    = 0x8, 17, "NL",  "nld_8_17_9_5",    3.35977,   50.75458,    7.22918,   53.44311, 0,       200305, , "NL"
NORWAY         = 0xf, 49, "NO",  "nor_F_49_6_0",    4.67033,   57.98448,   31.11448,   71.16779, 0,       320330, , "N"
SWEDEN         = 0xe, 33, "SE",  "swe_E_33_3_2",   11.15119,   55.34201,   24.14387,   68.44281, 0,       366049, , "S"
[LTX]
CZEECH_cs_utf8  = 0x2, 25, "CZ", "cze_2_25_7_0_1",   12.16019,   48.56245,   18.85167,   51.02279, 0,       425838, , "CZ", "cs"
[ET]
DANISH      = "dk", "danish",     "dansk",      0, 14413,
DUTCH       = "nl", "dutch",      "nederlands", 0, 18902,
ENGLISH     = "en", "english",    "english",    0, 13200,
FINNISH     = "fi", "finnish",    "suomi",      0, 14332,
FLEMISH     = "nl-BE", "flemish",    "vlaams",  0, 20388,
FRENCH      = "fr", "french",     "francais",   0, 14454,
GERMAN      = "de", "german",     "deutsch",    0, 10605,
ITALIAN     = "it", "italian",    "italiano",   0, 15510,
PORTUGUESE  = "pt", "portuguese", "portuguese", 0, 15231,
SPANISH     = "es", "spanish",    "espanol",    0, 12908,
CZECH       = "cs", "czech",      "czech",      0, 23183,
HUNGARIAN   = "hu", "hungarian",  "hungarian",  0, 16437,
NORWEGIAN   = "no", "norwegian",  "norwegian",  0, 10866,
POLISH      = "pl", "polish",     "polish",     0, 12236,
RUSSIAN     = "ru", "russian",    "russian",    0, 17280,
SWEDISH     = "sv", "swedish",    "svenska",    0, 13619,
TURKISH     = "tr", "turkish",    "turkish",    0, 11968,
CHINESE     = "zh", "chinese",    "chinese",    0, 16716,
[CAT]
CAT = "eventinfo_2011_11_30_eu_nar_chnexc"
[SETTINGS]
[ACP]
F-VM = "@Ps|YudMWEEGSxx|"

Looking at this file, it appears that [LT] references files inside LOC folder and [ET] references files inside LAN folder

all the files have readable strings inside

This file looks very familiar to me for some reason, I just don't know what it belongs to

I also have the program that supposebly reads this file format called DBAL.OUT (sadly only in binary form, and to make situation worse, the program is supposed to run on VxWorks (although if I am not mistaken, thats similar to linux, since it supports POSIX commands)

So yea, I am just wondering if anyone, maybe, just maybe would know this format

DBAL.zip TMC2.zip

I know this is totaly not the right place to ask this thing, but not realy sure where would I, since you know TMC better then anyone else

windytan commented 11 months ago

I'll actually move this to the newly created Discussions section, then it's exactly in the right place!

Personally I haven't seen this kind of a binary location table format before. Normally LT's are in the "TMC Exchange" (CSV-based) format. This could also be their own proprietary database format.