Locked thread |
Replies: 0 (Who?), Viewed: 14421 times.
#1
8th Jul 2005 at 8:43 PM
Last edited by simsample : 14th Apr 2006 at 2:27 PM.
Locked thread |
|
Posts: 3,230
Thanks: 19090 in 58 Posts
Each file is essentially a little database that contains records. Each of these records has a "key" that specifies the type of the record and what "group" it belongs to. When the game starts up, it looks into each file and determines what groups each one contains so that finding a file by a specific group (something that is done quite often) can be done quickly. To alleviate the need for querying the file for what groups it has, which may require opening the file more than what is necessary and doing file I/O, a cache of groups to filenames is stored in groups.cache. A timestamp for the cache per file is also stored so that if the file has been changed or updated then the cache is invalidated. We've noticed some issues here as well and are working to fix them. The group.cache file will rebuild itself when necessary so I wouldn't worry about deleting it. |
Locked thread |
|
This site is not endorsed by or affiliated with Electronic Arts, or its licensors. Trademarks are the property of their respective owners. Game content and materials copyright Electronic Arts Inc. and its licensors. All Rights Reserved.
Site version: v3.5.0. ModTheSims, ModTheSims2 and MTS2 © 2004-2023.