• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Search results

  1. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    Start VS with no projects loaded. Go to File ->Open->Website ->Filesystem. From there just pick the root file folder that has your html, and js in it. You do not have to configure IIS. It should just come up showing you the folder contents. Right click an html file and select "set as start...
  2. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    The community folder IS the hook. If your replaced files follow the exact folder path starting from html_ui, it will run your code. You can even override the core .js files. What do you mean by L:SimVars? Have you done any XML gauges?
  3. MoMadenU

    MSFS Reading a setting in aircraft.cfg file from within JS

    If only they had forked the Prepa3d code base and not FSX code base things would have gone better for everyone. Either they couldn't do it contractually or they were too embarrassed or both
  4. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    Here is a sneak peek at my progress after many hours of sifting and rewiring the html_ui code tree. This is the AS1000 PFD "running" from an entirely isolated code base outside of the game. My end goal is to add the bezel and get it working as a true 2D gauge when running in its own window
  5. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    Not a stupid question at all. Actually try attaching to the MSFS .exe from VS and see what happens.
  6. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    Information about the Coherent GT JS Engine is HERE Essentially it's the glue code between the JS in the gauges and the C++ in the game. The code you are showing there is communicating with Sim Connect. The Simvars.exe sample app in the SDK will explain what all the commands are. The thing is...
  7. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    dga711 made it even easier. HERE is the code to embed a debug window in your gauge
  8. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    I dusted off the 'ole Spy++ to see what a an undocked window was and the answer is not much. Either docked or undocked they appear to be just a BitBlt of the Coherent engine DOM running the gauge. You could hook them using SetWindowsHookEx through the Flight Sim proc ID. That would get...
  9. MoMadenU

    MSFS SkyVector Moving Map add-on

    Released !! https://github.com/MoMadenU/msfs2020-skyvector
  10. MoMadenU

    MSFS SkyVector Moving Map add-on

    CORS response header on web service only accepts requests from SkyVector.com. Browser must be running on same machine as Web Service. I added a Firewall Input Rule to only accept local requests on the specific port I will add a warning to make sure the port chosen is not open on user's router
  11. MoMadenU

    MSFS SkyVector Moving Map add-on

    Default Port is 8001. It uses a simple GET to obtain position
  12. MoMadenU

    MSFS SkyVector Moving Map add-on

    This is an add-on that is in beta right now. I don't have a release date yet as there are some details I still need to work out. The preview video is Here Like other moving maps it has 2 parts. A web service running outside the browser, and in this case a Chrome extension running in the...
  13. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    I'm working on the ability to work on live gauges without building a package, but right now here is a tool that allows you to refresh your community package without restarting the game.
  14. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    I am working on the ability to develop gauges in the browser but attached to the sim. Say you are building a new aircraft and there is more than one person on the team. The model person and the gauge person. Wouldn't it be nice if the gauge person could develop the gauges in the browser while...
  15. MoMadenU

    MSFS Getting Started With FS2020 HTML Gauges

    It's a longshot, but did you try moving everything under [VCockpit03] to [VCockpit01] ? The panel is not a flat sheet you can attach to. Every aircraft has the gauge layout baked into it. The reason PFD and MFD switching works is because they are both the same size and layout.
  16. MoMadenU

    MSFS MSFS 2020 SDK for Gauge Developers

    Ahh so I guess the individual file sizes in the layout.json aren't strictly checked. I found a python script here that dga77 created that can generate the proper json files from your source root folder.
  17. MoMadenU

    MSFS MSFS 2020 SDK for Gauge Developers

    I can't find any examples of the 2 xml files you need to build packages for html gauges. The project xml, and the one in PackageDefinitions. Can you please give me examples of those along with the file structure you build with? Thanks.
  18. MoMadenU

    How should I fault trace?

    The debug console may offer some help. It spews so many errors though it's a wonder the sim runs at all :)
  19. MoMadenU

    MSFS SDK Example to control a plane?

    Try SDK\Samples\SimvarWatcher. It has every Sim Connect variable in the dropdown. You can get/set any variable, but it may not be supported yet (or ever) for setting or getting. You can load/save a set of vars you want to inspect. I'm finding it extremely useful.
  20. MoMadenU

    MSFS MSFS 2020 SDK for Gauge Developers

    I just posted a tutorial on the setup needed to get started with HTML gauge making https://www.fsdeveloper.com/forum/threads/getting-started-with-fs2020-html-gauges.449513/
Top