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 2 of 34
838 Comments / Replies (Who?) - 721 Feedback Posts, 59 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Perfecting the Pedagogy
staff: retired moderator
#26 Old 19th Aug 2009 at 3:45 AM
RCob, check your DirectX :D

"Holy Shift! Check out the asymptotes on that mother function!"
Instructor
#27 Old 19th Aug 2009 at 4:01 AM
Yea i thought i had it, so went and downloaded it, again, and it works now! thanks everyone!

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

Mah Facebook
Field Researcher
#28 Old 19th Aug 2009 at 4:06 AM
wait what? I'm having the same problem as rcob...what do I do?
Lab Assistant
#29 Old 19th Aug 2009 at 4:08 AM
Delphy, i love love love your work! thank you so much!


on a side note to the people who have been around since the before time... simpose? anyone? I just opened up the program and its all flashbacks right down to the purple background! so awesome.



Andrew Shields My personal portfolio

Andrew Shields Facebook Page <3
Perfecting the Pedagogy
staff: retired moderator
#30 Old 19th Aug 2009 at 4:08 AM
Make sure you have DirectX Runtime installed

"Holy Shift! Check out the asymptotes on that mother function!"
Field Researcher
#31 Old 19th Aug 2009 at 4:10 AM
Sorry, I'm not computer savvy...what is directx? And where do I get it...?
Perfecting the Pedagogy
staff: retired moderator
#32 Old 19th Aug 2009 at 4:14 AM
There's a link on the Overview page...

"Holy Shift! Check out the asymptotes on that mother function!"
Field Researcher
#33 Old 19th Aug 2009 at 4:25 AM
ooo...lol k. I overlooked that part...thanks daluved1
I'm also reading your tutorial for the basic mask editing.
thanks a bunch!
Test Subject
#34 Old 19th Aug 2009 at 4:48 AM
I just ignored the errors, they pop up all the time, and successfully made a new mesh bangle!! Oh thank you and your tool so much!!

I guess those errors are cause by the 3D preview,, it doesn't work for my bangle, but it does not matter while other parts work just great!!
Forum Resident
#35 Old 19th Aug 2009 at 4:57 AM
Awesome! I can't wait to test this. Thanks!

You're braver than you believe, and stronger than you seem, and smarter than you think.
-Christopher Robin to Pooh
Field Researcher
#36 Old 19th Aug 2009 at 5:09 AM
Awesome update! I just love the new 3D preview!
Perfecting the Pedagogy
staff: retired moderator
#37 Old 19th Aug 2009 at 5:57 AM
Okay sorry for all the posts

It seems that the mesh for the afBody Apron is...um...warped?

Anyhoos...I think I've about finished that guide thing I was working on. Of course a few things are unanswered, but hopefully others can fill it in.
Screenshots

"Holy Shift! Check out the asymptotes on that mother function!"
Test Subject
#38 Old 19th Aug 2009 at 7:02 AM
using vista 64-bit, got everything (i think?) installed. ignoring the error message (continuing instead of quitting) doesn't seem to make the program impossible to use. then again, first time using it, so i wouldn't know. i just want NRM and item-specific thumbnails for them hahah.

when i first opened the CTU, i checked Enable 3d Preview and that's when I got my error message:

Warrior Gryphon
site owner
#39 Old 19th Aug 2009 at 8:40 AM
daluved1: Not all the TGI links are bumpmaps - only one.

With regards to the apron, we just load the meshes as we see them - so it might be the actual mesh looks deformed.

Also, yes, HSV patterns not working is by design.

ailivina: When you run the program it has a version number in the title bar. That version number should match the one listed on this thread (1.8.3518.1616). If it doesn't then you aren't using the latest version.

I just tried the exact same thing with a sock and it works perfectly.

alphose: Did you make sure to update your DirectX using the link as specified in the Installation Prerequisites?

forwardmotions: Purple background? It's Color.SlateBlue. :P

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Field Researcher
#40 Old 19th Aug 2009 at 9:49 AM
Wow. Thank you, I love the 3D Preview.

