Home | Download | Discussion | Help | Site Map | New Posts | Sign in
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...
Advertisement:

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
828 Comments / replies (Who?) - 25 Feedback Posts
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

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

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 3
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 96,438 18th Aug 2009
CasParts.rar 2.43 MB 83,828 19th Aug 2009
CasTextureUnitoolNo3D.rar | Description: v1.9.3569 (No 3d view - OS X and Linux beta) 383.8 KB 24,280 24th Aug 2009
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
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 1 of 34
828 Comments / Replies (Who?) - 717 Feedback Posts, 53 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Lab Assistant
#2 Old 18th Aug 2009 at 11:34 PM
Awesome thank you all for putting so much work into the CTU tool I really appreciate it.
Lab Assistant
#3 Old 18th Aug 2009 at 11:37 PM
This Rocks! Can't wait to play with it!!!

Fred

If I could fly high above the world, would I see a bunch of living dots spell the world stupidity? - Greg Graffin
Mad Poster
#4 Old 18th Aug 2009 at 11:48 PM Last edited by RiBlan : 19th Aug 2009 at 12:00 AM.
Hehe, cool. Can't wait to try it out.

EDIT: I didn't have the RunTime.
Lab Assistant
#5 Old 19th Aug 2009 at 12:09 AM
I opened up a project of mine that worked fine on your earlier releases (including the one before this that introduced the 3D view). However, when I opened the file with this version I get this error:



My other project works fine. I've included the file in case you want to take a look.
Download - please read all instructions before downloading any files!
File Type: zip wbmfuku.zip (141.7 KB, 133 downloads)
I aim to misbehave
staff: moderator
#6 Old 19th Aug 2009 at 12:17 AM
Thanks a lot for this!!!! :D

Check out my tutorials: For TS4: Eyelashes and for TS2: Eyes and Eyes 2
-My dA-

Please, call me Nina (:
Lab Assistant
#7 Old 19th Aug 2009 at 12:17 AM
Thanks a million for the update. Please clarify if indeed this new version will run under net framework 2.0 and not 3.5 like the previous. I tried running the previous version with 2.0 and it all worked fine, until I tried saving a file and got an unhandled exception error, so 3.5 took care of that. I have two other machines with net frame 2.0 that I never expose to an online connection, so I need to know if 2.0 will indeed work with this update. Thanks again.
Mad Poster
#8 Old 19th Aug 2009 at 12:32 AM
I love this tool and how it keeps evolving and expanding, allowing us to do more and more, and find it indispensable. THANK YOU so much for all your efforts in making a great app.
Scholar
#9 Old 19th Aug 2009 at 12:38 AM Last edited by Enjoji : 19th Aug 2009 at 12:39 AM. Reason: re-worded a sentence...
I've just downloaded the previous build of this tool today (to get my head wrapped around some texturing etc...) and it's awesome you've released this updated version. Thank you... My query is that I'm about to update my system to Net Framework 3.5 (Vista) and you've dropped this update back to 2.0 - will this new version still work on 3.5? It's probably a dumb question, but I'm a noob with stuff like this, and would love to have this up-to-date version

Any help or advice from anyone would be much appreciated. Thanks again :D

"When in doubt, blame the kids..."
Queer, Black, Female - and proud of it!
Delphinius The Great
site owner
#10 Old 19th Aug 2009 at 12:48 AM Last edited by Delphy : 19th Aug 2009 at 1:08 AM.
mosbyte: It clearly says in the overview text that it requires 2.0, and doesn't mention at all 3.5.

Enjoji: You must make sure you have .NET Framework 2.0 installed even if you've installed 3.5. Just download it from the link and install.

matildarose: Thanks for the attachment, I'll take a look.

Edit: Okay I've identified the issue. 1.8.3518.1616 (r81) fixes your issue (PS The Ambient texture you have defined is missing...)

Tumblr - Yes, I have a blog. :)

<Corsix> Why 'mod the sims 2' when you can mod 'mod the sims 2'?

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Lab Assistant
#11 Old 19th Aug 2009 at 12:59 AM
Delphy, you could learn a little in the way of manners when you answer people. If you stop to think for a moment, some users may think it's a typo when a newer version of a program requires an older programming environment than its predecessor.
Lab Assistant
#12 Old 19th Aug 2009 at 1:09 AM
WOOOOOOOOOOOOOOOOOOOOOOOOOOT THANKS *_*
Don't need TSR Workshop anymore
Lab Assistant
#13 Old 19th Aug 2009 at 1:12 AM
I redownloaded it and everything works fine! ..... And for some reason, the ambient always seems to go missing on that file. XD
Test Subject
#14 Old 19th Aug 2009 at 1:12 AM
OMG, This is great!!! Thank you very much!! can't wait to try it
Delphinius The Great
site owner
#15 Old 19th Aug 2009 at 1:16 AM
mosbyte: Yes, I realise it might be a little confusing to people who have used the older version, but theres no need to call me rude when I was, indeed, answering your question.

