Jump to content
Sign in to follow this  
supersym

Local flight at La rochelle with the boats from Henrik

Recommended Posts

 

 


 

i9 13900K    HT off 32 Gb DDR5 @ 7.6  Ghz CL36 Asus Apex HERO Z790  W11 64 bits pro sur Kingston FURY Renegade 2 To,  DCS, P3D5 et MSFS sur 2 ème   Kingston FURY Renegade 2 To , RTX 3090 OC (GPU 2Ghz)  Alim Corsair 1500 W  Gold Ecran ACER  28 pouces  4K  G-SYNC
WC  AIO ARTIC liquid freezer II 420 Boitier Gigabyte 3d mars

Share this post


Link to post
Share on other sites

Nice, was the package for MSFS released? The latest I read was that Henrik is still working on the conversion. 


Hans

Share this post


Link to post
Share on other sites

no released, just adapted... but still always beautiful ! 

Thanks Henrik 🙂


 

i9 13900K    HT off 32 Gb DDR5 @ 7.6  Ghz CL36 Asus Apex HERO Z790  W11 64 bits pro sur Kingston FURY Renegade 2 To,  DCS, P3D5 et MSFS sur 2 ème   Kingston FURY Renegade 2 To , RTX 3090 OC (GPU 2Ghz)  Alim Corsair 1500 W  Gold Ecran ACER  28 pouces  4K  G-SYNC
WC  AIO ARTIC liquid freezer II 420 Boitier Gigabyte 3d mars

Share this post


Link to post
Share on other sites

you can find the method here :

http://www.pilote-virtuel.com/viewtopic.php?id=51877&p=104

post 2598, but I'm not enable to translate that in correct english, sorry...


 

i9 13900K    HT off 32 Gb DDR5 @ 7.6  Ghz CL36 Asus Apex HERO Z790  W11 64 bits pro sur Kingston FURY Renegade 2 To,  DCS, P3D5 et MSFS sur 2 ème   Kingston FURY Renegade 2 To , RTX 3090 OC (GPU 2Ghz)  Alim Corsair 1500 W  Gold Ecran ACER  28 pouces  4K  G-SYNC
WC  AIO ARTIC liquid freezer II 420 Boitier Gigabyte 3d mars

Share this post


Link to post
Share on other sites
58 minutes ago, supersym said:

you can find the method here :

http://www.pilote-virtuel.com/viewtopic.php?id=51877&p=104

post 2598, but I'm not enable to translate that in correct english, sorry...

Merci. I get most of it, just a bit shy of what is meant by creating the build.py. Does it mean to copy the sample content on the other linked page into a blank text file and later run this through python? I'll give it a try. 


Hans

Share this post


Link to post
Share on other sites

this is that !

You have to install python and double click on build.py 😉

 


 

i9 13900K    HT off 32 Gb DDR5 @ 7.6  Ghz CL36 Asus Apex HERO Z790  W11 64 bits pro sur Kingston FURY Renegade 2 To,  DCS, P3D5 et MSFS sur 2 ème   Kingston FURY Renegade 2 To , RTX 3090 OC (GPU 2Ghz)  Alim Corsair 1500 W  Gold Ecran ACER  28 pouces  4K  G-SYNC
WC  AIO ARTIC liquid freezer II 420 Boitier Gigabyte 3d mars

Share this post


Link to post
Share on other sites

Followed the steps. Now testing. The flightsimulator.cfg was at C:\Users\xxx\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache in my case. 

If it works I will summarize the steps in English after dinner. 


Hans

Share this post


Link to post
Share on other sites

It seems to work. Here is what I did:

Make a file named build.py with the following content as shown here: http://www.pilote-virtuel.com/viewtopic.php?id=94919

import os
import json
import sys


def check_prerequisites():
    if sys.version_info[0] < 3 or sys.version_info[1] < 6:
        raise Exception("Must be using Python 3.6 or later")


def build_layout(project_dir):
    layout_entries = []
    for root, _, files in os.walk(project_dir):
        for filename in files:
            filepath = os.path.join(root, filename)

            if not filepath.endswith(".json") and not filepath.endswith(".py"):
                rel_dir = os.path.relpath(root)
                rel_file = str(os.path.join(rel_dir, filename))
                if rel_file[0] == '.':
                    rel_file = rel_file[2:]

                print(" -- Processing " + rel_file)
                entry = {}
                entry["path"] = rel_file.replace('\\', '/')
                entry["size"] = os.path.getsize(filepath)
                entry["date"] = "132402817714110148"
                layout_entries.append(entry)

    layout_entries.sort(key=lambda e: e["path"])

    return layout_entries


if __name__ == "__main__":
    check_prerequisites()

    cwd = os.getcwd()

    layout_content = build_layout(cwd)


    layout_json = {
        "content": layout_content

    }

    with open("layout.json", "w") as outfile:
        json.dump(layout_json, outfile, indent=4)

 

Make a folder named "KL-traffic-ships". In this folder create a folder "scenery" Copy all bgl files from Henrik's package into this folder. 

Drop your buid.py file into the "Kl-traffic-ships" folder and run it (Python 3.6 or higher required). This creates your layout.json file. You can then delete build.py.

Then add to your "KL-traffic-ships" folder a file "manifest,json" and a folder named "ContentInfo". You can take those from any other scenery package you have.

Create another folder "Simobjects" in "KL-traffic-ships" and in this folder "Simobjects" create a folder "boats". Copy all boat files from Henrik's package into this "boat" folder.

Move the whole "KL-traffic-ships" folder into your Community folder. 

Open flightsimulator.cfg (usually to be found at (C:\Users\xxx\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache) and add the link to your "KL-traffic-ships\Simobjects\boats" in the Main section beneath the other simobjects. 

Let us know if it works. All credit goes to FlyingV at pilote-virtuel and of course to Henrik for his amazing package. 

 

 

 

Edited by hjsmuc

Hans

Share this post


Link to post
Share on other sites

thanks for your translate 😊 


 

i9 13900K    HT off 32 Gb DDR5 @ 7.6  Ghz CL36 Asus Apex HERO Z790  W11 64 bits pro sur Kingston FURY Renegade 2 To,  DCS, P3D5 et MSFS sur 2 ème   Kingston FURY Renegade 2 To , RTX 3090 OC (GPU 2Ghz)  Alim Corsair 1500 W  Gold Ecran ACER  28 pouces  4K  G-SYNC
WC  AIO ARTIC liquid freezer II 420 Boitier Gigabyte 3d mars

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...