?

Log in

Previous Entry | Next Entry

Tutorial -- default replacements

Hey guys! I've been working on writing a tutorial today :D It's still a work in progress, but I think the time has come for people to have a look at it.

It's friends only for now, I'll share with everyone when I'm sure it's 100% OK. This is working better than I'd thought, I'll share with everyone now!

So here's my attempt at a tutorial. I was hesitant about doing it, because I'm not the most experienced simmer out there, and there are probably easier ways to do this. But I couldn't find a tutorial on how to this myself, and I think there are people out there somewhere who want to make their own replacements, and not depend on people like me to decide what looks good.

If you just want to replace the texture, check this tutorial by Aelia.

What you need:

- An item to replace
- A new piece of clothing and as much recolors as there are of the original piece. The new mesh can only contain one group.
- SimPE with DDS utilities

OK, here it goes.

First, you need a clothing item to replace. So start up your Bodyshop and hit recolor when you find something you'd rather live without. Let's call it 'testpiece'. Now click import. We just want to get the piece in you savedsims folder, so it's easily tracable. Close you bodyshop and start SimPE. Open 'testpiece'.



Click Property Set. Now copy the name, but just the part before the '_'. For example, afbodyjacketturtlesweaterdressboots.



Now, click open your Scenegraph Resource Finder. Put 'Find:' on 'NameMap Search' and 'Type:' on 'Contains [match]'. Type the name you've copied down.

It should look like this:

Image and video hosting by TinyPic

Now hit Start. (It might take some time to find stuff, be patient)

Image and video hosting by TinyPic

To replace the mesh, you have to replace the gmdc, gmnd, shpe and cres files. So double click the gmdc (not the LOD15) and wait till it opens.

Image and video hosting by TinyPic

Now copy down the filename. Open the resource tab and also copy down the group, instance (high) and instance codes.

Image and video hosting by TinyPic

Do the same for the gmnd, shpe and cres files

Image and video hosting by TinyPic

Now is the time to get yourself a replacement outfit.

I'm using a stripy dress from Sentate and some more recolors I found here.

Open the new mesh and extract the gmdc, gmnd, cres and shpe file.

Image and video hosting by TinyPic

Image and video hosting by TinyPic

Now click File and New. Right click the white space and choose 'Add'.

Image and video hosting by TinyPic

Select all four and click open

Image and video hosting by TinyPic

Now choose 'Save as' and choose an easy name

Image and video hosting by TinyPic

Now change all four filenames to the ones you've written down -- Don't forget to commit every time!

Image and video hosting by TinyPic

Also change the Group, Instance (High) and Instance numbers to the ones you have copied down. When you're done, it should look like this:

Image and video hosting by TinyPic

This replacement mesh won't work without the original, though, so I always like to add the original mesh to the file. Just rightclick in white space, and choose 'add'. Find the mesh and add it.

Image and video hosting by TinyPic

Save.

Now all we have to do is replace the textures! Unfortunately, there are two options: 1. Only one age group uses a particular texture. 2. Several age groups share the same texture file. That's a problem, because you only replace the mesh for one age group, so if you were to replace the texture file, other age groups will have new textures, but an old mesh. Let's start out easy:

