Posts by chrispriv

    First, many thanks for your continued efforts!

    All important variables appear to be contained, read-only is sufficient for most purposes.

    Even it would still be very kind of you to compile this as a DLL and make it available on GitHub as DLL.

    Best regards,
    Chris

    Hi Pascal,

    Did you follow the instructions under "Note", as it is exactly the overlay with the high-resolution areas of IPACS streamed images I mention.

    The only restriction is if the airfield itself has grass aprons or runways, as for example it's the case for Reichenbach airfield:


    Else the work around should work, as long as you don't use other scenes with high-resolution images.

    Regrads,
    Christophe

    Just shared my snowy winter texture covering the whole of Switzerland on flight-sim.org.



    Have fun!
    Christophe

    Note: If you want to change back to default summer images, you don't have to deinstall the scenery completely. Simply rename the scenery folder with two underscores to deactivate the winter images (e.g." ...\__ch_swiss_wintertexture" instead of "...\ch_swiss_wintertexture").

    For my first winter scenery, I colorized all satellite images by hand using the GIMP app.

    Afterwards, I wrote a C# app - at that time without the helpful assistance of AI - which automatically creates winter/snow textures from summer textures.

    This is what it looks like on FS4. After rainfall in FS4 with the default cultivation, there is no snow on the trees and roofs left, but even it looks quite good in my opinion:


    The scenery appears to cover the whole of Switzerland, but I don't think I've published it and tested it yet.

    If there is enough interest — meaning enough likes and positive comments — I still can share it on flight-sim.org in December before cloding.

    Regards, Christophe

    Well, four years ago, I created a snow texture for FS2 for a part of Switwerland based on original summer satellite images, complete with snowy special XREF trees, available on flight-sim.org: Swiss Winter Scenery (with snow trees & cultivation).



    Images without the trees and roofs should also work with FS4, but only with Global Scenery Data Off and the cash "sd\scenery\images\" subfolder deleted before.
    Regards, Christophe

    chrispriv awesome, the sign heights look great with your custom elevation. Is there a way to automate generation of such elevation tiles for desired locations?

    I use my new AeroScenery MOD still in development to download and read at the base of AFS level 10 tiles GeoTIFF images from the OpenTopography server and get them ready for the GeoConvert process. However, I do the leveling of the ground manually using the QGIS App with an add-on.

    Therefore, it is certainly better if IPACS's autoheight would also work for merged airport grounds.

    Hi,

    The placement of the taxi signs looks good!

    I don't think it's possible to calculate a correct absolute height, as the geometry of the airfield merges with the elevation mesh from FS4 from an unknown source.

    The only option I know is to levelling the entire airport ground to a fix height based on a edited elevation mesh, e.g. COP30 in a separate elevation data file, as I have done it for other airports as a bug fix (this changes the elevation not only the airport area but also for the hole level 10 tile).

    I have set a height of 270 metres for the entire airport area of LFSB (COP30 dataset edited) in the included elevation file: test_lfsb_taxysign.zip
    Now autoheigt works very well, have a look yourself!

    But you would have to do this for every airport with your taxi signs, and it only works for airports in quite flat terrain (but still better than manually adjusting 100+ sign per airport).

    I'm not really used with Blender. Take a look on IPACS the sample object san_pedro_faa_radar_20220713.blend included in the SDK.

    You will notice that there is only the material sanpedro_radar_buildings linked with the base color sanpedro_radar_buildings_color.bmp (means neither a corresponding _light image nor lightening of Blender set, same if you Unpack Ressources).

    So I think you have to create the ligthening "_light" images separate and manually outside of Blender.

    Unfortunately, first you will have to rename all textures images in your 3D models that require a night texture with the ending <imagename>_color.png/jpg (if you have your existing models as Collada *.dae files, for example, the easiest way to do this is using a text editor such as Notepad++.).

    In a second step, make a copy of your texture image, make a dark night lighting layer/coloring using a graphics program such as Gimp, and then rename it with the extension _light.png/jpg. Compile this night-image into a *.ttx file as well.

    Example of an POI, with night lighting (with reflection map may also be quite nice for some POI's/objects):
    maui_medical.tmb
    maui_medical_color.ttx
    maui_medical_light.ttx
    maui_medical_reflection.ttx

    There is also an example in IPACS Aerofly FS Scenery SDK.

    Thanks Juan, for your feedback.

    I found my personal JSON file in externall_dll and can now read the offset of all the values by running your aerofly_realtime_monitor.py.

    But does this mean that all users now may have different resp. individual offsets for the corresponding values, or can I trust that, for example, the latitude and longitude coordinates will always have the offset 2328 and 2336 (instead of 16 and 24 as before) for all users?

    Best regards,
    Chris

    Hi Juan,

    Many thanks. Just took a first look on your new repository and first dll release.

    Noticed, that "memory positions" using shared memory changed for some values and also a AeroflyBridge_offsets.json file is needed for your Python Console to trigger it out.
    python_app_tutorial.md:
    A JSON offsets file (`AeroflyBridge_offsets.json`) accompanies the DLL describing the byte offsets for each variable.

    But I can't find this file in your new repository.
    So where can I get it to get your phyton console running and figure out the offsets for each variable?

    By the way, I'm glad that, according to your screenshot, there are now also string variabes such as the name and the transponder code.

    Best regards,
    Christophe

    Hi Juan,

    For your information:
    I tried to access AeroflyBridge.dll (read-only) using a small test program and friendly AI support via C#. It works perfectly, with a very high refresh rate of about 10 times per second. Really cool! :thumbup:8)

    Will also try this with the new DLL version/ hybrid approach when ready.

    The idea is to switch my moving map, including HUD, which I integrated into the latest MOD from AeroScenery MOD based on a UDP transfer according to your documentation, to the DLL as an alternative. This is much more accurate in terms of aircraft position, for example, and also a huge improvement in terms of refresh rate.

    A first "external" application will therefore follow soon, so stay tuned. ;)

    Best regards,
    Chris

    Hi Juan,

    Just tried out your Python script for testing controls.

    Same for me. Some buttons work, others don't. I also ran your monitor at the same time to check the reception of the sent values.

    I think it has various causes. Sometimes a sent value does not arrive (e.g. COM / NAV value). The format is probably not correct here. NAV and Transponder works fine, Gears and Flaps also.

    In other cases, a value for the Throttle of 0.5 is sent, but only 0.25 is received. Or Mixture 1 works, but Mixture 2 does not. In this case it must be the dll itself or something not working properly in FS4.

    Hi Juan,

    I first tried the aerofly_fs_4_external_dll_sample C++ project and created the dll with Visual Studio 2022. Unfortunately this did not work properly, I had like freezes or the data in the test console was only updated irregularly, sometimes only when I had finished the flight. No idee why.

    Yesterday I copied your DLL into the external_dll\ directory. Great! It works perfectly with your DLL and using the aerofly_realtime_monitor_all.py. Especially the data are continuously updated as it should be and I don't have any errors.

    aerofly_memory_scanner.py, on the other hand, does nothing for me when running (just a window opens for a millisecond and closes again immediately). What is it supposed to do?

    Looking foreward for futher developement and progress!
    Christophe

    @By the way:
    I'm also using Steam Beta version.
    So the issue of Pascal must therefore have another cause. Perhaps a look at his main.mcf and tm.log file will help ...

    Antalya and eastern part of Turkish Riviera (TR) scenery for FS4 is now available on flight-sim.org.

    It covers the city of Antalya as well as the coastal area with its sandy beaches from the eastern part of the Turkish Riviera, from Dalaman in the west to Alanya in the east.
    Also the airport of LGKJ Kastellorizo, the small easted greec island, is also included in addition to IPAC's three airports with global data streaming on.


    Enjoy! 8)