Soundman1
Members-
Posts
24 -
Joined
-
Last visited
Profile Information
-
Gender
Not Telling
-
Location
USA
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Soundman1's Achievements
-
Hi John, Thanks for that update. So far, with the spoof lua(s) and tweaking of RCv4 I've been able to complete flights without issue. So, I'll use it until something better comes along. Thank you for your help on this and I'll keep monitoring the thread if you find something. Jim
-
The next thing I'm going to try is another FSUIOC reads log file and also a log file from RCv4.
-
Hi John. Quote: I don't think you will need to spoof everything that RC is reading, only what is necessary. For example, probably not necessary to spoof cloud info (and this is not available anyway!). If the main issue is with the altitude, then this is what needs to be read correctly. You can also just spoof them with dummy values for now - they don't have to be accurate for the time being. Yeah, that's what I'm doing with fairly good success. I don't need to spoof 0570 or 0574 as they seem to be reading correctly and RC seems to only be off by 1000 feet now. I have been able to spoof QNH into CC28 - from 0EC6 Ambient Temp - into CC3A - from 0E8C Visibility - into CC30 from 0E8A Wind Direction - into CD02 from 0E92 Wind Speed - into CCFE from 0E90 I can confirm this works because the ATIS readback in RC is being populated with these values. And FS Interrogator confirms it as well. Other values like precipitation, overcast, dew point and such I'm not sure where to grab those. I ran the test /log without any luas running so the writes 515782 WRITE0[12264] CC10, 8 bytes: 00 00 00 20 B8 F8 40 40 ... ..@@ 515782 WRITE0[12264] CC18, 8 bytes: 00 00 00 C0 29 9A 5D C0 ....).]. 515782 WRITE0[12264] CC08, 4 bytes: 20 20 20 20 515782 WRITE0[12264] CC04, 2 bytes: 5B 6F [o Are being done by RC. According to FS - Interrogate CC10 Weather read Latitude - CC18 Weather read Longitude - CC08 ICAO for weather reading (FS2004) CC04 Signature for weather reading (FS2004) - With Instructions: Write the signature last, just before the FSUIPC_Process, after setting one of: ICAO = Id of a valid FS Wx station, or ICAO = 'GLOB' for global weather, or ICAO = 4 spaces plue Lat/Lon If your signature is accepted the weather will be available a short time after, after a timestamp change. Read the whole lot including the ICAO/Lat/Lon, and check the ICAO or Lat/Lon to see if it is yours. If not try again a while later (100-500 mSecs at least -- best to vary it).
-
Hi again. An addendum to this. This is what I believe RCV4 wants to read for the Metar response in the program. I was able to spoof some of these with other info. RCV4 Wants to read ------------------------------------------------- Can we spoof from? --------------------------------- READ0[12760] CC10, 8 bytes: 00 00 00 00 00 00 00 00 - Weather Lat - 065C - Nearest Airport Lat? READ0[12760] CC18, 8 bytes: 00 00 00 00 00 00 00 00 - Weather Lon - 0660 - Nearest Airport Lon? READ0[12760] CC28, 2 bytes: 2D 3F - QNH - 0EC6 - I can spoof QNH correctly READ0[12760] CEA2, 2 bytes: 00 00 - Cloud Lower alt [3] - ? READ0[12760] CEA6, 1 bytes: 00 - Cloud Coverage [3] - ? READ0[12760] CE82, 2 bytes: 00 00 - Cloud Lower alt [1] - ? READ0[12760] CE86, 1 bytes: 00 - Cloud Coverage [1] - ? READ0[12760] CE92, 2 bytes: 00 00 - Cloud Lower alt [2] - ? READ0[12760] CE96, 1 bytes: 00 - Cloud Coverage [2] - ? READ0[12760] CC3E, 2 bytes: 00 00 - Dewpoint - 04C8 - DEW POINT? READ0[12760] CE8D, 1 bytes: 00 - Precipitation Rate - 2E00 - PRECIP RATE? READ0[12760] CE8C, 1 bytes: 00 - Precipitation Type - 04CC - PRECIP TYPE? READ0[12760] CC3A, 2 bytes: 00 00 - Temp Daytime - 0E8C - TEMP I can spoof READ0[12760] CC30, 2 bytes: 00 00 - Visibility Range - 0E8A - Visibility I can spoof READ0[12760] CD02, 2 bytes: 00 00 - Wind Direction - 0E92 - Wind Direction I can spoof READ0[12760] CD00, 2 bytes: 00 00 - Wind Gust Differential - ? READ0[12760] CCFE, 2 bytes: 00 00 - Wind Speed - 0E90 - WINDS SPEED I can spoof
-
Hi John, Here's two logs one of the IPC_Writes. I think mainly it is writing to the RCv4 MENU facility in FSUIPC. The Reads log I had to cut down because a flight from LAX to LAS generated a 2gig log. Mainly 0560 and 0568 Which are lat and lon being read about 100 times a millisecond. I do think all the necessary info is there, however. Let me know if you think this is missing anything important. The one thing interesting I noticed is that it is reading 0574 and sometimes 0570. It was still off by about 5000 feet. When the controller passed off to another the pilot would respond with "with you at 24k" when they were only at 19k. Thanks! Jim RCv4_IPC Write LOG.txt RCv4_IPC READS.txt
-
Will do!
-
You're correct. According to FS Interrogate, this value is being read correctly. I originally stated the 0570 and 31E4 disagree but this is not correct on a recent flight they do indeed agree and display the correct altitude. Thanks so much for your help on this. I understand can't be done.
-
Yes! It works about 90%. The only frustrating part is getting RC to read my altitude correctly. I have to set the deviation in RC to 10000 so it doesn't admonish me. I use Show Text to display the messages from RCv4. That works great as well. For airport info I believe RC is looking for the metar info usually supplied by 0XC000. (I don't have my p3dv5 installed so I can't confirm this.) ATIS info in RC comes out as all zeros and clear skies. My thought was to take metar info supplied by Active Sky and populate it into FSUIPC for RC to read. If it's even possible. Since I'm kindergarten level coder, I have no idea how to code that in LUA. But maybe I'm looking at it wrong and I should try to find a way to take 0x0570 and send it to 0X31E4? Which, according to FS-Interrogate, disagree. Is it possible to take a 64bit offset and send it to a 32bit offset?
-
Soundman1 started following FSUIPC 7 and Active Sky MSFS
-
Hi John, Thanks for looking into this and apologies for taking a long time to respond. I am guessing the GetMetarInfoAt would be necessary. The reason I'm curious about this is for Radar Contact. I know it's an old program but have to say even with the latest ATC offerings in MSFS (Beyond ATC / Say Intentions) RC is still superior in its flight handling and traffic interaction. The problems are: It doesn't know the METAR at your Departure or Arrival airport. It doesn't read the pressure correctly at your location. Thus, thinks you are 5k to 10k below your assigned altitude. I've been trying to spoof the pressure into FSUIPC 7 using your example. But it still reads the altitude wrong. And using FS interrogate doesn't show me why it's reading it wrong as all altitude variables appear to read the altitude correctly. Thanks again for your help on this. my lua script. local spoofOffset = 0xC028 -- Current Pressure (2 bytes) -- Loop forever while true do -- Get value of Altimeter Setting Altimeter = ipc.readSW(0x0EC6) -- and write it via 0024 as overrides to those being read ipc.writeStruct(0x0024, "1UW", spoofOffset, "1UW", 2, "1SW", Altimeter) -- Sleep for 100 mSecs so the update gets done roughly 10 times per second ipc.sleep(100) end
-
Thanks so much!
-
Is there any chance that FSUIPC can get weather/ATIS info from the new MSFS Active Sky?
-
Refresh LUA List in FSUIPC
Soundman1 replied to Soundman1's topic in FSUIPC Support Pete Dowson Modules
Yes, that's it. Thank you so much. ☺️ -
Sorry if this has been asked before, I did try a search. I was wondering if there is a way to refresh the list LUA list FSUIPC uses when you assign a keystroke or button? I use P3V4.4 and write LUA scripts "on the fly" so to speak while I'm testing them in the sim. I do use one that is named "test" but after I test the script and save it with a proper name, I have to restart the sim in order to assign a button or keystroke to it. Thanks
-
Works perfectly. I tested it with VLC, Windows Media player, and Quick time. Thank you so much!! pete > awesomeness To answer WB_Flashover I converted my .vbs scripts into .EXE files with iexpress 2.0 and they work very well. EDIT: Also, I might point out ( and this may be a moot point to the coders ) If your directory is like mine L:Prepar3D v4, .bat files don't like the spaces. I found that I had to put quotes "Prepar3D v4" around any folder or file with spaces. As an example: (I'm a sound guy) I made custom voices for FS DREAMTEAM'S GSX. But, I hated to have the same voice from departure to arrival. So, I made a lua script and .bat file to switch the voices when GSX finishes the pushback. Here's the .bat file that runs to make the switch. (Sarah is the name of the ground op) rmdir /s /q L:\"Prepar3D v4"\"Addon Manager"\couatl\GSX\sounds\pushback xcopy /E /I L:\"Prepar3D v4"\"Addon Manager"\couatl\GSX\sounds\sarah L:\"Prepar3D v4"\"Addon Manager"\couatl\GSX\sounds\pushback This runs hidden with a .EXE file I converted from a .vbs file Notice the quotes I had to put around L:\"Prepar3D v4"\"Addon Manager"\
-
Just to be sure I downloaded the 64bit version of VLC player and associated the files to it, but still no luck. The other programs I tried were Windows Media Player and Quicktime.