Option 1. First, find the texture files. Either use the Finder or open: Program Files/EA Games/The Sims (or the EP you're defaulting an outfit from)/TS Data/Res/(Sims)3D/Sims07 and find the ones that match the mesh you've defaulted.
Rightclick and extract all colors and the bump file (not all clothes have a bump file). Save them as something that makes sense.

Image and video hosting by TinyPic

Image and video hosting by TinyPic

Now open the default mesh file

Image and video hosting by TinyPic

Rightclick in the white space and choose 'Add'

Image and video hosting by TinyPic

Add the texture files

Image and video hosting by TinyPic

Save.

Open one of the recolors you're using as a replacement. Click on 'Texture Image', find the texture and click Export and save as something that makes sense.

Image and video hosting by TinyPic

Do the same for the other recolors. Also export a bump texture if you've got one.

Open the file you've been working on again.

Click on one of the texture files, rightclick the image and choose 'Build DXT'

Image and video hosting by TinyPic

Open one of your new textures, put Sharpen on None and click Build

Image and video hosting by TinyPic

Commit!

Do the same for the other textures

Changing the bump file is almost the same. Only, after 'building' you have to put the format on Raw8Bit.

Image and video hosting by TinyPic

If your new outfit doesn't have a bump map, but the old outfit does, replace it with a grey one (RGB 128.128.128) Here's one.

Save & Done!

[missing picture]

Just put the file in your Downloads folder & check in game or bodyshop

Image and video hosting by TinyPic

Option 2. Some of the Maxis outfits share textures. That's nice because it saves you some space, but when you've defaulted the mesh of one of those groups, it makes things kind of difficult. Nothing we can't handle, though!

Let's say I want to replace the teen female PJ's with Bruno's. The texture files of that mesh are shared with the adult and elder gals. After replacing the mesh, here's what you do.

Instead of the texture files, extract the TXMT files.

Image and video hosting by TinyPic

Image and video hosting by TinyPic

Now open the recolors of your new outfit. Rightclick and extract the txtr file

Image and video hosting by TinyPic

Do the same for all your recolors.

Now open your mesh replacement file, rightclick white space and choose 'Add'

Image and video hosting by TinyPic

Add all the txtr and txmt files

Image and video hosting by TinyPic

Save

Now you have to redirect the TXMT files to the different TXTR files.

Click on the first txtr file and copy the part of the File name that's before the '_'

Image and video hosting by TinyPic

Click on a txmt file

Find the part that says: 'stdMatBaseTextureName:'

Image and video hosting by TinyPic

Paste the txtr name that you've just copied:

Image and video hosting by TinyPic

Commit!

Image and video hosting by TinyPic

Match all your texture file to a txmt file

Save

All that's left is the bump file. Because all age groups share the same one, it's wise to change it to a blank one.

Find the bump file(s)

Image and video hosting by TinyPic

Extract it/them

Image and video hosting by TinyPic

Open your replacement file again.

Rightclick in the white space and 'Add' the bump file

Right click the image and choose 'Build DXT'

Image and video hosting by TinyPic

Open a blank bump image (here's one), put Smoothen on none and build:

Image and video hosting by TinyPic

Put format on Raw8bit and Commit

Image and video hosting by TinyPic

Save & Done

Image and video hosting by TinyPic

Put your package file in your Downloads folder and check in game/bodyshop :D

Tags:

Comments

( 141 comments — Leave a comment )
Page 1 of 3
<<[1] [2] [3] >>
fated_oph3lia
May. 11th, 2010 11:26 pm (UTC)
Good tutorial :) I'd just like to point out that a default replacement mesh works just as well by just using the GMDC and also if you rename the custom mesh to the name of the original GMDC you don't need the original one either.
le_plat_du_jour
May. 12th, 2010 04:52 pm (UTC)
I know you can only replace the gmdc, but if you do that, things'll get screwed up when you merge families/move a teen to college. In the family screen, sims will snap back to the original mesh, but with the new textures. And when you share things with others... This is what I read about it.
(no subject) - fated_oph3lia - May. 22nd, 2010 08:13 pm (UTC) - Expand
frankscrank
May. 11th, 2010 11:32 pm (UTC)
Eeeee much love and honey! :D No feeling sick to long and thank you sooo much for making a tutorial!
moonerz
May. 11th, 2010 11:43 pm (UTC)
by "Open the new mesh and extract the gmdc, gmnd, cres and shpe file."
You mean the same way you got the filenames of the defaults, right? Through bodyshop?
le_plat_du_jour
May. 12th, 2010 04:54 pm (UTC)
No, I meant: open the mesh file of the new clothes and rightclick the four parts - gmdc, gmnd, cres and shpe. Like the two pictures below that sentence. Does that make sense?
(no subject) - moonerz - May. 12th, 2010 08:58 pm (UTC) - Expand
diraemythos
May. 11th, 2010 11:52 pm (UTC)
om nom nom nom!
spyroeldragon
May. 12th, 2010 01:30 am (UTC)
8DDDD
HOW DID I MISS THIS. I always forget about that search function in SimPE and go around digging through files. :P
pnkpnthr334
May. 12th, 2010 02:39 am (UTC)
Oh wow! I was just searching for this type of tutorial today, but didn't find anything. I'd really like to learn a new Sims skill, and this seems like a good one. :D
le_plat_du_jour
May. 17th, 2010 08:32 am (UTC)
I got an email saying you replied here, but it's not showing up here :/ You did ask me this: "If your new outfit doesn't have a bump map, but the old outfit does, replace it with a grey one (RGB 128.128.128) Here's one."
I've just come across this situation, but how do you replace the bump map with the blank one??
, right?

To replace the bump map, just click on the txtr file, rightclick on the image, choose Build DXT and open the grey image file. Click Build and put Format on Raw8Bit before you commit.

Does that help?
(no subject) - pnkpnthr334 - May. 18th, 2010 04:37 pm (UTC) - Expand
frankscrank
May. 12th, 2010 04:49 am (UTC)
Eeeeeeeeeee


It worked! Thank you so fucking much man!

I defaulted a whole set of cf dresses,eeeeeeeee
le_plat_du_jour
May. 12th, 2010 04:59 pm (UTC)
\o/
yeahyeahjess
May. 12th, 2010 05:58 am (UTC)
I'm going to have to try this!!! It seems a lot easier than I was dreading. Wow. :D
le_plat_du_jour
May. 12th, 2010 04:57 pm (UTC)
It really isn't hard to do. Once you've done it a few time, it's really quite easy :D

I'll be looking forward to what you come up with!
song_sims
May. 13th, 2010 10:45 pm (UTC)
Shiny! Thank you so much. I can't wait to try this. I'll probably mess up, but I'll sure give it the old simmer try.
frankscrank
May. 16th, 2010 07:47 am (UTC)
Umm something defaulted over Adult and Elder? Is their a way to make it only adult?
le_plat_du_jour
May. 17th, 2010 08:24 am (UTC)
Ehm, you mean you've already got something that replaces both the adult and elder version? Well, it doesn't really matter, cos you're gonna have to start from scratch. Just replace the adult mesh and find the adult TXMT files and redirect those to your new texture files. Does that make sense?
frankscrank
May. 21st, 2010 07:44 am (UTC)
Thanks that worked :D
moonerz
May. 22nd, 2010 01:32 am (UTC)
I am stuck on the scenegraph part where you do the NameMap search...
I typed in the base (from afbottomshortshorts_blackshortstennisshoes I put in afbottomshortshorts) and then did the search, and then pressed "start"
I didn't realize that it was just not finding anything :/
le_plat_du_jour
May. 22nd, 2010 11:49 am (UTC)
Does it work when you search for other stuff? This happens to me too, sometimes. When I searched for afbottomshortshorts just now, mine did find the mesh parts and the txmt files... I'm not sure what you're doing wrong - if you indeed are. You can always scan trough folders to find the parts; go to Program Files/EA Games/The Sims/TS Data/Res/Sims3D/Sims07 for the texture files, Sims03 for the gmdc, Sims04 for the gmnd, Sims05 for the shpe and Sims06 for the cres files.
(no subject) - moonerz - May. 22nd, 2010 05:54 pm (UTC) - Expand
(no subject) - moonerz - May. 24th, 2010 08:20 pm (UTC) - Expand
(no subject) - le_plat_du_jour - May. 24th, 2010 08:27 pm (UTC) - Expand
(no subject) - le_plat_du_jour - May. 24th, 2010 08:30 pm (UTC) - Expand
(no subject) - moonerz - May. 24th, 2010 11:36 pm (UTC) - Expand
(no subject) - le_plat_du_jour - May. 25th, 2010 12:12 am (UTC) - Expand
(no subject) - (Anonymous) - May. 25th, 2010 10:31 pm (UTC) - Expand
(no subject) - le_plat_du_jour - May. 26th, 2010 06:14 pm (UTC) - Expand
(no subject) - moonerz - May. 26th, 2010 09:43 pm (UTC) - Expand
(no subject) - le_plat_du_jour - May. 28th, 2010 06:00 pm (UTC) - Expand
(no subject) - moonerz - May. 29th, 2010 06:44 pm (UTC) - Expand
(Anonymous)
May. 22nd, 2010 08:26 pm (UTC)
Thanks!
Thank you so much for taking the time to write this tutorial. I just created my very first mesh replacement, and it worked! I have been looking everywhere for a tutorial like this. Thanks again!
le_plat_du_jour
May. 22nd, 2010 09:23 pm (UTC)
Re: Thanks!
That's awesome! I'd love to see it :D
dark_dwellersim
May. 23rd, 2010 12:09 am (UTC)
I tried this tutorial for a hair replacement (which I had been looking for, forever, thanks for making this tutorial) but it didn't work, the texture and mesh aren't quite right in Body Shop, well ok the texture isn't showing up at all, and the mesh has the correct shape, but has transparent spots... What did I do wrong. :(
le_plat_du_jour
May. 23rd, 2010 12:21 am (UTC)
Did you ask this, then delete it and then ask again, or is my gmail sending me messages that haven't been sent yet? :P

But yeah, hairs. I've tried to replace about 10 of them, and only 2 worked out. The thing is, like clothes, you can only use replacements that only have one group. At least, that's my theory right now. I don't know how you can see hairs have multiple groups, other than opening the mesh in SimPE and opening the gmdc file. This seems to be OK, this too, but not this.
(no subject) - dark_dwellersim - May. 23rd, 2010 12:24 am (UTC) - Expand
(no subject) - inkspottedtea - Jul. 10th, 2010 01:14 am (UTC) - Expand
(no subject) - le_plat_du_jour - Jul. 13th, 2010 12:31 am (UTC) - Expand
curiousb
May. 23rd, 2010 08:57 am (UTC)
Thank you hugely for this - I was just wondering how to go about replacing a mesh myself! :)
dhearest
May. 31st, 2010 05:20 pm (UTC)
Thank you, it worked perfectly:D
strange_tomato
Jun. 2nd, 2010 04:32 pm (UTC)
Thank you for this tutorial! It was very easy to follow. I'm looking forward to testing it out.
severious09
Jun. 5th, 2010 06:54 am (UTC)
I love you for this. Seriously, I do. :]

