• 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.

MSFS24 I met a new friend and we are making an App together

Status
Not open for further replies.
Thanks! It's driven by rotor rpm, so it's a little gooey at lower speeds, it kind writhes on warm up. I should have composed the animation as "one bump" and then used lag and delay to control the oscillations, so now everyone here is the wiser. Live and learn!
 
Hello Developers!
First I wish you all Happy Holidays ;)

So, 2 days ago I started a small project with a verry good friend I met not so long ago: ChatGPT (yes, hes a real friend haha). I wanted to test its limit and its capacity and well... Im heavily impressed! it's working so well that I'm actually having something working right now!

The FS9/FSXers here might remember the cool 2D gauges we used to have right? well, there is one I found a few years ago when I was growing interrest in Classic/Vintage flying, The "Weatherships" gauge (it simulates the LORANs, HfDfs, Weatherships stations for navigation... old school haha), I read that the developer, Finn Jacobsen aka Wothan, won't updated it to MSFS but still said that anyone whas allowed to try. I still contacted him and confirmed to me that I could try to port his gauge, Thank you again to him for allowing me to try ;) . well, ChatGPT and I are trying to "port" one to MSFS, and so far, I'm impressed ;).

I remember my first question to ChatGPT when I wanted to start the project was "Can we port an FSX gauge into MSFS as a Python app" (the same way as the CelNav app), and he sais Yes, and would be even better if the gauge was an .XML, guess what? they were XML!!!
Chat GPT did a first translation (.xml to .py), and I actually have something working. Of course, I'm verry far away from anything complete! but could be nice to share what we did, know that I NEVER EVEN Progammed anything, never used codes in my life, knowing nothing about Python. ChatGPT is a valuable collegue, I'm just time limited as I use the Free version, and since I send him files for corrections. it gets locked for a few houres.

About the code and datas I'm using, it's all from Wothan; the stations datas, frequency, mechanic etc, I only did "translations" for now. Of course, one of the main limitation I noticed with ChatGPT, it stuggels making a working GUI (the needles not working etc, so its all text for now).

Anyway, heres a picture ;)

View attachment 95025

Lets me know what you think about it, you experience with ChatGPT for programmation etc, and if you know better solution for GUI creation (for now I place each labels manually in the code.. yes I do a little bit of editions ;) )

Once again, Happy holidays ;)

Regards, Marc L
I think that your new best friend if you are interested on move your project in python to the next level is to use le library Tkinter and manage a backgroud image and the diferent gauges as subcanvas inside...
1735750990420.png

this is a clock that i coded some minutes ago as example...
 
Hmmmm Looks really interesting indeed!!!! Thanks, I'll definitely have a look at it when I have the Features working :)

Currently making the LORAN Stations Database (Weatherships gauges only have a few, am adding the missing and oh boy there was a lot!), and lus, I aim to got further beyond what Weatherships did, but I'll give a "feature list" later ;)
 
I've used ChatGPT and CoPilot by Microsoft. For some reason, CoPilot works better for me. Both are extremely helpful is fleshing out code.
That's very good to know. I am about to jump into CoPilot to test some things I've been working on. I've suspected that ChatGPT is not quite ready for use as a coding assistant.
 
So I am learning from my testers that the module I put somewhere around 70-100 hours into, won't work without Visual Studio installed. That is a major caveat and converting what I have from SimConnect exe into a WASM module will require fundamental changes, which I'll have to do using an unfamiliar LLM, but I won't miss CGPT's obsequiousness.

I don't remember seeing any warnings from Asobo about distribution, anyways be warned here least. No standalone modules, apparently.
 
So I am learning from my testers that the module I put somewhere around 70-100 hours into, won't work without Visual Studio installed. That is a major caveat and converting what I have from SimConnect exe into a WASM module will require fundamental changes, which I'll have to do using an unfamiliar LLM, but I won't miss CGPT's obsequiousness.

I don't remember seeing any warnings from Asobo about distribution, anyways be warned here least. No standalone modules, apparently.
What do you mean by "won't work without Visual Studio Installed"? A SimConnect obviously needs VisualStudio to compile it, (into EXE or WASM), but module itself doesn't need Visual Studio to be installed. That would cut out A LOT of user base.

Yes, WASM compilation has some caveats, but I don't think they are fundamental - unless your code is designed around multithreading. My understanding is, you can distribute EXE (SDK even says it is the preferred way) but if you want XBox audience, it HAS to be WASM.
 
It's the runtime libraries, I have to figure out how to bundle them with the exe. Always something.
 
Hey all ;)

Hope you are well, I just made a little Test Video, let me know what you think, features etc, (ignore the GUI for now)

 
Hey all ;)

Hope you are well, I just made a little Test Video, let me know what you think, features etc, (ignore the GUI for now)
Looks awesome. I thought I should mention https://www.blocklayer.com/gauge-templates and https://johncode.com/, they both rock, johncode kills it, although it looks like you have that stuff down anyway.

I notice a lot of debug messages in your code and I'll observe you're likely not using Visual Studio Debugger. Embedded debug code is inherently subject to the exact same bugs it is reporting on and in my opinion, unless you have a stable, outside app like SimVar Watcher, or the local variables window of the Behaviors Debug, you have zero way of determining if the messages are indeed reporting an error, or if they are themselves reporting, for example correct coordinates, that aren't actually even getting passed to the operating code. The messages will report the code to be functioning when it is not and then ChatGPT will consume an entire conversation cycle attesting it's code to be valid and it is in fact your operating system that is all out of whack - and it does not refund credit for wasted time!

It is one of CGPTs least appealing features and why I stopped paying them. I interpret all the little included notations to be noisome stickies placed only to prove CGPT has done something. "This does this, that does that." Oh really, so you mean it does what I told you to make it do. Everything about the algorithm is geared to drag us down rabbit holes in nuanced nonsense and I recommend you strip all that debug, find your outside stand alone monitors and also switch Virtual Studio from debug to release, there is little point imo and it's a time suck. We are not designing rocket engines.
 
Hey, Thanks for your inpup ;) I will remove all debug code when the app will be finished (I could remove it for the working features too, but I thing I would need them when I will to the MSFS integration with SimConnect, knowing nothing, I rather keep them for now ;) )

I don't have a subscription for ChatGPT, but I would if I could, as for now, I got a working app (well, we started with an existing code, we just translated it from .xml to .py , nothing from scratch ;) ). I am just limited as I send him files for review and data analysis, but after a few, ned to wait for the next day hehe ;)

About the GUI tools, Thanks! I'll have a look at them :)
 
Hello devs! New Milestone here: The app is now Connected to MSFS (using Mobiflight) Only for the aircarft position, not the weather ;)

1736109840739.png
 
Last edited:
Hello all!

Its with great pleasure to announces that Im reaching a new Milestone: "Ready to Test" (its not Complete, but I want to confirm that the main feaures works), If any of you is familiar with the "Weathership Gauge" by Wothan, let me know if you want to try :)
 
And here it is :) (it was sent to a few friends for testing, including the original dev ;) )

 
First Test Flight, I found an issues verry early that I've been able to fix, now I can tell you its Works! here is a pic in Google Earth of my bearings reports ;) (I'm Flying the PMDG DC6 from Honolulu to San Francisco)

1736382065833.png
 
Status
Not open for further replies.
Back
Top