Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSFS Aerial Creation doesn't work #16

Open
NobbiNick opened this issue Jun 25, 2023 · 5 comments
Open

MSFS Aerial Creation doesn't work #16

NobbiNick opened this issue Jun 25, 2023 · 5 comments

Comments

@NobbiNick
Copy link

Hello,
Unfortunately, it is not possible to create an Aerial AddOn for MSFS with the program because it deletes the required subfolders in the MSFSWorks folder shortly after the "fspackagetools" start. If you close your program immediately after starting the "fspackagetools" it works. I suggest only deleting the subfolders in your program the next time you press the start button.

The generated fset-aerial.xml causes more errors because there are 2 errors in the AreaInfoFileCreationScript.cs:

  • The output path for the "ContentInfo" is the same as the input path and therefore has no function.
  • The "MarketPlaceData" folder is superfluous and causes an error due to the missing Marketplace.json.
    (ICompilerCommand Provided input path does not exist: 'e:\MSFSDevelopment\AerialProduction\FSETFolders\WORKING\MSFSWORK\PackageDefinitions\FSET Scenery\MarketplaceData\Marketplace.json')

I recommend omitting the MarketPlacedata and ContentInfo as they are not required.

@stackTom
Copy link
Owner

I will look into this. The MSFS feature was released a while ago and it probably doesn't support the latest SDK. It used to work, so I suppose the SDK has changed.

stackTom added a commit that referenced this issue Jul 21, 2023
@stackTom
Copy link
Owner

I removed ContentInfo and MarketPlaceData. Will be released in next update.

However, I downloaded the latest SDK and don't face the other issue you're facing. My scenery compiles correctly. Can you take a video of how you're doing it so I can try to identify what's going on?

@NobbiNick
Copy link
Author

The problem does not arise when the area is small and the resolution is low. (e.g. 5). My test area is 1.97 NM wide and 1.625 NM high. The resolution should be at least 0. However, minus 1 would be better. Unfortunately, the generated project.xml file is deleted too early. Of course, if the problem doesn't appear on your computer with an area of this size and resolution, it could be my computer.
(Win 11, AMD Ryzen 5 3600, 32GB Ram, RTX 2070)

@NobbiNick
Copy link
Author

I just tested it again. If I close your program once the FSPackagetool has appeared with the black screen, everything works fine. You then only have to delete the MSFSWork folder yourself after the FSPackagetool is finished

@stackTom
Copy link
Owner

It's no problem to delay deleting of the temporary files. I'm just curious why it's an issue on your computer and not with mine. I tried yesterday with msfs running and fspackagetool just crashed and nothing worked. Is your sim running while you do this? If so, try doing this with the sim not running.

I Can delay deleting the files, that's no issue. I'm just wondering why it's different on your system; could point to a bigger underlying issue that I'd like to investigate and fix. So if you could take a video, would be great. Also, is there anything in your event viewer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants