MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Picked upload! S4 CAS Tools - updated to V3.5 on 1/19/2021

by CmarNYC Posted 28th Aug 2016 at 9:53 PM - Updated 19th Jan 2021 at 5:15 PM by CmarNYC : New version upload
356 Comments / replies (Who?) - 17 Feedback Posts, 5 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
This is a full-purpose tool for creating CAS custom content for TS4. It's specifically meant to work with Milkshape 3D and to get around the limitations of using MS3D for Sims 4 meshes, but many of the functions can be done with OBJ or DAE files which can be used by almost any meshing program.

Here's a summary of the functions:

Cloning Tool - clone from game packages or custom packages

Clone Package Editor - working with custom content packages
  • General CAS part properties - properties applied to all recolors
  • Recolor Manager - properties for each recolor
  • Previewer
  • Mesh Manager - export and import meshes
  • Mesh Fixing Tools - fixes / changes applied to all meshes
  • Mesh Region Manager - view / modify regions
  • Thumbnail Manager - set up custom thumbnails
Mesh Tools - working with meshes
  • Auto Tool: Conversion/Auto Assignments - auto-assign bones, uv1, etc. from a reference mesh
  • Conversions: TS4/other - converts TS meshes to and from other formats
  • Separate Mesh Layers - creates an MS3D or OBJ mesh with layers separated into groups, mostly useful for alpha transparency hair
  • GEOM Tools:
    • Examine Mesh - see data in mesh
    • View Mesh
    • Combine GEOM meshes - combine two TS4 meshes
    • Clean Mesh - remove duplicate vertices
  • MS3D Tools - tools for Milkshape meshes
    • Examine MS3D
  • RIG Tools - look at skeleton data

In addition, if you click the Tools menu and Enable Special Tools, you'll see an additional Special Tools tab with various functions I've found useful for searching game packages.

Tutorial: Converting a TS3 dress to TS4
Tutorial: Converting a TS3 hair to TS4, with alpha transparency

This tool is in a perpetual state of beta, so check back for updates, fixes, new features, and so on.

As of V3.4, CAS Tools supports Legacy Edition compatibility. In the cloned package editor tab, general CAS part properties tab, there's now a checkbox for Legacy compatibility. What this does is save the package with the previous version of the CASP format. The only difference is that Legacy compatible packages cannot be set up to be created/knitted in-game. By default, any package that does not include create-in-game settings will be saved as Legacy compatible. You can also convert a package that doesn't show up in Legacy Edition to be compatible by opening and saving it with CAS Tools.

Questions, bug reports, problems, and suggestions for the tool itself should be posted here. Questions and problems concerning a specific project should be posted in the TS4 Create / CAS Parts forum.

If you're having problems, please upload the package, mesh, texture, etc you're working with and explain exactly what you did step by step. 'I tried to import something and it didn't work' doesn't help me to help you.

Additional Credits:
s4pe/s4pi is used by CAS Tools for package and image handling. s4pi/s4pe and CAS Tools are open source.

s4pe download: https://github.com/s4ptacle/Sims4Tools/releases

Latest working s4pi source: https://github.com/s4ptacle/Sims4Tools/tree/develop

Updates:

1/19/2021: V3.5
Updated with full support for the LRLE texture format. Import PNG or DDS as usual and check the 'Save as LRLE' box to convert and save it as LRLE. Only diffuse/material textures can be saved as LRLE.
Added support for makeup sliders.
Notes:
  • PNG or uncompressed DDS with or without mipmaps can be imported and converted to LRLE.
  • PNG or compressed DDS with mipmaps should still be used for non-LRLE (RLE2) textures.
  • Sliders only work with makeup at this time.
  • While you can import textures as LRLE for any type of item, they may be significantly bigger than RLE2 textures and may not render well on clothing.
  • Use of LRLE for items other than makeup is experimental.

12/8/2020: V3.4.2
This is an interim update for the new CASP version introduced in the 12/7 patch. There's a chunk of new data in the new version, and I'll try to figure out what it does and update again. Note: Cloning one of the new child facepaints will NOT work.
Updated property tags.

9/2/2020: V3.4.1
Bugfix - cloned CC packages should no longer contain extra copies of bumpmaps and emission maps.

8/26/2020: V3.4
Added ability to edit new knitting/create-in-game settings.
Added Legacy Edition support. Please see the section above on Legacy compatibility for details.
Updated property tags.

7/24/20: V3.3
Added a workaround for makeup/eyecolors/eyebrows affected by the Eco Lifestyle patch. Some items may still not have an accessible texture.
Added support for new version of the CASP resource.
DAE meshes should now save much faster.
Updated property tags.

