Loading...
Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

Theme Catchup2018 - posted on 1st May 2018 at 1:50 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

CAS Texture+Unitool v1.9.3569 r131 (Updated 9th October 2009 - Now works on OS X and Linux!)

by CTU Team Posted 18th Aug 2009 at 11:31 PM - Updated 27th Nov 2013 at 4:07 PM by Nysha
Open thumbnail gallery
Advertisement:
Introduction

The CAS Texture Unitool (hereafter referred to as CTU), is a tool to basically allow you to edit the CAS Part files that control which textures appear on which meshes. Using this tool, you may add new textures that appear in CAS for a specific mesh. You may also edit the pattern cutouts for those textures, the specular, the base colours, and pretty much everything possible thats available in the file. Additionally, you can add brand new, non-replacement meshes into the game.

What this program does NOT do

It's not a program to do meshes. Use a meshing tool.

It's not a program to do textures. Use an image program.

It does not send satellite pictures to your PDA.

It does not (by default) allow default replacements.

Installation Prerequisites

You must have the following BEFORE using this program:

- A PC running Windows XP or Vista, OS X (with Mono 2.4), or Linux (with Mono 2.4)
- For Windows XP: .NET Framework 2.0
- For Windows Vista, get .NET Framework 3.5 - it includes .NET 2.0
- For XP and Vista: DirectX runtime (March 2009)
- For OS X and Linux, http://mono-project.com/ - please see this thread for more info: http://www.modthesims.info/showthread.php?t=366580

Please note: If you had previously used one of the older versions of CTU from the other thread, then you'll notice that this new version now needs .NET 2.0 and not .NET 3.5. This is entirely deliberate and not a typo. If you ONLY have 3.5 on your PC, make sure to download and install the .NET 2.0 from the link above.

In fact, the .NET 2.0 was done for a reason: So that, in future, if somebody finds a squishinterface dll file for Mac OS X or Linux, it's theoretically possible for this tool to run on those systems.

How to install

DOWNLOAD BOTH FILES! You MUST download and extract both CasParts.rar AND CasTextureUnitool.rar to the same place.

Note: CasTextureUnitool.rar is the Windows version. CasTetxureUnitoolNo3d.rar is the OS X/Linux version. This one has no 3d view.

Extract the contents of both rars to the same place. KEEP FOLDER STRUCTURE INTACT. You will probably need to copy some files around after extraction.

You should see the CasTextureUnitool.exe and a bunch of other files, and then a casparts folder and an xml folder. Inside the casparts folder should be over 1000 files.

Do not delete/move/change or otherwise do anything to the files in casparts!! If you do and you complain I will beat you with a set of clocks since we are running out of lime.

Quick and Dirty How To Add a New Texture Thingy To A Wotsit CAS Mesh

Using the 3 dropdowns, select your poison... aka Age, Gender and Type.

Using the Mesh Name box, select your mesh (ie a T shirt, or a Bra, or whatever)

Click "Add a Design"

Disable any stencils that are enabled (it copies the default values) and Enable Stencil A

Click "Replace" and find the DDS file you want to use. NOTE: Make sure you saved in a DXT format (DXT1 for things without alpha channels, DXT3 or DXT5 for with alpha channels). Do not use 8.8.8.8 ARGB (R8G8B8A8) as it is uncompressed and you will end up with massive files. It's fine for patterns, but not good for this stuffs.

Click Commit

Click File -> Save As.

Note: You may add multiple Designs to a single file - this could be different t-shirt logos, etc, but all designs in a file affect the same mesh

Simple Usage Instructions

daluved1 has written a great guide on CTU and how to use it - please check it out on the wiki here: Sims 3:CTU Guidewiki

Detailed Usage instructions

For more help and information about using this tool, please see the CAS Parts forum, located here: http://www.modthesims.info/forumdisplay.php?f=597

For additional tutorials, see: Sims_3:Modding#CTU_Tutorialswiki

I get a System.Core error when saving

You don't have .NET framework 2.0 installed or installed properly. Go get it and install it. If you have it already, reinstall.

What happens if I blow up CTU!?

You should get an error box. Hit Ctrl-C, and then paste the clipboard into a reply on this thread. Tell me exactly what you did to get to that point.

PS: Use the [ spoiler] [ /spoiler] (remove spaces) around your error message to help cut down the amount of scrolling.

Thanks.

Changelog

Changes in v1.9.3569 r131:
- Mostly minor bugfix release
- Addition of extra mesh LOD fields on Meshes tab
- Better bumpmap support
- Better morph support
- Fixed some bugs in the pattern code

