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 3 of 34
838 Comments / Replies (Who?) - 721 Feedback Posts, 59 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
#51 Old 19th Aug 2009 at 3:45 PM
I downloaded it again, sure it is the lateset version, and still get the errors, just same error as Kent
But the program is still working,so I think I can get well with those errors...
Field Researcher
#52 Old 19th Aug 2009 at 4:07 PM
I have the same question as flajko...Overlay (in texture tab) has blank values, and when I replace the values with the new face mask overlay I've created it looks like nothing changed, and in the game, it's the same mask only with RGB changed...so, any help?
Test Subject
#53 Old 19th Aug 2009 at 4:51 PM
As it turns out, I'm a tool. I really was hoping that this program would allow me to make a nude outfit for the Lara body shape. I'm willing to bet that it can, only thing is... like I said... I'm a tool. I have no idea how to use this program even after several hours of messing the whole dang thing up. If there is anyone out there who can do this for me, I would be most appriciative.
Forum Resident
#54 Old 19th Aug 2009 at 5:07 PM
Excellent program, kudos for putting so much time into it!
Mad Poster
#55 Old 19th Aug 2009 at 5:55 PM Last edited by EsmeraldaF : 19th Aug 2009 at 6:09 PM.
I too am having what seems to be the same problem as flajko and Stefan - I use the Costume Makeup 'tiger mask' a lot, for custom contact lenses and for face overlays, but now I'm finding in the new version that my face overlays are coming out as an all-white tiger mask, although I'm still following the same procedure that worked perfectly with all previous versions of CTU: replacing the Overlay with my custom DDS file and replacing the Mask with the 'no mask' key to get rid of the 'tiger' image. Am completely puzzled as to what to do!!
Test Subject
#56 Old 19th Aug 2009 at 5:55 PM
I recieve an error message when I minimize the application.

http://img20.imageshack.us/img20/8821/unitoolerror.jpg

This happens after you add a stencil and then minimize Unitool.
Also I wanna ask....is there a way on Unitool you can make it so Stencil's are colourable in CAS?
Field Researcher
#57 Old 19th Aug 2009 at 6:18 PM
Any help about mine, EsmeraldaF's and Flako's problem? :P
Scholar
#58 Old 19th Aug 2009 at 6:37 PM
Quote:
Originally Posted by VampireMike
I recieve an error message when I minimize the application.

http://img20.imageshack.us/img20/8821/unitoolerror.jpg


Ahh, I see. Is more or less a known problem,

Quote:
Also I wanna ask....is there a way on Unitool you can make it so Stencil's are colourable in CAS?


No, the game can't do that. Just use patterns or mask on the clothing for now.

Quote:
Originally Posted by @Stefan
Any help about mine, EsmeraldaF's and Flako's problem? :P


Please post exact steps to reproduce and maybe screenshots.
Perfecting the Pedagogy
staff: retired moderator
#59 Old 19th Aug 2009 at 7:11 PM
Quote:
Originally Posted by playful
Bummer, Framework 2.0 is not compatible with Vista 64b and would not let me even install it. Unless I am completely blind I did not find any link provided allowing me to do so. I was looking forward to this

Guess I am stuck using 1.7, ah well, least there is TSR Workshop - Thank god.


if you try to install 2.0 using the link provided, you won't get very far. .NET Framework 2.0 comes preloaded on most Vista PCs, and I believe it got rolled into the Vista install of .NET Framework 3.5....so if you have 3.5 installed you should be okay...

"Holy Shift! Check out the asymptotes on that mother function!"
Test Subject
#60 Old 19th Aug 2009 at 7:44 PM
I found I couldn't change accessory meshes after re-downloading r81.
Don't know why, Did I do something wrong? I chose an earing, added a new blank design, went to meshes input my new mesh name and three lod files then click commit, but nothing changed...I have checked in game, the mesh didn't change (yesterday I got error while doing this, but the mesh was changed successfully)
Mad Poster
#61 Old 19th Aug 2009 at 7:53 PM
Quote:
Originally Posted by jonha
Please post exact steps to reproduce and maybe screenshots.