3/9/20: V3.2.1
Fixed incorrect list of flags to disable CAS Parts for Mermaids and Witches/Spellcasters.

12/17/19: V3.2
Added ability to export and import meshes in Collada DAE format which can be imported to/exported from Blender. DAE meshes can be imported directly into a package just like TS4 geoms. Please be aware DAE takes a LONG time to save. DAE is not yet supported in the separate layers function.
Will now optionally copy thumbnails when cloning a custom package.
Update of property tags to support Witches.

7/24/19: V3.0.0.1
Bugfix for program not starting on systems using some languages.
Added manual override of vertex ID in auto-conversion.

7/17/19: V3.0.0.0
Update to support mermaid tails.
Auto-assignment enhanced to support skirts with built-in reference meshes.
Mesh fixers tab redone to make it easier to fix all meshes in a package.
Corrections to rigs exported with MS3D meshes.
Import/export of TS3 meshes is removed, to be replaced with Collada .dae in a future release.
Update of property tags.
This is an interim release! There are a lot of changes under the hood which means there are probably bugs I haven't caught, and I'm hoping to get Collada support working soon, hopefully allowing users to work with meshes in Blender and more easily import from-scratch meshes.

12/21/18: V2.9.0.0
Easier import/export from/to .PNG
Updated CASP property tags and packs list for Get Famous and patches.
Minor and cosmetic changes.

6/26/18: V2.8.0.0
Added ability to import/export textures from/to .PNG
Fixed bug causing an unrecognized property tag to prevent saving changes to a CASP.
Fixed incorrect values of Exclude Modifiers option in CASP general properties.
Updated list of CASP property tags for Seasons patch.
Minor and cosmetic changes.

11/14/17: V2.7.2.0
Added a fix for transparency (SimGlass) hair which may look either very darkened or have a hard, bright shine. (Note for creators - this is caused by linking a bumpmap that doesn't exist or not linking a bumpmap in the shader at all respectively. I guess the new version rendering is less forgiving.) This fix is also in the Clone Package Editor / Mesh Properties and Fixers tab. It does the same thing as blanking the bumpmap but is done in one click. Should only be used on hairs with these problems. I've heard there may be problems with color in other hairs but without a sample package and a picture of what the hair is supposed to look like I can't test.
Fixed the vertex color correction in the same tab to maybe actually work. Updated vertex color standards.

11/13/17: V2.7.1.0
Fixed bug in Autoconversion Tool that was making mesh faces separate in some morphs
Fixed bug causing current version reference meshes in autoconversion to be incorrectly rejected as not TS4
Added a fix for distortion of dress and skirt meshes in morphs, most visible in the fat morph. (Note for CC creators, the maximum red value for vertex color seems to now be 63. According to my tests values over that are causing distortion.) This fix, along with the arm position fix, is in the Clone Package Editor / Mesh Properties and Fixers tab.

11/10/17: V2.7.0.1
Fixed failure to read textures from Cats & Dogs (and probably other packs).

11/10/17: V2.7.0.0
Updated for the new version of the GEOM (mesh) resource in the 11/8/17 patch.
Will fix arm positioning in CC that now has the arms too close to or inside the body. Open the package in CAS Tools and save as a new, fixed package.
Arm position fix updated.
Additional option in mesh autoconversion to improve results with Milkshape head meshes by retaining the original vertex numbering.
Additional option in mesh autoconversion to force manually entered UV1 coordinates.
Tag list updated.
PLEASE NOTE: This is an interim release to deal with the November patch, but I haven't tested everything. Please report problems. When reporting a problem please be as detailed as possible and if relevant upload the package, mesh, image, etc you're getting an error with. This version is a fix only and should not be used for making cat and dog CAS Parts.
I'm going to see if I can do a small standalone tool to batch convert CC clothing to fix the arms.

1/14/17: V2.4.0.0
Updated for the new version of the CASP resource in the 1/12/17 patch.
Support for toddlers added.
Support for new occult body part types added.
All meshes converted to ms3d should now have the correct skeleton.
Tag list updated.

12/3/16: V2.3.0.0
Updated for the new version of the CASP resource in the 12/1/16 patch. EA hates me.

9/25/16: V2.2.0.0
Fixed bug causing hex value error when auto-converting TS3 meshes with no reference mesh.
Fixed bug causing auto-conversion of .ms3d meshes with no skeleton to error out.
Exported DDS textures will now retain mipmaps.
Ability to view body morphs added to the CAS previewer.
Tags: #CAS, #Tools, #TS4, #custom, #content, #meshing

Operating System: Windows
Utility Type: CC Editors Meshing Tools
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 4
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
XmodsDataLibSource_1-19-2021.zip | Source files, not needed to use the tool

Size: 193.5 KB · Downloads: 364 · 19th Jan 2021
193.5 KB 364 19th Jan 2021
CASToolsSourceV3.5.0.0.zip | Source files, not needed to use the tool

Size: 13.33 MB · Downloads: 382 · 19th Jan 2021
13.33 MB 382 19th Jan 2021
S4CASTools_3_5_0_0.zip | Extract folder and run S4CASTools.exe

Size: 11.42 MB · Downloads: 1,919 · 19th Jan 2021
11.42 MB 1,919 19th Jan 2021
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 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).

