Post by justnaka on Aug 9, 2022 16:30:20 GMT -5
Hi I'm trying to change the terrain height map of a world with s4s, I have located where the file to change is, I exported it, edited it with photoshop and in an attempt to reimport it in the .world file I ran into this error, you would know help me?
The Sims 4 Studio - Version 3.1.6.2
System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione della raccolta.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at S4Studio.Shared.TerrainHeightMapResource.get_RawImageData()
at S4Studio.Shared.TerrainHeightMapResource.set_RawImageData(Byte[] value)
at S4Studio.ViewModels.Warehouse.WarehousePackageViewModel.ImportResource(WarehouseResourceViewModelBase existing, String f)
at S4Studio.ViewModels.Warehouse.WarehousePackageViewModel.<>c__DisplayClass45_0.<ExecuteImportResourceCommand>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione della raccolta.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at S4Studio.Shared.TerrainHeightMapResource.get_RawImageData()
at S4Studio.Shared.TerrainHeightMapResource.set_RawImageData(Byte[] value)
at S4Studio.ViewModels.Warehouse.WarehousePackageViewModel.ImportResource(WarehouseResourceViewModelBase existing, String f)
at S4Studio.ViewModels.Warehouse.WarehousePackageViewModel.<>c__DisplayClass45_0.<ExecuteImportResourceCommand>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---