Jump to content
The simFlight Network Forums

mtjoeng

Members
  • Posts

    223
  • Joined

  • Last visited

Posts posted by mtjoeng

  1. Copied B3D_737.hvar to c:\Users\admin\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\packages\fsuipc-lvar-module\work
    and renamed 737.hvar

    FSUIPC_WASM.log says:
    ..
    Tue Feb 22 01:10:20 2022    [INFO]: 34 hvars loaded for aircraft 'Boeing 737'
    Tue Feb 22 01:10:20 2022    [INFO]: 297 LVARS found, created 3 Client Data Areas
    Tue Feb 22 01:10:20 2022    [INFO]: 297 lvars loaded for aircraft 'Boeing 737'
    ..

    Now what?
    Assign f.i.
    H:AS01B_MFD_1_Range_DEC
    H:AS01B_MFD_1_Range_INC
    to a macro or in ipc.activateHvar script?
    Why can't they show in the dropdown?

     

  2. I want to enhance my MPC Combo like the good old days and saw the B3D_737.hvar file. FSUIPC 7.2.16 enables the basic SPD HDG ALT perfectly.

    Tested with B747 default, button dropdown with new profile shows long list of Preset:B747 8 and assigned MFD Range INC/DEC to MPC Combo, and this works.

    Then again in the drop down I do not see Preset:B737 *whatever, and I can't comprehend the 'copy and rename' stuff about adding HVAR's to FSUIPC.

    What do I do to get the 737Max HVARs in the FSUIPC dropdown list?
    (And there's a lot more entries for 747 than in the B747-8.hvar file, how does that work?)

    thx
     

  3. 5 hours ago, John Dowson said:

    Should work with symbolic links and bat files, although I haven't tried the latter:

    runs bat, exe, but not lnk and not VoiceAttack.exe, which seems peculiar to VoiceAttack.exe

    Run1=kill,i:\TEKST\EFBx4Toolbar\00_Start_EFB_Server.bat
    Run2=kill,"k:\Little Navmap\littlenavmap.exe"
    Run3=kill,"k:\Program Files\VoiceAttack\VoiceAttack.exe"

     

  4. 2 hours ago, John Dowson said:

    Yes, but isn't that to manage the Community folder / MSFS add-ons?

    Loaded (and killed) by what? Not sure what you are asking here...

    Then sounds like something else is going on.

    I'll take a look at these issues sometime next week and report back afterwards.

    John

    just mentioning it is possible,
    MSFS Addons Linker is - also - a start shell with a button 'run MSFS' and after MSFS quit, one returns to MSFS Addons Linker, and it kills the batch added programs

     

     

  5. Tried 'MSFS Addons Linker' is an MSFS mklink utility with an interface and a menu 'add programs to start with MSFS', here added Voiceattack does load and gets killed? It appears possible.

    1 hour ago, John Dowson said:

    What does the FSUIPC7.log file show for this?

    nothing, no voiceattack whatsoever, just

    45000 LUA.1: beginning "k:\FSUIPC7\ipcReady.lua"

    LINDA prog not in RUN

  6. On 10/28/2021 at 11:30 AM, John Dowson said:

    I think the issue is that you are using a .lnk, which is a shortcut file. Try creating a proper symbolic link instead, which is handled by the file system. See https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

    I find the following utility very useful for creating symbolic links and folder junctions (via Windows Explorer): https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html

    I could look into interpreting shortcut (.lnk) files, but this will be low priority so I am currently not sure when i will have time to look into this (but I will add to my list).
    But for now, try symbolic links instead.

    John 

    I use standard MKLink for my directory junction
    Can't see how this would help here?

    Run2=KILL,"k:\Program Files\VoiceAttack\VoiceAttack.exe" -nofocus -profile "MSFS 2020 VR"
    does not work, nothing happens
    neither
    Run2=KILL,"k:\Program Files\VoiceAttack\VoiceAttack.exe"

    a BAT file starts but does not get killed
    with a xx.lnk on could enter a default directory for starting the linked program, perhaps that works

  7. 4 hours ago, John Dowson said:

    Why not just
       Run xx="a program link"
    Doesn't that work?

    [Programs]
    Run1=CLOSE,k:\FSUIPC7\linda.exe
    Run2=CLOSE,i:\TEKST\EFBx4Toolbar\00_Start_EFB_Server.bat
    Run3="c:\ProgramData\Microsoft\Windows\Start Menu\Games\VoiceAttack.lnk"
    Run4=CLOSE,"k:\Little Navmap\littlenavmap.exe"

    Run3 does not do anything

    [Programs]
    Run1=CLOSE,k:\FSUIPC7\linda.exe
    Run2=CLOSE,i:\TEKST\EFBx4Toolbar\00_Start_EFB_Server.bat
    Run3="k:\Program Files\VoiceAttack\VoiceAttack.exe"
    Run4=CLOSE,"k:\Little Navmap\littlenavmap.exe"

    Run3 Voiceattack does run.

    Weird what.

  8. What would be appreciated would be

    - FSUIPC option to start windowed and not minimize to the Toolbar, so to see plainly the loading

    - Right shift keys like MSFS, RAlt, RCtrl etc

    - more than often my LINDA
    Run1=KILL,k:\FSUIPC7\linda.exe
    won't start Linda

    - one (1) instance of FSUIPC be allowed without an error message & confirm box when EXE.xml is defined, just kill the one in memory and refresh with a new one.

     

  9. A CTD with beta release v7.1.0a, afraid to use it again, (using 7.1.0 now), booted me back to a 'auto computer repair'.

    Prob because I was trying the new updates and beta, had double FSUIPC.exe entries that I killed in taskmanager, and then, boom when restarting. A stuck FSUIPC not unloading after exit has happened several times 'instance FSUIPC already there' where I think to have stopped FSUIPC or, FSUIPC SHOULD stop with MSFS xml and doesn't, and then restart but discover 2 instances in Taskmanager (and FSUIPC not working) and have to kill both with a bad result now trying beta a.

    BTW the help says version 7.0.8

  10. Bought a buttonbox from DSD has 5 encoders that are 1. really slow, 2. give a very sort pulse. Read about Rotaries.lua and tried to implement but doing something wrong. What I did:
    renamed Rotaries.lua to RotariesDSD.lua which shows up in fsuipc.ini [LuaFiles]

    In fsuipc.log about DSD box says: Vendor=04D8, Product=8A3D (Version 0.1) 
    changed in RotariesDSD.lua: 

    Vendor = "GoFlight"
    Product = "RP48"
    to
    Vendor = "04D8"
    Product = "8A3D" (and tried Product="8A3D (Version 0.1)", no difference, nothing)

    Rotaries = { 1,2,3,4,5,6,7,8} 
    to
    Rotaries = { 8,9,10,11,12,13,14,15,24,25} ; 5 rotaries per fsuipc inquiry and assigned FS control:

    rotary H, 24/25 to AP Alt Var Inc/Dec

    then what? nothing different, what am I missing?

    I read my MPC-Combo rotaries do a slow/fast pulse, this DSD box apparently does not, but that is where Rotaries.lua is for?
     

  11. I'd guess you have to make a zzzwhatever.lua in the \modules dir

    that you trigger with your assign button and in the dropdown "lua zzzwhatever"

    in the lua the ipc.control(zzzzzzzzzzzzz, 0) <> "zzzzzzzzzzzzz" you find in the "The 2016 List of FSX and P3D Controls.pdf" f.i.:

    NEW VIEW 65825

    VIEW CAMERA TOP DOWN 67156

    ^^^ chk of these are the correct ones

    in the zzzwhatever.lua:

    ipc.control(65825, 0) -- new view (prob a copy of the active view)
    ipc.control(67156, 0) -- top down (change to topdown)

    or
    you prob do not need a parameter

    ipc.control(65825) -- new view (prob a copy of the active view)
    ipc.control(67156) -- top down (change to topdown)


    this is from the top of my head


    2cts

     

  12. by the way, would it even be possible to 'unload'/kill/disable a (one like this) Lua?

    for instance when ThrottleManager.LUA is auto started in [auto]

    is it ever possible to 'unload'/kill/disable this lua from within the running sim 

    (as in: reload button definition, will unload any an edited ini with deleted [auto], would then (re-)start pristine fsuipc4.ini)

    a ‘lua extension menu’ of some sorts might even/also come to mind (as in x-plane sometimes)
    where one can enable/kill/disable x-plane ‘extensions’, but in this case running lua’s

    so to manage ill-behaved or peculiar add-on prog’s (on the fly, not having to restart sim)

    ? thx

     

  13. here's your problem

    Looking for the current user's Application Data path:
    ... found as "C:\Users\rick office\AppData\Roaming"
    Now finding \Lockheed Martin\Prepar3D v3\Prepar3D.CFG for all users, including this one
    Looking in "C:\Users\All Users\AppData\Roaming"
     ... No Prepar3D.CFG there
    ..
    ..
    Looking in "C:\Users\rick%20office\AppData\Roaming"
     ... No Prepar3D.CFG there
    Cannot edit the DLL.XML file to activate FSUIPC.

    manually, it cannot find the directory your "Prepar3D.CFG for all users" is in
    which is weird
    because on my WIn7 computer the approriate DLL.XML is in the USER directory
    P3D3 uses 2 DLL.XML

    find the directory your
    Prepar3D.cfg
    is in
    ("c:\Users\<USER>\AppData\Roaming\Lockheed Martin\Prepar3D v3" on my Win7 OS))

    create or edit the
    DLL.XML
    in that directory

    contents should be

    <?xml version="1.0" encoding="Windows-1252"?>

    <SimBase.Document Type="Launch" version="1,0">
      <Descr>Launch</Descr>
      <Filename>dll.xml</Filename>
      <Disabled>False</Disabled>
      <Launch.ManualLoad>False</Launch.ManualLoad>
      <Launch.Addon>
            <Name>FSUIPC 4</Name>
            <Disabled>False</Disabled>
            <Path>Modules\FSUIPC4.dll</Path>
        </Launch.Addon>
    </SimBase.Document>

    attached DLL.XML
    with only fsuipc reference

     

     

    DLL_XML.ZIP

  14. OhOh
    good news, found the culprit

    When testing/cleaning up the fsuipc4.ini

    I noticed I had ‘forgotten’ about this ThrottleManager.LUA
    (sorry about that)

    so, disabled in [AUTO]
    et voilá,
    4 Throttle levers

    that’s the good news

    the bad news is,

    I really really (really) like that ThrottleManager.LUA
    it does ‘toggle switch and throttle lever switches to reverse thrust’
    (I edited the Lua options within, so it doesnt do anything automatic and shows onscreen its status)

    so f.i. because of Warthog HOTAS switch layout;

    I land pmdg737 at idle,
    toggle (EAC and RDR/ALTM) switches underneath HOTAS throttle levers,
    Fsuipc_window on screen tells me throttles 1 & 2 are in reverse now,
    so apply reverse thrust,
    at 60, idle,
    toggle 2 switches, taxi

    that’s a great little LUA

    it appears to be programmed for 4 material throttle levers
    unfortunately, when I look at the ThrottleManager.LUA I have no idea where even to start to make it compliant with fsuipc Map

    Any chance you can have a look at the ThrottleManager.LUA?
    (You should try it anyway, it’s great)

    Perhaps you know of a working version Lua that does same?

    Thanks already

    attached,
    my custom ThrottleManager.LUA

    and again, sorry I missed this before

     

    ThrottleManagerLUA.zip

  15. 16 minutes ago, Pete Dowson said:

    Leave it to its default setting normally. It's only to stop a loop developing when the add-on aircraft itself uses those controls, which very few do these days.

    How are you detecting this? In the calibration tab?

    What throttle assignments do you have?  Where and what to? Perhaps you need to show me more of the INI file, not just two lines.

    Note that some of the PMDG aircraft do not like FSUIPC calibration at all.

    Pete

     

    I do all normal stuff

    2 throttle default no problems whatsoever (baron, king air)

    I am an experienced fsuipc user, used to program compound buttons, use LINDA now, lots easier

    attached fsuipc4.ini

    it's really weird

    FSUIPC4.ZIP

  16. problem throttle mapping 1,2 throttle > 3,4 engine

    somehow my 4 engine mapping does not work

    reinstalled fsxse after long time DCS A10

    installed P3D 3.23 (335 does weird)

    FSUIPC seems to work fine overall (default, PMDG)

    want a 4 engine in p3d, copy 747 and Constellation to P3D

     

    checkbox Map 1->12, Map2->34

    exclude Throttlen_SET tested On and OFF (what is this?)

    in sim no luck

    will NOT throttle 3 or 4

    ?

    in fsuipc.ini I see added

     

    [JoystickCalibration]

    ..

    MapThr12to34=Yes

    MapThr12to123=Yes

     

    Warthog HOTAS (drivers installed) / Windows7 x64 / Prepar3D 3.23 / installed latest FSUIPC 4.955c (registered)

    what am I missing?

     

  17. I reinstalled FSX SE recently after having flown DCS only for a while.

    I remember I liked assigning joystick letters to keep track of assignments ("Joy Letters")

    I tried
    [JoyNames]
    AutoAssignLetters=Yes and No

    according to
    “When first loaded, and each time the FSUIPC Options dialogue is used, FSUIPC4 scans the Windows registry and makes a list of the names and "GUIDs" lodged there for each of those connected joysticks which it refers to numerically”

    BUT this section is EMPTY:

    ..
    [WideServer]
    WideFSenabled=No
    AdvertiseService=1
    Port=8002
    Port2=9002

    [JoyNames]
    AutoAssignLetters=Yes

    [Axes]
    PollInterval=10
    RangeRepeatRate=10
    0=0X,256,D,45,0,0,0    -{ DIRECT: Aileron/SlewSide }-
    1=0Y,256,D,46,0,0,0    -{ DIRECT: Elev/SlewAhead }-
    2=0S,256,D,23,0,0,0    -{ DIRECT: Flaps }-
    3=1Z,256,D,10,0,0,0    -{ DIRECT: Throttle2 }-
    ..
    etc

    ?

    In an old backup FSUIPC.INI I did find this section populated with my Saitek devices. I have now attached Thrustmaster HOTAS.

    How do I get FSUIPC to register my devices?

    edit: BTW apart from not mentioning the joysticks everything works ok

    win7x64 FSX-SE latest fsuipc 4.955

     

×
×
  • 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.