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

Latest Site News

Creator Theme: Space! - posted on 8th Jul 2018 at 6:02 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
839 Comments / replies (Who?) - 7 Feedback Posts, 7 Thanks 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 102,082 18th Aug 2009
CasParts.rar 2.43 MB 88,643 19th Aug 2009
CasTextureUnitoolNo3D.rar | Description: v1.9.3569 (No 3d view - OS X and Linux beta) 383.8 KB 25,746 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 34 of 34
839 Comments / Replies (Who?) - 722 Feedback Posts, 59 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Field Researcher
THANKS POST
#826 Old 6th Oct 2015 at 3:13 PM
Thank you kind person/people.
Test Subject
#827 Old 26th Oct 2015 at 5:55 PM
Okay... So... What's the point to the Mac/Linux version if it doesn't even work? It doesn't even let me extract textures from custom packages because I have to find the root folder to The Sims 3, which is impossible, since the root folders are entirely different between Mac and Windows version of the game. You've have to go into the app contents and its impossible to do that? Unless I'm totally missing something.
Test Subject
DELETED POST
27th Feb 2016 at 1:11 PM
This message has been deleted by cherrydaboo. Reason: delete
Test Subject
#828 Old 5th Aug 2016 at 3:11 AM
I have seen other people report this, but I'm not sure there was a solution posted. As those posts were ancient, I'm just going to ask the same question again. CTU is a wizbang cool thing, but I'm frustrated at replacing textures. I have a 1024x1024 texture in the correct DDS format. I go to Designs --> Textures --> Base Texture. I right-click, select Replace Image, select the DDS image (the key value changes), hit the commit button, and in my 3D view, the torso is now naked. The bump map is still there, but being applied to what seems to be skin. Is the Base Texture perhaps underneath? But then maybe it isn't, because the "find" operation returns with an error, claiming it can't find the key.

Right now my workflow is to use TSR Workshop to load up the meshes, then export the package, and load the package into CTU to view it in the superior 3D viewer (and to set up designs and so on). Seems like a needless extra step because of my texture loading problem. Any advice on what to try? (By the way, I did not install .NET Framework 2.0 -- seemed to work under Windows 7 and the documentation seemed to say that under W7 it's fine with new versions of .NET)
Test Subject
THANKS POST
#829 Old 30th Oct 2016 at 4:33 AM
Thanks
Test Subject
THANKS POST
#830 Old 30th Jan 2017 at 5:31 PM
thanks
Test Subject
THANKS POST
#831 Old 17th Mar 2017 at 8:03 PM
Thank you.
Field Researcher
#832 Old 10th May 2017 at 2:05 PM
This gives me a "CASPartEditor has stopped working." error message. I'm running windows 7 if that makes a difference :/ I don't suppose there's another way to make custom CAS parts other than this program is there?

Playing since 2004.
Test Subject
THANKS POST
#833 Old 5th Jun 2017 at 8:55 PM
I hope I am able to figure this out and put your hard work to good use.
Test Subject
#834 Old 8th Jul 2017 at 10:45 PM
Quote:
Originally Posted by Shan-Chan
This gives me a "CASPartEditor has stopped working." error message. I'm running windows 7 if that makes a difference :/ I don't suppose there's another way to make custom CAS parts other than this program is there?


Well there is also TSR Workshop for making CAS items. However it's from The Sims Resource site & you'll have to go to TSR to get it. I suggest leaving your ad blocker on, no matter how much TSR wants you to look at their ads. TSRW is, as far as I can tell, the only download on TSR that doesn't try to make you watch ads or wait if you have ad block. Their "in-house" developed program is the only thing they let you download unhindered....funny that, yeah?

Anyway, the other downsides of TSRW are: it has to be installed rather than being self-contained, it runs slower than CTU, starting any new project involves clicking through several screens & subsequently waiting for the next screen to load, the import feature is as slow & clunky as starting a new project, and various operations bring up annoying dialogues asking if your project is for Sims 4 & they don't have any "no & don't ask me again" buttons to get rid of them forever.

Once you get your project opened into the workspace, TSRW runs just peachy, & is fairly straight forward. One plus for TSRW is that it has way more CAS categories available than CTU does, if you want to make something "outerwear" for example, CTU doesn't have that category. TSRW also has it's own file type ".wrk" for saving projects in progress & finished projects have to be "exported" rather than "saved".
TSRW exports as .sims3pack & has is a greyed out .package option. I don't know if .package exports were broken so they disable the option, or if it's a "premium" feature for TSR's "VIP" members only, or what, but Delphy's sims3pack extractor takes care of the sims3packs.

Don't think I'm saying this just to endorse TSRW, look at all the negative points I gave it vs a couple of positive features.
Personally I really prefer CTU by a mile, if it had all the clothing categories available, I probably wouldn't bother with TSRW at all.
But TSRW is a CC making tool & makes CAS items, if you can't get CTU to work, you can still try TSRW.
Test Subject
#835 Old 23rd Sep 2017 at 3:12 AM
it needs to be updated

evyonne
Test Subject
THANKS POST
#836 Old 29th Oct 2017 at 3:28 PM
Not working anymore
Test Subject
THANKS POST
#837 Old 14th Feb 2018 at 12:44 AM
This Program crash when I try to open it, Anyone know why?
Test Subject
#838 Old 4th Mar 2018 at 8:20 AM
So the CTU with the 3D preview is no longer working, but the No3D version will still run! It's a little less convenient but all the main functionality is still there. So grateful for this!
Test Subject
#839 Old 26th Jun 2018 at 11:27 AM
I'm getting an "unhandled exception unable to read beyond stream" when trying to replace a mesh for an EP item. Any ideas why that is? I've never had this problem before.


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at MadScience.Wrappers.RcolHeader.loadFromStream(Stream input)
at MadScience.Wrappers.RcolHeader.Load(Stream input)
at MadScience.Wrappers.VPXYFile.loadFromStream(Stream input)
at MadScience.Wrappers.VPXYFile..ctor(Stream input)
at CASPartEditor.Form1.saveToDBPF(Database db, UInt64 instanceId, Boolean newInstance)
at CASPartEditor.Form1.saveAsToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.8784 (QFE.050727-8700)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CasTextureUnitool
Assembly Version: 1.9.3569.25056
Win32 Version: 1.9.3569.25056
CodeBase: file:///D:/Sims%203%20Texture%20Editor/CasTextureUnitool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
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.8770 (QFE.050727-8700)
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.8019 (FX35W81RTMGDR.050727-8000)
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:///D:/Sims%203%20Texture%20Editor/MadScience.Wrappers.DLL
----------------------------------------
PatternBrowser
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Sims%203%20Texture%20Editor/PatternBrowser.DLL
----------------------------------------
MadScience.Helpers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Sims%203%20Texture%20Editor/MadScience.Helpers.DLL
----------------------------------------
MadScience.Render
Assembly Version: 1.0.3569.23232
Win32 Version: 1.0.3569.23232
CodeBase: file:///D:/Sims%203%20Texture%20Editor/MadScience.Render.EXE
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8773 (QFE.050727-8700)
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.8007 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
t96ea_d4
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.8770 (QFE.050727-8700)
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
Page 34 of 34