View Full Version : Default replacing with added alphas (Maxis BG 1-part mesh)
CatherineTCJD
3rd Jan 2011, 04:14 PM
I'm trying to get rid of those fugly (IMHO :rolleyes: ) Front Button BG blouses for Elder Females. I want to replace them with CatOfEvilGenius' Elegant Tanktops for Grandma (http://www.modthesims.info/download.php?t=415398) - specifically the Scalloped ones: Cream, Lavender, Leaf, Sky, White, Wine, and Yellow. After getting the basic mesh and the textures default replaced successfully, I got stuck... something to do with the added alphas in Cat's mesh. So I sent her a call for help :call: ; thus this thread.
She responded:So besides default replacing the mesh and the textures, you ALSO need to default replace a few other things. The GZPS resources need to be changed to say the mesh now has 3 groups, and what their names are. I believe you also need to replace the GMND and/or the SHPE, so they also say the mesh has 3 groups. The 3IDR resources need to have two new references to the TXMT the shirts use.
Since the above is pretty much "French" to me (that is to say, I can make out parts of it, but the rest is just mumbo-jumbo.) I'm grateful she included this next bit:
Don't feel daunted by this, I can explain it all with pictures and step by step instructions. Just start a thread in the Create forums and PM me the link and I'll help you out. I'm flattered you're using my stuff as a default replacement, and glad you're learning new stuff. Lots of people don't even try, and that's a shame.
Thank you SOOOOO much for helping me sort this out!
CatOfEvilGenius
3rd Jan 2011, 11:24 PM
Default Replacing a Mesh and Recolors with an Alpha Mesh and Alpha Recolors
The mesh you are using as a replacement has more groups than the original, and is an alpha mesh, so you'll need to replace a bunch more things than usual. A mesh is made of a GMDC (vertices, faces), a CRES (skeleton), a GMND and a SHPE. You have already replaced the GMDC, the CRES is fine as is, but we need to change the GMND and SHPE so they know there are new mesh groups. Let's start with the GMND, shall we? Somewhat involved, but not too hard. :)
Adding groups to the GMND resource
1) Find the GMND in SimPE the same way you found the GMDC, export it, put it in your default replacement file.
2) Now select your replacement GMND. In Plugin View, in the Blocklist drop-down, select tsDesignModeEnabled.
3) Down at the bottom right, in the drop-down menu, Array should be selected.
Click add to add an array to the list. Select your new list item just created,
then type the name of the mesh group you are adding.
You will see it change in the list as you type.
For my keyhole tank tops, you want to add alpha and alpha3.
4) Commit your changes! Commit! Commit commit commit! Don't forget to Commit! Save.
Adding groups to the SHPE resource
1) Find the SHPE the same way you found the GMDC and GMND, export it, put it in your package.
2) Select your replacement SHPE resource. You should be in Plugin View. Click on the Parts tab.
3) Select the last entry in the list, then click Add.
It will clone the last entry. Change the name of the group
to the first new group you added. For my tanktop, that's alpha.
Do this for each group you have added to your mesh.
So you need to do this for alpha3 as well.
4) Commit your changes! Save!
More instructions in next post...
.
CatOfEvilGenius
3rd Jan 2011, 11:37 PM
Now that the mesh is done, you also need to replace some stuff in the recolor resources, so they are aware of the extra mesh groups. Recolors have textures (TXTR), material properties (TXMT), property sets (GZPS), resource lists (3IDR), and other stuff. You have already replaced the TXTR. My tanktops only use one TXTR, so you don't need to add any others, yay. Did you remember to also replace the bump map, if there is one? If there's a bump map, use Import to replace the bump map, NOT Build DXT. If there is no bump map, don't worry about it. Let's start with the GZPS property sets, they're not too hard.
Adding groups to the GZPS resources
1) Find the GZPS you need with SimPE. Do NOT use NameMap search, it cannot find GZPS. Use PropertySet Search in Finder, this will list GZPS. Search for "frontbutton", since that's the shirts you want replaced. Oh look, there's Base Game GZPS and OFB GZPS. I would
use the OFB GZPS.
Export all the GZPS you plan to replace, one for each color shirt. Stick them in your default replace package.
:!: Make sure you know which GZPS goes with which shirt color, should be clear from the name :!:
2) Select a replacement GZPS and go to Plugin View. Select the numoverrides line,
and change the value to the total number of groups in the mesh.
In this case, that would be 3 (top, alpha, alpha3).
:!!: This is a NEW step 3! :!!:
3) Let's add in product and version info, because EA forgot to.
At the end of the GZPS, you should see type info.
Select this line, and click Add two times.
You now have three lines with type, right?
Select the second line, change type to product, change string to uinteger, change the value to 1.
Select the third line, change type to version, change string to uinteger, change the value to 1.
(see image below)
4) Look down in the list and find the last override#shape entry.
Select it, and then click Add. This will clone it at the bottom of the list.
Change the name to add 1 to the number, i.e. if the last item was
override0shape, and you cloned that, then change the name to override1shape.
If the last item was override1shape, and you cloned it, the new one will be
override2shape. Leave the Type (dtUinteger) and value (0x00000000) parts alone.
5) Look in the list and find the last override#subset entry.
Select it, and then click Add. This will clone it at the bottom of the list.
Change the name to add 1 to the number, to match the override#shape entry
you just did. Leave the Type (dtString) alone, but under value, change it
to the name of the first group you are adding.
In this case, change "top" to "alpha".
6) Now select the last override#resourcekeyidx entry, then click Add.
Again, this will clone it at the bottom of the list. Change the name to add 1
to the number, to match the override#shape and override#subset entries you just
did. Again, leave the type (dtUInteger) alone.
This value will most likely be 3, so make it 3, and if its different, you'll fix it later.
7) Repeat steps 3-6 for each mesh group you are adding.
In this case, you need to do 3-5 again for the "alpha3" group.
8) Commit!!! Save!
9) Repeat steps 2-7 for each GZPS you are replacing.
Yes, one GZPS per shirt color. Tedious, I know.
Your GZPS will look something like this.
http://thumbs2.modthesims2.com/img/6/8/5/1/2/7/MTS2_CatOfEvilGenius_1165577_huzzahGreenGZPS.jpg
.
CatOfEvilGenius
3rd Jan 2011, 11:54 PM
Creating TXMTs for the alpha groups
TXMTs are material resources. The existing ones are for a non-alpha mesh group with sim skin, that's "top". They will not work right at all for alpha groups, and you can't just replace them because then you won't see the sims skin, so we need to make new ones. We'll use the old ones to make new ones. Yes, one for each shirt color. Having fun yet? ;)
1) Find the TXMTs for each shirt color, export them, stick them in your default replace file.
:!: Make a note of which TXMT goes with which shirt color :!:
The name of the TXTR inside the TXMT might help with that.
:!: Make a note of the Instance numbers of these old TXMTs :!:
2) Do a bunch of stuff...
- Select a TXMT resource. Go to Plugin View.
- Change the TXMT filename so it has "alpha" in it instead of "top".
- Do "fix TGI" for the TXMT, but NOT for the whole package!
Do NOT use the Tools menu, this will affect the whole package.
Instead, use the blue "fix TGI" thingie in the Plugin View tab,
should be on the right side, near the top of the tab.
:!: Make a note of the new Instance numbers of the TXMTs, and which shirt color they go with :!:
- Click the Content tab and Categorized Properties subtab.
- In Default Textures, change the name of the TXTR resource used for texturing, and if using bump maps, find Default NormalMap and change the name of the bump map TXTR too. Don't need to do this step, since you are making a default replacement texture, and all my mesh groups use the same texture, the name of it stays the same.
- In the Default Texture Blending section, set stdMatAlphaBlendMode to blend!
This is needed for correct transparency.
- Click the cMaterialDefinition subtab.
- In the Type field, change SimSkin to SimStandardMaterial.
This is needed so transparent parts are transparent, not skin colored.
- In Description, change "top" to "alpha".
- Commit changes! Save!
3) Repeat everything in step 2 for every single TXMT you are changing, one for each shirt color.
Please don't hate me, I just write the instructions.
More in the next post...
CatOfEvilGenius
3rd Jan 2011, 11:57 PM
Not much more left, yay! You'll need to change the 3IDRs, and then go back and change a few values in the GZPS, then you're done. I'll type the instructions for that after dinner...
Add new TXMT references to 3IDRs
1) Find the 3IDR resources for each shirt color.
:!: Make a note of which 3IDR goes with which shirt color :!:
:!!: new, improved instructions, now with less stinky Limburgher cheese, and more pie :!!:
- To find the 3IDRs with TXMT references, do a TGI search for stuff with the same Instance (low) numbers as your shirt GZPS. Each GZPS should have one 3IDR with the same Instance (low) as it does.
- Write down what shirt color each 3IDR goes with.
- Export the 3IDRs and stick them in your default replace file.
2) Select a 3IDR. In the Plugin View, press the Package button.
Look in the list of TXMTs for the TXMT that goes with this 3IDR,
the one for the same shirt color, and drag it to the bottom of the list.
Count down from the top line to find which line number your new TXMT
is on. The first line in the file is 0, the second line is 1, and so on.
Make a note of what line your added TXMT is on. For ef front button shirts, this will probably be line 3.
Your 3IDR will look slightly different, the numbers will be different.
Your 3IDR should only have about 4 lines in it (lines 0 to 3).
http://thumbs2.modthesims.info/img/6/8/5/1/2/7/MTS2_CatOfEvilGenius_1165576_huzzahGreen3IDR.jpg
:!: Make a note of your TXMT line number in the 3IDR, you'll need it to finish your GZPS :!:
--> Commit! Save! <--
3) Repeat step 2 for each and every 3IDR you are replacing. Happy time!
More in the next post...
CatOfEvilGenius
3rd Jan 2011, 11:58 PM
Add Correct TXMT Line Numbers to GZPS
Remember how we were going to go back to the GZPS and update some line numbers? Now we do that.
1) Select a GZPS, go to Plugin View.
2) Find the two override#resourcekeyidx lines you added near the bottom,
they are probably override1resourcekeyidx and override2resourcekeyidx
3) Change their values to the TXMT line number from your 3IDR that you got from the previous post in these instructions. Same value for both override1 and override2, they can use the same TXMT since they are both alpha groups and use the same texture (referenced in the TXMT).
4) Commit or regret it! Save or be sorry!
5) Do this for every single GZPS you are replacing. Yippee skippy!
That's it, all done, no more, hurray! If all went as planned, you should now be able to fire up Body Shop and see the shirts displaying correctly with all the alpha groups. If it doesn't work, and you just spent hours and hours on this, at least you don't know where I live. :lol: Post any questions / comments / brownies / wails of despair / ululations of victory here and I'll help as I can.
.
CatOfEvilGenius
3rd Jan 2011, 11:58 PM
RESERVED in case I forgot something or need to explain further...
CatherineTCJD
4th Jan 2011, 03:31 AM
Oh boy! *deep breath*
I can do this, I know I can :)
...just not right now. It's 10:30pm, and my brain is swiss-cheesed. I will square my shoulders and hit this first thing tomorrow.
Thank you for the tutorial - it makes pretty good sense just reading it through. I'll let you know when I meet the brick-wall. :beer:
CatOfEvilGenius
4th Jan 2011, 03:41 AM
Well, as I just edited in the last post, if this doesn't work, and you spend hours and hours on it, at least you don't know where I live. ;) Everything in there is time tested and known to work, with the possible exception of that 3IDR I have concerns about. Much of it is just cribbed from other tutorials, like HP's adding alpha groups and my alpha skirt, but it's all been tailored to your project.
I am also quite confident you can do this. :)
--------------------
edit:
Just had a brainwave. Try this with just one shirt first, like the sky blue one, and if that works fine, then do the other shirts.
CatherineTCJD
4th Jan 2011, 07:47 PM
OK, so far I think I'm doing alright... :)
I do have a question though:
Step 4 of the GZPS stuff says, "...under value, change it to the name of the first group you are adding. In this case, change "top" to "alpha"."
However, the pictured example shows the new word as added, not changed - IE: "top_alpha", and "top_alpha3".
So, which way do I go? :blink:
I'm going to continue working on this thing - and I'm betting that this picture is worth it's 1,000 words. So, I'll try it that way first - unless I get your answer before I check it in game. If it's wrong, and my game blows up, then I'll know I chose poorly. :faceslap:
I'll keep you posted :turtle: :turtle: :turtle:
CatOfEvilGenius
4th Jan 2011, 07:51 PM
Go with the text, not the picture. The GZPS needs the actual name of the mesh group, and for my keyhole tanktop, the mesh group is named "alpha", not "top_alpha". Those lines in the GZPS say how many mesh groups there are (3), what their names are (top, alpha, alpha3), and which line of the 3IDR has the reference to the material (TXMT) that should be used for that mesh group. Hope that makes sense.
CatherineTCJD
4th Jan 2011, 08:16 PM
Whew, glad I checked back! Thanks!!! I fixed it. I was doing the TXMTs and had the same question, so I checked to see if you'd seen my previous post. THANK YOU for keeping up with it! YAY!!!
:new: I've got another question :rolleyes:
(and no, I don't hate you! This is going together much easier than I thought it would. 'Course it's not done yet...)
Question #2) When I imported the TXMTs into my "working" default file, they brought 3 new resources with them: ##0x5f638a6b!top_txmt, ##0x5f638a6b!alpha_txmt, and ##0x5f638a6b!alpha3_txmt. Should this have happened? And, what do I do with them?
CatOfEvilGenius
4th Jan 2011, 09:58 PM
You need to export the Maxis TXMTs, not my TXMTs. Each Maxis granny front button shirt has only one TXMT. My tanks have more than one TXMT, but you're not replacing my tanks with something, you're replacing the Maxis stuff with my tanks. It looks to me like you accidentally exported TXMTs from my tanks, not from the Maxis granny front button shirts. Let me know if that's what happened, and we'll get it sorted. :)
When you look for Maxis stuff to replace, like GMDC and TXTR and TXMT, you use SimPEs Finder, Name Map Search, right? If you do that, you'll find the right stuff. (For GZPS, use Property Set Search, and for 3IDR, ugh, big headache, see the 3IDR post for painful details.)
CatherineTCJD
4th Jan 2011, 10:35 PM
I thought I got the Maxis ones... hmmm. I'll double check and get back to you on that.
I'm about to go fix dinner, but before I do that I wanted to let you know that I've pulled hair and gnashed teeth (not to mention the brick wall I'm almost completely through - ouch!) ...anyway, I've done enough of that trying to find the blasted Lavender 3IDR!!! :wtf:
I consider myself pretty advanced in the Nancy Drew realm - but this has me baffled beyond my wits end. (See, I'm even mixing my metaphores!) :faceslap:
I give up. :help: Can you please tell me where to find it.
I'll be back at it in an hour or so... :turtle:
CatOfEvilGenius
4th Jan 2011, 10:50 PM
Actually, I never found the lavender because I stopped looking after I found the first 6. It is not beyond the realm of possibility that it is entirely missing because EA is stupid like that, although if it's missing, you'd think the shirt wouldn't show up. I'll help you look for it, and if we don't find it, we'll make one. Wasn't sending you on a wild goose chase on purpose. :) Rather reminds me of the time I fixed the missing Sioux lipstick. Wow, chasing all those references around was so not fun.
Right now, I'm making a replacement of just the green shirt, to make sure this will actually work fine so you're not just getting frustrated. A learning experience is all well and good and time well spent, but I'm sure we'd both rather have actually working replacements, no? I'll upload it here when it's done, so you have an example for the other ones you're making. Do one color at a time, and we'll do lavender last.
Enjoy your dinner. :)
-------------------------------------
edit:
The lavender 3IDR IS missing! Dun dun DUN!!! Sorry, I honestly didn't know when I sent you looking for it. If you look in Body Shop, it only shows 6 blouses, but we know there are resources for 7. I didn't notice this before. So we see the violet shirt, but not the lavender, because the lavender doesn't have a 3IDR. You can add it back, and then you will get the super nifty Archeologist achievement!
-------------------------------------
edit2:
Well, I've managed to make the green shirt disappear entirely from BodyShop! Some would be dismayed by this, but not I. No, this is new information! I believe these shirts are using some funky old 3IDR or GZPS format and I may have borked it by trying to use something newer. I'll hit it with a hammer until it works, and then update the instructions for the GZPS and 3IDR, so you can finish your project. Onwards!
As I write, my naughty cat is eating my soup. I must go save my soup.
.
CatherineTCJD
5th Jan 2011, 01:33 AM
Ok, :beer: I'm back. I hope you got a little of your soup?
I dunno what happened... I think I used the Maxis TXMTs. :rolleyes: Anywhoo, I redid them to be sure; they seem the same, but without the 3 additional resources.
Except for the elusive Lavender, I believe I'm ready for the test drive. I was just checking for any last minute instructions/words of wisdom before I take off. There being none, here I go...
CatOfEvilGenius
5th Jan 2011, 02:07 AM
I suspect the test drive won't work, but I think some of the instructions I gave you for the 3IDRs and GZPS may need changing. Will let you know once I get that green shirt replaced properly. Do let me know if you get it working though.
edit: Yes, I got most of my soup, albeit with who knows what horrendous cat germs. Good thing the cat just went to the dentist recently for his cleaning.
CatherineTCJD
5th Jan 2011, 03:02 AM
*sigh* You guessed it. It didn't work - completely...
I took pictures:
http://thumbs.modthesims.info/getimage.php?file=1164501
http://thumbs.modthesims.info/getimage.php?file=1164502
The only one properly placed in the catalog (where the FrontButtons) should be is the cream one. I'm pretty sure I know how to yank the GPZSs and BINX around to get them correctly placed in the catalog, but I didn't think I'd have to do that with a default replacement? :|
For some reason all of them are cream color when clicked on? (The thumbnails still show the correct colors because I didn't update them from my partially working DefRep of yesterday - before contacting you.) :(
And, you can plainly see the reason I contacted you... the blue tummy dilemma. :wtf:
Also, there is no Lavender to be had. Woot. So, now I also need to know how to build the resources to resurrect it.
The other colors of your blouse that I haven't touched (Orange, Red, Black and Green) are still working fine. And they line up just as I planned - in front of the cream one - where they should be.
I'm not completely disheartened. I'll be ready to try tackling it again tomorrow. I AM sorry this has turned into such a major undertaking for you. Thank you soooo much for your tenacity and guidance. :Pint: (< more fun than soup, less feline friendly!)
:new: These problems wouldn't have anything to do with the GMND and SHAPE resources would they? When I started following your instructions today, I went back to the original GMND and Shape resources - not the ones I had defaulted yesterday. Obviously, I have no idea what I'm talking about, but a little red flag popped up in my brain just now as I was re-reading everything; I thought I should mention it. Thank you again for all your help. I'll be back in the AM. *snore*
CatOfEvilGenius
5th Jan 2011, 03:42 AM
You're sorry? Don't be! This is quite an interesting project for me. I'm sorry I didn't write better instructions! Should have done one shirt myself before writing. I don't think the GMND and SHPE are the problem, I'm quite sure it's either the 3IDR and/or the GZPS. The cream color is due to all these shirts using the cream shirt's texture for when they can't find their own. That's specified somewhere, in the GMDN I think, but would have to check. Anyway, if it finds its own textures correctly, we shouldn't be seeing any cream, except on the cream shirt. The blue tummy may actually be a good thing, if you're working on the blue shirt. Are you? Although, that doesn't look like the blue scallop texture, what is it? Some other shirt???
I'll see what I can learn tonight, and will post any worthwhile findings.
CatherineTCJD
5th Jan 2011, 03:56 AM
I thought the blue tummy was the alpha not picking up the texture? You're right, it doesn't show the scalloped bottom. Dunno. Like I said above, I have no idea what I'm doing. This is way over my head. I can generally follow directions and I know my way around the Sims 2 game files, and how to use SimPE - but that's about it. That being said, I do want to learn. So, if your game, I'm in! Thanks!
OK, now it's my kitties turn:
Hubby's cat - a 1 year old siamese tabby, has turned into a REAL mama's-boy. He's circling around my feet right now telling me it's past my (our) bedtime. He's gotta have his nightly snuggle-time... :)
G-night.
CatOfEvilGenius
5th Jan 2011, 09:57 PM
Was going to fiddle with this last night, but nothing good comes of fiddling while sleepy, so I'm back at it today, while awake. Will report any progress. :)
Your cat sounds catlike. Drop what you're doing and do what I want now. Now! Right now! I WANT IT NOW! TIME TO FEED / SNUGGLE / LET OUT THE CAT!!! Good thing I love ours or I don't know how I would put up with this. ;)
CatherineTCJD
6th Jan 2011, 03:12 PM
Any luck?
Not that there's any rush... since this project is somewhat stymied, I'm back to working on the Walls. :rolleyes: Ugh. Now that's what I call tedious.
It is fun to share them when they're done :)
Almost as much fun as it is to just be done with them!
Just FYI - I fiddled a bit more with these tops too, but nothing came of it. You know what they say: Something ventured, nothing gained. :faceslap:
Yeah... I'll just go back to my walls now :turtle: :turtle: :turtle:
CatOfEvilGenius
8th Jan 2011, 05:23 AM
Sorry, got horribly busy with other stuff the past few days. Did find out what *doesn't* fix the shirt, but waiting to report what makes them work right. Should have lots of time this Caturday to work on it.
CatherineTCJD
8th Jan 2011, 03:13 PM
Hokey-dokey....
I'm working on the last part of this wall set - I might have it uploaded today ;-D
CatOfEvilGenius
8th Jan 2011, 08:53 PM
Ha ha! Progress! That GZPS was very picky, but I think I have it beat into shape. Now to get the alpha groups to use their own TXMT and we're good.
.
CatherineTCJD
9th Jan 2011, 12:10 AM
YAY!!! Progress all 'round! :beer:
I just finished (and submitted) the last of my wall project WHEW! Barring no complications with that - I'm ready to tackle the learning curve on this baby again! Bring it on!
:jest: :king: :jest:
CatOfEvilGenius
9th Jan 2011, 03:37 AM
Yay for more wall stuffs!
I am convinced more than ever that there is another 3IDR somewhere for each shirt, and that's where the old TXMT references are, and the new ones need to go. I think the 3IDRs listed so far are only for catalog info, in other words, useless for our purposes. I'll see if I can find them...
After further checking, I think the missing lavender shirt might have a 3IDR after all, but it appears to be entirely missing a GZPS. Futz with that later, after replacing the green.
And now, for a spot of tea, without cat hair in it, preferably. Maybe a cookie.
---------------------------
Yes, there IS another 3IDR! I suspected it would have the same Instance number as the GZPS, since that is true of recolors, and it does. It has a TXMT in it at line 2, as it should. Huzzah! Things should be easy-peasy mac and cheesy from now on. Pic coming soon...
-----------------
:!!: NEW instructions in posts #3 and #5 :!!:
New pictures of 3IDR and GZPS, from my green replacement file.
New text too, so read carefully. My green file is attached in this post.
http://thumbs2.modthesims.info/img/6/8/5/1/2/7/MTS2_CatOfEvilGenius_1165574_huzzahGreen.jpg
.
CatherineTCJD
9th Jan 2011, 04:02 PM
Alrighty then, onward and upward! Wails and/or ululations shall be posted henceforth. :lol:
...Hopefully, not forthwith! :rolleyes:
:turtle:
I'm about to fire it up, and see if it works. I see one little anomaly that requires confirmation:
When examining each of the 3IDR files, I noticed that the 'grass' green one is the only one that has a different set of 1st MatDef numbers. I've redone everything today and my green bits look the same as yours - so I must've done it right. Bless you for the 'green' example :cool: It just seems strange...
And I'm not sure how to proceed with the missing lavender resources. I thought about cloning and retrofitting?
CatOfEvilGenius
9th Jan 2011, 08:20 PM
Not sure I understand about the 3IDR, would you show me an example, please? Each 3IDR for each color should have a different TXMT reference because they can't share. Each of their TXMTs references a different TXTR. I'm curious now.
For the missing lavender resources, we clone existing ones as you said, put in correct values, and make sure they have appropriate group and instance numbers. Figuring out what those should be is the tricky part, but doable. I can help you with that if you'd like. Lots of fiddly little details, can break if we forget just one, but it's just tedious rather than rocket science hard.
-----------------------------
I suspect the lavender has a 3IDR, but is missing a GZPS. So we find a 3IDR that references the lavender TXMT (assuming there is a lavender TXMT). Then we give the GZPS the same instance number. Stuff like that. Lots of referencing chasing and making note of various TGIR numbers.
CatherineTCJD
9th Jan 2011, 09:09 PM
Yeah, I started trying to clone and create lavender bits, and got real confused real quick. :help: I think I successfully created the GZPS. And some how I have a lav. TXMT (and, of course, the TXTR.)
I'm including an attachment of my work thus far... please check the 3IDRs to see what I meant earlier. Kay? Thanks!
CatOfEvilGenius
9th Jan 2011, 09:15 PM
Ok, I will gladly take a look and let you know if I have any ideas. :) May be a bit, but I'll definitely post.
---------------
Haven't looked at your file yet. Did you remember to do "Fix Integrity" on your cloned GZPS?
CatherineTCJD
10th Jan 2011, 04:12 PM
Yes. I followed your instructions to the letter. :)
Or, so I thought... Here's what I got in-game:
http://thumbs2.modthesims2.com/img/6/7/4/2/4/7/MTS2_CatherineTCJD_1166107_Sims2EP9_2011-01-09_21-34-45-92.jpg
Cream and Leaf/grass are perfect. Still no lavender; unless, the bottom of the one modeled on the sim is lavender? It should be maroon. Hmmm. That could indicate that I didn't clone, I overwrote a resource instead. And the rest are splinched 1/2 and 1/2 with the cream on top. :blink:
So, I must've not done everything right... I'll recheck myself - starting with the Fix Integrity thingy-bob. *sigh* Sorry.
CatOfEvilGenius
10th Jan 2011, 06:24 PM
No, don't apologize! I would be surprised if anyone doing this got all the fiddly details perfect the first time. I know I don't. I mean who wrote the instructions that said to use the wrong 3IDR and then had to fix them? Herp derp.
If you're getting cream color on top, it is not finding the right texture for the top mesh group. Since the bottom DOES have the right texture, the TXTR is fine. The GMND and SHPE are also fine, since if those were borked, none of the colors would work. So the problem is with the TXMTs or the 3IDR or the GZPS. I would check the following:
- Do you have a new TXMT for the alpha groups and the old TXMT for the original top group?
The old TXMT should not be changed in any way. We are adding a new TXMT, not changing the old.
- Did you change the new TXMT's name and then do fix integrity on the new TXMT?
It must have a unique Instance, that is what fix integrity gives it.
The old TXMT must be unchanged, have the same Instance it had before.
- Did you change the correct 3IDR?
You don't want the one with over a hundred lines in it, from my old stinky instructions.
You want the short one, the one that has the same Instance number as the GZPS.
- Did you put a reference to the new TXMT in the 3IDR? Looks like you did.
Did you leave in the reference to the old TXMT in the 3IDR?
The new TXMT reference should be on the last line, right below the old TXMT reference.
Make sure you do not have two copies of the old TXMT reference, nor two copies of the new.
- Did you add GZPS lines for the new alpha groups, and leave the top group info unchanged?
Did you make sure the "top" group has the 3IDR line number for the old TXMT reference?
It already should, so just don't change that. If you changed it, put it back like it was.
Did you make sure the "alpha" and "alpha3" groups ahve the 3IDR line number for the new TXMT reference?
Looks like you did, since the bottom of the shirt has the right color.
CatherineTCJD
11th Jan 2011, 04:46 PM
OK - another mess-up somewhere yesterday. So, instead of trying to fix whatever I've done, I'm starting from ground zero. :blink:
Here are the questions this time around:
Do I change the override0resourcekeyidx from the original '2' to the new '3' (like the new ones I'm adding?)
CatOfEvilGenius
11th Jan 2011, 06:45 PM
Nope. You have three groups
0 - top
1 - alpha
2 - alpha3
The alpha groups use the new TXMT, whose reference in the 3IDR is on line 3.
The top group still uses the old TXMT, whose reference n the 3IDR is on line 2.
Does that make sense?
Burn it and start over is sometimes the best approach. :D Not that I've ever done that. Nope, nope. Nobody saw me do it, can't prove anything.
You asked me about TXMT or 3IDR earlier, and I haven't replied to that yet, I should take a look...
CatherineTCJD
11th Jan 2011, 07:12 PM
Success is mine!!! ...sorta :D
They're all working - except the mustard one. It has a strangeness in the 3IDR - it shows 2 older TXMTs, both of which are shared with one of the others (maroon maybe???) So, when I add the new TXMT there are 3; and the 3IDR reference # changes to 4 (instead of 3)...
I need to know what to do with the mustard one? And, also the lavender...
But the other 5 look GREAT!!!
CatOfEvilGenius
11th Jan 2011, 07:27 PM
* round of applause *
:beer:
Nicely done! I toast you with my root beer.
Hrm, let me take a look at the mustard 3IDR. Sounds like you just change the line number to 4 in the GZPS, and all should work fine. Silly EA, putting unneeded TXMT references in there. If you want me to take a look at your file, you can upload it it, or not, up to you.
Lavender stuff, will get to that in a bit, later today?
CatherineTCJD
11th Jan 2011, 08:17 PM
Forget that mumbo-jumbo above... I re-found the mustard 3IDR, imported it afresh, and lo and behold - only 1 TXMT! :faceslap:
I dunno... Anyway, I may have it all fixed up now. I'm loading the game, and I'll let you know in about 20 minutes *whistling*
:new: YAY! YAY! YAY! It works!!!! Whew! :Pint:
As soon as the ol' BP gets back down to normal, I'll be ready to tackle the lavenders whenever you are.
Thank you soooooooo much for helping me with ALL this :rolleyes:
You are the best! :king: <= you!
CatOfEvilGenius
19th Jan 2011, 02:47 AM
:!: UNTESTED :!:
Restoring the Lost Lavender Shirt
Put the 4 resources below into a package file. This will restore the lavender shirt.
This is INDEPENDENT of the default replacement file, is its own file.
Should be before the default replace file alphabetically.
In the default replacement file, replace lavender shirt as you would the others.
- clone GZPS
- give it a unique Instance number not shared by anything else (use Finder to check)
- change "name" property to have "lavender" in it
- commit, save
- clone 3IDR (with TXMT reference in it)
- give same Instance number as new lavender GZPS
- change TXMT reference to be reference of lavender TXMT
- commit, save
- clone 2nd 3IDR (the one without TXMT references in it, but with GZPS references)
- remove all lines but the first four (they're duplicates)
- change last line to be the reference to the new GZPS (change the Instance number)
- commit, save
- click a different reference, then click this new 3IDR again, then click the GZPS reference in it, you should now see lavender shirt picture in the little picture area
- clone BINX
- give it the same Instance number as your 2nd 3IDR, the one with the GZPS reference
- change the stringindex to the line number of "lavender" in the STR# resource, plus one (that should be 4)
The STR# is the Text Lists referred to in the 3IDR, has group number 0x7F519F52, instance 1
In the STR#, the shirt colors were on lines
1 cream
2 grass
3 lavender
4 violet
...
- commit, save
CatOfEvilGenius
19th Jan 2011, 06:35 AM
Forget the above instructions, did not work. However, I did find both 3IDR for the lavender in Maxis files. One appear okay (the TXMT reference 3IDR), one is borked (the GZPS reference 3IDR). Instead of referencing a GZPS, which it should, it instead references the other 3IDR. The GZPS appears to be missing entirely, as does the BINX. Working on it...
----------------------
Perhaps there is another BINX, and I'm mucking with the wrong one. Looking into it...
CatherineTCJD
20th Jan 2011, 01:28 AM
Thank you for plugging away at this... I wish I knew enough to suggest something! :rolleyes:
I'm ready to follow directions though :turtle:
...standing by.
:D
CatOfEvilGenius
20th Jan 2011, 03:23 AM
Nevermind using existing EA resources. Probably can be done, but there's an easier way.
- Make a lavender recolor with BodyShop.
- Remove the TXTR, make the TXMT pull the existing Maxis lavender TXTR.
- You'll probably want to default replace the lavender TXTR because it looks almost exactly the same as sky (white).
- Decustomize the whole thing using Phaenoh's instructions, product and version 1.
Now it shows up as a Maxis shirt, next to the other base game front button shirts. Much less headache this way. I tried it, works fine.
BTW, sky seems misnamed. It is not blue at all, it is white. EA is sillly. Maybe they meant clouds?
CatOfEvilGenius
22nd Jan 2011, 12:50 AM
Here's a file that "restores" the Maxis lavender shirt (which looks almost like the white shirt). I made it from a decustomized recolor, and told it to use the Maxis texture. So there is no TXTR resource in this file.
Now, this can be default replaced just like a Maxis shirt. You can default replace the texture and mesh, and even add alpha groups, just like with the other shirts.
You "Aha!" idea would simplify this process. Since this doesn't even appear in the catalog unless we restore it, why not just make a regular recolor, and decustomize it. That would indeed be simpler. The reason I would split it up into a "restore the lavender" file and "replace all the shirts (including the lavender)" file is that maybe someone just wants the restored shirt, and no default replacements at all. Also, if you restore a shirt, you get a nifty Indy Jones achievement! ;)
CatherineTCJD
22nd Jan 2011, 04:01 PM
'Mornin' Cat,
OK - I'm gonna get this puppy finished today!
I just DLed and looked at the shirt you restored in BS. It has a problem in my BS:
http://thumbs2.modthesims2.com/img/6/7/4/2/4/7/MTS2_CatherineTCJD_1169489_TS2BodyShop_2011-01-22_10-16-32-99.jpg
First, it uses the defaulted mesh, not FrontButton Maxis mesh (that would be because I still have my defaults in the game right?) What is the black and white stuff on the tummy? And it is splinched. It also didn't line up next to the others in the catelog - but THAT I can fix by myself :P - see, I can learn! The orange (shown on the previous page) and darker blue shirts are not defaulted, just BINXed. ;)
http://thumbs2.modthesims2.com/img/6/7/4/2/4/7/MTS2_CatherineTCJD_1169490_TS2BodyShop_2011-01-22_10-17-58-42.jpg
And, let me be sure I get this straight. If I restore the original lavender front-button shirt, I get a sticker? (But, you're the one doing all the work?) :blink: How cool is that?!!
OK. Then, after the shirt is restored - I default it with the others. Right?
Or should I offer both the restored shirt (for those who don't want the defaults) and BINXed mover edits for all your other scalloped shirts (including the lavender) for those who want the defaults AND an organized closet?
:turtle:
CatOfEvilGenius
22nd Jan 2011, 06:49 PM
If you restore a Maxis thingie that Maxis didn't finish, you get a sticker. I'm not doing all the work. You're the one that discovered it was missing in the first place, and you're doing a ton of stuff with SimPE and resources. :)
Yay for moving stuff with BINX! I had no doubts you could do it. :D
Yes, as you said, the lavender shirt looks borked because the default replacement mesh is in use, but the lavender shirt TXMT, GZPS, etc have not been default replaced. If you temporarily take out your default replacement file, then fire up BodyShop again, you'll see Maxis front button shirts, and the Maxis lavender shirt. Make sense?
You would replace the lavender shirt stuff just like you did the other shirt colors, and put the lavender replacement stuff with the other replacement stuff. It won't hurt anything.
I would recommend offering the "restore" file by itself, to give people the most options, but what you do is completely up to you, of course. Here's what options people might have:
* Just take the "restored" lavender shirt file. They get Maxis shirts, and now the lavender shirt shows up in the catalog, with the Maxis texture (which looks almost like the white).
* Take the default file but NOT the "restored" file. They get keyhole tanktops instead of Maxis front button shirts.
* Take the default file AND the "restored" file. They get keyhole tanktops instead of Maxis front button shirts and a lavender tank top instead of the restored Maxis lavender shirt.
Does that make sense? Not sure I explained it well.
And don't feel rushed! You finish this today, great! You don't, it's not like there's a deadline.
CatherineTCJD
22nd Jan 2011, 07:33 PM
Thanks for explaining it again - I'm really being dense lately! I was just heading back here to make a report when I saw your newest post. I had been checking in game without my defaults and everything was good :D (but the shirt still wasn't next to the others - so I will fix that.)
Then I'll upload the lost shirt - yay! for stickers! :cool:
Then I'll post my defaults seperately... :turtle:
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.