It's not a typo, and this version does indeed require .NET 2.0 and not .NET 3.5 - since obviously it's not clear to people who are coming from the older version and might get confused even though it's stated in the thread, I'll add some clarification text to make things simpler.

Tumblr - Yes, I have a blog. :)

<Corsix> Why 'mod the sims 2' when you can mod 'mod the sims 2'?

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Test Subject
#16 Old 19th Aug 2009 at 1:35 AM
I tried to make a tattoo, but each time I commit a texture, it gives me an "System.NullReferenceException",, then I turn to something with a mesh(a tattoo has no mesh), this does not happen..
Tentacle Of Righteousness
#17 Old 19th Aug 2009 at 1:48 AM
Thank you Delphy

Alt 255
The sky above the port was the color of television, tuned
to a dead channel.
Instructor
#18 Old 19th Aug 2009 at 1:59 AM
I tried downloading .NET Framework 2.0 and during the installation of that, it said that it doesnt run on Windows Vista, so i had to exit the setup.

Fashion icon Lady GaGa! Now being created. Take a look!
Call me RCob It's much easier. :)

Mah Facebook
Delphinius The Great
site owner
#19 Old 19th Aug 2009 at 2:16 AM
ailivina: Sorry but I'm gonna need a LOT more information that that. Please follow the instructions in the overview that tell you how to capture the error message box and post it here.

Also, make sure you use r81, just in case.

r_cobleigh109: Vista supposedly comes with .NET 2.0. Just try running it and see what happens.

Tumblr - Yes, I have a blog. :)

<Corsix> Why 'mod the sims 2' when you can mod 'mod the sims 2'?

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Perfecting the Pedagogy
#20 Old 19th Aug 2009 at 2:27 AM Last edited by daluved1 : 19th Aug 2009 at 2:39 AM.
Quote:
Originally Posted by r_cobleigh109
I tried downloading .NET Framework 2.0 and during the installation of that, it said that it doesnt run on Windows Vista, so i had to exit the setup.


2.0 runs on my Vista laptop. For me, .NET 2.0 came with 3.5

So maybe you already have it?

Edit - Yay! New version to play with :D

Quick Question: Am I to assume that these TGI Links are bumpmaps?

"Holy Shift! Check out the asymptotes on that mother function!"
Test Subject
#21 Old 19th Aug 2009 at 2:41 AM Last edited by ailivina : 19th Aug 2009 at 6:59 AM.
Delphy, thanks for your answer.

I am not sure about the r81... what is it? I am using the new CTU with a 3D preview...

I can still have this error when: go click a sock, add a new design, go texture panel click commit without any changes.

The error is here (I deleted non English words, and sorry for this long thing):

System.NullReferenceException: Object reference not set to an instance of an object
at MadScience.Render.RenderWindow.loadTexture(Stream textureInput, String outputTexture)
at CASPartEditor.Form1.reloadTextures(xmlChunkDetails details)
at CASPartEditor.Form1.btnReloadTextures_Click(Object sender, EventArgs e)
at CASPartEditor.Form1.btnCommitLstTexture_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Scholar
#22 Old 19th Aug 2009 at 2:43 AM
Thanks Delphy, I've been looking forward to this. Here's an idea for the next version. Don't start it till you've had a couple of days off, lol, you must work flat out to do all this.

My new world is now available on my own site.prettysims.com
Perfecting the Pedagogy
#23 Old 19th Aug 2009 at 3:26 AM
I don't know if this has been mentioned...but HSV patterns aren't being displayed at all. The pattern preview doesn't update, and the preview doesn't render them.

Idk if that was by design or not

"Holy Shift! Check out the asymptotes on that mother function!"
Field Researcher
#24 Old 19th Aug 2009 at 3:39 AM
I really need some help..It's not working for me and I have no idea what could be wrong..I have Windows Vista in case you needed to know..

I downloaded and extracted the unitool and the casparts...and when I click on the unitool to open it, a box immediately pops up that says "Cas part editor has stopped working...windows will try to solve the problem" and then again, immediately says "a problem has caused the program to stop working."

So what's the deal? Any help please?
Instructor
#25 Old 19th Aug 2009 at 3:41 AM
hmm well maybe it was something else then! cuz when i tried to run the CTU the vista box came up that said 'The CAS Part Editor has stopped working. Windows is looking for a solution to the problem.' it is the first and only thing that comes up.

Fashion icon Lady GaGa! Now being created. Take a look!
Call me RCob It's much easier. :)

Mah Facebook
Page 1 of 34