July 19, 20205 yr 1 hour ago, n4gix said: More concerning however is the decision to isolate access to the core of the MSFS display engine by requiring the use of WASM* (Web Assembly), thus making high-level C++ "gauges' highly questionable Hi Bill, I thought there were tools for compiling C++ code to WASM, and if so, why would making C++ gauges be an issue? And along those same lines, will XML gauges have to be 'compiled' into WASM, and if so are there any tools for that? Thx, Al
July 19, 20205 yr Moderator 1 minute ago, ark said: Hi Bill, I thought there were tools for compiling C++ code to WASM, and if so, why would making C++ gauges be an issue? And along those same lines, will XML gauges have to be 'compiled' into WASM, and if so are there any tools for that? XML is native in the sim (as is JSON and Lua IIRC). so there's no problems there. However, XML has no read/write support which of course seriously limits what they may accomplish. Dynamic Link Libraries (.dll or .gau) are not allowed at all. All WASM must be compiled into an executable (.exe) which will only run in the VM "sandbox" totally isolated from the sim engine. Beyond those basics, the portion of the SDK that's currently provided to developers simply does not provide enough information. Lots of questions and not enough information available to even guess what the answers might be. But then again, I know my limitations and am not a "gauge guru". I know only enough for the simple things. Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
July 19, 20205 yr 1 minute ago, n4gix said: Dynamic Link Libraries (.dll or .gau) are not allowed at all. All WASM must be compiled into an executable (.exe) which will only run in the VM "sandbox" totally isolated from the sim engine. This may be just a preference nowadays. I know the Aerofly folks have a similar aversion to dll's etc, and the stated reasoning has a lot to do with seeing what several years of random developers doing their own thing did to the speed and stability of FSX/P3D...... We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically. Devons rig Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB / 1x Samsung - 970 EVO Plus 2TB NVMe / 1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
July 19, 20205 yr Moderator 2 minutes ago, HiFlyer said: has a lot to do with seeing what several years of random developers doing their own thing did to the speed and stability of FSX/P3D...... Precisely the reason indeed! I can only hope that they haven't "locked the barn" too tightly though! Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
July 19, 20205 yr 5 minutes ago, n4gix said: Precisely the reason indeed! I can only hope that they haven't "locked the barn" too much though! I've had the suspicion that this is also why so many features that were formerly the pervue of third parties are now native to the sim. Keeping possible bad/slow/sloppy code out of the base. We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically. Devons rig Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB / 1x Samsung - 970 EVO Plus 2TB NVMe / 1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
July 19, 20205 yr 28 minutes ago, n4gix said: However, XML has no read/write support which of course seriously limits what they may accomplish. Bill, Just to make sure I understand, is this any different than currently with P3D? Al
July 19, 20205 yr Moderator 1 minute ago, ark said: Bill, Just to make sure I understand, is this any different than currently with P3D? There is no discernible difference at all. Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
July 19, 20205 yr 3 hours ago, HiFlyer said: I've had the suspicion that this is also why so many features that were formerly the pervue of third parties are now native to the sim. Keeping possible bad/slow/sloppy code out of the base. Yep I applaud that approach, there is to much of that code floating around 😉 André
July 19, 20205 yr Commercial Member no comment Please contact oisin at milviz dot com for forum registration information. Please provide proof of purchase if you want support. Also, include the username you wish to have.
July 19, 20205 yr 6 hours ago, n4gix said: More concerning however is the decision to isolate access to the core of the MSFS display engine by requiring the use of WASM* (Web Assembly), thus making high-level C++ "gauges' highly questionable. It may take many months to investigate and possibly discover suitable workarounds. WebAssembly is specified to be run in a safe, sandboxed execution environment. I don't have a clue as to what this means except I am real glad I did not start removing all those old trash Sims Like P3D with DX-12. LOL!! Sam Prepar3D V5.3/[email protected]/EVGA 3080 TI/1000W PSU/Windows 10/40" 4K Samsung@3840x2160/ASP3D/ASCA/ORBX/ ChasePlane/General Aviation/Honeycomb Alpha+Bravo/MFG Rudder Pedals/
July 19, 20205 yr 6 hours ago, Chapstick said: They posted a beta for the V5 version in their user forum, FYI. The port to V5 will be free. Thanks very much. With summer finally here and enjoying every day of it I've been spending more time outside mainly on the motorcycle. I will go look for it. That was the final aircraft i was waiting for before removing 4.5.....disk space is getting a little tight. Dave
July 20, 20205 yr 2 hours ago, Rob_Ainscough said: Indeed! ... ye old “bad code” ... too funny. Guilty as charged if the crime is not being interested in the nomenclature for bugs, inefficiencies or whatever. When working with Orbx as a tester, the Cityscene products were released, and immediately ran into a problem of huge loading times that to many manifested as an apparent freeze at 6% loading. There were tons of posts about it and no ready solution. I was curious, and ran process monitor to step through what P3D was doing while the apparent freeze was occurring. To my surprise, it was opening and closing zillions of files completely unrelated to the scenery in question, and it was taking forever. In fact it seemed to be opening the exact same files again and again, scanning them repeatedly. I fiddled with this for awhile, watching the process a few different ways for a few days, and then informed orbx what I was seeing. They asked what I was using to see this, and I gave them a link for process monitor and instructions for what I was doing. They also wanted the logs I had made, but they were too huge, several gigabytes of P3D mindlessly open and closing files. Orbx techs and developers took a while to confirm all that, and track down and exactly what was going on, and then report the problem to LM, who began working on a fix. A thread was made describing the findings, but it seems to be gone now, and this is all that I could find: https://orbxsystems.com/forum/topic/166920-cityscene-orlando-performance-tweaking-faq/?tab=comments#comment-1467513 Was it a bug? Was it simply inefficiency? Was it bad code? Mentally, I went with the latter and put it out of my mind, being a lot more interested in getting it fixed, than I was in precisely what it was called. Over the years, I've bumped into several programs interfering with each other in ways that seemed to cause issues within the sim. What were the precise problems? Don't know, didn't really care either. Removing the addons in question solved the issue. Again, what the issue was called precisely was and is not a biggie to me. Nowadays my Xplane installation is extremely lean. (P3D is deleted) Too many bad experiences spending valuable time tracking down issues with addons. If MSFS blocking off its core can ameliorate that sort of thing happening, then I'll jump ship in a heartbeat and not look back. I suspect I'm not alone. We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically. Devons rig Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB / 1x Samsung - 970 EVO Plus 2TB NVMe / 1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
July 20, 20205 yr Author 5 hours ago, HiFlyer said: If MSFS blocking off its core can ameliorate that sort of thing happening, then I'll jump ship in a heartbeat and not look back. I suspect I'm not alone. I understand your point but there is a balance to find between totally sanitizing an environment and let creativity running wild. Life is messy. Edited July 20, 20205 yr by Dominique_K Dominique Simming since 1981 - [email protected] GHz with 16 GB of RAM and a 1080 with 8 GB VRAM running a 27" @ 2560*1440 - Windows 10 - Warthog HOTAS - MFG pedals - MSFS Standard version with Steam
July 20, 20205 yr 7 hours ago, HiFlyer said: Guilty as charged if the crime is not being interested in the nomenclature for bugs, inefficiencies or whatever. There's nothing wrong with calling it "bad code." I remember hearing the phrase in the Pentagon in 1976 from a guy who had been a programmer for many, many years, predating COBOL. "Hm, sounds like we've got some bad code in there." Hook Larry Hookins Oh! I have slipped the surly bonds of EarthAnd danced the skies on laughter-silvered wings;
July 20, 20205 yr Author 59 minutes ago, LHookins said: I remember hearing the phrase in the Pentagon in 1976 from a guy who had been a programmer for many, many years, predating COBOL. "Hm, sounds like we've got some bad code in there." Hook Was he looking in the CRM 114 Discriminator ? Dominique Simming since 1981 - [email protected] GHz with 16 GB of RAM and a 1080 with 8 GB VRAM running a 27" @ 2560*1440 - Windows 10 - Warthog HOTAS - MFG pedals - MSFS Standard version with Steam
Archived
This topic is now archived and is closed to further replies.