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

S4 CAS Tools - updated to V3.5.3.1 on 9/11/2021

by CmarNYC Posted 28th Aug 2016 at 9:53 PM - Updated 11th Sep 2021 at 7:19 PM by CmarNYC : New version upload
429 Comments / replies (Who?) - 16 Feedback Posts, 9 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:

9/11/2021: V3.5.3.1
- Added fingernails and toenails to exclude parts.
- Added default vertex colors for fingernails and toenails.

9/10/2021: V3.5.3
- Added support for fingernails and toenails.
- Overhauled the type filters in the cloning tab.
- Fixed the annoying 'unsaved mesh changes' message when you change a part type.
- Now changes the swatch color of eyecolors when cloning new custom content. The change is very small and serves only to keep the game from confusing them with EA eyecolors.
- Updated property tags.

6/2/2021: V3.5.2
- Fix for bug causing uv1 autoassignment to crash on clothing/accessory meshes with more than the standard two uv maps. Extra maps will be removed.
- Restored the old method of assigning slotrays from a default body mesh as an option in the Mesh Fixing Tools tab. You can now choose which method to use since the new method of calculating slotray intersections, while more accurate, may not work correctly on some meshes depending on their shape.
- Updated property tags.

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
S4CASTools_3_5_3_1.zip | Extract folder and run S4CASTools.exe

Size: 11.43 MB · Downloads: 12,652 · 11th Sep 2021
11.43 MB 12,652 11th Sep 2021
CASToolsSourceV3.5.3.1.zip | Source files, not needed to use the tool

Size: 13.34 MB · Downloads: 1,926 · 11th Sep 2021
13.34 MB 1,926 11th Sep 2021
XmodsDataLibSource_9-11-2021.zip | Source files, not needed to use the tool

Size: 198.2 KB · Downloads: 1,778 · 11th Sep 2021
198.2 KB 1,778 11th Sep 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 File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
2. Extract: Use WinRAR (Windows) to extract the file(s) from the .rar or .zip file(s).
3. Cut and paste the file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
 
429 Comments / Replies (Who?) - 320 Feedback Posts, 92 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 3 of 18
Test Subject
THANKS POST
#51 Old 8th Jan 2017 at 5:19 PM
Hello again. Still can not solve the problem Do you want package file with the coat?
Thank you in advance!
Ms. Byte
Original Poster
#52 Old 10th Jan 2017 at 8:23 AM Last edited by CmarNYC : 10th Jan 2017 at 8:17 PM.
Quote:
Originally Posted by izkusitelna
Hello again. Still can not solve the problem Do you want package file with the coat?
Thank you in advance!


Yes, please.

Edit: This looks to me like an arm offset problem. Possibly it's picking up correct arm offsets with some pants but not others. If you look in CAS Tools: Clone Package Editor / General Mesh Manager - you'll see a button saying "Fix Slotray Intersection (arm positioning). Try clicking that button and see if it helps. If it doesn't, please upload the package.

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
#53 Old 11th Jan 2017 at 11:02 PM
Thank you for sharing your hard work..
Test Subject
THANKS POST
#54 Old 11th Jan 2017 at 11:02 PM
Thank you for sharing your hard work..
Test Subject
#55 Old 12th Jan 2017 at 9:32 PM
Quote:
Originally Posted by CmarNYC
Yes, please.

Edit: This looks to me like an arm offset problem. Possibly it's picking up correct arm offsets with some pants but not others. If you look in CAS Tools: Clone Package Editor / General Mesh Manager - you'll see a button saying "Fix Slotray Intersection (arm positioning). Try clicking that button and see if it helps. If it doesn't, please upload the package.

Thank you so much! I click that button Fix S I, but this does not fix the coat
I upload the package file:
Please test with more EA pants. Thank you in advance!
Download - please read all instructions before downloading any files!
File Type: rar Preslava Coat.rar (2.94 MB, 10 downloads)
Ms. Byte
Original Poster
#56 Old 13th Jan 2017 at 2:05 AM
izkusitelna: Got the coat package, so far I've tried a couple of things with no luck. I'll keep trying.

Everyone: We have yet ANOTHER change to the CASP so I'll be uploading a new version hopefully tomorrow.

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
#57 Old 13th Jan 2017 at 5:12 PM
Thank you so much!
Test Subject
#58 Old 13th Jan 2017 at 10:10 PM
hi !
does it will be possible to convert ts3 toddlers stuff to ts4 ?
i'm worried because when I open a toddler clothe with s4pe, there is no GEOM



thank you
Ms. Byte
Original Poster
#59 Old 14th Jan 2017 at 1:54 AM
Yes - I've been updating both CAS Tools and s4pe to be toddler-compatible. Just a little more testing, and I'll upload them tomorrow.

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
Ms. Byte
Original Poster
#60 Old 14th Jan 2017 at 6:55 PM
Version 2.4 is uploaded, with support for the 1/12/17 patch and full support for toddlers. Not everything is tested so please let me know of any errors.

