时间:2014-09-09 10:11:18 来源:k73电玩之家 作者:qingyou 热度: 227 次
Step 1: Cloning your meshes
目的就是将你想相互转化的男发和女发克隆导出。这里使用刚才最新下载的工具，TS4 Mesh Tools，非常实用。
1.1 Open the Mesh Tool.
The first section you will see is the "Mesh Cloner" one: stay there, check "Use TS4 game package". A list of game meshes will appear: it will be a bit of a mess to read, since everything will be in a completely random order, so click on "Mesh name" to sort them in alphabetical order. Much better! :D
1.2 Scroll down until you find the hair mesh you want to use. This can be a little tricky, 'cos you won't be able to see any actual preview of the item you're cloning: most names are quite descriptive on their own, but some others (wavy hair, mostly) can be kinda difficult to recognize. Here are a couple of suggestion to help you know what you're looking for, in case you've never worked with TS game files before:
cf/cm/cu/ym/yf: every package starts with one of these in its name. If you're familiar with TS2/TS3 files, you'll already know what this is, but for anybody wondering...
CF: child female
CM: child male
CU: child unisex
YM: young adult male (in TS4, works for teens, adults and elders too)
YF: young adult female (same as YM, works for teens, adults and elders too)
The hair you want to export in this case is a YF, so head directly to the list section where names start with "yfHair": that's where all female hair meshes can be found!
1.3 Once you find the hair mesh you want to export, click on its name. Also, see that almost hidden bar on the far right of Mesh Tool? That's a color list. You may select any color you like (if you don't choose any, the default one will be brown). Personally, I prefer to start with black. Click on that. Once everything is set, click on "Clone!" :D Do not worry about changing the mesh name, you're just going to use the exported package as reference, so it doesn't matter!
1.4 Now, you'll have to clone a male mesh as well. The process is basically the same as before, only this time we're going to clone a YM hair mesh. My personal favourites to use as base are "ymHair_MediumLong" (if I plan to convert a straight long female hair) and "ymHairMediumLongWavy" (if I plan to convert a wavy long hair). Now you may wonder: why caring so much about the male mesh being long, short or medium? Simply because cloning a "long hair" mesh will help you get your converted hair show up in the right category, once you're in game :D choosing a different male hair mesh to use as base, like a short one, would lead your hair showing up in the wrong category once in game, and changing the flags would be a lot more boring work to do D: so, to save time, better cloning a mesh that is closest to what you need! :)
Just like you did for female hair, you can select the color you want to export: your best choice would be selecting the same color as the one of the female hair you exported before. In this case, black.
One note on recolors: Since your mesh will be attached to the first recolor you make, and since the first recolor also determines how your default hair thumbnail will look in game, choosing the color "black" would help you getting an in-game thumbnail that looks just like vanilla ones. Mind you, it's not *vital*, it's just something you can use if you, like me, prefer your hair thumbnails to look all the same ^_^
Step 2: extracting the female files
2.1 S4PE time! Open the female mesh you exported before: you will see many different files listed in your package. There will be four "UNKN" files and around 12 "GEOM" files. UNKN files are the textures + the swatch, while GEOMs are the parts of your mesh. If you click on the first UNKN file, you will see a preview of your hair texture. The second image will show a weird white/grey blob: that's the "hair shadow" (every sims 4 hair "projects" a shadow on the sims' face: that is what that texture is for). To export your textures, right-click on them and select "Export as .dds": you will need to do this just for the first two UNKN files.
2.2 Time to export the GEOMs! This time, when clicking on them, you won't see any preview. Don't worry, it's completely normal. Right-click on the first GEOM file and select "Export to file". It's important for you to export them in the correct order, otherwise you may mess things up when re-importing them! Save them where you also saved the textures and rename them so that you can get them in the right order later on. Personally, I used the amazingly original names of "Lod1", "Lod2", "Lod3" and so on, up until "Lod12" :D
Step 3: importing files to the male mesh
3.1 Once you have exported all of your female textures and GEOMs, you'll have to re-import them to the male mesh. First, textures.
Open the male mesh file you cloned before, click on the first texture and select "Import from .dds". Select the first texture you exported (the hair one) and click "Yes" when asked if you want to update the resource. Do the same for the second texture, the "hair shadow one".
3.2 Now it's time to re-import GEOMs as well. Click on the first GEOM file, select "Replace". Do NOT use "Import as file" or any other option. "Replace" is the one that works. Replace every single GEOM in your package, following the same order you exported them in. Once you're done and every GEOM is replaced, save your package.
Oh, and when you're re-importing your GEOMs...
DO NOT TOUCH THE SORTING ORDER OF YOUR PACKAGE FILES IN S4PE WHEN YOU RE-IMPORT GEOMS, YOU MIGHT END UP RE-IMPORTING GEOMS ALL WRONG IF YOU DO. LEAVE IT THE SAME AS IT WAS WHEN YOU EXPORTED FEMALE FILES.
Step 4: test!