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

MSFS20 MSFS - Unable to build package using fspackagetool, after using patch 1.16.2.0 (SOLVED)

Messages
291
Country
us-newyork
Hi,

I've attempted to build using the fspackagetool but I get,

provided project definition file does not exist
press any key to continue


Can anyone build their packages under the new 1.16.2.0 patch?

On top of that the fspackagetool launches MSFS and then it claims it failed to open.

Does anyone know a workaround for this issue?
 
error.jpg
 
Rename your master project XML file with a name with no spaces.

I have tested this with the default samples provided with the new SDK 13 and the ability compile via Drag & Drop using the fspackagetool.exe and dropping the XML onto it seems broken, the default sample project names do not have any spaces either and do not compile via Drag & Drop. This is infuriating, it's a massive waste of time to have to open up the simulator and wait for it to start to then be able to do a simple compile, how can such a thing happen?

sdk_crash_error.png
 
the default sample project names do not have any spaces

If you installed the MSFS SDK in its default folder C:\MSFS SDK, the full pathname DOES contain spaces ( "C:\MSFS SDK" ) so yes, the problem seems to be caused by space in the whole path, not just the actual XML project name.

I assure you it works if there are no spaces anywhere in the path that contains the master XML project file.
 
Rename your master project XML file with a name with no spaces.
Thanks for the advice, yet, no fix here.
I have tested this with the default samples provided with the new SDK 13 and the ability compile via Drag & Drop using the fspackagetool.exe and dropping the XML onto it seems broken, the default sample project names do not have any spaces either and do not compile via Drag & Drop. This is infuriating, it's a massive waste of time to have to open up the simulator and wait for it to start to then be able to do a simple compile, how can such a thing happen?

View attachment 73646
exactly.
They'll fix it and at least we can build from within.
 
Further to Umberto's advice, here is the solution that works:

Backup your work and do a full uninstall of the SDK.
Reinstall the SDK and click on Options and modify the path from C:\MSFS SDK to C:\MSFSSDK
Let the installer finish.
Drag & Drop using the fspackagetool.exe will now work again.

The only strange thing is that you will now see this screen in the background while the project is compiling:

sdk_crash_error2.png


Thanks for your help Umberto!

Anna
 
Further to Umberto's advice, here is the solution that works:

Backup your work and do a full uninstall of the SDK.
Reinstall the SDK and click on Options and modify the path from C:\MSFS SDK to C:\MSFSSDK
Let the installer finish.
Drag & Drop using the fspackagetool.exe will now work again.

The only strange thing is that you will now see this screen in the background while the project is compiling:

View attachment 73647

Thanks for your help Umberto!

Anna
nobuild msfs.PNG


I followed instructions hoping for a fix and it didn't work for me. I hope it works for others.
 
I've removed spaces from the whole path that contains the xml and now it works, while if I remove the space from the sdk path nothing changes.
well, there's no spaces on my xml. But perhaps I'll remove the dashes. The SDK is setup so we don't utilize spaces on our file names. At least to my personal knowledge.
 
I've removed spaces from the whole path that contains the xml and now it works, while if I remove the space from the sdk path nothing changes.
NOW we're talking business. I removed spaces from the entire path. Thanks, mighty-Max. Now I can utilize the fspackagetool.
 
I followed instructions hoping for a fix and it didn't work for me. I hope it works for others.

Copy the fspackagetool.exe into the SimpleScenery folder inside the provided SDK sample folders, then Drag & Drop the SceneryProject.xml onto that fspackagetool.exe there. If that works then you know that your issue is elsewhere, perhaps with your dashes as you mentioned.
 
Copy the fspackagetool.exe into the SimpleScenery folder inside the provided SDK sample folders, then Drag & Drop the SceneryProject.xml onto that fspackagetool.exe there. If that works then you know that your issue is elsewhere, perhaps with your dashes as you mentioned.
I did the path fix by removing spaces. That worked. But thanks to everyone who helped.
 
I did the path fix by removing spaces. That worked. But thanks to everyone who helped.

Well that's exactly what Umberto had written - I assure you it works if there are no spaces anywhere in the path that contains the master XML project file.

If you still had spaces even after this advice, then it's no wonder it still didn't work.
 
Well that's exactly what Umberto had written - I assure you it works if there are no spaces anywhere in the path that contains the master XML project file.

If you still had spaces even after this advice, then it's no wonder it still didn't work.
That’s true. I tricked myself, focused only on the xml file name and went pass through Virtuali advice. I apologize for that. The answer was already there by @virtuali

thank you.
 
Back
Top