Open NobbiNick opened 1 year ago
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.
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?
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)
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
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?
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:
I recommend omitting the MarketPlacedata and ContentInfo as they are not required.