oepusims.tumblr.com. I don't take request. I have 2 children and few freetime. Use my creations as you wish. You don't have to ask.
Lab Assistant
#41 Old 19th Aug 2009 at 9:57 AM
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.
Instructor
#42 Old 19th Aug 2009 at 10:29 AM
Have to agree with Playful: Vista 64b is not supported.
I know that you wanted to make it working on PC, Mac, Windows, Linux, whatever... is there a way to get it to work on a 64b system, too?
And no, TSR Workshop is no alternative for me

Anyway, great work! Would be greater for me if I wouldn't use 64... :D

Yes, I am serious though I'm not serious at all. I'm serious about this!
Even the joker can be deadly serious...
Wichtig ist, was hinten raus kommt!
Entscheidend daran ist, wie?
Field Researcher
#43 Old 19th Aug 2009 at 10:49 AM
I have installed everything framework and DirectX, but it says that 3D view currenlty not initialised? Also from time to time an error pop up, well...pops out But I just ignore it...any thoughts?
Test Subject
#44 Old 19th Aug 2009 at 11:06 AM
Quote:
Originally Posted by @Stefan
I have installed everything framework and DirectX, but it says that 3D view currenlty not initialised? Also from time to time an error pop up, well...pops out But I just ignore it...any thoughts?


Does it initialize when you add a new design?
Field Researcher
#45 Old 19th Aug 2009 at 11:09 AM
Oh...yes :P
Test Subject
#46 Old 19th Aug 2009 at 11:16 AM
Cool. But yeah I get the error message at what seems like random times, and some CAS parts became unavailable as well. I did not erase them. I redownloaded the CAS part files and they are selectable again.
Test Subject
#47 Old 19th Aug 2009 at 12:18 PM Last edited by VampireMike : 19th Aug 2009 at 12:48 PM.
How do you install the 3D view?
I would really benefit from that where ever it is.
Wont let me install that framework as it's not compatable with Vista
Test Subject
#48 Old 19th Aug 2009 at 12:50 PM
I got this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MadScience.Render.RenderWindow.setupShaders()
at MadScience.Render.RenderWindow.OnResetDevice(Object sender, EventArgs e)
at MadScience.Render.RenderWindow.resetDevice()
at CASPartEditor.Form1.reloadTextures(xmlChunkDetails details)
at CASPartEditor.Form1.startRender(xmlChunkDetails details)
at CASPartEditor.Form1.btnStart3D_Click(Object sender, EventArgs e)
at CASPartEditor.Form1.showCasPart(Int32 chunkNo)
at CASPartEditor.Form1.listView1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CasTextureUnitool
Assembly Version: 1.8.3518.1616
Win32 Version: 1.8.3518.1616
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/CasTextureUnitool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MadScience.Wrappers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/MadScience.Wrappers.DLL
----------------------------------------
PatternBrowser
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/PatternBrowser.DLL
----------------------------------------
MadScience.Helpers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/MadScience.Helpers.DLL
----------------------------------------
MadScience.Render
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/MadScience.Render.EXE
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
bfrzud3g
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
1lzknjsx
Assembly Version: 1.8.3518.1616
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
oamhwgru
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.3900
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
OX.Copyable
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/F%E1bio%20Mello/Downloads/The%20Sims/CasTextureUnitool/OX.Copyable.DLL
----------------------------------------
System.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
Microsoft.VisualC
Assembly Version: 8.0.0.0
Win32 Version: 8.00.50727.3053
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
hmer6z9b
Assembly Version: 1.8.3518.1616
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Trainee Moderator
staff: trainee moderator
#49 Old 19th Aug 2009 at 2:30 PM
Did I ever tell you you're my heroes? You know it! Thanks Team!
Field Researcher
#50 Old 19th Aug 2009 at 2:44 PM Last edited by flajko : 19th Aug 2009 at 2:55 PM.
I need your help Delphy,why can't I find Face Overlay in Costume(Mask) options,there is only RGB mask that can be changed?And a nothing can be done to change the look of mask in 3d view
Page 2 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