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

    P3D v4 SimConnect: Loading into default scenario via code.

    Hi sorry for the late response but i have been busy IRL. Unfortunately this returns "Prepar3D cannot run because it could not write Prepar3D.cfg" when trying to load a different .cfg file using the command above.
  2. sniperfull

    P3D v4 SimConnect: Loading into default scenario via code.

    Thank you that does seem to work! thank you very much for your help, although this doesn't completely achieve what i hoped for. I hoped that it would load directly into the sim and not into the startup menu with the scenario loaded in. Is there maybe a extra argument i can add to load directly...
  3. sniperfull

    P3D v4 SimConnect: Loading into default scenario via code.

    Still i have been having no luck. Here are a couple tries i did: Because i am working in C# this is what i need to do . i pass on the .exe and then the arguments: Process.Start(@"G:\Lockheed Martin Prepar3d V4\Prepar3D.exe", @"-fxml=%USERPROFILE%\Documents\Prepar3D v4 Files\Previous...
  4. sniperfull

    P3D v4 SimConnect: Loading into default scenario via code.

    Well i've tried this already, and it just returns with : The requested scenario, from command line arguments, is either corrupt or can't be found. Prepar3D will now try to load your default scenario. Even when trying to load Previous Flight.fxml.
  5. sniperfull

    P3D v4 SimConnect: Loading into default scenario via code.

    Thanks! i think this could solve my issue. Although i do seem to struggle on how to pass on the directory to that argument. Because each time i do the full path to the File it does not work. the file i am trying to load is located in Prepar3d v4 Files/ directory. i tried passing on the full path...
  6. sniperfull

    P3D v4 SimConnect: Loading into default scenario via code.

    Hello, I wanted to know if there is a way to load the user into the default scenario would that be via simconnect if possible. What i am trying to achieve is: Im starting the simulator up for the user, and i want it to load directly into the default scenario. Is there maybe a parameter that i...
  7. sniperfull

    C# WPF SimConnect proper way of receiving simulator information.

    Ah, thanks. I will have a look! will keep you updated!
  8. sniperfull

    C# WPF SimConnect proper way of receiving simulator information.

    Hello, I've been looking at requesting data about the simulator like specific version of the simulator. I have been looking into the SDK Documentation but maybe i just haven't looked into this properly but i couldn't find a way to request this data. I looked into the Simulation Variables, to...
  9. sniperfull

    I'm working on scenery... (2019)

    Dear Horst18519, I want to inform you that me and a whole team at Simply Scenery are working on Keflavik [BIKF]. And we are already quite deep into development. I wanted to inform you to not have any conflicts in the future. Kuba Kajderowicz Simply Scenery | Ksimulations
  10. sniperfull

    Creating a installer for scenery.

    Hello, Thanks for that, but im looking to create my own installer as i have a background in programming applications for windows. Just was wondering what my best way of attack was to get the right directories etc. That link is still very helpfull and thank you very much, Kuba
  11. sniperfull

    Creating a installer for scenery.

    Hi, i've been wanting to create a installer for scenery, but im wondering of how to add simulator detection the best? Would you recommend searching registry for entries for p3d or fsx? or using a different method. Aswell as finding the Scenery.cfg to add my scenery entry into. Greetings, Kuba.
  12. sniperfull

    [RELEASED] KsimSaver free FSX / P3D auto-saving tool!

    KsimSaver only saves the current flight scenario, so for example your flying and your sim unfortunately crashes, you can load right back up to where the last save was made. KsimSaver does NOT recover your flight simulator scenery or other addons, only the current flight scenario. sorry for my...
  13. sniperfull

    P3D v4 Simconnect Data Requests.

    Hi Amengol, the 'u' convertion was something i was just playing around with... that should be ignored. And yes i am using "simconnect.RequestDataOnSimObjectType(...)" when requesting data. Like i said this is code from the sdk example that i cannot get working in WPF... when trying in a normal...
  14. sniperfull

    P3D v4 Simconnect Data Requests.

    Hi, ive been trying to get altitude from the simulator using data requests. I've been following the SDK example and SDK documentation but ran into a problem. My results are not the same in WPF as it is in a WinForms example. Here is my data request code: The problem i'm having it that my result...
  15. sniperfull

    [RELEASED] KsimSaver free FSX / P3D auto-saving tool!

    Sorry as much as i want to release new updates, and a new update is almost ready i had to put aside the project for some personal issues i've been having. im really sorry about this. But ill try my best to get back as soon as possible
  16. sniperfull

    P3D v4 Simconnect returning incorrect data in WPF c# application.

    Cant actually do that, i've seen that part of the documentation but i cant use a uint becuase : http://prntscr.com/jlq86b cant convert uint to enum...
  17. sniperfull

    P3D v4 Simconnect returning incorrect data in WPF c# application.

    when using same code from the managed data request sample from the SDK i do not receive the same results. simconnect.AddToDataDefinition(DEFINITIONS.Struct1, "Plane Altitude", "feet", SIMCONNECT_DATATYPE.FLOAT64, 0, SimConnect.SIMCONNECT_UNUSED); // IMPORTANT...
  18. sniperfull

    P3D v4 [C#] WPF, DefWndProc in a WPF application

    To fix this issue i did the following: setup a correct handle and add a hook when connecting to SimConnect : private HwndSource gHs; WindowInteropHelper lWih = new WindowInteropHelper(Application.Current.MainWindow); IntPtr lHwnd = lWih.Handle; gHs =...
  19. sniperfull

    P3D v4 [C#] WPF, DefWndProc in a WPF application

    Hi, while trying to add a new feature to my KsimSaver, i am struggling to find a way to use DefWndProc in WPF. this code is from the SDK sample, as that is Windows Forms, this code is not usable for WPF, atleast the Protected override void DefWndProc(ref Message m) {} part. the rest of the...
  20. sniperfull

    Testers required

    Would do but im leaving on Monday for 3 weeks...
Back
Top