Post by andlarryofficial on Dec 29, 2020 4:27:46 GMT -5
Hi all, I'm wanting to create a selective clone of a cc package from a long inactive creator (object will occasionally disappear when placed in game, and wanting to make some recolors), I'm getting the following error when I try to open it in s4s. On the most current version of s4s and sims 4, game works, package works in game, just can't open it in s4s. Is there any way around this error, or am I SOL with this package?
The Sims 4 Studio - Version 3.1.4.2
System.AggregateException: One or more errors occurred. ---> S4Studio.Data.IO.Package.CorruptResourceException: Resource: C0DB5AE7-80000000-985E614721125803 in package:C:\Users\[UserName]\Documents\Sims 4 Studio\Mods\[ML] TotShop IZIGo Car Seat.package contains invalid data. ---> Ionic.Zlib.ZlibException: Bad state (unknown compression method (0x80))
at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
at Ionic.Zlib.ZlibStream.UncompressBuffer(Byte[] compressed)
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)
--- End of inner exception stack trace ---
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.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable)
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes)
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Data.IO.Package.CorruptResourceException: Resource: C0DB5AE7-80000000-985E614721125803 in package:C:\Users\[UserName]\Documents\Sims 4 Studio\Mods\[ML] TotShop IZIGo Car Seat.package contains invalid data. ---> Ionic.Zlib.ZlibException: Bad state (unknown compression method (0x80))
at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
at Ionic.Zlib.ZlibStream.UncompressBuffer(Byte[] compressed)
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)
--- End of inner exception stack trace ---
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.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable)
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes)
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
The Sims 4 Studio - Version 3.1.4.2
System.AggregateException: One or more errors occurred. ---> S4Studio.Data.IO.Package.CorruptResourceException: Resource: C0DB5AE7-80000000-985E614721125803 in package:C:\Users\[UserName]\Documents\Sims 4 Studio\Mods\[ML] TotShop IZIGo Car Seat.package contains invalid data. ---> Ionic.Zlib.ZlibException: Bad state (unknown compression method (0x80))
at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
at Ionic.Zlib.ZlibStream.UncompressBuffer(Byte[] compressed)
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)
--- End of inner exception stack trace ---
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.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable)
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes)
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Data.IO.Package.CorruptResourceException: Resource: C0DB5AE7-80000000-985E614721125803 in package:C:\Users\[UserName]\Documents\Sims 4 Studio\Mods\[ML] TotShop IZIGo Car Seat.package contains invalid data. ---> Ionic.Zlib.ZlibException: Bad state (unknown compression method (0x80))
at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
at Ionic.Zlib.ZlibStream.UncompressBuffer(Byte[] compressed)
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)
--- End of inner exception stack trace ---
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.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable)
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes)
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---