Difference between revisions of "CD95548E"
From SimsWiki
(Auto-inserted from WakkaWikki) |
m (Info moved from WFR. Removed username. Added categories) |
||
Line 1: | Line 1: | ||
− | {{OldWikiEntry}} | + | {{OldWikiEntry}} |
+ | {{OldWikiEntry|WFR}} | ||
+ | ====Wants and Fears==== | ||
Format: | Format: | ||
<pre> | <pre> | ||
− | 4 | + | 4 version (0x1 in the original Sims 2, 0x5 or 0x6 in University) |
+ | if (version >= 0x05) | ||
+ | 4 count (current lifetime wants) | ||
+ | loop | ||
+ | want record (see below) | ||
+ | end loop | ||
+ | end if | ||
+ | |||
+ | if (version >= 0x05) | ||
+ | 4 max wants count (max # of current wants) | ||
+ | end if | ||
+ | |||
4 count (current wants) | 4 count (current wants) | ||
loop | loop | ||
want record (see below) | want record (see below) | ||
end loop | end loop | ||
+ | |||
+ | if (version >= 0x05) | ||
+ | 4 max fears count (max # of current fears) | ||
+ | end if | ||
+ | |||
4 count (current fears) | 4 count (current fears) | ||
loop | loop | ||
want record | want record | ||
end loop | end loop | ||
+ | |||
+ | if (version >= 0x05) | ||
+ | 4 unknown | ||
+ | end if | ||
4 unknown (2) | 4 unknown (2) | ||
− | 4 unknown | + | 4 unknown (some type of timestamp?) |
4 count (previous wants and fears) | 4 count (previous wants and fears) | ||
loop | loop | ||
Line 26: | Line 48: | ||
Want record: | Want record: | ||
− | 4 | + | 4 version (always 7, 8 or 9) |
2 instance id of sim | 2 instance id of sim | ||
4 want id | 4 want id | ||
− | 1 object type (0,1,2,5) seen so far | + | 1 object type (0,1,2,3,4,5) seen so far |
x varies based on object type | x varies based on object type | ||
0 =none (0 bytes) | 0 =none (0 bytes) | ||
− | 1 =sim id (If | + | 1 =sim id (If versionis 7 then 0 bytes if version is 8 or 9 then 2 bytes) |
2 =object id (4 bytes) | 2 =object id (4 bytes) | ||
3 =catagory id (4 bytes) | 3 =catagory id (4 bytes) | ||
+ | 4 =skill id (2 bytes) | ||
5 =career id (4 bytes) | 5 =career id (4 bytes) | ||
− | 2 if object id is 3 then this is the price. As in wants a telescope costing more than $500. I'm not sure about other | + | 2 if object id is 3 then this is the price. As in wants a telescope costing more than $500. I'm not sure about other categories. |
− | 4 some kind of counter only non zero in memories | + | 4 some kind of counter, only non zero in memories (timestamp?) |
− | 4 aspiration points(signed dword) | + | 4 aspiration points (signed dword) |
− | 1 | + | if (version >= 0x09) |
− | </pre> [[Category:Modding]] | + | 4 influence points (signed dword) |
+ | end if | ||
+ | 1 flags (0x01=Locked, 0x02=Unknown, 0x04=Unknown) | ||
+ | </pre> | ||
+ | |||
+ | There is more data at the end of the file sometimes, but I am reasonable sure it is just garbage. It always seems to be a copy of data earlier in the file as if the data was shortened but the file length was left alone. This would seem to mean that memories are discarded, has anyone seen this happen? | ||
+ | |||
+ | [[Category:Modding]] | ||
+ | [[Category:InternalFormats]] | ||
+ | [[Category:FormatsByTGI]] |
Revision as of 00:58, 14 July 2006
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/CD95548E
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/WFR
Wants and Fears
Format:
4 version (0x1 in the original Sims 2, 0x5 or 0x6 in University) if (version >= 0x05) 4 count (current lifetime wants) loop want record (see below) end loop end if if (version >= 0x05) 4 max wants count (max # of current wants) end if 4 count (current wants) loop want record (see below) end loop if (version >= 0x05) 4 max fears count (max # of current fears) end if 4 count (current fears) loop want record end loop if (version >= 0x05) 4 unknown end if 4 unknown (2) 4 unknown (some type of timestamp?) 4 count (previous wants and fears) loop 4 want id 4 count loop want record end loop end loop Want record: 4 version (always 7, 8 or 9) 2 instance id of sim 4 want id 1 object type (0,1,2,3,4,5) seen so far x varies based on object type 0 =none (0 bytes) 1 =sim id (If versionis 7 then 0 bytes if version is 8 or 9 then 2 bytes) 2 =object id (4 bytes) 3 =catagory id (4 bytes) 4 =skill id (2 bytes) 5 =career id (4 bytes) 2 if object id is 3 then this is the price. As in wants a telescope costing more than $500. I'm not sure about other categories. 4 some kind of counter, only non zero in memories (timestamp?) 4 aspiration points (signed dword) if (version >= 0x09) 4 influence points (signed dword) end if 1 flags (0x01=Locked, 0x02=Unknown, 0x04=Unknown)
There is more data at the end of the file sometimes, but I am reasonable sure it is just garbage. It always seems to be a copy of data earlier in the file as if the data was shortened but the file length was left alone. This would seem to mean that memories are discarded, has anyone seen this happen?