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.3 on 7/24/2020

by CmarNYC Posted 28th Aug 2016 at 8:53 PM - Updated 24th Jul 2020 at 8:00 PM by CmarNYC : New version upload
334 Comments / replies (Who?) - 19 Feedback Posts, 6 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 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.

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:

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

Size: 11.41 MB · Downloads: 788 · 24th Jul 2020
11.41 MB 788 24th Jul 2020
CASToolsSourceV3.3.zip | Source files, not needed to use the tool

Size: 13.26 MB · Downloads: 109 · 24th Jul 2020
13.26 MB 109 24th Jul 2020
XmodsDataLibSource_07-24-2000.zip | Source files, not needed to use the tool

Size: 185.9 KB · Downloads: 91 · 24th Jul 2020
185.9 KB 91 24th Jul 2020
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?
 
334 Comments / Replies (Who?) - 237 Feedback Posts, 82 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 12 of 14
Test Subject
#276 Old 22nd Aug 2019 at 4:44 PM
Quote:
Originally Posted by CmarNYC
TS3 let you attach a bone morph to the CASP, but TS4 doesn't. It does let you attach a data resource which at least in theory could link to a morph, but as far as I know no one's been able to do that.

so sad.
Lab Assistant
THANKS POST
#277 Old 6th Sep 2019 at 12:09 PM
Just hoping it can clone a work outfit I want so much.
Test Subject
THANKS POST
#278 Old 20th Sep 2019 at 3:41 PM
I tried using separate mesh layers but every time I tried to save it to an MS3D file it crashed. Otherwise, amazing tool!
Ms. Byte
Original Poster
#279 Old 20th Sep 2019 at 3:46 PM
Quote:
Originally Posted by xo-freya
I tried using separate mesh layers but every time I tried to save it to an MS3D file it crashed. Otherwise, amazing tool!


I got crashing with that function just the other day, will look into it as soon as I can.

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
#280 Old 23rd Sep 2019 at 4:07 PM
Quote:
Originally Posted by CmarNYC
I got crashing with that function just the other day, will look into it as soon as I can.

Okay! How is it going by the way??
Ms. Byte
Original Poster
#281 Old 23rd Sep 2019 at 5:16 PM
Quote:
Originally Posted by xo-freya
Okay! How is it going by the way??


Not bad.

If you could upload the mesh you're trying to separate that would help me with testing.

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
#282 Old 24th Sep 2019 at 1:14 PM Last edited by xo-freya : 28th Oct 2019 at 8:42 PM.
Quote:
Originally Posted by CmarNYC
Not bad.

If you could upload the mesh you're trying to separate that would help me with testing.

Okay! Here: https://simfileshare.net/download/1348156/
Fixed link
FIXED LINK AGAIN SORRY I ALWAYS MESS UP
Forum Resident
THANKS POST
#283 Old 26th Sep 2019 at 2:22 AM
I'm getting closer and closer to start modding sims 4. I have a lots of stuff from sims 2 which like to convert to sims 4. I'm completely lost but I realized I have to choose this tool instead of trying to learn blender. I have tones of questions but for now, I like to at least thank you for making this tool available. I see you've made a few tutorial for sims3&4 would that help me to convert sims2t4 I wonder.
Test Subject
THANKS POST
#284 Old 26th Sep 2019 at 7:10 AM
Love it! Also, do you have a patreon?
Mad Poster
#285 Old 28th Oct 2019 at 2:13 AM Last edited by NintendoLover13 : 28th Oct 2019 at 6:03 PM.
Hello again, Cmar - I am having another reoccurring issue and I am not exactly sure if the issue lies within something I am doing or something that may need adding to your program? I apologize if this comes off rudely, there is no rude intention - I am trying to be helpful and thought maybe someone else is running into a similar problem?

