Results 1 to 5 of 5
  1. #1
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Angry Prevent Preload of Standard.XML

    Does anyone know how to prevent FSX from automatically preload new Standard.XML at startup?
    The one in: C:\Users\"MyName"\AppData\Roaming\Microsoft\FSX\Controls


    I want to delete some of Keystroke listed under settings / controls / "Buttons / keys"
    I use a keyboard controller to some of the functions, Link2fs to some, and Fsuipc to some. Some fungsjonene does not work, and I'm guessing it's because they are listed in multiple places.
    I can edit this after start and then everything works. But next time I start FSX, everything changed again!

    The problem is that every time you start FSX, it loads all standad Keystrokes again. And my own editing on the keystrokes is mixed in with the new
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------

  2. #2
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Mycockpit.org Re: Prevent Preload of Standard.XML

    I expect that many more than me is interested in the solution?
    The reason that I believe it, is that it was possible to find a solution on Google.
    Many suggestions, but only nonsense.


    After a few days of Googling, testing of all the suggestions that I found, I had to give up on Google, and give it a try for myself.
    I think that I've found the solution.
    It seems that FSX sees it if you delete an entry in the "Standard.XML and compensates this by loading the whole file again (from somewhere I can not find).
    But if instead of delating entrys, you insert a "0" (ZERO) where the Key should have been, see example:
    __________________________


    29-03-2013 19-52-40.png


    And so on .....................Obviously in the "Standard.XML" file.
    _______________________________

    After several starts and stops of FSX, the file has now NOT been changed
    My FSX keystrokes, my Link2fs keystrokes and my FSUIPC keystrokes now works with one another

    I found the solution on another thing too that has annoyed me. (I often let myself get annoyed )
    When you call the Tower (ATC), it will answer you with the aircraft typename,
    like: "Beech", and then eq, "LN-ROY".
    If you remove the entry, Tower will answer you with "Experimental LN-ROY"

    But if you insert a "0" (ZERO) in the aircraft.cfg, this line:

    [General]
    atc_type=BEECH
    atc_model=B350
    editable=0

    with this one:
    [General]
    atc_type=0
    atc_model=B350
    editable=0

    PROBLEM SOLVED
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------

  3. #3
    500+ This must be a daytime job Jim NZ's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    764
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Prevent Preload of Standard.XML

    Actually Roy ,, for the main question about "Standard.XML" and the re-writing ,, the answer is not too far from home.

    Back in the days of using keyboard emulators, I stuck the same troubles,,, so I done a webpage on the thing.

    Have a read here ,,,
    http://www.jimspage.co.nz/fsxinputs.htm

    The punch lines are down the bottom of the page in "As a Reference"

    Be careful messing around in there tho ,, things can go horribly wrong very quick.

    Good luck ,,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  4. #4
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Prevent Preload of Standard.XML

    Hey Jim.
    A great explanation of the Standard.xml file you have there, ref address.
    But I found it a bit more complicated. (Or made it more complicated)
    As an experiment, I deleted everything in the Standard.XML: C:\Users\"MyName"\AppData\Roaming\Microsoft\FSX\Controls\
    Then I deleted all in the Standard.XML on the fsx root
    After backing up, seff! Just to see
    what happened.
    It still wrote a new one.
    Then I found something call'd "ROOT_Standard.xml" in the fsx\setup\SP2Cache folder.
    Not sure, but I wonder if this comes from FSX_Sp2?
    The fsx.cfg just saying, load Standard.XML, not from where!
    I tryed to edit the fsx.cfg to load a different XML-file, but no luck.
    So I'm still curious about where FSX loads its "Standard.XML" from! Maby from a .dll-file.
    I got myself completely lost in all the stupid suggestions on Google.
    The problem was mainly because I tried to delete some entryes, instead of editing all of them. I think.
    My greatest problem is that I can't let anything rest, unless I feel that I understand what causes it to tick. And it's hard to know ones limitations
    Well, one grows a little bit wiser on the way.

    I could not enjoy a flight when all my buttons was not working.
    Now I'm waiting for my new keyboard controller to show up in the mailbox.
    Then there will be a great cleaning in the Standard.XML
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------

  5. #5
    500+ This must be a daytime job Jim NZ's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    764
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Prevent Preload of Standard.XML

    Yea that page was written before SP2 was out or I never had it installed on my programming computer. I do remember that if I deleted both of them FSX crashed ,, but don't trust my memory on that one. !!
    Anyway, You've got your finger on the pulse Roy.

    If your going down the keyboard emulator road (AKA Keyboard encoders) ,, there is a great program written by Petr Medek called "HID macros" and its available here ,,,
    http://www.hidmacros.eu/whatisit.php

    What it does (as long as your emulator is seen by windows as a USB keyboard) is separate the "extra" keyboards to do different things.
    One of the failings of keyboard emulators is they send their keystroke to the active window which is a pain if another program has focus when you flick the switch.
    Petr has got over that problem (I think) by including FSUIPC as an input mode so if you've got FSUIPC then your away laughing ,, but do your own research on that one. I think that's how it works. (I don't have FSUIPC)

    Have fun Roy ,,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !