Post by tobigrim on Jul 21, 2024 10:57:14 GMT -5
Hi! I'm not sure if I'm posting this in the right place so please let me know if not.
I am trying to convert some non-default eyes by GoppolsMe to default eyes. I am stuck right at the start because whenever I go to export the texture I get an error. I tried using the modding tools to convert to LRLE which worked for one export but this error pops up when I try and export the texture of the second:
The Sims 4 Studio - Version 3.2.2.2
System.IO.InvalidDataException: Not a LRLE Image
at LRLE.LRLEUtility.Reader.Init(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLE\LRLEUtility.cs:line 174
at S4Studio.Shared.LRLEImageResource.ExportFromLRLE(Byte[] lrleData, Int32 maxmip) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLEImageResource.cs:line 144
at S4Studio.Shared.LRLEImageResource.get_RawImageData() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLEImageResource.cs:line 35
at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Export(String file) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\Generic\Sims4SwatchTextureBase.cs:line 72
at S4Studio.ViewModels.CAS.CASSwatch.ExecuteExportTexture() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASSwatch.cs:line 102
at S4Studio.ViewModels.GenericUserCommand.<>c__DisplayClass8_0.<.ctor>b__1(Object y) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Commands\GenericUserCommand.cs:line 39
at S4Studio.ViewModels.GenericUserCommand.Execute(Object parameter) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Commands\GenericUserCommand.cs:line 45
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
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)
Any help would be very appreciated!
I am trying to convert some non-default eyes by GoppolsMe to default eyes. I am stuck right at the start because whenever I go to export the texture I get an error. I tried using the modding tools to convert to LRLE which worked for one export but this error pops up when I try and export the texture of the second:
The Sims 4 Studio - Version 3.2.2.2
System.IO.InvalidDataException: Not a LRLE Image
at LRLE.LRLEUtility.Reader.Init(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLE\LRLEUtility.cs:line 174
at S4Studio.Shared.LRLEImageResource.ExportFromLRLE(Byte[] lrleData, Int32 maxmip) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLEImageResource.cs:line 144
at S4Studio.Shared.LRLEImageResource.get_RawImageData() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Images\LRLEImageResource.cs:line 35
at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Export(String file) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\Generic\Sims4SwatchTextureBase.cs:line 72
at S4Studio.ViewModels.CAS.CASSwatch.ExecuteExportTexture() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASSwatch.cs:line 102
at S4Studio.ViewModels.GenericUserCommand.<>c__DisplayClass8_0.<.ctor>b__1(Object y) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Commands\GenericUserCommand.cs:line 39
at S4Studio.ViewModels.GenericUserCommand.Execute(Object parameter) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Commands\GenericUserCommand.cs:line 45
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
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)
Any help would be very appreciated!