BUT

I have a quick question...

When I'm trying to replace a mesh with a nude mesh, the lighting gets, well, wonky. I also loose my sexyfeet.



Any idea about what I screwed up on? :/
le_plat_du_jour
Jun. 5th, 2010 02:59 pm (UTC)
Well, the lighting problem is because of the bump file. Be sure to put the Format on 'Raw8bit'.
I'm not sure what happened to your feet.. If you send me the file, I'll take a look at it.
(no subject) - severious09 - Jun. 5th, 2010 04:50 pm (UTC) - Expand
(Deleted comment)
le_plat_du_jour
Jun. 6th, 2010 04:47 pm (UTC)
When you've selected the gmdc file (or gmnd, shpe, cres) open the Resource tab and you'll be able to change the group, instance (high) and instance numbers. Like this.
juri_anne
Jun. 12th, 2010 06:52 pm (UTC)
Thank you so much for this tutorial! :D I'm trying to make my friend default, but I'm running across a few issues.

1) What happens if the original mesh doesn't have a bump map, but the mesh you want to replace it with does ?

2) What happens if the replacement mesh has two texture/bump map files per color as opposed to one?

Am I just going to have to find different replacements? :)

Thank you, again!
le_plat_du_jour
Jun. 12th, 2010 08:54 pm (UTC)
1) That doesn't really matter. The replacement will just not have a bump map. You can't even really tell, most of the time.

