DurtyFree / durty-cloth-tool

Durty Cloth Tool easily generates addon cloth resources for GTA 5 Singleplayer and MP mods like alt:V, FiveM or RageMP with just a couple of clicks.
https://gta.clothing
116 stars 58 forks source link

Invalid slice pitch. #348

Closed LovelySaratonin closed 2 weeks ago

LovelySaratonin commented 2 weeks ago

I have the following error:

System.Exception: Invalid slice pitch.
   at DurtyClothTool.App.Common.DdsUtils.GetDDSFile(Texture  )
   at n0iP71N6GqdDXUVeVhM.hyjW9BN4Q4CgH5dYQZx.laFNovgaeF(String  , TextureDictionary  )
   at n0iP71N6GqdDXUVeVhM.hyjW9BN4Q4CgH5dYQZx.WEINHowvZn(String  , String  )
   at DurtyClothTool.App.ViewModels.Commands.AppearanceItem.Export.ExportAppearanceEmbeddedTexturesPngCommand.cj9iiIhBUQ1NQh4JJ6eA(Object , Object , Object )
   at DurtyClothTool.App.ViewModels.Commands.AppearanceItem.Export.ExportAppearanceEmbeddedTexturesPngCommand.DvHY69QfO2(PedAppearanceItemBase  )
   at DurtyClothTool.App.ViewModels.Commands.AppearanceItem.Export.ExportAppearanceEmbeddedTexturesPngCommand.Execute(Object  )
   at Telerik.Windows.Controls.RadMenuItem.ExecuteCommand()
   at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
   at Telerik.Windows.Controls.RadMenuItem.OnClick()
   at Telerik.Windows.Controls.RadMenuItem.ClickItem()
   at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
   at Telerik.Windows.Controls.RadMenuItem.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)

App Version: 3.0.0.8 Project targets: AltV DLC name: pdvestandstuff Collection name: // Project path: C:\Users\Sara\Desktop\DurtyClothTool.App\clothproject_pdvestandstuff Output path: C:\Users\Sara\Desktop\DurtyClothTool.App Disable Extra Ymt Creation: False Create Subfolder For Cloth Drawable Types: False Replace settings enabled: False // DLC: NoDlc Save File Version: 5



Cloth files:
`[Please provide cloth files (ydd, ytd), cloth project and any other related files here + describe reproduction steps]`
DurtyFree commented 2 weeks ago

Duplicate of #330