izkusitelna: All I can tell you at this time is that it's something in that mesh. I've tried converting and re-autoconverting it with no luck. A converted EA jacket autoconverts with no problems. Everything in your mesh looks okay but there has to be something. I'll keep trying.

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
#61 Old 14th Jan 2017 at 7:18 PM
Thank you. Maybe the problem is in "Mesh Region Manager" (I added all Regions manually)?
Lab Assistant
THANKS POST
#62 Old 14th Jan 2017 at 7:29 PM
Thank you for update
Ms. Byte
Original Poster
#63 Old 14th Jan 2017 at 8:42 PM
Quote:
Originally Posted by izkusitelna
Thank you. Maybe the problem is in "Mesh Region Manager" (I added all Regions manually)?


I tried importing the mesh into another package with a standard region map, and tried combining the two meshes into one and importing that into a new package with its own region map. Still had the problem. This is one of the strangest things I've ever seen!

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
#64 Old 14th Jan 2017 at 9:39 PM Last edited by himitsu : 14th Jan 2017 at 10:21 PM.
Hi, thanks for the update! But Avast won't let me use this version (says it may be 'dangerous') for some reason and keeps blocking me from running it as Admin. Whenever I keep trying after Avast claims its suspicious, it says windows can't access its location and I don't have permission.

Funny thing is, I let Avast scan for viruses, and it finds nothing (of course), but it won't allow the exe to run, which I've never had issues with when using CAS Tools.

Update: I've gotten Avast to allow it to 'run anyway', but I figured you should know that somehow v2.4 sets it off.
Ms. Byte
Original Poster
#65 Old 15th Jan 2017 at 2:35 AM
Thanks for letting me know. I'm more inclined to think an update to Avast caused this since I made only changes that shouldn't affect whether it looks like a virus. (And you scanned it with nothing found.)

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
#66 Old 15th Jan 2017 at 5:38 AM
Once again thank you very much now I succeed create ninja costume for toddler
Screenshots
Test Subject
#67 Old 15th Jan 2017 at 6:48 AM
Quote:
Originally Posted by CmarNYC
Thanks for letting me know. I'm more inclined to think an update to Avast caused this since I made only changes that shouldn't affect whether it looks like a virus. (And you scanned it with nothing found.)


I'm thinking I may have just been the first person to download v2.4 with Avast running. After a few hours, Avast popped up with an 'all clear', so all is good with it, it seems. (I just hadn't encountered it doing that before, and it was still fine with previous versions of CAS Tools, so wasn't sure what was going on.)
Field Researcher
THANKS POST
#68 Old 15th Jan 2017 at 12:38 PM
Thank you so much for the quick update, can't live without CAS Tools <3
Ms. Byte
Original Poster
#69 Old 15th Jan 2017 at 3:06 PM
Quote:
Originally Posted by himitsu
I'm thinking I may have just been the first person to download v2.4 with Avast running. After a few hours, Avast popped up with an 'all clear', so all is good with it, it seems. (I just hadn't encountered it doing that before, and it was still fine with previous versions of CAS Tools, so wasn't sure what was going on.)


Could be - I've seen AVs warn on any executable not in their list of known programs, affecting anything with a very small user base or that's just come out. Maybe Avast is just taking it a step further and blocking anything unknown.

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
Ms. Byte
Original Poster
#70 Old 16th Jan 2017 at 4:13 PM
Quote:
Originally Posted by izkusitelna
Thank you. Maybe the problem is in "Mesh Region Manager" (I added all Regions manually)?


I've tried several more things with no luck. The hand by itself works fine, but something in that jacket mesh seems to be disabling the slotray intersection data on that side which normally positions the hand and arm correctly. I can't imagine what it is since I've even converted to obj and back which strips out everything except the position, normals, and uv. Unfortunately I'll be unable to work on this (or other sims stuff) for the next two weeks, but I'll get back to it.

Would you be willing for me to post this over at the EA forums and see if they can find out what's wrong?

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
#71 Old 17th Jan 2017 at 12:08 AM
Thank you so much for your help. Of course you can to post this over at the EA Forum. Thank you in advance!
Test Subject
#72 Old 18th Jan 2017 at 12:13 AM
Is this tool mac compatible?
Ms. Byte
Original Poster
#73 Old 18th Jan 2017 at 1:26 PM
Quote:
Originally Posted by youngestmm
Is this tool mac compatible?


No. It may work with an emulator.

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
Ms. Byte
Original Poster
#74 Old 22nd Jan 2017 at 4:02 PM
Quote:
Originally Posted by izkusitelna
Thank you so much for your help. Of course you can to post this over at the EA Forum. Thank you in advance!


Hi again - I posted at the EA forums: http://forums.thesims.com/en_US/dis...as-mesh-problem

If you have an EA account you can follow the thread and see if we get any information. You have to be logged on to see the "The Sims 4 Modding & Custom Content / Mods & CC Technical Discussions" forum that I posted in.

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
#75 Old 23rd Jan 2017 at 11:36 PM
Thank you so much! I'll follow the thread.
Page 3 of 18