2) That usually means that the replacement mesh contains more than 1 group. Unfortunately, that does mean it won't work as a replacement...

Hope that helps! And you're welcome :D
(no subject) - juri_anne - Jun. 12th, 2010 09:00 pm (UTC) - Expand
iwrongedhim
Jun. 18th, 2010 06:07 am (UTC)
Thank you for this tutorial. I don't know where or how I messed up but I did. When I checked my replacement in Bodyshop it looked like this Could you help me please?
le_plat_du_jour
Jun. 18th, 2010 03:47 pm (UTC)
:S I'm sorry, but it looks like your replacement mesh contains two groups. When you default a piece with more than one group, it won't work and your replacement will only show one -- in this case part of the belly and arms.

So I'm sorry to say this mesh is not suitable as a replacement... :/
(no subject) - iwrongedhim - Jun. 18th, 2010 09:21 pm (UTC) - Expand
(Deleted comment)
le_plat_du_jour
Jul. 1st, 2010 11:48 am (UTC)
If the replacement is done correctly, I would say the only thing that could have gone wrong, is that you have another replacement in your Downloads folder.

Could you maybe send me the file, so I can take a look at it?
ottinger0980
Jul. 12th, 2010 09:01 am (UTC)
Completely stumbled over this after seeing your great default replacements over on Wella. I've been looking for this kind of tutorial forEVER! Thank you so very much!
astro_cake
Sep. 18th, 2010 07:12 pm (UTC)
I'm attempting to create three separate defaults for the maid outfit using three different outfits. However, the textures for the second and third keep using the texture from the first. I'm 90% sure it isn't a simple problem, so I don't know what's wrong. Even without ANY defaults for afBodydressMaid in my Downloads folder, the maid outfit still shows up as the first default I created. Do you have any idea what could be wrong?
le_plat_du_jour
Sep. 18th, 2010 07:19 pm (UTC)
I *think* I understand what's happening, but I'm not sure. So you're making three different replacements for the maid outfit, of which you can always have only one in your game, right? Ehm, could you maybe PM me the files, so I can take a look at them?
(no subject) - astro_cake - Sep. 19th, 2010 02:42 am (UTC) - Expand
(no subject) - astro_cake - Sep. 22nd, 2010 11:01 pm (UTC) - Expand
(no subject) - le_plat_du_jour - Sep. 22nd, 2010 11:30 pm (UTC) - Expand
(no subject) - astro_cake - Sep. 23rd, 2010 02:38 am (UTC) - Expand
littlemandolin
Oct. 7th, 2010 09:49 pm (UTC)
Hello! Thank you so much for this tutorial. I do have a problem, though: the Build DXT option is greyed out on my original textures. I have no idea why and I have no idea how to fix that or work around it... any help?
le_plat_du_jour
Oct. 7th, 2010 09:57 pm (UTC)
The only reason I can think of, is that you don't have DDS utilities installed. I'm sure I mentioned it somewhere... Not very obviously, I guess :) You can get them here.

Hope that helps :D Let me know!
(no subject) - littlemandolin - Oct. 7th, 2010 10:11 pm (UTC) - Expand
Page 1 of 3
<<[1] [2] [3] >>
( 141 comments — Leave a comment )

Latest Month

January 2016
S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
31