Jump to content

Archived

This topic is now archived and is closed to further replies.

stonelance

Flight Toolkit - 0.9.0 - Includes early alpha support for FSX aircraft conversion

Recommended Posts

I just uploaded a new version of the tools. You can grab them here: FlightToolkit 0.9.0

 

There are a lot of significant changes, so I expect some things will not work. Please email flighttoolkit+support@gmail.com if you find bugs.

 

There are some major changes with this release, some of them breaking changes. For addon creators any source files that you created previously will not work in the new version. If you try to open an old version of the .addonSetting file, it will most likely crash the Addon Builder, or not export correctly. I made this change to simply the addition of the new features and make it easier to create a wider variety of addons. You should be able to create a new addon, and recreate the previous new liveries from previously, and copy the images from your old addonSettings over the ones in the new addon. The exporter changed the name of some of the files it extracts so make sure if you do this that you rename your files to the new name.

 

FSX aircraft conversion:

When you add content to an addon there is a new option to add a converted FSX aircraft. You select the aircraft.cfg from the FSX file paths and it will attempt to convert the aircraft and all it's content. There is an option to choose what output format to use. Right now using the PSD option uses a lot of memory and may crash the Addon Builder if used on an aircraft with a lot of large textures and liveries. The Root Virtual Path option defaults to the addon name, and can be left like that in almost all cases. The only time you would want to change that is if you want to override content from another addon.

 

I've included this functionality so people can start playing with it, but it is not intended that anyone release addons containing converted aircraft yet. The current functionality doesn't do any performance optimizations on the content and could cause performance issues within Flight if used heavily.

 

There are several known issues with aircraft conversion, this is a small list of the major ones:

- No sound conversion

- No optimization

- No effect conversion

- Some animations don't work

- Not all animation scripts can be converted properly

- No panels or gauges

- Some textures\materials are not converted correctly

- NNumber shows up as a black square

- The flight model conversion is very basic. The resulting flight model is not similar to the one in FSX, and often not even flyable. This is especially true if converting anything other than a single engine piston aircraft.

 

 

 

Full change list:

 

Addon Builder:

Feature Changes:

- Changed the file format of .addonSetting. This is a breaking change and not backwards compatible with older files.

- When you create an addon you now select a folder for the addon instead of a file name. This must be an empty folder, and the .addonSettings file will be placed inside of it. If it is not empty you may inadvertently include other files in your addon that you didn't intend.

- Changed the way addon files are saved on disk. All files are now stored loose on disk.

- Removed the list of specific assets from the .addonSettings. You can now put any files in the addon folder and they will be built into the addon when exported.

- Added alpha support for FSX aircraft conversion.

- Changed some long running synchronous operations to asynchronous.

- Added progress bars in multiple spots in the UI where operations can take a long time (adding content, refreshing the addon content list, and exporting).

- Added recent files list.

- Window position and size are now persisted on shutdown.

- Refactor and cleaned up the code for the new content wizard.

- Add preliminary support for asset refresh

- Refactor the Asset classes and share logic

- Add AssetReference class to validate and clean up UI for asset references.

- Change textures and models to load bits on demand instead of at create time.

- Implemented adding loose files from a directory to the FileLocator, and enumeration of files within the current addonSettings.

- Added initial framework for optimizing model materials

- Updated the logging code to add support for redirecting the log to a stream.

 

Bug Fixes:

- Fixed format of textures converted to PSD.

 

Addon Manager:

Bug Fixes:

- Fixed a problem where addons were not installed correctly if it was a newer version of an existing addon.

Share this post


Link to post
Share on other sites

oh it looks like its christmas already :smile:

Thank you for all your work and keeping flight alive!

Merry Christmas

Share this post


Link to post
Share on other sites

Outstanding, Stonelance.   I see this as the first major step in extending the life of Flight.

 

Thank you for your hard work and interest in this project.

 

Keep it up.

Share this post


Link to post
Share on other sites

Thank you Stonelance for all your effort, and seasons greetings to you and all the best for the new year.

 

I'll be sure to give this a go in the new year as soon as I'm reunited with my PC. :)

 

 

Share this post


Link to post
Share on other sites

I can't seem to get through the installation process. The installer tells me that ".NET Framework 4.5.1 must be installed prior to installation of this product." I went and downloaded 4.5.1, tried to install it, but it says it's already installed.

 

Ideas? I'm running Windows 8.1.

Share this post


Link to post
Share on other sites

I have been good this year and got a present! Thanks Santa! Errrr..... Stonelance!

