-
Posts
38,265 -
Joined
-
Days Won
170
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Pete Dowson
-
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
Okay. Thanks! Pete -
Binding lights to FSLABS A320
Pete Dowson replied to Chilionastick's topic in FSUIPC Support Pete Dowson Modules
If there are no controls added for them, and it ignores the normal P3D light controls for some reason, you could always try mouse macros. Please refer to the details about these in the documentation. Pete -
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
Aha. So it is another internal variable like L:vars. But in your GPS ID case there wouldn't be a Key Event, whereas for A:GPS DRIVES NAV1 there's the SimConnect variable "GPS DRIVES NAV1". With the names being identical in that case I'd have thought the A: variables were more associated with SimVars than Key events? The same should apply to your A:GPS WP NEXT ID which has the identical name to the SimVar "GPS WP NEXT ID". I expect only the makers of the GTN750 add-on will be able to clarify why that A: value visible for their add-on via SimConnect. Pete -
The currently supported version is 5.11, not 4.91 What are the "other messages"? What does the log ("runways.txt") show? You can't really expect much help with such little information. Also, make sure you run it with elevated privileges (run... as administrator). [LATER] John pointed out that your "MRv5.11" was intended to mean "MakeRunways 5.11". But you posted in a thread entitled "MakeRunways 4.91" which is what I went by. However, I still need more information to help. "other mssages" tells me nothing. And I also need to see at least the first few lines of "Runways.txt". Pete
-
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
Yes. Seems that the GTN750 software is using that variable internally and not setting it into the correct SimVar. Are the other variables all A: types? I know K: is used for Key Events (== FSUIPC 'controls') and H: isfor HTML, but what does A: stand for? I'm not familiar with the Gauge SDK at all. Whatever, I think you need to ask the GTN750 producers why that value isn't known to SimConnect. Yes, though I would check it by: if string.byte(str_val) == 0 because the documentation for string.len(str_val) says it counts 'embedded zeros' too. I assume string.len works for you because the first an only character is zero, so it isn't truly "embedded", but to be it isn't a definite what of saying this. Pete -
While browsing the manual is a good idea to get a feel of what is provided, you should really to think of FSUIPC as a box of tools. You only need to study the details for things you find a need to do. Then use the contents lists to see where in the manual to look. Pete
-
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
Where are you seeing that? "" is a null string, meaning it consists only of a zero. "" is just the way of writing it as a string in a programming language like Lua. It is might be that SimConnect supplied a "" (i.e. just a zero), or that it just didn't supply anything for that value because it hasn't changed. Offsets which haven't received values are zero. We could tell which is the case if you Monitored the offset (60A4) as a string (ASCIIZ), as I suggested. Seems you've not done that yet? Possibly. You'd need to talk to the producers of that addon. Pete -
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
The reason is that the null string ("") is used to clear the 'green bar' display prematurely. It mean there is nothing to display. The facility being used in FS cannot display a "nothing green bar" -- what would be the point? If you want it to display the null waypoint you need to put it into some context, like "Next waypoint = ..." Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Blimey! I think I'll print this out in case my PC ever gets infected! Thanks, Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Excellent! What method of scanning and cleaning did you use? Good flying! Pete -
GPS String ID of Next Waypoint
Pete Dowson replied to ark1320's topic in FSUIPC Support Pete Dowson Modules
Not an unprintable, it'll just be a null string (i.e. one consisting only of the terminating zero, represented by "" in code). All of the GPS data is treated exactly the same, simply reading the values via the Sim Var ("GPS WP NEXT ID" in this case). There's no separate code paths for any of them, it is simply a table listing the variables requested from SimConnect (only to be supplied on change), and the offset into which they are to be placed. Haven't you tried Monitoring the offset to see if it ever changes? When one associated with a SimVar is monitored in this way, FSUIPC also lists the SimVar name and raw value received, when anything is received. I can check here, see what I get, if you tell me exactly what you are doing. Which default aircraft? Perhaps it would be quicker if you attach a flight file saved at the time you are checking this, and also the the plan file. But please with a default aircraft -- I have no addon aircraft on my test system. Pete -
Separated sound with FSUIPC
Pete Dowson replied to BABA767's topic in FSUIPC Support Pete Dowson Modules
It would be better if 2 and 3 were integrated internally, and without using the file system. I expect the Windows sound system can play sounds from a wave stored in memory. I've a feeling the process would be rather slow using Lua plug-ins and external files -- the whole idea really needs a separate application. Maybe it's time to learn som C++ or C# programming? I would have thought this sort of thing would have already been done if there were any demand. Or is your setup unique? And having to have separate sound cards then a mixer just sounds wrong (or peculiar) to me. Since you are already talking about selecting the sound card in Lua, why not only select the one sound card for the appropriate speaker(s), and thereby save having multiple sound cards and the mixer? I think I've just about exhausted any help or advice I can give on this subject. Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
A quick search with Google gives me: https://www.virusresearch.org/tjprojmain-exe-coinminer-virus-removal/ https://greatis.com/appdata/d/t/tjprojmain.exe.htm The first one looks possibly useful? Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Sorry, I really can't advise. I don't know how these infections work and how far they go. Maybe there's some program to check for you? Worth a search. All I know is that I'd be rather worried, but maybe you can get advice elsewhere? Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
It’s worth a try, but I would be very worried about that infection! Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
I searched on the web for TjProjMain, and it seems it is a Trojan virus — designed to steal you pc’s resources. Seems your PC has been infected! I strongly suggest you search as I just did and follow recommendations to remove it. This may involve a reformat and reinstall of Windows, Don’t you have a good backup? I can’t really help further. Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
TjProjMain is the original name, so that should point you in the right direction for the culprit addon. Project1 is the product name. Another clue! In other words that file is certainly NOT FSX! One of the other EXE files must surely be the real one? If not in that folder, maybe that addon has moved it someplace. FSUIPC cannot work without the correct FSX. Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Seems add-on has replaced those as wel. I have FS9.exe , FS2000.exe and FS2002.exe in that folder, and they all show 10.0.62615.0 which is the same as the FSX.EXE (sorry, the version number I quoted earlier was from a backup folder I selected by mistake). My real FSX.EXE is actually 2.61 Mb in size. The others (FS9, FS2000 and FS2002) are just 102 kb, and are there only for compatibility with older programs, and not true FSX files -- they probably just load the real one. Look for other EXE's which are not named FS... And I think you need to show me the properties tab for the FSX.EXE -- just as I showed you one of mine! It is looking more and more like you will just have to bite the bullet and reinstall. (Unless you have a backup, by any chance? You should always consider doing that after any major changes). Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
It depends what they modify. Scenery should be okay, theoretically. Just try. If you find an add-on doesn't work any more, just reinstall that one. but watch out for whatever is replacing your FSX.EXE. Did you look in the FSX.EXE folder and check what I suggested? Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
If you can find out what has changed your installation maybe you can fix it. The most likely thing is an add-on what has renamed the real FSX.EXE and gets its own imposter FSX.EXE loaded first to do something, and which then loads the real one. What does its Properties display show? is it identical t the one I showed except for the bad version number? Surely there's a clue there in one of the tabs. Look in the folder where that FSX.EXE resides. Check the size -- mine if 2,681 kb, but this varied a little from version to version. Your imposter is probably very different, so look at the other programs with .EXE in that same folder. One of those might be the renamed original. If you see a possible candidate, look at its properties. One of them may be the correct one, in which case delete the imposter and rename the real one back to FSX.EXE. And check all your addons to find the one doing this disastrous thing. I still think it would be better to reinstall, as you don't know what other damage has been done. If you do this, install any add-ons afterwards one at a time until you discover which one is changing or replacing the FSX.EXE file. And don't forget, when you get to FSUIPC again, to download the current version first! Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Please try not to incorporate your replied within the quotes from my replies! I nearly missed that and was about to reply to ask you why yo missed adding anything. Anyway, if the EXE says it is version 1.0.0.0 then something has overwritten it. What actual version of FSX are you using? This pic shows the earliest version of FSX I still have -- but ALL versions have numbers starting 10 (FSX being the 10th version of FS). That's one of the FSX-SE releases. The original version from Microsoft was 10.0.60905.0, where I think the 60905 was derived from it's release date (6th September 2005). If you don't know what is doing this and can't stop it, I think you'll need to reinstall FSX. FSUIPC has hooks it installs into FSX.EXE which vary from version to version, and as 1.0.0.0 never existed it cannot do anything with it! Pete -
Well, it wouldn't hurt, but it definitely seems no data is being seen with the normal method of reading HID devices employed by the lua facilities. i think you will be reliant on support from FDS. I'd push them on this if I were you. They should be interested in the expanding market created by MSFS. Pete
-
Cant get WingX Pro to connect with FSX
Pete Dowson replied to Indianaflyguy's topic in FSUIPC Support Pete Dowson Modules
Sorry, I don't know WingX, but if it is on an iPad I assume you have to install a server program for it on the PC as FSUIPC has no iPad interface. Check the WingX documentation. Maybe the WingX support can help you? Pete -
Separated sound with FSUIPC
Pete Dowson replied to BABA767's topic in FSUIPC Support Pete Dowson Modules
That may be so, but you'd need to do that for every possible Navaid ID -- probably any combination of 4 (or is it 5?) alphabetic character representations in morse. The idea here is to have just 26 wave files for the morse characters and play them as one temporary wave file. I think it may be too much for a humble Lua plug-in. it really needs an application. There may well be a Windows function in its sound facilities to automatically concatenate waves on the fly (ie whilst playing them) -- maybe send a list of files instead of just one. Pete -
FSUIPC not installing in FSX SE
Pete Dowson replied to hashtag1's topic in FSUIPC Support Pete Dowson Modules
Version 4.949 is very much out of date -- from 2015, 6 years ago! You need to update! (Current version is 4.976). The log even says so: There is also anotther problem, though: How can the FSX.EXE be version 1.0.0.0. There never was such a release. It looks like you have a bad FSX install, or something your've added has replaced the main program. Check for yourself -- right-click on the FSX.EXE and see the Version number in its Properties. Pete