Kleo Scanti, я вроде все по инструкции делаю, пробовала перекрасить стол, вытащила все текстуры, перекрасила, выдает какую-то ошибку material.package, так что я пока застряла=(((. Жду выходных, муж обещал помочь

.
NNNNatali, можешь написать, как ты это сделала? перекрасила компы? а то, может, я чего-нить не то делаю?
[ADDED=Tristesse]1102537693[/ADDED]
Инструкция по добавлению тестур с modthesims2.com
1. Tools :
- SimPE version 12L and above
2. What you will need inside the package:
MATD (Material Description) - EA Games/The Sims 2/TSData/Res/Sims3D/Objects02.package
MMAT (Model Material) - EA Games/The Sims 2/TSData/Res/Catalog/materials.package
TXTR (Texture Image) - EA Games/The Sims 2/TSData/Res/Sims3D/Objects06.package
of the desired object to include another texture.
3. You could use the LIFO file of that texture to have a large file to edit it.
LIFO (Large Image File) - EA Games/The Sims 2/TSData/Res/Sims3D/Objects07.package, objects08 and objects 09.
Example:
For make another texture to the fridge moderate:
Go to SimPE and open objects02.package. Search in "Name Map" for fridgemoderate...
fridgemoderate have about 10 files. Choose one from this names and copy the instance.
I choose the white one. "fridgemoderatestainless_fridgefront_white"
Paste the instance number in "Instance Filter" and select "Material Description" in Filetypes. Right Click on the file that show in Packed Files and click Extract.
Now open the Materials.package. To find the right MMAT of this texture, download the file attached to this thread, open MMAT.txt and search for the name you want.
When you found, paste the instance in "Instance Filter" and this will show the right file to extract it.
Open objects06.package. Search in "Name Maps" the correct file (fridgemoderatestainless_fridgefront_white)
and copy the instance number. Paste into Instance Filter, select "Texture Images" on Filetypes and extract it.
Now go to LIFOs package and search in Name Maps to your file. Copy and paste the right instance to Instance Filter
and select the Plugin View. Extract just the Image to be edited. You don't need the LIFO in your new package.
Now in SimPE go to File/New. Right click on "Packed Files" space and click "add..." Go to directory with the files you have extracted.
When the box open, select in File Types "Extracted File Description (simpe.xml)" and import this files to your new package.
Go to File/Save and choose a name for the package.
You will need to rename the TXTR, so select "Texture Images" and click on The Texture. Go to Plugin View and change the name to:
body~stdMatBaseTextureName_txtr
EXACTLY THIS NAME! Always use this name
[edited]NOTE: With the release of SimPE version 12m, i made some tests and now you can choose the name that you want. Any one!! Amazing!! Thanks Quaxi!
click in "Assign Hash" and the name of the texture will be change again with some numbers infront. This numbers are essential to our objects working!!
Now click SAVE IN PLUGIN VIEW. And after that click in FIle/Save on SimPE menu.
the new name will be like this: #0x7fa4c502!body~stdMatBaseTextureName_txtr
Select Model material. Go to Plugin View and look for the names fridgemoderate inside it.
Click on "stdMatBaseTextureName" in the properties list and Change with the same name of the texture.
Change the Filename of MATD to the same name of the texture but exclude the "~stdMatBaseTextureName"
the name have to be: #0x7fa4c502!body_txmt
In description use #0x7fa4c502!body
Click "Assign Hash". (i didn't tried not click on this, i don't know if this helps or not.)
click MATD's File List and change the right name to the texture
like: #0x7fa4c502!body~stdMatBaseTextureName
The fridge have other name with the texture on MATD called: reflectionkitchenhighcontrast-envcube
DON'T CHANGE THIS! You just need to change all the references of the old texture.
Now click "commit" and go to File/Save.
PS:. Sometimes the changes don't save, so click on other Filetype and return to Material Description and see if the changes are made it.
[edited]NOTE: With SimPE 12m you will have to edit the name of the texture with the one you chose. Example: Texture Name= #0x745f4e5f!pinhead-alienware4_txtr. In MATD edit with all the name: #0x745f4e5f!pinhead-alienware4.
Now select Model Material. Go to Plugin View and change the "name (dtString)" to the name of MATD.
like: #0x7fa4c502!body
click change and after that click commit. After that go to File/Save
Note: Make sure that "defaultMaterial(dtBoolean)" is set to False. If don't, change True to False.
[edited]NOTE: With SimPE 12m change the name with the name you chose. Example: #0x745f4e5f!pinhead-alienware4
Now we need to change the Group numbers and Instances to our package show the textures.
Select Texture Image and go to Packed File tab. Change the group with the same number of the Hash generated by SimPE when you was renaming the texture.
like: Group= 0x7fa4c502
change the instance to
Instance= 0xFF1853FC
Always use this instance for all object's textures you create. This number are linked to the name ""~stdMatBaseTextureName" and you never need to change if you use this method to create more texture options.
Change the Subtype to 0x5A1680BD. It's a global subtype.
click commit and after that go to File/Save.
[edited]NOTE: With SimPE 12m it will generate the correct number of the Instance and Subtype to the TXTR and MATD if you click on "Fix TGI". Atention to the group number. Look if it was changed too. If don't, edit with the hash number generated.
Select Material Description. Go to Packed File tab and change the group to the same number in the name of the texture's Hash.
like: Group=0x7fa4c502
Like the TXTR instance, MATD has the universal instance number because it's linked to the name: !body
so always use this number for instance:
Instance= 0xFF55B1A0
Change the Subtype to 0x7FB7C73C
click commit and after that go to File/Save
[edited]NOTE: With SimPE 12m they will generate the correct number of the Instance and Subtype to the TXTR and MATD if you click on "Fix TGI". Atention to the group number. Look if it was changed too. If don't, edit with the hash number generated.
Now select Model Material. With it we don't need to change the Group. The group 0x8C6965AC is global and we can use this too.
Click "Packed File" tab and change the instance number to the same number of the texture's hash.
like this: Instance= 0x7fa4c502
Click commit and go to File/Save.
Now you need just to edit your texture and import it (using plugin view tab in Quaxi's SimPE or use the Phervers' TXTR Extractor).
Note: I used TXTR Extractor when i was testing this method. Now i was testing the new version of SimPE and edited only with SimPE. I notice that the game stuck when i clicked in the object. Wait to Quaxi improve the TXTR plugin and use TXTR Extractor by Phervers until that.
TXTR Extractor v0.31
You will need DDS Utilities from Nvidia to import the textures.
download here: Nvidia DDS Utilities
You done!
Put the new package in Downloads folder and you have a new fridge to choose.
Additional notes:
Thanks to:
Phervers for discover this method and made TXTR Extractor.
Quaxi for made SimPE and including the Hash feature!
Tom for the Hash feature (?) [i think] .
edited: Now i see that Quaxi releases a new version of SimPE. I will try to use a random name to the texture and see if this could be possible.