Insimenator.org
August 21, 2019, 11:36:33 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: InSim's annual Donation Drive is under way! Click here for more info and to donate!
 
  Home   Forum   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: How to Replace Your Mesh Textures Without Making a New Recolour (Build DXT Method)  (Read 5474 times)
0 Members and 1 Guest are viewing this topic.
Annoree
Member

Gender: Female
Posts: 107


Check out my new site!


View Profile WWW
« on: September 04, 2008, 04:59:11 am »

I couldn't find a tutorial on how to do this anywhere, so I figured it out just now.  I wrote a tutorial for myself, so I'll post it here just in case there's anyone in the same situation I was in!  It might be obvious, but I managed not to find this out until today, so . . .


So, you've made a beautiful texture, exported all the files, linked them together correctly, and made a wonderful mesh.  You import into Bodyshop, only to find - The alpha/texture is wrong!  Noo!!

Don't worry, a few easy steps will sort you out.  Well, it's a bit more complicated now, but it's not too complicated.  If a ditz like me can do it, you can too!


- Edit the texture or alpha in your graphics editing program until it is to your liking.  Save over the .bmp but don't press import in Bodyshop (you can press update texture if you want to see the texture, but don't import).

- Close Bodyshop - you won't need to make a new recolour package!


- Copy the recolour package for this project from your EA Games\The Sims 2\SavedSims folder into your Documents (or wherever else you're keeping the mesh files you edited).

- Duplicate this recolour package so you've got a backup if it all goes horribly wrong.  Put it somewhere safe.

EDIT:  Tenshii let me know about the Import function reducing image quality.  Be sure to download and install Legacy DDS Utilities, to enable an option called Build DXT in SimPe when importing your new texture later, to avoid all that horrible blocky badness!!

To enable Build DXT after you've installed the DDS Utilities, go to the Extra>Preferences menu in SimPe, and where it says Nvidia DDS Tool Folder click Browse and locate where you've installed it to :-)



- Open your recolour package in SimPe.  On the left list click on Texture Image (TXTR) and then to the right of this find the texture which is incorrect.

- Enter plugin view and you'll see that texture appear at the bottom when you click on it.  SimPe combines the texture and alpha so you'll see parts that are see-through, if the alpha file tells them to be.


To change the texture (Not the alpha):
- Right click on the texture that pops up and a drop down menu will appear.  To update the texture, click Build DXT . . . and the DDS Builder window will pop up.

- Click on the left where it says open Image . . . and locate the texture you've edited.  Press OK and a preview of your texture will appear in the left box.

- There's a drop down box on the right called Sharpen.  We don't want this to do anything so click on the drop-down box and select None.

- Press the Build button and wait for it to finish its business.

- If everything's to your satisfaction, press Commit and Save, and you're done!

- If the new image is showing coloured parts where it's meant to be see-through, or if you want to update the alpha anyway, read on . . .


To update the alpha channel:
- Right click on the image in SimPe to bring up the drop down menu.  Instead of Build DXT . . . choose Import Alpha Channel . . .

- Change the file type to .bmp and select the alpha channel file you've edited.  Press Open.

- Wait a moment while it sorts itself out and your texture will be newly updated with the alpha channel in place (see-through parts will be see-through and not coloured in).

- Press Commit. This takes a moment, so don't go clicking everywhere while it's doing it.  Don't save yet, or it will be all pixelated.

This bit, I've nicked from Tenshii~Akari's Infant Diaper Override Tutorial.  I'll put it in my own words:

- Right click on the texture in the TXTR Editor and press Export . . .  Don't change the file name of this export, just save it as it is.  I had problems when I changed the file name, so don't do it.

- After you've exported it, right click on the texture and choose Build DXT . . . again.  Do the same as when you built a DXT before, but this time import your .png file.  If you've got 'view icons' on in Windows, you will know you've done it right because you'll see the preview in the Open window is your texture surrounded by white (this is the see-through bit).  Wait for it to finish its doings with the DOS window.

- Finally, Commit, and Save!

- Copy your newly saved recolour file from your project file into the EA Games\The Sims 2\SavedSims folder, rewriting the old one (you've already got a backup of this old one just in case, haven't you??)

- Open up Bodyshop, and your texture has been replaced.  Hooray!! Cheesy

This was bugging me for years lol.
*Ang*
« Last Edit: September 06, 2008, 07:03:29 am by Annoree » Logged

15 April 2010:  Hey everyone!  I'm sorry to disappear for a while.  My life got busy.  My new site where I will host all my uploads is http://annoree.blogspot.com  ^_^
MoronStyle7
Member

Posts: 178


View Profile
« Reply #1 on: September 04, 2008, 11:44:30 pm »

:smt120

Thank you, some people may have not known this, I have known, since its known you need to change the recolor lifo in order to have extremly high def textures.
Logged
Tenshii~Akari
(~TA12~)
Super Mod
*****
Gender: Female
Posts: 3390


(~* Go Pink: Find the Cure *~)


View Profile WWW
« Reply #2 on: September 05, 2008, 09:17:04 am »

Thanks for making the tutorial!  :smile bi:  There are a few issues someone might have on what you mentioned though:

   ::smilieiforgetwhi::  Where you mention that you can simply use the "Import" function when putting the texture in, there's one big problem:  If you Commit the changes and Save, then exit out after doing so, your textures will loose the quality they've had previously, making them blurry and pixelated. (especially on smaller-sized texture files)  Even the alpha map goes a little grainy afterwards.

There's a way around this, though, mainly by using the nVidia Legacy DDS Utilities to enable the "Build DXT" function.  Installation instructions from the object recoloring tutorial by Numenor @ MTS2.  

Quote from:  Numenor
The "Legacy" Nvidia DDS Utilities: get them from this page (the download link is at the very bottom of the page) and install them, just like any Windows program; then, start SimPE, select the menu Extra / Preferences and fill in the field "Nvidia DDS Tools" with the exact installation path (you can use the "Browse" button to easier find the exact folder where the DDS Utilities are installed).



Using that option when importing textures will prevent loss in quality after saving and closing out.  I mention a way to do that in my diaper override recoloring tutorial around steps 8-14 if that's a helpful reference for you.  Wink



::smilieiforgetwhi::  One might think the recolor file you say to duplicate/open is the one .package file in the specific project folder that the texture and alpha map is located in (which doesn't do much of anything but store data for importation really).  Would it be possible to specify which location the file is supposed to be right there?  I know usually it's the recolors found in the SavedSims folder.  :angel:

Just a few suggestions for clarification... Don't mind me.  :toothy3:  Once again, thanks for taking the time to write one out for those who were interested in the SimPE way.  :angel:
Logged

Annoree
Member

Gender: Female
Posts: 107


Check out my new site!


View Profile WWW
« Reply #3 on: September 06, 2008, 05:06:35 am »

Cheers Tenshii - I would've never known any of this if I didn't upload my tutorial Wink
Logged

15 April 2010:  Hey everyone!  I'm sorry to disappear for a while.  My life got busy.  My new site where I will host all my uploads is http://annoree.blogspot.com  ^_^
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.108 seconds with 30 queries.
SimplePortal 2.1.1