For a full list of changes, see: http://code.google.com/p/madscienti...ons/source/list












Thanks and Credits

Thanks to all who decide to test this, Snaitf and Rabeeto for being initial guinea pigs, and fanseelamb for some of the UI suggestions.

Thanks to the CTU Team (Delphy and jonha) for coding this!

Credits to:
Rick, for the Gibbed libraries
TigerM, for the DDS decompression routine
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
CasTextureUnitool.rar | Description: v1.9.3569 (Windows XP and Vista) 376.8 KB 101,635 18th Aug 2009
CasParts.rar 2.43 MB 88,273 19th Aug 2009
CasTextureUnitoolNo3D.rar | Description: v1.9.3569 (No 3d view - OS X and Linux beta) 383.8 KB 25,632 24th Aug 2009
3,165 Thanks Say Thanks
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract: Use WinRAR (Windows) or Stuffit (Mac) to extract the .package file(s) from the .rar or .zip file(s).

3. 4. Download BOTH files
5. Extract them BOTH
6. Run CasTextureUnitool.exe

Need more information?
 
Page 4 of 34
838 Comments / Replies (Who?) - 721 Feedback Posts, 59 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
#76 Old 20th Aug 2009 at 9:53 PM
Firstly I want to say thankyou... But I am still having that bumpmap issue. The original bumpmap still shows up on my new clothing mesh even though I am loading a new one.

I am curious if anyone else is having this problem or is it just me?
Scholar
#77 Old 20th Aug 2009 at 10:51 PM
Re: this thread....http://www.modthesims.info/showthread.php?t=365069

Two new dresses with problems. It's getting hard to find anything to alter now. Here's the pics of what you get when you add blank or even copy from base on these two dresses. RuffleTank and MuuMuu. Just like the sheathhalter, there is only bits showing. The ruffle tank only has fingers :0
Screenshots
Test Subject
#78 Old 21st Aug 2009 at 8:09 AM
How do you convert .package files into Sims3Packs?
Test Subject
#79 Old 21st Aug 2009 at 8:26 AM
KICKRamone: It would be helpful if you provided actual error messages or descriptions of what is or is not happening. We really can't debug things when we don't know whats going on. [/QUOTE]


I think the Pattern problem I was having was due to the Ting 4.0000,4.0000 not populating automaticly when I browse for a new pattern, it does in the previous version. I added 4.0000,4.0000 to Ting and I have no problem any longer. I don't know what that means so I did not know it was needed.
Scholar
#80 Old 21st Aug 2009 at 8:40 AM
Quote:
Originally Posted by VampireMike
How do you convert .package files into Sims3Packs?