Share this post


Link to post
Share on other sites

Uh...  Same problem as Brandon.  I'm running Windows 8.1 (and also have Visual Studio 2013 Professional installed), but the installer is telling me I don't have .NET Framework 4.5.1.

Share this post


Link to post
Share on other sites

Should be interesting too see what some of the very talented people out there can do with this great tool. Thanks Stone.

 

Steve

Share this post


Link to post
Share on other sites

It works! :)

 

Edit: Seems to get stuck when I try to export a .flightAddon with the files for the default Carbon Cub.  Also, the Addon Manager seems to have a dependency on the Alaska DLC again.

Share this post


Link to post
Share on other sites

Its alive!!! Hahahahahahahahah!!!!! (Wanders off, mumbling something about searching for Seabees.........)

Share this post


Link to post
Share on other sites

I would really like to be able to see what types of innovations I can work on with this, but I can't get the program to actually start. Really great work though. Thanks for all that you have done so far, and I look forward to seeing what you come up with in the future.

Share this post


Link to post
Share on other sites

Hm, I was able to download it now, but I can't launch the AddonBuilder. I double-click on it but nothing happens. It gets the little loading circle for a second or 2 then I guess it forgets what it was doing. Addon Manager is working fine however. 

Share this post


Link to post
Share on other sites

Panda, can you check the Event Viewer to see if there were any errors with Addon Builder? (Type Event Viewer into the search window in the Control Panel, and then click "View Event Logs", and look under Windows Logs\Application)

 

Also, what version of Windows are you using?

Share this post


Link to post
Share on other sites

After a 23 hour power outage, I come on, and I see this great gift! This could be a great secondary way to spend my Winter Break! (Other than studying for my Glider Entrance Exam and programming a game for school)

Share this post


Link to post
Share on other sites

Hey stonelance, I decided to take a look at my Event Viewer and this is what I found:

 

Faulting application name: AddonBuilder.exe, version: 0.9.0.0, time stamp: 0x52b6b2ce

Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a

Exception code: 0xe0434352

Fault offset: 0x0000c41f

Faulting process id: 0x2694

Faulting application start time: 0x01cf002d45fe62ba

Faulting application path: C:\Program Files (x86)\Flight Tools\Flight Toolkit\AddonBuilder.exe

Faulting module path: C:\Windows\syswow64\KERNELBASE.dll

Report Id: 84104ec4-6c20-11e3-a469-848f69c74789

 

I am running Windows 7 64-bit. I hope that this helps.

Share this post


Link to post
Share on other sites

Panda, can you check the Event Viewer to see if there were any errors with Addon Builder? (Type Event Viewer into the search window in the Control Panel, and then click "View Event Logs", and look under Windows Logs\Application)

 

Also, what version of Windows are you using?

I am using windows 8, and here is what I found in the events log, these are only errors, not the information ones. If you need the information ones I can get those too.

 

Faulting application name: AddonBuilder.exe, version: 0.9.0.0, time stamp: 0x52b6b2ce
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16408, time stamp: 0x523d4548
Exception code: 0xe0434352
Fault offset: 0x00012eec
Faulting process id: 0x2c0c
Faulting application start time: 0x01cf00473d4ec72f
Faulting application path: C:\Program Files (x86)\Flight Tools\Flight Toolkit\AddonBuilder.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 7b7b1250-6c3a-11e3-be86-9c2a7068feb2
Faulting package full name: 
Faulting package-relative application ID: 
 
Application: AddonBuilder.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
   at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
   at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
   at System.Windows.Application.LoadComponent(System.Uri, Boolean)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.<.ctor>b__1(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at FlightAddonBuilder.App.Main()
 
Faulting application name: AddonBuilder.exe, version: 0.9.0.0, time stamp: 0x52b6b2ce
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16408, time stamp: 0x523d4548
Exception code: 0xe0434352
Fault offset: 0x00012eec
Faulting process id: 0x4e4
Faulting application start time: 0x01cf00473599957d
Faulting application path: C:\Program Files (x86)\Flight Tools\Flight Toolkit\AddonBuilder.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 74d856c6-6c3a-11e3-be86-9c2a7068feb2
Faulting package full name: 
Faulting package-relative application ID: 
 
Application: AddonBuilder.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
   at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
   at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
   at System.Windows.Application.LoadComponent(System.Uri, Boolean)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.<.ctor>b__1(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at FlightAddonBuilder.App.Main()
 
 

 

Share this post


Link to post
Share on other sites

×
×
  • Create New...