PDA

View Full Version : Regarding EA Instance Numbers


Morague
1st Dec 2006, 12:56 PM
Hi :)

I am hoping someone can help me with this problem.

I've been working on trying to add face templates & so far I'm doing pretty good with it, however, during my journey I discovered some omissions to the standars sets.

The face templates CPER & CSLA only show up for the adults, not for any of the other ages even though the resources are in the CASFace.package. Digging further I found that the facearch & 3IDR files for these specific templates are missing. It's easy enough to make them but.... they'll require new instance numbers & because these are EA face templates they all use the standard 0x1C0532FA group.

There seems to be a pattern to how the instance numbers were rrived at but I can't figure out what that method was. Here are a few examples:

afarchetge_etge FaceArch 0x2C17B74A 0x4C95D718
amarchetge-etge FaceArch 0x2C17B74A 0xEC95D719
cuarchetge_etge FaceArch 0x2C17B74A 0x0C95D712
efarchetge_etge FaceArch 0x2C17B74A 0x0C95D713
emarchetge_etge FaceArch 0x2C17B74A 0x0C95D714
puarchetge_etge FaceArch 0x2C17B74A 0x8C95D715
tfarchetge_etge FaceArch 0x2C17B74A 0xAC95D716
tmarchetge_etge FaceArch 0x2C17B74A 0x0C95D717


afarchemed_emed FaceArch 0x2C17B74A 0x6C95D6D6
amarchemed_emed FaceArch 0x2C17B74A 0x6C95D6D7
cuarchemed_emed FaceArch 0x2C17B74A 0x4C95D6D0
efarchemed_emed FaceArch 0x2C17B74A 0xAC95D6D1
emarchemed_emed FaceArch 0x2C17B74A 0xCC95D6D2
puarchemed_emed FaceArch 0x2C17B74A 0xEC95D6D3
tfarchemed_emed FaceArch 0x2C17B74A 0xCC95D6D4
tmarchemed_emed FaceArch 0x2C17B74A 0x4C95D6D5

Ok - so the instance numbers are the last column. I noticed the "95D" is consistent & then the last 3 digits are consecutive within the groupings, but the first 2 digits do not seem to follow any pattern.

Does anyone have any ideas on this? Are the instance number derived from the name somehow?

Echo
1st Dec 2006, 11:02 PM
Perhaps they are calculated using the hashing system? http://www.sims2wiki.info/TGI. The code to automagically fix most of the files that use this system is in SimPE in the "Fix Integrity" functionality.

Morague
3rd Dec 2006, 01:50 AM
Thanks Echo,

I wish I could use Fix Integrety of the 3IDRs & Property Sets but it only seems to be available if you also have the MATD. TXTR. etc available & in this case I just don't need them in the package I'm making because the onlt stuff EA forgot was the PSET & the 3IDR. I'll have a look at the wiki, though

In any event, that's not the only problem with these facearch types - they are also missing from the globalcatbins.bundle.package & that is way over my hear. I spent 6 hours yesterday trying to figure out how it's assigning the facearch to the custom faces/ages but to no avail.

So, while i can creat a package to add a new custom archetyle & have it show up & be selectable in Body Shop I can not get it to be available in CAS. Still, it's better than nothing!

Theo
3rd Dec 2006, 02:20 AM
Hi Morague,

What I could find in the globalcatbins were the 3IDR and BINX for the default templates, they share the group number 0x7FE086B1.

Interestingly enough, the TextLists resource with instance 1 appears to hold the names of all the face templates.

hope this helps :)

WesHowe
3rd Dec 2006, 03:23 AM
I think the family= GUID in the facearch is used to match these up with the cres (the shpe then appears to be overridden by the 3IDR with the corresponding group+instance values).
<* Wes *>

Morague
3rd Dec 2006, 05:13 AM
Thanks, guys :)


I'll have another look into this tomorrow. I spent SO much time on it yesterday that I am sick of it :) It's not so bad if you figure something out.... but I couldn;t see what it was doing :)