Forum Discussion

thequux's avatar
11 years ago

Questions about simdata format

I'm probably going to need @SimGuruModSquad for this one :smile:

I have a few questions about the correspondence between SimData files and XML tuning.

First of all, let's take a look at the trait_Novelist trait from the novelist package that was in the docs. I've figured out that the enumeration for Ages is defined in the Python that was provided, but I'm not sure where the values for tags (column 11) come from, particularly because the field refers to a dynamic tag in the tdesc file (and python code).

Second, it seems that you have multiple objects packed into one table: table has both tags and ages stored in it, and table has two different strings. Am I understanding the file format correctly?

Third, could you clarify how the game turns SimData files into objects (in the CS sense) that appear in the game? Based on the first version of the novelist example (with just two simdata resources and two XML files), the trait is found by scanning the package files. However, the only thing I can find that indicates that there is a trait resource is the fact that the SimData file has a schema named "Trait". Would it be valid for a SimData file to have two traits stored in it, and if so, what would the game do with such a resource?

Third, in order to make sense of the simdata file, it looks like I'll need data files derived from the python archives from the game. Would it be allowed to distribute works derived from the python files and TDesc files? (I need the tuning descriptions from the tdescs and the enumerations from Python).

Thanks!

14 Replies

Replies have been turned off for this discussion

About The Sims 4 Mods & Custom Content

Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,634 PostsLatest Activity: 3 minutes ago