Jump to content
The simFlight Network Forums

Pete Dowson

Moderators
  • Posts

    38,265
  • Joined

  • Days Won

    170

Everything posted by Pete Dowson

  1. Thank you very much! Pete
  2. In windowed mode? Wow! I have no idea what could do that -- Do other programs flicker too? When superimposing itself in Windowed mode, AdvDisplay's window is just another window, it isn't a child of FS, nor owned by FS, so it just behaves like any other program. When docked I just have to monitor the docked component (whatever that is -- you can check it in the PANEL.CFG as mentioned in the Doc) so I know when to hide it. Does it do the same in "Locked" mode? That's exactly the same as Docked except I don't have to monitor the panel component, as it doesn't go away with the panel (you can use an FSUIPC hot key instead). I have a Version 2.02 almost ready to go -- I'll probably release it tomorrow (Monday). It has some diagnostic code removed, and will auto-undock when disabled, but apart from that there's no change. I run it here on Win2000Pro with DX9, Win98SE with DX9 and WinXP with DX9, and I cannot reproduce anything like the problems you have. I use a mixture of nVidia cards and Matrox. Sorry I'm not much help. You could try running the "ShowText" utility instead (set "hide always" in the AdvDisplay popup options). ShowText IS a separate program, so it isn't even running in the same process as FS. If its window cannot be seen stable on top of FS's Window then I don't think there's anything anyone can do. Regards, Pete
  3. No, sorry, it won't help me I'm afraid. AdvDisplay uses just standard Windows routines to open a completely and utterly standard Window. I have no idea why your are getting such odd results, but I'm afraid there's really nothing I can do. I think you may be okay if you run in Windowed mode instead of full screen (press ALT+ENTER). I think all future versions of FS will be like this. I may have to abandon Advdisplay as it is and think of an alternative, if one is possible. Possibly it is DX9. But if so it won't be the AdvDisplay code which is plain standard window code, but probably the attempt to superimpose an ordinary window on top of FS's Direct3D window. Try using Windowed mode. I think this will become mandatory, as I say. I cannot solve it for the forthcoming FS9 and Microsoft say it is impossible. :-( Regards, Pete
  4. Are you running the chair driving program on the same PC as FS? If it is a heavy user of the processor it may have a tough time multiprocessing with FS as the latter wants as much as it can get. You could try limiting the frame rate in FS (Options-Settings-Display). For a fast PC (>2GHz) try something like 25-35 fps as a limit. For a slower PC, use something correspondingly slower -- down to 15 fps at the most on a 1GHz. This may give the other program more time. You could also try giving it a higher priority. Not sure how to do this easily -- perhaps someone else will jump in. Maybe, if you are using Win98 an upgrade to XP would help -- I think it is rather better at multiprocessing applications, and it can certainly allow you to set different pririties. Finally, it may be some limit on polling rate built into the driver -- possibly there's some parameter you can change to speed it up? Certainly FSUIPC is able to match the FS frame rate with updates -- it can do this even across a LAN using WideFS, so it can certainly do it locally. Ideally, if the FS frame rate is, say, 25 fps you want the polling rate to match (i.e. in this case at 40 millisecond intervals). If, in the end, the driver just won't happily share the one PC with FS (and this is certainly a possibility) you could try using a separate, possibly lesser, PC, linked by a LAN and WideFS. Regards, Pete
  5. Not sure why you are asking this here -- this is a support forum for my FS add-in Modules, not for FS generally or for joystick drivers -- but it sounds rather like something in the Saitek driver is changing the button behaviour. Try restoring FS defaults (Options-Controls-Assignments) and re-testing. Maybe FS has its assignments in a mess. Maybe you have somehow got multiple assignments If you have FSUIPC installed you could try de-assigning the button in the FS Assignments and using FSUIPC's Button facilities instead. But try getting it sorted in FS first. After all, virtually all of the recognised joysticks have flap buttons already pre-assigned by FS and they should work fine. There's no need to use anything in FSUIPC really, it isn't accomplishing anything better or different for the standard assignable controls. Regards, Pete
  6. Well, it does matter really. It's a bit odd -- it works for everyone else I know using this combination. There must be something different in your system -- maybe some corruption in the 767PIC code or in PFC.DLL? The way the facility works is quite simple -- if it finds the correct interface for programmatic control of the 767PIC A/P, it uses it. If it doesn't (as in pre- 1.3 versions) it uses the keyboard assignments. Either way, the dials on the PFC device still do control the A/P. it is just that the 1.3 method is more efficient, smoother, that is all. Pete
  7. This seems rather confused. FSUIPC does not provide an Adventure Text display. It actually has nothing at all to do with it. There's another module, called "AdvDisplay.dll" which provides that option. Since version 2 (current is 2.01), when AdvDisplay is first installed it does nothing till enabled. Once you dock it to a panel part it will always be remembered for that panel and re-enable whenever you use the same panel. To remove it from a panel, undock it. If it is undocked and disabled it won't appear. If you don't want or need to use Advdisplay.dll, just remove it from the Modules folder. The next version of Advdisplay (2.02) will automatically undock when you disable it in the menu. Maybe that will make it easier for you -- but for the moment, simply undock it and disable it if you don't want it coming back for the panel it is docked to each time you load it. (The whole point of docking it to create that relationship between the display size and position and that particular panel). Please refer to the AdvDisplay documentation which does explain all these things. If you are not using the current version of AdvDisplay, please upgeade first. See the announcement about current supported versions. Regards, Pete
  8. How can the lack of drawing of part of the image be a driver problem? I don't understand? Everything else is working. I've NEVER been able to use the smoothing options in any case. On my Athlon 700 (the one I'm using now), but with the GeForce II Ultra I had on there before, those options cut the graphics frame rate from around 80 down to 10 or so and everything ran very jerky. On the other PC (now disused thanks to the Parhelia) which was an AMD 450 MHz PC using an nVidia MX card, switching those options on consistently caused the PFD display to hang or crash. I tried to sort all this out with Enrico a number of times, but it never got resolved so I ALWAYS ran without smoothing. To me, the new fonts looks horribly thick and too bold with smothing enabled in any case. Without the smoothing some characters are badly formed, but at least everything runs smoothly and is very readable. Regards, Pete
  9. No way. You may be confusing WideFS with WidevieW which is entirely different. You may have missed the entire point of WideFS. It is explicitly designed to link FS applications on a Network to FS running on one PC. This is an alternative to running the applications on the same PC as FS. There is only ever one copy of FS as far as WideFS is concerned. All WideFS is providing is a Network-wide FSUIPC interface for applications. Please read the documentation which explains it all at length. Regards, Pete
  10. Hi again Stuart, RightI reverted my code to the way it used to be before I made it work on XP, and it DOES shut down Windows 98 okay. The problem seems to be that on Win98 the "SHUTDOWN" keyword is needed to power off the PC, whereas on WinXP the POWEROFF keyword is needed. If I use the POWEROFF keyword on Win98, it merely logs off the user (AND, I notice, leaves a WideClient process running in the background!). So much for Microsoft reference documentation! Sorry about that. It'll be fixed in version 5.50 of WideFS which I'll release soon, maybe over this weekend. I've changed the default to TCP/IP and made a few other tidy-up/cosmetic improvements too. Regards, Pete
  11. Okay. I've tried this now. They seem to be interlinked. If I turn on Font Smoothing, Line Smoothing comes on any way. If I turn off Line smoothing, font smoothing turns off too. they act as one option. Other odd things. When I first tried it, the whole right hand part of the PFD (the VSI scale and indications, including vlaues above an below) just disappeared, and the display frame rate sank from 30-34 on each of the three windows to about 11-16. This seems to be solved by going back into the Menu and disabling line Smoothing (not Font smoothing, which menu item seems non-operative -- though they BOTH switch off together). This brings back the missing parts of the PFD. THEN re-enabling font or Line smoothing makes it all work, the whole PFD, and at about 21-26 fps on all three, not too bad. BUT, and here's the catch. If I close them all down and start them all up again with this smoothing on, they come back with the partial PFD display and poorer frame rates. Each time I load up, I have to CTRL M to enable the Menu, switch off, then switch on the smoothing, then CTRL M to turn the menu back off. That is intolerable, so I'll do without smoothing. Seems some attention is needed to this area of PM? I doubt if Enrico will be reading this, he doesn't like Forums, so could you copy him please? Best regards, Pete
  12. But it doesn't do a thing on Win2000 or WinXP. I sent Enrico the code amendment to get it to work on XP. Both his code and mine were once the same. This should mean that WideFS 5.30 or earlier would have shut down your PC -- but that uses the "SHUTDOWN" call, not the "POWER OFF" call, and folks complained that it didn't power off, only went to the place where Windows said "you can now turn your PC off". I'll try reverting the code to the way it was (and, I think, PM still is) and check it on my one remaining Win98 PC. It is VERY confusing! Regards, Pete
  13. Ah .. thanks. Now we're getting somewhere. The other PCs now don't say that it is inaccessible! They then asked for a User Name and Password. I had to go back to the XP Pro PC and re-enable the drive sharing that I'd already enabled before! Why do they bury these options in such obscure and apparently unrelated places? Thanks! It all works (again) now! Pete
  14. Oh, it's a Menu item? I didn't realise that. I'll check. I can't use that PC for PFD at this moment -- having installed WinXP I've just converted from FAT32 to NTFS (using Partition Magic) and now PFD needs a new Key. I'm sending off for one now... Before that I got rid of the jerkiness by setting "UserTimer=On" in all three copies of PFD that I'm running. before, on an nVidia card, and with only the one PFD.EXE running, I found it smoother with "UseTimer=Off", but it looks like the PFD code needs to relinquish the processor via UseTimer in order to allow the other copies of itself to get regular time slots. I had the same problems (or so I thought) on two machines. One is XP Home the other XP Professional (I had to go to Pro because I was using Win2000 pro on it before). I managed to sort the Home one out by copying ALL of the Advanced properties in the TCP/IP section of the Network properties -- I think the stumbling block was probably the "NetBIOS over TCP/IP" option which wasn't selected, but it might have been one of the other things. But I have EXACTLY the same selections on my XP Pro system AND no firewall, yet, whilst that PC can share files on all the other PCs, none of the others can see files on it. They all simply say it is inaccessible. Odd. Something different in XP Professional perhaps? Any ideas please? Regards, Pete
  15. Hi again Stuart, Well, I found a way of ennumerating all the Processes (using ToolHelp), and having found the EXPLORER process, obtaining its Process Handle and using this to Terminate it before trying to shut down forcibly, and ... ... it made no difference! So much for Microsoft knowing their own programming! Sorry, I can't find any way at all of actually shutting down a Win98/Me system from a program. If any other readers know how to do this, please let me know. Meanwhile I'm afraid I'll just have to change the WideFS documentation to say that the shut down option can only be used to shut down the PC on Win2K or XP. Regards, Pete
  16. Go to the Flight Simulator Options-Controls-Assignments and simply reassign the axis to the spoiler -- you'll find it near the end of the Joystick Axes list. FSUIPC cannot see the spoilers axis changing because it isn't assigned by default. Once you've assigned it then FSUIPC should be able to see it. FSUIPC does NOT read any joysticks itself, it is only manipulating controls inside FS. Regards, Pete
  17. The second comment simply means that it is by-passing NT/2K/XP-only code which I found I had to add to make it work at all on those operating systems. That code isn't even valid on win98. All the shutdown code is doing, and this is immediately after the message above, is calling ExitWindowsEx(EWX_POWEROFF, 0); According to the Microsoft MSDN reference this does the following: "EWX_POWEROFF Shuts down the system and turns off the power. The system must support the power-off feature. Windows NT/2000: The calling process must have the SE_SHUTDOWN_NAME privilege." HOWEVER, I have just found another note in the same source, one I'd not seen before: "Windows 95/98: Because of the design of the shell, calling ExitWindowsEx with EWX_FORCE fails to completely log off the user (the system terminates the applications and displays the Enter Windows Password dialog box, however, the user's desktop remains.) To log off the user forcibly, terminate the Explorer process before calling ExitWindowsEx with EWX_LOGOFF and EWX_FORCE." Now I'd not noticed this before because I am not using "EWX_FORCE" -- it warns me specifically NOT to use this by the statement "This can cause the applications to lose data. Therefore, you should only use this flag in an emergency." So, I'm in a bit of a quandary. Seems I need to somehow terminate the Explorer processI'm not sure how to do that. I'll see if I can fit time in to experiment. Regards, Pete
  18. Can you tell me how to do that? The parameters in the PFD.INI totally confuse me I'm afraid. These are the only relevant ones I can find. What should I do with them? Quality=Lo PolySmooth=Off SmoothLineWidth=1 PolyDither=Off BitmapSmooth=Off FontFactor=1 NavFontFactor=1 FontQuality=0 What's the best things to set here? Bear in mind I am running this on an Athlon 700MHz. Three copies of PFD.EXE are running simultaneously, each with a graphics frame rate of 33. WideClient tends to keep to the FS frame rate with no problem, but I am getting some jerky behaviour on ONE of the PFD displays at a time -- I think there are problems with them all trying to get WideClient's attention at the same time. I'm working on optimising just the WideClient timeslicing at present, I'm sure I can sort it with some small timing changes. The service from WideServer is not at all jerky and only one of three PFD instances act jerkily at a time. Whilst I have your attention, could you help with another matter entirely, please? In order to run the Parhelia I have had to upgrade from Win98SE to WinXP Home -- Matrox don't provide Parhelia drivers for Win98. But now I cannot access files/folders on that PC on my Network. I don't understand what is going on. I've been through all the File Sharing stuff on it. I thought XP would operate the LAN okay -- the other two copies of XP I have running are fine and I cannot see any difference in any of the settings. It took me all day yesterday and I got no where. WideFs is okay, it's just the file sharing. Thanks, Pete
  19. Sorry, there is no setting nor facility in FSUIPC to lie about your position to anything. FSUIPC does not touch, interfere with or otherwise mutilate positional information. It only provides a window to where FS deposits it. It sounds like something is going wrong on the Squawkbox or Multiplayer side of things -- in fact doesn't SB deliver MP data through the Internet, not data read from FSUIPC? Multiplayer is nothing to do with FSUIPC and vice versa. Maybe in transferring things over you got Squawkbox using an older MP protocol (I believe it changed in FS2002?). Regards, Pete
  20. They're respectable enough -- not as fast as the nVidia Ti 4600 I was using before, but then with that I only had a resolution of 1280 x 1024. P4 2.4GHz with 512Mb memory. I've just acquired a 256Mb version, which I've used to replace the 128Mb version, and it is now driving 3 18" TFTs. I'm preparing for FS9 which will support the 3840 x 1024 resolution I can now handle! I've moved the older 128Mb Parhelia to another PC where it is driving the three small 15" TFTs, with separate Project Magenta instrument panels on each. This is possible with the Parhelia -- it is the first consumer card to support multiple accelerated OpenGL windows. By doing this I've freed up two old delapidated PCs which were helping (poorly) with the PM instruments. Yes, you could say I'm happy with the card. One day soon I shall be happy with the drivers too! Regards, Pete
  21. You've got some really weird serious problem there. I've never seen Winsock respond like that. Maybe you have a corrupted copy of WideFS? If not I can only suggest going into the Device Manager, deleting your Network Adapter cards, and letting Windows re-install everything from scratch. There really isn't anything in WideFS to go wrong. It is simple code, copied direct from Microsoft examples, and has been working now for nearly 6 years. In all that time I have never once seen this error response. Sorry I cannot be of much help. I really don't know that much about Networks, so I always re-install when I get a problem, and if that doesn't work I go get a new Network card. Regards, Pete
  22. I've not programmed any support for a PIC757. In fact I didn't even know there was one. Can you clarify? If you check my documentation, and the labelling on thebuttons in the PFC options, it all deals only with the PIC767. If you really mean the Wilco PIC767, then I would have difficulty now checking this again as I don't have it installed. Ever since the developers were very rude and refused to add programming facilities for external hardware I de-installed the panel altogether. I only re-installed it the once to hack into their 1.3 modifications to provide better A/P control. Are you saying that the 767PIC has two different heading bugs and that they can sometimes disagree with each other? Are you running Project Magenta at the same time as 767PIC? If so then PM takes precedence. I cannot control both at the same time. You need to modify 767PIC to allow PM's A/P to take over. Be aware that if you terminated PM's MCP "untidily" (for instance, if it was running on a WideClient and you terminated the client program first) then PFC.DLL will still think the PM A/P is running -- the flags telling it so won't have been cleared. [Later] I've re-installed the 767PIC cockpit to re-test, and, provided the APS.DLL is in the Modules folder, and PM is not running, the A/P controls on the PFC equipment work fine. It sounds like you have a bad installation of the 1.3 767PIC. The APS.DLL I am using is dated 20th July 2002 and is Version 1.2.4.0 according to its right-click version info. Try re-installing as I just did. Regards, Pete
  23. Okayin that case they know how to display windows on top of a full screen FS. Others can find out too. (Can they let me know how when they do, please?) But FS9maybe that's another matter. I wonder what they will do then? Regards, Pete
  24. I think you'd find the FSInterrogate display MUCH more useful and informative if you loaded the FSUIPC.FSI file I provide with it, in the SDK. This has all of the values in the tables in the Programmers Guide pre-defined so that the display becomes much more meaningful. Is is VERY disheartening to see you ignoring all this work!! Please go and do all that research again using the proper definition files provided, then come back if you still don't understand. The OMI values are used in many cockpit situations perfectly. I have them here both on the PFC avionics and on the flightLink KR-1. There is no problem with them. PLEASE go find the FSUIPC.FSI file supplied specifically for use with FSInterrogate, load it up and look again. NEVER EVER try to interpret a 16 bit value as 32-bit or Float64. you are only confusing yourself more and more! Pete
  25. I have no idea what is going on there. Certainly there is no wind change which will be synchronised with your banking. It sounds like something is seriously wrong with the aircraft modelling, but I am not an expert in that area. I've never heard of this phenomenon occurring anywhere else -- maybe others can chime in and help here. Regards, Pete
×
×
  • 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.