If you go to the tools section there are a couple that do it. Delphy did a packer and unpacker and a couple of other things do it.
Test Subject
#81 Old 21st Aug 2009 at 9:51 AM
Thanks man. Great Tool u programmed here
I just need a bit of time to sort out how to do things.
First thing i tried was making one Bikini Top Everyday Clothing. I saved to a package, installed that package and .. it did not show up in CAS.
Anything i forgot? ^^
Test Subject
#82 Old 21st Aug 2009 at 10:07 AM
Hey i'm using OS X, but have a Virtual Machine so that i can run Windows and inevitably, run the CTU. It runs fine until i actually want to do something, where the program asks for the root Sims 3 folder, only that's impossible because OSX's "Applications" folder isn't available through the Virtual Machine.
Does anyone else have any experience with this problem and help me out? I really dont want to copy the entire sims folder back and forth between the drop box for the virtual machine every time i want to extract a file.
Is there any way i can shorten the drop box strain by only "showing" the CTU one part of the Sims 3 package contents (i.e. the part it's looking for)? because i wouldnt mind that.

EDIT:
Ahh. Problem Resolved. Fixed through the Virtual Machine's shared folder options and allowed it to look in to the Applications section. Anyone using VMWare with a similar issue can PM me for the detailed answer.
Sorry for posting without exploiting all my options >.>

Looking forward to the Software, Thankyou.
Warrior Gryphon
site owner
#83 Old 21st Aug 2009 at 11:15 AM
bl4de: Did you remember to add a design? You can't just select something, change the category and save.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Test Subject
#84 Old 21st Aug 2009 at 2:38 PM
Uh. I did not, thanks 4 pointing out my stupidity
Test Subject
#85 Old 21st Aug 2009 at 4:27 PM
Quote:
Originally Posted by candybear
Firstly I want to say thankyou... But I am still having that bumpmap issue. The original bumpmap still shows up on my new clothing mesh even though I am loading a new one.
I am curious if anyone else is having this problem or is it just me?

Yes, I experienced the same issue.
I'm not sure whether the problem is on my dds file or not.

Also, the "New Mesh" tool only provides input for LOD1, LOD2 and LOD3, while some part types like "Face" and "Hair" require LOD0 as well. Is it possible to add the LOD0 input in the next version?

Anything else is awesome.
Thanks so much, Delphy.
Warrior Gryphon
site owner
#86 Old 21st Aug 2009 at 6:12 PM
bing: You absolutely should not use CTU to make hair. This is what DABOOBs is for. Hair is a lot more complicated than clothing.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Warrior Gryphon
site owner
#87 Old 21st Aug 2009 at 6:27 PM
Can somebody with the bumpmap issue provide me with the LODs + bumpmap DDS? I'd like to try and replicate it here.

Thanks

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Lab Assistant
#88 Old 21st Aug 2009 at 7:41 PM
Can we use this tool to link existing or new textures to custom meshes for clothing ? IE: I make a brand new mesh for say a pair of pants then link it to a texture I made with this tool. Or do I just link my new textures to the meshes that are available in cas? Thanx
Scholar
DELETED POST
21st Aug 2009 at 8:53 PM
This message has been deleted by fluttereyes.
Scholar
#89 Old 21st Aug 2009 at 8:56 PM
Quote:
Originally Posted by bing
Yes, I experienced the same issue.
I'm not sure whether the problem is on my dds file or not.

Also, the "New Mesh" tool only provides input for LOD1, LOD2 and LOD3, while some part types like "Face" and "Hair" require LOD0 as well. Is it possible to add the LOD0 input in the next version?

Anything else is awesome.
Thanks so much, Delphy.


A big problem is that some meshes come with extra parts and it leaves a hole. They are LOD_1 and LOD 1_1. I've seen this only mostly with dresses so far but it's almost all of them.

It's not just CTU that's having a problem with this, the workshop is too, I don't know if anything can be done, basically if you're not a dab hand at milkshape then you can't even change textures.

Delphy, can anything be done about those missing mesh parts? It's almost every dress in the build
Warrior Gryphon
site owner
#90 Old 21st Aug 2009 at 10:21 PM
DBCAB, I'm confused as to what you are asking. CTU can be used to create a new package which contains the CASpart (the thing that links everything), your mesh (in various LODs) as well as the texture files itself. So, yes, it can be used for new things.

fluttereyes: I take it your problems are primarily down to the fact that CTU doesn't display the extra parts of the mesh, correct? (I have no idea what Workshop does).

They aren't really "missing" per se - they exist in the game it's just CTU doesn't "find" them becuase it only looks at the first entry in the VPXY file. I'll have to examine the VPXY files of the dresses to see how they are constructed and how I can handle it, notwithstanding modifying the 3d view to support it.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Scholar
#91 Old 21st Aug 2009 at 11:06 PM
Quote:
Originally Posted by Delphy
DBCAB, I'm confused as to what you are asking. CTU can be used to create a new package which contains the CASpart (the thing that links everything), your mesh (in various LODs) as well as the texture files itself. So, yes, it can be used for new things.

fluttereyes: I take it your problems are primarily down to the fact that CTU doesn't display the extra parts of the mesh, correct? (I have no idea what Workshop does).

They aren't really "missing" per se - they exist in the game it's just CTU doesn't "find" them becuase it only looks at the first entry in the VPXY file. I'll have to examine the VPXY files of the dresses to see how they are constructed and how I can handle it, notwithstanding modifying the 3d view to support it.


I have a modified copy of the dress I was working on. I welded the two pieces together in milkshape. You can have it if you want. I have no clue what to do with it right now. It's the sheath halter one. I don't know if it will help you but I don't want you to think I just want you to do everything for us. I'd sit and weld as many as you wanted if it would help you out. TBH though, I have no clue if that will even help, it just looks right now when I open it in milkshape. The two pieces I welded together were LOD1_1 and LOD_1_1. Just let me know if I can be of any help at all, limited as it is, I feel for you as you've worked flat out on this and we still want and need more, sorry
Warrior Gryphon
site owner
#92 Old 21st Aug 2009 at 11:34 PM
fluttereyes:

I think you might like this. Just did it up in between the time of my last post and this one:


Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Scholar
#93 Old 21st Aug 2009 at 11:35 PM
Delphy, here's a dress with the bumpmap issue. I managed to get rid of everything on this, it's the cocktail dress with out necklace. If you open it in CTU and look just between the bust you'll see there's still a bump there, like a ledge. I've completely wiped out the bumpmap, as you'll see. I also changed the ambient as that had this bum in it. You'll see what I did with all the files if you open the package. Hope it helps with at least that issue.
Download - please read all instructions before downloading any files!
File Type: rar cocktailDress1_Fluttereyes.rar (397.1 KB, 13 downloads)
Scholar
#94 Old 21st Aug 2009 at 11:36 PM
Lol, delphy, it wasn't that one I was using, that was freedom, think that was using that. I was using the sheathHalter one

Here's the one I welded, but I don't know how to turn it to an alpha and I don't even know if I did it right.

Can't get the .rar to stick but I'm sure you can get into this post and extract it still
Download - please read all instructions before downloading any files!
File Type: rar LODFull.rar (71.5 KB, 6 downloads)
Warrior Gryphon
site owner
#95 Old 21st Aug 2009 at 11:53 PM
fluttereyes: The point is not which one you where using.... the point is that CTU now loads in multiple mesh parts and displays them correctly. Try it yourself - select afBodyDressWeddingGown and add a design and you'll see the problem you've been talking about - your CTU will only load part of the mesh, which makes it impossible to check if you have textured it properly.

In this version of CTU, this is no longer the case, as indicated above, and again here:



Maybe I am misunderstanding your problem?

Thanks for the attachment btw - I'll take a look.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Scholar
DELETED POST
21st Aug 2009 at 11:58 PM
This message has been deleted by fluttereyes.
Warrior Gryphon
site owner
#96 Old 22nd Aug 2009 at 12:23 AM
fluttereyes:

I just looked at that package and I have to say I'm confused. You are recolouring an existing mesh, I guess? But you haven't replaced the bumpmap image. (The first slot in the TGI Links list). The package file contains only the texture files needed for the 3rd design you have.

In order to get rid of any bumps you'll have to do the usual things: Either make a default replacement bumpmap that replaces the original one, or make a new mesh (copying the old one) and change the bumpmap reference in that. I suspect this latter is what you are trying to do - but this isn't actually what I wanted to test anyway

Good luck with Milkshape.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Scholar
#97 Old 22nd Aug 2009 at 12:37 AM
I did replace it, I have a blank bumpmap, that's why you can't see the wrinkles at the bum, etc. No idea why it isn't showing in the package. I can send you all the files seperately if you like. It isn't finished, I admit that, but the bumpmap is the first thing I go for when I retexture these dresses.

Here's a screenie of me doing it, it doesn't change a thing, the bmp is blank, nothing on it. I just fill it with grey
Screenshots
Forum Resident
#98 Old 22nd Aug 2009 at 4:05 AM
Tutorials no longer match
daluved1
Quote:
Originally Posted by daluved1
Winterhart - I've already made several tutorials, and there are many others out there as well Check in the Sim 3 Modding Overview.


I looked at your tutorials and they are all outdated. I just tried your custom clothing stencils. By the step 2 there was a problem. You say "In the "Find a Mesh" tab........ There is no "Find a Mesh" tab in the current version. However I was able to figure it that out from the picture. Next I clicked on the Designs tab. This brought up another window that does not match your picture at all. But I followed the instruction to click on Add New Design. This brings up a dialog box that say "Add New Blank", "Copy All From Base" and greyed out under that is "Add New (copy last). This is where I am totally lost. Again because the tutorial does not MATCH THE CURRENT LAYOUT OF CTU!!! Sorry for yelling. This is the exact same issue that I had with Hanlon Razor's tutorial that I described in detail in my previous post. Please understand I am not trying to be picky about it. I am dyslexic and have a difficult enough time just reading tutorials to start with and if the tutorial layout doesn't match the CTU layout it is impossible for me to learn how to use the tool. I don't have the experience with modding to be able guess what I should do. I would be happy to work with you to rewrite the tutorial. That would help me learn it.



Thank you for your time.

Sometimes the Dragon wins and I AM the Dragon!
Page 4 of 34

Expansion/Stuff packs required:
Sims 3

838 Comments / replies (Who?)

23 Feedback Posts

388 Favourited

150,234 Downloads

627,480 Views

Operating System: Windows Linux Mac OS X
Utility Type: CC Editors
Plugin Type: Not Applicable

Tags: #CTU, #CAS Texture Unitool