Whenever I use a long skirt or a long dress (whether I do reassignments with dresses/skirts as a reference geom or don't update the assignments, I get the following result:

CAS, in game, CAStools, sims4studio and blender all show proper/okay meshing:

CAS:


In Game:

different angles

CAS Tools:


S4S:


Blender:


BUT the game generated screenshots, such as the ones for the "family" or the icons show up like this:



So it is more annoying than anything else since it functions, but I was wondering if you knew why it would do this or if there could be a fix for it?

Rise above hate. Love one another. Be kind.
I am INACTIVE on MTS
Come find me on GoS and tumblr:
TS2 Blog
TS4 Blog
Ms. Byte
Original Poster
#286 Old 28th Oct 2019 at 5:01 PM
The mesh for the main part of the dress has too many bones - the upper limit is 60. Open the package in CAS Tools, go to the Mesh Fixing Tools tab, click the 'Remove Unused Bones' button, commit, save, test. That fixed it in my game.

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
Mad Poster
#287 Old 28th Oct 2019 at 6:02 PM
Quote:
Originally Posted by CmarNYC
The mesh for the main part of the dress has too many bones - the upper limit is 60. Open the package in CAS Tools, go to the Mesh Fixing Tools tab, click the 'Remove Unused Bones' button, commit, save, test. That fixed it in my game.

Oh wow, thank you so much!! I had asked around in a lot of different places and people just told me to regenerate my thumbnails Thank you so much for your help again and I apologize if this was an obvious issue!

Rise above hate. Love one another. Be kind.
I am INACTIVE on MTS
Come find me on GoS and tumblr:
TS2 Blog
TS4 Blog
Test Subject
THANKS POST
#288 Old 28th Oct 2019 at 8:40 PM
So, do you know what causes the crashing?
Ms. Byte
Original Poster
#289 Old 28th Oct 2019 at 10:42 PM
Quote:
Originally Posted by xo-freya
So, do you know what causes the crashing?


I'm so sorry, I completely forgot about this. I fixed it some time ago - don't even remember what the problem was.

I'm still working on a new version, but here's a version that will do the layers for you. (Everything is working afaik, but I'm still adding Collada DAE support to a couple of functions.)
Download - please read all instructions before downloading any files!
File Type: zip S4CASTools_3_1_1_0.zip (11.40 MB, 46 downloads)

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
#290 Old 29th Oct 2019 at 12:29 PM
Quote:
Originally Posted by CmarNYC
I'm so sorry, I completely forgot about this. I fixed it some time ago - don't even remember what the problem was.

I'm still working on a new version, but here's a version that will do the layers for you. (Everything is working afaik, but I'm still adding Collada DAE support to a couple of functions.)


Thank you sososososo much! ?
Lab Assistant
#291 Old 8th Nov 2019 at 12:21 AM
Is it normal to clone a CC package and then the custom thumbnails disappear?

Creator Musings is a Sims 4 modder and CC creator hangout server (though everyone is allowed) with a tutorial/resource directory, help channels, and mod/cc/sims 4 news channels!
Twitter | Tumblr | Patreon
Ms. Byte
Original Poster
#292 Old 8th Nov 2019 at 5:17 PM
Quote:
Originally Posted by MizoreYukii
Is it normal to clone a CC package and then the custom thumbnails disappear?


Yes - the thumbnails are not cloned, on the assumption they'll have to be replaced anyway.

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
#293 Old 10th Nov 2019 at 1:39 AM
Quote:
Originally Posted by CmarNYC
Yes - the thumbnails are not cloned, on the assumption they'll have to be replaced anyway.

Is there any chance you could give us the option to clone the thumbnails in a future update? Just a little toggle in the corner somewhere for us to click on if we want thumbnails. I want to put my skin details in multiple categories for layering purposes and I'd like the thumbnails to stay the same.

Creator Musings is a Sims 4 modder and CC creator hangout server (though everyone is allowed) with a tutorial/resource directory, help channels, and mod/cc/sims 4 news channels!
Twitter | Tumblr | Patreon
Ms. Byte
Original Poster
#294 Old 10th Nov 2019 at 5:59 AM
Quote:
Originally Posted by MizoreYukii
Is there any chance you could give us the option to clone the thumbnails in a future update? Just a little toggle in the corner somewhere for us to click on if we want thumbnails. I want to put my skin details in multiple categories for layering purposes and I'd like the thumbnails to stay the same.


That's reasonable!

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
#295 Old 16th Dec 2019 at 5:41 PM
"Unknown category value found: 2279"
New error. Probably after the update 12/12/2019
Ms. Byte
Original Poster
#296 Old 16th Dec 2019 at 11:52 PM
Quote:
Originally Posted by NataliS
"Unknown category value found: 2279"
New error. Probably after the update 12/12/2019


Yes, that's the tag for Occult - Witch. I'll upload an update tomorrow or the next day.

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
#297 Old 28th Dec 2019 at 6:48 AM
Thanks , but now how can I export one mesh to a simgeom?
When I want to export it to a collad?, it freezes
Ms. Byte
Original Poster
#298 Old 28th Dec 2019 at 12:03 PM
Quote:
Originally Posted by KarinaRuDICH
Thanks , but now how can I export one mesh to a simgeom?
When I want to export it to a collad?, it freezes


Collada export takes a long time. If it doesn't finish after an hour, please upload your package so I can take a look.

If you want to export to a simgeom, change the view to meshpart and select simgeom as the export format.

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
#299 Old 30th Jan 2020 at 6:19 PM
Quote:
Originally Posted by CmarNYC
Collada export takes a long time. If it doesn't finish after an hour, please upload your package so I can take a look.

If you want to export to a simgeom, change the view to meshpart and select simgeom as the export format.

thank you dear
Test Subject
#300 Old 8th Mar 2020 at 11:51 PM
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 ?
Page 12 of 14