CDB467B8

From SimsWiki
Revision as of 01:57, 3 March 2005 by Delphy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/CDB467B8
====ContentRegistry Resource====

This resource is found in the "ContentRegistry" file, which is a DBPF package, without an extension, found in the TSData/Res folder of the game data folder, and if you have installed any "sims2pack" files, especially those from Maxis, you should have one in your user data folder. The package contains two instances of the resource, one being in Group 0x00000001, and the other in 0x00000002. The resources appear to vary between the two groups.

__==Group 0x00000001 Format==__

DWORD - Version (1) DWORD - GroupID (Hashed, IE either objects, or sounds, etc.) DWORD - Instance (should be, or two WORDS of unknown if its not)

__==Group 0x00000002 Format==__

__==8 Byte Header==__ 4 Bytes - Version 4 Bytes - Number of Entries

__==xx Byte Entry==__ Each entry is variable length, starting with a 16 byte data header.

for each "Number Of Entries": -16 Bytes - CRC consisting of 4 32 bit numbers. -4 Bytes - String Length -x Bytes - String of Length Specified by the previous 4 bytes. Is a Normalized file Path. end for each


The strings contained within the game's data folder's "ContentRegistry" file, appear to match with the file names of all of the package files in the game, plus some other data files which I could not locate, and some without names at all. This is how the game may determine "custom" content from "non-custom" content. Also, downloading "official" Maxis objects, in the *.sims2pack format, will create "ContentRegistry" file in the user directory as well. So that's there. The 16 bytes is a CRC with an unknown derivation. According to MaxoidTom, it's four 32bit numbers, but he failed to say how they were derived.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox