Post by yabaicorn on Jan 18, 2016 6:50:55 GMT -5
I convert hairs for TS4 but this never happened before. I don't know where I'm messing up exactly. This is happening only with the latest version of S4CasTools. When I try to open the .package file in S4S it gives me this error:
"The Sims 4 Studio - Version 2.6.0.2
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 402
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64(ByteOrder order) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 366
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64() in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 83
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\CAS\CasPartResource.cs:line 594
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](DBPFResourcePointer index) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Package\DBPFPackage.cs:line 342
at S4Studio.Data.PackageResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\PackageResourceProvider.cs:line 71
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\ResourceProvider.cs:line 67
at S4Studio.Data.ResourceHandle.Data[TResource]() in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\ResourceHandle.cs:line 61
at S4Studio.MainWindow.LoadProject(String filename) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio\UI\MainWindow.xaml.cs:line 1619
"
The .package file and .dds texture: HERE
"The Sims 4 Studio - Version 2.6.0.2
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 402
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64(ByteOrder order) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 366
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64() in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Util\BinaryStreamWrapper.cs:line 83
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\CAS\CasPartResource.cs:line 594
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](DBPFResourcePointer index) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\IO\Package\DBPFPackage.cs:line 342
at S4Studio.Data.PackageResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\PackageResourceProvider.cs:line 71
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\ResourceProvider.cs:line 67
at S4Studio.Data.ResourceHandle.Data[TResource]() in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio.Data\ResourceHandle.cs:line 61
at S4Studio.MainWindow.LoadProject(String filename) in c:\Workspace\Sims4Studio\TheS4Studio\S4Studio\UI\MainWindow.xaml.cs:line 1619
"
The .package file and .dds texture: HERE