Post by simjemma on Jul 2, 2020 7:34:30 GMT -5
I'm trying to open a Mesh in Sims 4 Studio on my laptop and it's giving my this message:
The Sims 4 Studio - Version 3.1.3.4
System.InvalidOperationException: input is not compressed
at Gibbed.RefPack.Decompression.Decompress(Stream input)
at Gibbed.RefPack.StreamHelpers.RefPackDecompress(Stream input)
at Gibbed.RefPack.Decompression.Decompress(Byte[] input)
at S4Studio.Data.IO.Package.PackageCompressor.Decompress(Byte[] data, UInt32 length, DBPFCompressionType type)
at S4Studio.Data.IO.Package.DBPFPackage.Decompress(Byte[] data, UInt32 length, DBPFCompressionType type)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.PackageResourceProviderBase.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.ViewModels.ObjectCustomContentViewModel.<>c.<InitSwatches>b__13_1(IResourceHandle x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at S4Studio.ViewModels.ObjectCustomContentViewModel.<InitSwatches>d__13.MoveNext()
at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.get_Swatches()
at S4Studio.ViewModels.Generic.BatchEditingViewModel..ctor(CatalogSims4CustomContent obj)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id, Type type)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id, Type type)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent`1..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id)
at S4Studio.ViewModels.ObjectCustomContentViewModel..ctor(IWindow window, IResourceProvider globalFiles, IDBPFPackage localPackage, UInt64 prototype_id)
at S4Studio.Shared.StudioDocumentModel.LoadViewModel()
at S4Studio.Shared.StudioDocumentModel.set_Package(IDBPFPackage value)
at S4Studio.MainWindow.LoadProject(String full_path)
What's weird is that I was able to create + open in S4S and put the object in-game on my computer but when it's on my laptop it's having issues (it can't open in S4S and is stopping my game from opening).
I actually had this issue with another mesh I created yesterday (it being able to work on my computer but not on my laptop), I tried that object again today on my laptop in S4S and in-game and it was able to work fine so it's an error that can be fixed, I'm probably just overlooking / forgetting something really simple - any advice is appreciated!
The Sims 4 Studio - Version 3.1.3.4
System.InvalidOperationException: input is not compressed
at Gibbed.RefPack.Decompression.Decompress(Stream input)
at Gibbed.RefPack.StreamHelpers.RefPackDecompress(Stream input)
at Gibbed.RefPack.Decompression.Decompress(Byte[] input)
at S4Studio.Data.IO.Package.PackageCompressor.Decompress(Byte[] data, UInt32 length, DBPFCompressionType type)
at S4Studio.Data.IO.Package.DBPFPackage.Decompress(Byte[] data, UInt32 length, DBPFCompressionType type)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.PackageResourceProviderBase.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.ViewModels.ObjectCustomContentViewModel.<>c.<InitSwatches>b__13_1(IResourceHandle x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at S4Studio.ViewModels.ObjectCustomContentViewModel.<InitSwatches>d__13.MoveNext()
at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.get_Swatches()
at S4Studio.ViewModels.Generic.BatchEditingViewModel..ctor(CatalogSims4CustomContent obj)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id, Type type)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id, Type type)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent`1..ctor(IWindow window, IResourceProvider remoteSource, IDBPFPackage localPackage, UInt64 prototype_id)
at S4Studio.ViewModels.ObjectCustomContentViewModel..ctor(IWindow window, IResourceProvider globalFiles, IDBPFPackage localPackage, UInt64 prototype_id)
at S4Studio.Shared.StudioDocumentModel.LoadViewModel()
at S4Studio.Shared.StudioDocumentModel.set_Package(IDBPFPackage value)
at S4Studio.MainWindow.LoadProject(String full_path)
What's weird is that I was able to create + open in S4S and put the object in-game on my computer but when it's on my laptop it's having issues (it can't open in S4S and is stopping my game from opening).
I actually had this issue with another mesh I created yesterday (it being able to work on my computer but not on my laptop), I tried that object again today on my laptop in S4S and in-game and it was able to work fine so it's an error that can be fixed, I'm probably just overlooking / forgetting something really simple - any advice is appreciated!