Re: Understanding data structure of "fgs.dnl" file from Nav-FX Update-CD
Posted: 05 Jan 2021, 19:37
I did with a hex editor and the checksum needs to be recalculated. Otherwise, DNL mode will not start and the update will fail.
Online community for electronics and microcontroller reverse engineering
https://microhacker.denkdose.de/
I did with a hex editor and the checksum needs to be recalculated. Otherwise, DNL mode will not start and the update will fail.
Yes ... I translated the German language because it has longer words. But! it's not as simple as it might seem. For example, the words "Zieleingabe". This word is used in the announcement (throughout the sentence). But it is to this word that the address "Zieleingabe" of the Navigation menu is linked. So it is necessary to follow exactly the position, order and length of the word, otherwise you will get nonsense in the announcement sentence. It is not so clear to translate a completely different language. In addition, some English words are used in all languages. If you change them, they will also change in other languages. And to make matters worse, there is another inconvenience. Letters with accents have 2 bytes instead of one.DGAlexandru wrote: ↑05 Jan 2021, 18:47 German language usually has long words. Isn't it good enough?
I tried to replace fgs.dnl from version 841 with the Polish version 828. in the update CD sp 4.1. It works without problems. It is a good idea to translate the Polish language. But we will not have a dark theme. For a long time and unsuccessfully, I try to change the colors to dark. The Polish language is probably translated in a completely different (professional) way. There is also a Czech or Russian version with the dark theme. Does anyone have it?
Code: Select all
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000BFBF0 53 44 00 00 28 0E 12 01 74 EE 09 01 80 EE 09 01 SD..(...tî..€î..
000BFC00 8C EE 09 01 98 EE 09 01 A8 EE 09 01 B8 EE 09 01 Œî..˜î..¨î..¸î..
000BFC10 CC EE 09 01 E0 EE 09 01 E0 EE 09 01 E0 EE 09 01 Ìî..àî..àî..àî..
000BFC20 E0 EE 09 01 EC EE 09 01 F4 EE 09 01 80 EE 09 01 àî..ìî..ôî..€î..
000BFC30 8C EE 09 01 98 EE 09 01 A8 EE 09 01 B8 EE 09 01 Œî..˜î..¨î..¸î..
000BFC40 CC EE 09 01 E0 EE 09 01 E0 EE 09 01 E0 EE 09 01 Ìî..àî..àî..àî..
000BFC50 E0 EE 09 01 FC EE 09 01 24 EF 09 01 F4 EE 09 01 àî..üî..$ï..ôî..
000BFC60 80 EE 09 01 54 EF 09 01 74 EF 09 01 84 EF 09 01 €î..Tï..tï..„ï..
000BFC70 94 EF 09 01 A0 EF 09 01 A8 EF 09 01 80 EE 09 01 ”ï.. ï..¨ï..€î..
000BFC80 28 0E 12 01 B4 EF 09 01 CC EF 09 01 DC EF 09 01 (...´ï..Ìï..Üï..
000BFC90 28 0E 12 01 80 EE 09 01 28 0E 12 01 E8 EF 09 01 (...€î..(...èï..
000BFCA0 CC EF 09 01 DC EF 09 01 28 0E 12 01 80 EE 09 01 Ìï..Üï..(...€î..
000BFCB0 28 0E 12 01 FC EF 09 01 20 F0 09 01 28 0E 12 01 (...üï.. ð..(...
000BFCC0 28 0E 12 01 80 EE 09 01 34 F0 09 01 48 F0 09 01 (...€î..4ð..Hð..
000BFCD0 58 F0 09 01 58 F0 09 01 60 F0 09 01 70 F0 09 01 Xð..Xð..`ð..pð..
000BFCE0 EC EE 09 01 F4 EE 09 01 84 F0 09 01 98 F0 09 01 ìî..ôî..„ð..˜ð..
000BFCF0 A8 F0 09 01 BC F0 09 01 D4 F0 09 01 E0 F0 09 01 ¨ð..¼ð..Ôð..àð..
000BFD00 F4 F0 09 01 00 F1 09 01 0C F1 09 01 1C F1 09 01 ôð...ñ...ñ...ñ..
000BFD10 34 F1 09 01 98 F0 09 01 58 F1 09 01 60 F1 09 01 4ñ..˜ð..Xñ..`ñ..
000BFD20 68 F1 09 01 68 F1 09 01 A8 F0 09 01 BC F0 09 01 hñ..hñ..¨ð..¼ð..
000BFD30 74 F1 09 01 28 0E 12 01 90 F1 09 01 9C F1 09 01 tñ..(....ñ..œñ..
000BFD40 A0 F1 09 01 28 0E 12 01 BC F1 09 01 CC F1 09 01 ñ..(...¼ñ..Ìñ..
000BFD50 28 0E 12 01 A0 F1 09 01 28 0E 12 01 BC F1 09 01 (... ñ..(...¼ñ..
000BFD60 DC F1 09 01 28 0E 12 01 28 0E 12 01 28 0E 12 01 Üñ..(...(...(...
000BFD70 EC F1 09 01 28 0E 12 01 28 0E 12 01 BC F1 09 01 ìñ..(...(...¼ñ..
000BFD80 08 F2 09 01 18 F2 09 01 38 F2 09 01 28 0E 12 01 .ò...ò..8ò..(...
000BFD90 D4 F0 09 01 58 F2 09 01 64 F2 09 01 6C F2 09 01 Ôð..Xò..dò..lò..
Code: Select all
e8Type == FGS_E8_TYPE_BORDERLINESD
e8Type == FGS_E8_TYPE_BOXSD
e8Type == FGS_E8_TYPE_OFFSETBOXSD
e8Type == FGS_E8_TYPE_COLORSD
e8Type == FGS_E8_TYPE_FIXTEXTSD
e8Type == FGS_E8_TYPE_IDXTEXTSD
e8Type == FGS_E8_TYPE_VARTEXTSD
e8Type == FGS_E8_TYPE_TEXTSD
e8Type == FGS_E8_TYPE_SYMBOLSD
e8Type == FGS_E8_TYPE_SYMBOLPOISD
e8Type == FGS_E8_TYPE_GRAPHVALUESD
e8Type == FGS_E8_TYPE_LEDDESIGNSD
e8Type == FGS_E8_TYPE_COLORSTATESD
e8Type == FGS_E8_TYPE_SYMBOLSTATESD
e8Type == FGS_E8_TYPE_SYMBOLSTATELGSD
e8Type == FGS_E8_TYPE_BORDER3DSTATESD
e8Type == FGS_E8_TYPE_BORDERSTATESD
e8Type == FGS_E8_TYPE_BORDERSYMSD
e8Type == FGS_E8_TYPE_BORDERSYMSTATESD
e8Type == FGS_E8_TYPE_ELEMENTSD
e8Type == FGS_E8_TYPE_ELEMENTNSD
e8Type == FGS_E8_TYPE_FIXBOXBORDERSD
e8Type == FGS_E8_TYPE_FIXBOXSYMBOLSD
e8Type == FGS_E8_TYPE_FIXBOXTEXTSD
e8Type == FGS_E8_TYPE_FIXCLEARMASKSD
e8Type == FGS_E8_TYPE_BOXBORDERSD
e8Type == FGS_E8_TYPE_BOXEDITLINESD
e8Type == FGS_E8_TYPE_BOXGRAPHVALUESD
e8Type == FGS_E8_TYPE_BOXSYMBOLSD
e8Type == FGS_E8_TYPE_BOXODRSD
e8Type == FGS_E8_TYPE_BOXMAPSD
e8Type == FGS_E8_TYPE_BOXSPELLERSD
e8Type == FGS_E8_TYPE_BOXTEXTSD
e8Type == FGS_E8_TYPE_BOXTEXTFIELDSD
e8Type == FGS_E8_TYPE_BOXLISTSD
e8Type == FGS_E8_TYPE_BOXINFOLINESD
e8Type == FGS_E8_TYPE_CONTAINERLINESD
e8Type == FGS_E8_TYPE_BOXSLIDERSD
e8Type == FGS_E8_TYPE_FIXLINESD
e8Type == FGS_E8_TYPE_LINESD
e8Type == FGS_E8_TYPE_BOXLANEGUIDANCESD
e8Type == FGS_E8_TYPE_LIST_OF_POSITION