Hi, thanks for looking into this. To create a face overlay in the CTU using a Costume Makeup mask as a base, I've always gone into the Textures tab and set 'Mask' to key:00B2D882:00000000:78709F1C8E0CE3CD to get rid of the default tiger mask, and then replaced 'Face Overlay' with my custom DDS graphic, which has worked very well.

With the latest version, on replacing 'Overlay' with my DDS file and 'Mask' with the above key, I get an all-white tiger mask still showing the tiger features rather than my face overlay - see screenshots:



Test Subject
#62 Old 19th Aug 2009 at 8:43 PM
D: You can't instal .NET framework 2.0 on windows vista x64
Perfecting the Pedagogy
staff: retired moderator
#63 Old 19th Aug 2009 at 8:50 PM
Quote:
Originally Posted by Rose_Reveries
D: You can't instal .NET framework 2.0 on windows vista x64


Have you tried running the program first? Usually Vista comes preloaded with 2.0, so you might already have it installed without knowing

"Holy Shift! Check out the asymptotes on that mother function!"
Lab Assistant
#64 Old 20th Aug 2009 at 12:18 AM
Quote:
Originally Posted by daluved1
if you try to install 2.0 using the link provided, you won't get very far. .NET Framework 2.0 comes preloaded on most Vista PCs, and I believe it got rolled into the Vista install of .NET Framework 3.5....so if you have 3.5 installed you should be okay...



Ah once again, daluved1 to the rescue, thanks, you were right. Started up fine.
Scholar
#65 Old 20th Aug 2009 at 12:33 AM
Quote:
Originally Posted by EsmeraldaF
Hi, thanks for looking into this. To create a face overlay in the CTU using a Costume Makeup mask as a base, I've always gone into the Textures tab and set 'Mask' to key:00B2D882:00000000:78709F1C8E0CE3CD to get rid of the default tiger mask, and then replaced 'Face Overlay' with my custom DDS graphic, which has worked very well.

With the latest version, on replacing 'Overlay' with my DDS file and 'Mask' with the above key, I get an all-white tiger mask still showing the tiger features rather than my face overlay - see screenshots:


OK, first you seem to replace one time the "Overlay" and the other time the "Face Overlay". I think overlay is correct, as the face overlay will get the tint colors applied and thus getting white. But I'm not sure about that, face overlay could work, too, with the right mask.

About that: my version of CTU can't find a texture with key:00B2D882:00000000:78709F1C8E0CE3CD

The second thing is, don't rely purely on the preview in CTU and test ingame, too. The CTU preview wasn't extensively tested for makeups and I'm not sure, that overlays get displayed correctly.
Mad Poster
#66 Old 20th Aug 2009 at 1:28 AM
Quote:
Originally Posted by jonha
OK, first you seem to replace one time the "Overlay" and the other time the "Face Overlay". I think overlay is correct, as the face overlay will get the tint colors applied and thus getting white. But I'm not sure about that, face overlay could work, too, with the right mask.

About that: my version of CTU can't find a texture with key:00B2D882:00000000:78709F1C8E0CE3CD

The second thing is, don't rely purely on the preview in CTU and test ingame, too. The CTU preview wasn't extensively tested for makeups and I'm not sure, that overlays get displayed correctly.


'Face Overlay' is no longer given as an option in the new CTU - the new CTU only gives 'Overlay' as an option. I just assumed it was the same thing. But maybe it's not?

As far as I know, key:00B2D882:00000000:78709F1C8E0CE3CD is just something that 'tells' TS3 to remove the 'Mask' from the costume makeup - I don't think it's actually a texture (if you click 'Find' while selecting it in CTU, nothing happens). I think it's some sort of empty placeholder. Whatever it is, it removes the 'tiger' features from the costume mask in all previous versions of CTU, but not this version.

I didn't rely only on the preview in CTU - I did try the costume makeup overlay in-game as well, and it came out the same - an all-white tiger mask!
Test Subject
#67 Old 20th Aug 2009 at 8:52 AM
Quote:
Originally Posted by daluved1
Have you tried running the program first? Usually Vista comes preloaded with 2.0, so you might already have it installed without knowing