3. Unzip the download, extract the program folder, and run S4CASTools.exe

Need more information?
 
356 Comments / Replies (Who?) - 256 Feedback Posts, 84 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 13 of 15
Ms. Byte
Original Poster
#301 Old 9th Mar 2020 at 3:35 PM
Quote:
Originally Posted by MayaSky
Google translation

Hello

I have a problem and I hope you can help me. When I want to change the category of some custom eyes, it won't work for witchs and mermaids.

For example, vampire eyes should only appear for them. It will work perfectly with humans and aliens, the eyes will not appear in the CAS for them. But they will always appear for mermaids and witchs. I think this is normal for sirens as it lacks the Disable for sirens, but shouldn't that work with witchs ?


I'm not sure what you mean by sirens. Mermaids? The disable occult fields seem to work fine for making eyes not appear for mermaids in mermaid form and for witches (which are called Spellcasters). They still appear for mermaids in mermaid form.

Please upload or link to the custom eyes package you're having trouble with.
Screenshots

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#302 Old 9th Mar 2020 at 8:18 PM
Thank you for answering me.

I certainly do not have the same thing. Mermaids is absent from the choices.

https://zupimages.net/viewer.php?id=20/11/y0b8.png
Ms. Byte
Original Poster
#303 Old 9th Mar 2020 at 8:54 PM
Quote:
Originally Posted by MayaSky
Thank you for answering me.

I certainly do not have the same thing. Mermaids is absent from the choices.



You're right, I corrected that bug some time ago but neglected to upload it. Version 3.2.1 is uploaded, and thanks for reporting the problem!

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
THANKS POST
#304 Old 9th Mar 2020 at 10:12 PM
Thanks everything works.
Lab Assistant
THANKS POST
#305 Old 25th Mar 2020 at 8:13 AM Last edited by KarinaRuDICH : 25th Mar 2020 at 8:33 AM.
When I convert a mesh, the program freezes and nothing happens.But it works great with the format ms3d :P
Ms. Byte
Original Poster
#306 Old 25th Mar 2020 at 2:05 PM
Quote:
Originally Posted by KarinaRuDICH
When I convert a mesh, the program freezes and nothing happens.But it works great with the format ms3d :P


I can't tell anything from that. Please upload a screenshot so I can see what conversion you're trying to do, and upload the mesh you're trying to convert along with the reference mesh if any.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Field Researcher
#307 Old 6th Apr 2020 at 4:16 PM
Hi! I love the tools, especially all the conversion options, SO useful. I did notice something: when I use Clone CC package, the tool clone one copy of the normal map/and the specular per swatch, which of course makes the new clone a bit bloated - no problem to delete the normal maps manually, but maybe something that could be fixed in a future update?
Ms. Byte
Original Poster
#308 Old 6th Apr 2020 at 5:22 PM
Quote:
Originally Posted by ingeli
Hi! I love the tools, especially all the conversion options, SO useful. I did notice something: when I use Clone CC package, the tool clone one copy of the normal map/and the specular per swatch, which of course makes the new clone a bit bloated - no problem to delete the normal maps manually, but maybe something that could be fixed in a future update?


Yes, I'll look into that for the next update.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#309 Old 25th Apr 2020 at 5:43 AM
Hello, I am so excited about this software. Thank you so much for your time in making it!

I am having issues, I have been trying to make female clothes accessible for males. On almost every item I am getting this error when trying to commit changes:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Index was outside the bounds of the array.

When I click continue and then try to save I am getting:

You have unsaved General Properties changes Continue anyway?

And the items are not showing up for Males in game.

I'm only changing male to female, so not sure what I could be doing wrong, if anyone does know I would really appreciate the help.

