I'm not sure if this is the right channel to post my issue but I'm having problems with exporting my mod. I'm currently making a truck paintjob but i'm doing everything right until i have to export it, it keeps showing me this error and I'm not sure how to fix it?
The message shows me this:
DirectXTex failed for some reason:
Code: Select all
at ModsStudio2Library.Utils.Managers.ProcessManager.ExecuteTexConv(String processStarPath, String processStartInfo, String workingDirectory) in D:\Sources\ModsStudio2\ModsStudio2Library\Utils\Managers\ProcessManager.cs:line 25
at ModsStudioLib.Files.Dds.ImagePathFromDds(String ddsFilePath, String imageTempDirectory) in D:\Sources\ModsStudio2\ModsStudio2Library\Files\Dds.cs:line 131
at ModsStudio2UI.UI.VariableEditors.ScsMod.ScsImageEditor.LoadImage(String pathToLoad) in D:\Sources\ModsStudio2\ModsStudio2UI\UI\VariableEditors\ScsMod\ScsImageEditor.xaml.cs:line 112
at ModsStudio2UI.UI.VariableEditors.ScsMod.ScsImageEditor.TxtPath_TextChanged(Object sender, TextChangedEventArgs e) in D:\Sources\ModsStudio2\ModsStudio2UI\UI\VariableEditors\ScsMod\ScsImageEditor.xaml.cs:line 70
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.TextBoxBase.OnTextContainerChanged(Object sender, TextContainerChangedEventArgs e)
at System.Windows.Documents.TextContainer.EndChange(Boolean skipEvents)
at System.Windows.Documents.TextRangeBase.EndChange(ITextRange thisRange, Boolean disableScroll, Boolean skipEvents)
at System.Windows.Documents.TextRange.ChangeBlock.System.IDisposable.Dispose()
at System.Windows.Controls.TextBox.OnTextPropertyChanged(String oldText, String newText)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.Controls.TextBox.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Controls.TextBox.set_Text(String value)
at ModsStudio2UI.UI.VariableEditors.ScsMod.ScsImageEditor.LoadImage(String pathToLoad) in D:\Sources\ModsStudio2\ModsStudio2UI\UI\VariableEditors\ScsMod\ScsImageEditor.xaml.cs:line 110
at ModsStudio2UI.UI.VariableEditors.ScsMod.ScsImageEditor.BrowseButton_Click(Object sender, RoutedEventArgs e) in D:\Sources\ModsStudio2\ModsStudio2UI\UI\VariableEditors\ScsMod\ScsImageEditor.xaml.cs:line 36
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)Object reference not set to an instance of an object. at ModsStudio2UI.UI.VariableEditors.ScsMod.ScsIconEditor.ScsImageEditor_Loaded(Object sender, RoutedEventArgs e) in D:\Sources\ModsStudio2\ModsStudio2UI\UI\VariableEditors\ScsMod\ScsIconEditor.xaml.cs:line 99
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)