Jump to content
The simFlight Network Forums

Comments are grouped in version 3.47


Recommended Posts

Hi Pete,

Nice idea to add an error indication to the button and key programming if something goes wrong, but... this version also changes the layout of the file, namely all button programming lines are grouped together followed by all the comment lines that were defined in these lines to explain what was going on.

Originally the file looked like this:

;

; Flag 10 follows key (-6 & -7)

;

2=CU(-0,7)0,6,C1003,10

3=CU(-0,6)0,7,C1003,10

;

; Flag 11 follows key (+6 & -7)

;

4=CP(-0,7)0,6,C1004,10

5=CP(-0,7)0,6,C1003,11

6=CU(F+0,11)0,6,C1004,11

;

; Flag 12 follows key (-6 & +7)

;

7=CP(-0,6)0,7,C1004,10

8=CP(-0,6)0,7,C1003,12

9=CU(F+0,12)0,7,C1004,12

;

; Flag 13 follows key (+6 & +7)

;

10=CP(F+0,11)0,7,C1004,11 ; reset flag 11

11=CP(+0,6)0,7,C1003,13 ; 6 and 7 down set flag 13

12=CU(F+0,13)0,7,C1004,13

;

.

.

.

After a run of fsuipc 3.47 the ini file will have this layout, also all comments that were defined in the row of a button programming are disappeared too. No error was found however ;) :

0=CU(-0,7)0,6,C1003,10

1=CU(-0,6)0,7,C1003,10

2=CP(-0,7)0,6,C1004,10

3=CP(-0,7)0,6,C1003,11

4=CU(F+0,11)0,6,C1004,11

5=CP(-0,6)0,7,C1004,10

6=CP(-0,6)0,7,C1003,12

7=CU(F+0,12)0,7,C1004,12

8=CP(F+0,11)0,7,C1004,11

9=CP(+0,6)0,7,C1003,13

10=CU(F+0,13)0,7,C1004,13

11=CP(F+0,12)0,6,C1004,12

12=CP(+0,7)0,6,C1003,13

13=CU(F+0,13)0,6,C1004,13

14=CR(F+0,10)0,0,C65588,0

15=CP(F+0,10)0,1,C65570,0

16=CR(F+0,10)0,2,C65607,0

17=CR(F+0,10)0,3,C65615,0

18=CP(F+0,10)0,4,C65758,0

19=CP(F+0,10)0,5,C65759,0

20=CP(F+0,11)0,0,K192,9

21=CP(F+0,11)0,1,C65751,0

22=CR(F+0,11)0,2,C65771,0

23=CR(F+0,11)0,3,C65769,0

24=CP(F+0,11)0,5,C65589,0

25=CP(F+0,12)0,1,C65858,0

26=CR(F+0,12)0,2,C65777,0

27=CR(F+0,12)0,3,C65775,0

28=CP(F+0,12)0,4,K83,8

29=CP(F+0,12)0,5,K83,9

30=CP(F+0,13)(F-0,31)0,0,C66224,0

31=CP(F+0,13)(F+0,31)0,0,K112,11

32=CU(F+0,13)0,0,C1005,31

33=CP(F+0,13)0,1,C66293,0

34=CP(F+0,13)0,2,C66244,0

35=CP(F+0,13)0,3,C66243,0

;

; Flag 10 follows key (-6 & -7)

;

;

; Flag 11 follows key (+6 & -7)

;

;

; Flag 12 follows key (-6 & +7)

;

;

; Flag 13 follows key (+6 & +7)

;

;

;

Greetings,

Hugo

Link to comment
Share on other sites

Nice idea to add an error indication to the button and key programming if something goes wrong, but... this version also changes the layout of the file, namely all button programming lines are grouped together followed by all the comment lines that were defined in these lines to explain what was going on.

It has ALWAYS done that if the file is re-written, as any editing in the Buttons page would do. I can't do anything about that. Best to put the comments on the active lines. The best I could do, maybe, in a future version, is to allow active (numbered) lines containing only comments (n=;...).

The main change in organisation now has been the retention of your line numbering -- in all previous versions not only would your comments be moved but also your lines would all be renumbered in seqience if not already.

The file is a Windows "profile", just like FS's own CFG files -- they will do the same thing when re-written.

Regards,

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.