Again, thank you so much for this!
Ms. Byte
Original Poster
#310 Old 25th Apr 2020 at 7:53 AM
Quote:
Originally Posted by h0rlly
Hello, I am so excited about this software. Thank you so much for your time in making it!

I am having issues, I have been trying to make female clothes accessible for males. On almost every item I am getting this error when trying to commit changes:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Index was outside the bounds of the array.

When I click continue and then try to save I am getting:

You have unsaved General Properties changes Continue anyway?

And the items are not showing up for Males in game.

I'm only changing male to female, so not sure what I could be doing wrong, if anyone does know I would really appreciate the help.

Again, thank you so much for this!


I need to know exactly what you did - what did you clone or what package did you open and what did you change?

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
THANKS POST
#311 Old 25th Apr 2020 at 5:46 PM
Thank you so much for your reply! I really appreciate this.

One of the items is: https://www.thesimsresource.com/dow...tum/id/1451589/

I have tried only selecting the male checkbox, and unchecking the female.

Also I have tried doing that as well as changing the gender appropriate drop down to male.

I have also tried unchecking disable for opposite gender & frame.

Thank you again!
Ms. Byte
Original Poster
#312 Old 26th Apr 2020 at 12:29 AM
Quote:
Originally Posted by h0rlly
Thank you so much for your reply! I really appreciate this.

One of the items is: https://www.thesimsresource.com/dow...tum/id/1451589/

I have tried only selecting the male checkbox, and unchecking the female.

Also I have tried doing that as well as changing the gender appropriate drop down to male.

I have also tried unchecking disable for opposite gender & frame.

Thank you again!


This is happening because the body subtype is set to an unknown value in this CC, and CAS Tools isn't resetting it correctly. I'll fix it in the next version but in the meantime you can just set the body subtype to 'None' and it should save correctly.
Screenshots

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#313 Old 30th Apr 2020 at 8:46 PM
Quote:
Originally Posted by CmarNYC
This is happening because the body subtype is set to an unknown value in this CC, and CAS Tools isn't resetting it correctly. I'll fix it in the next version but in the meantime you can just set the body subtype to 'None' and it should save correctly.


Thank you so much!!
Test Subject
DELETED POST
23rd May 2020 at 8:20 PM
This message has been deleted by k42um.
Test Subject
#314 Old 23rd May 2020 at 8:22 PM
Would there be any way to batch change CAS parts properties? If not, would you have any advice for someone trying to change hundreds of items' flags? Thank you!
Ms. Byte
Original Poster
#315 Old 23rd May 2020 at 9:10 PM
Quote:
Originally Posted by k42um
Would there be any way to batch change CAS parts properties? If not, would you have any advice for someone trying to change hundreds of items' flags? Thank you!


Well, in the General Properties tab any flags and tags added, changed, or removed will be applied to all swatches in the package. This applies only to the flags/tags that typically apply to all swatches of an item, though. CAS Tools is not set up to do batch processing of multiple packages or to handle packages that include more than one CAS item (with multiple swatches) or having more than one set of meshes.

Sims 4 Studio does batch processing but of course I don't know if it does the specific thing you're looking for.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Lab Assistant
DELETED POST
13th Jun 2020 at 10:43 AM
This message has been deleted by kinghorus_02. Reason: j
Test Subject
THANKS POST
#316 Old 13th Jun 2020 at 11:50 AM
It's working with "Eco Living"?
Test Subject
#317 Old 23rd Jun 2020 at 8:25 PM
Hey there! Thank you for the application. Is it possible for you to make this software run on mac? It would be so cool.
Ms. Byte
Original Poster
#318 Old 23rd Jun 2020 at 8:55 PM
Quote:
Originally Posted by mladen95
Hey there! Thank you for the application. Is it possible for you to make this software run on mac? It would be so cool.


I don't have a Mac to do it on. There are emulators you can use to run Windows applications on a Mac.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Lab Assistant
THANKS POST
#319 Old 18th Jul 2020 at 6:40 PM
Silly question, what is Order in CAS for, is that display order?
Ms. Byte
Original Poster
#320 Old 19th Jul 2020 at 11:35 AM
Quote:
Originally Posted by Adamoadam
Silly question, what is Order in CAS for, is that display order?


Yes, it's the sort order in CAS.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#321 Old 23rd Jul 2020 at 11:35 AM
When is the Eco Lifestyle update coming out?
Ms. Byte
Original Poster
#322 Old 24th Jul 2020 at 9:02 PM
Version 3.3 uploaded. This should fix problems caused by the Eco and Knitting patches.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
DELETED POST
28th Jul 2020 at 11:21 AM
This message has been deleted by NataliS.
Page 13 of 15