It's just the 3D thing that's not working but the rest of it works fine
Warrior Gryphon
site owner
#68 Old 20th Aug 2009 at 9:20 AM
EsmeraldaF, Overlay is not the same as Face Overlay - it works differently.

The next version will have a fixed Textures tab that now shows the textures properly for Costume makeup (ie Face Overlay and Face Specular).

Rose_Reveries: Make sure you also update DirectX as per the second installation prerequisite.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Mad Poster
#69 Old 20th Aug 2009 at 9:53 AM
Quote:
Originally Posted by Delphy
EsmeraldaF, Overlay is not the same as Face Overlay - it works differently.

The next version will have a fixed Textures tab that now shows the textures properly for Costume makeup (ie Face Overlay and Face Specular).


Thank you! Meanwhile, I'm happy using the previous 'Beta' version 1.8 for that purpose, which works great, so no problem.
Test Subject
#70 Old 20th Aug 2009 at 10:54 AM
I am experiencing ingame color/pattern differences (from viewer) plus non colorablity when I change the Patterns in your new ver. The problem is not the viewer which works great for me, and the solution is ez enough. I work your older version side by side with the new one. I just thought I would bring this up.
Test Subject
#71 Old 20th Aug 2009 at 11:02 AM
Alright. So I'm attempting to find a workaround so we can get this (and other .NET programs) to work on Macs. Currently, I've found that Mono will, at the very least, start to load the CAS Unitool. However, for some reason, the error is that it claims it can't locate patternList.xml within the xml folder. Which is ridiculous, because it IS in the folder. I checked. What is weird is that the directory's slashes suddenly change directions, which I can't quite figure out a way around. Any suggestions? The error:

Could not find the file "/Users/adelewen/Desktop/CAS\xml\patternList.xml".

It was working great in setup until it did that. I'm trying to find a way to make it work for Mac users, and Mono is the closest I've gotten. It's kinda a leap to ask you, but I figure you've got enough familiarity with your own program (and obviously .NET framework) to possibly offer a suggestion or two.
Warrior Gryphon
site owner
#72 Old 20th Aug 2009 at 1:31 PM
adelewen: I already fixed the slashes problem here (and had it tested by a mac user), but the problem then is that CTU needs the DirectX assemblies, which obviously don't exist on Macs. About the only way I can think of to get it to work would be to do a version without the 3d preview.

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.

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Test Subject
#73 Old 20th Aug 2009 at 3:59 PM
Quote:
Originally Posted by Delphy
alphose: Did you make sure to update your DirectX using the link as specified in the Installation Prerequisites?


i thought i did. i even reinstalled it just in case. shut the computer down and got dragged away from it, and this morning i have no error messages.
Forum Resident
#74 Old 20th Aug 2009 at 6:34 PM
Quote:
Originally Posted by Delphy
r_cobleigh109: Vista supposedly comes with .NET 2.0. Just try running it and see what happens.


I have the same problem. I am running Vista 64 bit. I thought I would try running CTU anyway to see what happens. I needed step by step instructions so I downloaded Hanlon Razor's "Quick & Dirty....". The problem is the tutorial does not match what CTU looks like now. But I took a shot at trying to figure it out anyway. I was able to extract the texture. But I couldn't figure out how to get it back into CTU.

I was going to post to Razor's CTU tutorial thread asking if he had done an update to tutorial but he hasn't checked the thread in over 30 days.

Do you know of any other tutorials that are more up to date? Or would you be willing to walk me through the process based on Razor's Tutorial? Then I update the tutorial myself with your help.

I also had a problem with CTU itself. When I minimize the window I get and unhandled exception error. "Value did not fall within expected range" If I click continue I get another UE "Error in the application" This just means I need to close the application instead of minimizing. Not critical but very annoying.


Thank you for your time.

Sometimes the Dragon wins and I AM the Dragon!
Perfecting the Pedagogy
staff: retired moderator
#75 Old 20th Aug 2009 at 8:46 PM
Winterhart - I've already made several tutorials, and there are many others out there as well Check in the Sim 3 Modding Overview.

"Holy Shift! Check out the asymptotes on that mother function!"
Page 3 of 34

Expansion/Stuff packs required:
Sims 3

838 Comments / replies (Who?)

25 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