Post by Lena on May 30, 2022 6:37:41 GMT -5
For over a month now, I have not been able to use S4S at all due to objects not loading. I tried to "fix" the path, even though it was already the right path. I tried uninstall & reinstall. I even tried clean resetting my computer. The problem still occurs.
Here is the error message:
The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Data.IO.Package.PackageLoadException: Failed to load E:\Program Files (x86)\Origin Games\The Sims 4\Delta\GP08\Strings_CHT_CN.package ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at S4Studio.Data.IO.Package.DBPFPackage.ReadIndexTable()
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
--- End of inner exception stack trace ---
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath)
at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation)
at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit)
at S4Studio.Shared.AppModel.DoInit()
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.PackageLoadException: Failed to load E:\Program Files (x86)\Origin Games\The Sims 4\Delta\GP08\Strings_CHT_CN.package ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at S4Studio.Data.IO.Package.DBPFPackage.ReadIndexTable()
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
--- End of inner exception stack trace ---
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath)
at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation)
at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit)
at S4Studio.Shared.AppModel.DoInit()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
System.AggregateException: One or more errors occurred. ---> S4Studio.Data.IO.Package.PackageLoadException: Failed to load E:\Program Files (x86)\Origin Games\The Sims 4\Delta\GP08\Strings_CHT_CN.package ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at S4Studio.Data.IO.Package.DBPFPackage.ReadIndexTable()
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
--- End of inner exception stack trace ---
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath)
at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation)
at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit)
at S4Studio.Shared.AppModel.DoInit()
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.PackageLoadException: Failed to load E:\Program Files (x86)\Origin Games\The Sims 4\Delta\GP08\Strings_CHT_CN.package ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at S4Studio.Data.IO.Package.DBPFPackage.ReadIndexTable()
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
--- End of inner exception stack trace ---
at S4Studio.Data.IO.Package.DBPFPackage..ctor(String filename, Boolean cache, IPackageEntryStorage storage, IPackageResourceCache cache_storage, IPackageCompressor compressor)
at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath)
at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation)
at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit)
at S4Studio.Shared.AppModel.DoInit()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
I would be really grateful if somebody could help me fix this issue.
PS. I tried to post this in the error / bug thread but it doesn't allow any new comments, so I had to post here.