-
Posts
38,265 -
Joined
-
Days Won
170
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Pete Dowson
-
Correct, there is no FS offset for the transponder mode because FS does not simulate any of them. Regards Pete
-
Axis assignment problem
Pete Dowson replied to krfilby's topic in FSUIPC Support Pete Dowson Modules
Erthe Type/Axes levels aren't relevant. Stop after Calibration/0 and see if there are keys there -- there should be at least GUID and Joystick Id. They are the entries I need. Which only proves that my original code was correct and there's no point in going past a missing entry. :-( What I don't understand is that apparently you found: HKLM/SYSTEM/CurrentControlSet/Control/MediaProperties/PrivateProperties/DirectInput/VID_068E&PID_00FA/Calibration/0 yet FSUIPC4 failed to find that, or at least was refused: 426023 Trying: "HKLM\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput\VID_068E&PID_00FA\Calibration\0" 426023 Missing key? Trying a later one ... I'm removing the changes I made to FSUIPC4. At present there's nothing I can really add -- though I may try asking for an Error number for the failure on the key opening. Two things now: 1. Can you please go back to RegEdit, get to the HKLM/SYSTEM/CurrentControlSet/Control/MediaProperties/PrivateProperties/DirectInput level, with the "DirectInput" label highlit, right-click and select "export". Export as "DirectInput.reg" (it will add the .reg), ,then ZIP the file and send it to me at petedowson@btconnect.com. 2. My only other guess at present is that you somehow have the system so protected that it is stopping FSUIPC even reading registry entries. I cannot understand how that can be unless it is a third-party add-on which is over-enthusiastic. But try running FSX "as administrator" (that is , right-click it, and select "run as administrator"). Regards Pete -
Issue with Capt Sim B757 Autopilot
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
Okay, thanks. If there's something I can do to fix it or help, I will, but i need some technical exchange with the folks who know. Regards Pete -
Axis assignment problem
Pete Dowson replied to krfilby's topic in FSUIPC Support Pete Dowson Modules
Okay. Try this please: http://fsuipc.simflight.com/beta/FSUIPC4512.zip Keep the extra logging I asked for in for the first test, and show me the Log whether it works or not. Thanks, Pete -
Axis assignment problem
Pete Dowson replied to krfilby's topic in FSUIPC Support Pete Dowson Modules
I've looked at the code again. After those "Trying ..." lines, FSUIPC4 tries to do the following: 1. Open the Registry key you see logged. If this fails then it simply aborts that joystick and moves on. 2. If it opens okay, it reads the key called "Joystick Id". This is crucial. If it succeeds you get "Found correct Joystick ID" logged. Otherwise you'd get "No joystick ID there" logged. Since neither of the messages for (2) appear, it looks like there are no Registry entries formed like this: "HKLM\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput\VID_068E&PID_00FA\Calibration\0" where the VID and PID numbers (here 068E and 00FA) vary according to joystick maker and model. My code does search for Keys with 0 then 1 then 2etc in the last position (where you see \0 above). However, I've no way of determining where that sequence ends except by there being, apparently, no more. I now think that it is possible for there to be MISSING entries (though this has never happened before in the three+ years of FSUIPC4). I am altering my code to continue to search after a missing entry up to at least \9. I hope that will fix it. Meanwhile, do you think you might be able to use "Regedit" (Start - Run - Regedit) to look for me, find the keys like those above, let me know? I'll post a link to a test version of FSUIPC4 later. Regards Pete -
Setting Thrust Reverse, Prop Feather and Mixture Idle-Cutoff
Pete Dowson replied to jahman's topic in FAQ
Sorry, I know nothing at all about "replay" mode. does that have a different control set? Have you tried using the freeware FSrecorder add-on. It is much better than FS's built-in facilities. http://www.fs-recorder.net/downloads.php Regards Pete -
Disable Throttle Input when A/T is armed
Pete Dowson replied to diegov's topic in FSUIPC Support Pete Dowson Modules
You can add logic to FSUIPC using Lua plug-ins, activated either by external evens like buttons and so on, or internal ones. However, I don't think that is relevant to this problem: Surely the problem there is that the throttle should simply do what it is told. The "input sensors" are irrelevant as their values aren't being used (or shouldn't be). I don't understand. The throttle axis is normally disregarded by FS in any case when the autothrottle is armed. What makes you think it isn't? Are you sure your motor is not simply reacting to all the silly little throttle changes the FS A/T makes? What you probably really need is a partial smoothing action on the throttle read-outs. Regards Pete -
Ideas for failure generation ?
Pete Dowson replied to japh's topic in FSUIPC Support Pete Dowson Modules
There's are several "instructor station" packages which provide quite a lot of scope for these, and more of course. When it gets down to really technical failures you probably need to make them aircraft-specific. The Lua plug-ins facility in FSUIPC provides a good opportunity to add a multitude of failure types, too, used with the FSUIPC offset lists. My son lives near A Guardia, just north of Portugal. (He used to live in the middle of Madrid). Whilst this time I think we probably spent more time in Portugal, in fact, than Spain, as the bigger shops and more economical eating establishments are "over the border". We also visited the Port houses in Porto (we fly via Porto for convenience), and the National Park to the North East of Porto. We spent a week walking in the Picos da Europa a few years ago, travelling from Madrid and stopping en route for wine-tasting in the Duero district. Regards Pete -
Upper Framerate Limit & FSUIPC
Pete Dowson replied to Skipy33's topic in FSUIPC Support Pete Dowson Modules
No. I've never found a way of changing any of the performance or graphics aspects in-flight. Sorry. Pete -
Issue with Capt Sim B757 Autopilot
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
Known? strange, then, that no one has written to me about it. If this aircraft uses FSUIPC and has run into a problem with later versions, someone should talk to me about it. There is no way I'm ever going to be able to buy and test all add-ons for FS for every new release of FSUIPC! Did the person who determined this ever state why? It sounds like a possible bug in the Captain Sim add-on: maybe they are not clearing the flag they must be setting in FSUIPC which tells it to disconnect controls. FSUIPC has a 10-12 second timeout on updates to that flag in case of bad or hung apps. If this is all it is I'm sure it is something they can fix quickly enough. I'm not aware of any difference between version 4.323 and later versions which would change these things, though, unless it worked by fluke before because of some older FSUIPC bug now fixed. I really would need more information to help. Why has no one who knows what they are talking about contacted me? Regards Pete -
WideFS6 and WideFS7 access keys
Pete Dowson replied to pipeorgan's topic in FSUIPC Support Pete Dowson Modules
Actually, thanks for trying to help here, Jim, but if you only want to run applications on a Networked PC, and don't want to use any of the User Facilities in FSUIPC, then you only need a WideFS registration, not an FSUIPC one too. Regards Pete -
Axis assignment problem
Pete Dowson replied to krfilby's topic in FSUIPC Support Pete Dowson Modules
Well, FSUIPC4 agrees with Joyview (but FSUIPC numbering starts from 0 instead of 1) -- the 4 devices it found where 0,1,4,5. All the others errored, same as in Joyview. So, the mystery deepens. FSUIPC4 sees the devices but NEVER (?) sees any axis values change? You ARE waggling the levers aren't you? FSUIPC ignores the first 10 or 20 readings to avoid bad "wake-up" values.. Then it only sees changes. Maybe you could post your FSUIPC4.INI file here, please. I may need to add some more logging, to see what happens after those " Trying: "HKLM\..." lines. Regards Pete -
toga & auto pilot buttons are MEL'd
Pete Dowson replied to teeb57's topic in FSUIPC Support Pete Dowson Modules
The PMDG aircraft have their own autopilots which aren't related to the default FS autopilot used by most other aircraft. You have to use the shortcuts provided by PMDG. Regards Pete -
If the screen goes black, this is always due to video driver problems. Try setting FS into Window mode, instead of full screen, first. If the registration screen appears ready but then appears frozen then that is due to another add-on, usually Actigate.DLL, which is somehow interacting with the keyboard. Check for other add-in DLLs in the FS Modules folder and temporarily remove them before loading FS. Regards Pete
-
Offset 0BD0 for FSX
Pete Dowson replied to Achilles Philippopoulos's topic in FSUIPC Support Pete Dowson Modules
Hmm. Interesting. Does this mean the LJ45 is only suitable for really smooth runways? Or does it has some special mechanism for preventing pressure changes on the gear whilst accelerating for take-off inadvertently triggering the land-detection spoiler activation? Or does it activate in some other way? Erthat makes no sense -- FSUIPC is no way involved in operating the spoiler for either a GoFlight device or Shift+/. Can you explain how you arrive at this conclusion? And especially why do you think different versions of FSUIPC4 may be involved? FS9, not FSX which you just mentioned? If you have an aircraft model for FS9 which allows this without immediately deploying, you shouldn't have any problem, surely? Otherwise, how do you suggest it be done? Regards Pete -
How can I start new Flight over FSUIPC4 SDK?
Pete Dowson replied to umituzun84's topic in FSUIPC Support Pete Dowson Modules
You don't need to do anything with Lua if you are a programmer and creating your own application. You can use whatever language you like (Lua included). You can create and edit FLT files in your program, and load them into FS using the facilities at offset 3F00 & following. FSUIPC version 4.50, the current release, works on all versions of FSX and ESP. Regards Pete -
FSUIPC/WideFS - (Re-)Registration boxes freeze
Pete Dowson replied to Retard's topic in FSUIPC Support Pete Dowson Modules
This is almost always caused by another add-in module in the FS modules folder which is hooking the keyboard and hanging because it is in an unexpected place. The main culprit is usually Actigate.DLL, though it only seems to do this on some systems (I've never been able to reproduce it here). Check your Modules folder for any non-FS modules that may be loading, Actigate.DLL especially. You may need to move them out temporarily to get passed this problem. Regards Pete -
Trim problem with LD B767
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
Version 4.4 is out of date and not supported. But FSUIPC doesn't touch anything you've not asked it to ... Since by default (i.e. with a default freshly-generated INI file), FSUIPC4 is doing anything except whatever may be asked of it by other programs (its main function in life being an interface for other programs and add-ons), it must be something else you have running or installed which uses FSUIPC when it is there and not when you don't. FSUIPC is used by large numbers of LevelD 767 users without any such problems, which would obviously be a killer if not avoidable, so I think it really must be something you've set or installed on your PC. Regards Pete -
Right click on the DLL and check the signature. If that says it is okay it most certainly is not infected or tampered with in any way. Note that in the new versions of FSUIPC the signature is changed to SimFlight instead of Peter L Dowson (because sadly none of the Certificate Authorities will now sell licenses to individuals, only companies! :-( ). Regards Pete
-
Neither FSUIPC nor WideFS care about file sharing access -- they don't use it. No, it was the Protocol. If you had to explicitly set the Server name or address then probably the broadcasting isn't working (workgroup names different, probably). When you tell it which server to connect to you need to tell it what protocol to use as well, because otherwise it only gets told by the broadcasts. Regards Pete
-
Why not use the same INI file from your old PC then? No idea why. There are two examples for this on Page 35 -- one most certainly designed for FS2004 -- but both including PAN_UP/DOWN etc controls. If FS is ignoring these then there's something wrong with your FS installation. More likely you've got some of the assignments wrong. Try enabling Event logging in the FSUIPC Logging options, then operate your hat, and check the FSUIPC LOG file to see what it reports. Regards Pete
-
Axis assignment problem
Pete Dowson replied to krfilby's topic in FSUIPC Support Pete Dowson Modules
I only just have time for this one reply before leavingI'm away now till the 24th. What about Joyview? Does that also show the axes? -- That's also important, because Joyview relies on the Joystick ID being intact. Re-installing FSX is well known by now to be rather fraught. It seems to cause more problems than it solves. Are you sure that SimConnect is all working okay? Check the FSUIPC4.LOG file, and its Install Log, see if there are any problems reported. Though I cannot think of anything that SimConnect could do to interfere with FSUIPC's DirectInput access. [EDIT] Final ideas before I disappear: 1) The DirectInput scanning in FSUIPC4 is repeated every time you re-enter the FSUIPC4 options, so try exiting and re-entering a few times, see if it can "re-discover" them. 2) There's some DirectX debugging options still in FSUIPC4. You can enable these as follows: Before running FSX, edit the FSUIPC4.INI file. Add these two lines to the [General] section (or replace them if there already): Debug=Please LogExtras=x200000 Run FSX, try the Axis assignments again, then look at the FSUIPC4.LOG file. Sorry, but I won't be around to help further till Friday 24th. Regards Pete -
If you go to the Buttons & Switches tab, in FSUIPC options, or the Keys tab, you will see an ordinary Windows-type dialogue button which you can use to reload all those types of assignments (relevant to the Tab). Because macro files and Lua files might be implicated in such assignments, those are reloaded too. I'm amazed that you've got as far as developing Lua programs for FSUIPC, but have never had cause to change some edited assignment in the INI file and used the reload button to reload it!? Lua provides ways for you to do all that via the Debug library. A basic use of the debug library is made in the supplied ipcDebug.lua file. I'm not going to start messing about inside the Lua code itself to add more than what they provide, which looks certainly most adequate. Combine that with the Logging facilities and you should be well away. Lua doesn't provide a step-by-step trace or inspection capability, you have to build what you want into your program I think. What does that mean? There are no such libraries, at least as such -- the routines you call via ipc. are just more elaborate and thread-safe entries to the same routines in FSUIPC which can be called by C/C++ programs. They are intrinsic parts of FSUIPC. There's no way there's anything more to "give away" than already published in the sources in the FSUIPC SDK!! And they cannot possibly actually do anything outside of FSUIPC! I think all you need to do is make a file called ipc.lua and include in it dummy functions with all the names in. They don't need to do anything. You then have to add require "ipc" I think this uses the built-in "loadlib" function, which I've not tested. But it should work okay. it's Lua code, not mine. BTW according to the "Programming in Lua" book it is good practice to do this for any libraries you require even if you know they are effectively built-in or pre-loaded. Pete
-
Editing the FSUIPC.Ini file
Pete Dowson replied to mounty's topic in FSUIPC Support Pete Dowson Modules
XP's Program Files folder is just another folder, no privileges needed. Pete -
No, that is incorrect. The Lua file scan is performed every time you press one of the "Reload" buttons on the Buttons, Keys, or Axes tabs. The same applies to Macro files. I've developed lots of Lua programs for my own cockpit and i've never had to reload FS. At present i wouldn't even know how to start on that (would you?), and I don't want to undertake unnecessary work. BTW if you are using FSUIPC4 you can use the FSUIPC4 Log Console window to view the results of loading your Lua programs in real time -- without the Lua logging option, of course (that only works on files). Regards Pete