Enabler Posted January 28, 2023 Posted January 28, 2023 Since the new OB update, my RWR is no longer being exported to my custom built RWR screen. The attached photo shows it functioning the day before the update. Now, it is just dark afterward. All the screen configurations are correct. I suspect that with the upgrade to the RWR in the sim, the name of the viewport may have changed and is no longer "F_16C_RWR". Is this the case? If so is there are new name for the viewport? Thanks. 1 GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
Falconeer Posted January 28, 2023 Posted January 28, 2023 Than change the name in your monitor file so it matches the one in the RWR.ini file or vica versa Planes: Choppers: Maps: Flaming Cliffs 3 Black Shark 2 Syria A-10C Tank killer 2 Black Shark 3 Persian Gulf F/A18C Hornet AH-64 Apache Mariana's F-16C Viper Afghanistan F-15E Strike Eagle Kola Peninsula Mirage 2000C AJS-37 Viggen JF-17 Thunder F-14 Tomcat F-4E Phantom
Enabler Posted January 28, 2023 Author Posted January 28, 2023 Here is the problem and the solution. I found it after hours of snooping and I know little to nothing about coding. It turns out my gut feeling was correct. I learned how to find the viewport export codes. Then I compared the old file from my desktop (wasn't updated yet) to the new file in my pit which was updated. There was indeed a piece of code missing in the file "RWR_ALR56_init.lua" file. The following is missing, and when added back, the viewport works once again. dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("F_16C_RWR", "RWR") GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
Trigati Posted January 28, 2023 Posted January 28, 2023 And that file will get replaced (set back to standard) every time you update.Sent from my iPhone using Tapatalk
Enabler Posted January 28, 2023 Author Posted January 28, 2023 (edited) It looks like something that was accidentally deleted during the update and hopefully this post will be read by the devs and added back in on their end. Other viewports (MFDs for example) still contain their export data so I will assume it was an error during the RWR update just released. Edited January 28, 2023 by Enabler GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
Bunny Clark Posted January 28, 2023 Posted January 28, 2023 53 minutes ago, Enabler said: It looks like something that was accidentally deleted during the update and hopefully this post will be read by the devs and added back in on their end. Other viewports (MFDs for example) still contain their export data so I will assume it was an error during the RWR update just released. That's not the case. That bit of code does not exist on the dev's end, you must have added it yourself. The MFDs both have default export names, while the RWR does not. RWR_ALR56_init.lua not having any of the viewport handling code is it's normal unmodified state, and the DCS updater flagged it as an unexpected change and moved it to a "backup" folder inside your DCS install directory. This will happen to this file every time you update DCS. You must have at some point made the change yourself or copied a new file over the old one. Using a mod manager like OVGME is a good way around this, or you can simply manually copy the file out of the backup folder every time you update. 1 Oil In The Water Hornet Campaign. Bunny's: Form-Fillable Controller Layout PDFs | HOTAS Kneeboards | Checklist Kneeboards
Recommended Posts