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

Latest Site News

MTS Movie Night #2 - posted on 10th Aug 2017 at 2:58 PM
Replies: 53 (Who?), Viewed: 21191 times.
Page 1 of 3
Field Researcher
Original Poster
#1 Old 2nd Aug 2014 at 3:27 AM Last edited by Zerbu : 3rd Aug 2014 at 2:40 AM.
Default Caster - Create a Style for The Sims 4! NOW WITH DDS SUPPORT!


Caster is an image editing tool allowing players of The Sims 4 (and of course, the Create a Sim demo) to quickly and easily create patterns and recolours for CAS parts and - hopefully in the future - build mode objects. Caster is based on the Create a Style tool for The Sims 3. You just input a PNG or BMP version of a specular file, select a pattern, and you’re ready to go! You can also adjust brightness, contrast and threshold settings, as well as convert non-grayscale speculars to grayscale.

You can set patterns using either the “1, 2, 3, 4” buttons, or by clicking on the pattern. If you want to use a solid colour, you can quickly generate one by right clicking.

PLEASE NOTE: Caster only edits images, it does not read or write .package files. You will still need S4PE and CAS Recolor Tool to export and import files. Maybe a future version of the program will be able to read .package files, but the current one can’t.



By default, the program will create the whole image using one pattern, but this can be changed using a mask of the same size as the specular. The program reads the mask, and determines based on the colours which design to use in which area.

White (#FFFFFF) - Design 1

Red (#FF0000) - Design 2

Green (#00FF00) - Design 3

Blue (#0000FF) - Design 4

Transparent/Any Other - No Design (just copy straight off the specular)

In order to work, the area of the mask must be one of the above solid colours - variations of them (example: darker red) will not work.



The program uses an algorithm that draws the entire image pixel-by-pixel using the specular, mask and patterns/colours as instructions. The resulting image will be the tiled design(s), but will retain light and dark spots from the original specular.

The brightness will be determined by the highest colour value (for example, if the pixel of the specular is R100, G200, B100, the brightness will be based on the green value).

A value of 128 will have no brightness effect. Anything above or below that will be lighter or darker.

This is more efficient than using a regular image editing program, and it actually redraws the image rather than just filling over it.



So what are you waiting for?



REMINDER: Caster does not read or write .package files, you will still need S4PE and CAS Recolor Tool for that.

The textures shown in the above pictures are all from grsites.com

The main hub for the tool is on my Tumblr blog: http://zerbu.tumblr.com/post/935950...-for-the-sims-4

The latest version of this tool uses DDSPanel from s3pi - http://s3pi.sourceforge.net/
Specifically, it uses the version stored with S4PE. I'm not sure if that was modified from the original or not.
Advertisement
Mad Poster
#2 Old 2nd Aug 2014 at 3:49 AM
That's incredible, Zerbu!

♥ }i{ Monarch of the Receptacle Refugees }i{ ♥
...
BRB: Canning all of the summer tomatoes. 🍅
Mad Poster
#3 Old 2nd Aug 2014 at 3:52 AM
Good job Zerbu! Seen it on Twitter and thanks for the notice here.

I need to start getting into recolors again, hope I can get this old brain into gear.

Resident member of The Receptacle Refugees
Let's help fund mammograms for everyone. If you want to help, Click To Give @ The Breast Cancer Site Your click is free. Thank you.
Test Subject
#4 Old 2nd Aug 2014 at 4:34 AM
This is brilliant. This will make it easier to recolour on the fly.
Forum Resident
#5 Old 2nd Aug 2014 at 4:37 AM
Would this be useful to recolor clothing for the sims 2 since it edits images, not DDS files? I know I would have to convert the bitmap textures to PNG for it to work if it did but it would be awesome if it were cross-game compatible like that.

~Someday my prince will come... And he better not bring all his hood's character files with him.~
@)->----- Place this ASCII flower in your sig as a thank you to all of our amazing moderators at MTS!
TS3 vs. Your CPU: The Solution
Shameless plug for my fledgeling Simblr here
Field Researcher
Original Poster
#6 Old 2nd Aug 2014 at 4:43 AM
Thanks for the nice comments everyone who responded! :D

Quote:
Originally Posted by AmandieLove
Would this be useful to recolor clothing for the sims 2 since it edits images, not DDS files? I know I would have to convert the bitmap textures to PNG for it to work if it did but it would be awesome if it were cross-game compatible like that.


It might be possible I haven't tested it though, but if the process for recolouring in The Sims 2 is the same as The Sims 4, then it should work.

Also, if the files are in bitmap then you shouldn't need to convert them. It supports any file format that Visual Studio supports. DDS is a special kind of image so that can't be supported without extra coding.
Lab Assistant
#7 Old 2nd Aug 2014 at 4:47 AM
Zerbu, you're my hero. <3
Alchemist
#8 Old 2nd Aug 2014 at 10:18 AM
Has the moding/CC community ever put so much effort in a game before it was even launched? Impressed!
One horse disagreer of the Apocalypse
#9 Old 2nd Aug 2014 at 10:33 AM
Quote:
Originally Posted by ZenGarden
Has the moding/CC community ever put so much effort in a game before it was even launched? Impressed!


Has a game ever needed so much input from the CC community before it was launched? .

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Scholar
#10 Old 2nd Aug 2014 at 10:36 AM
Zen, I think it helps that some people have the CAS demo two months before the game's full release. That helps people understand some of the underlying code, start figuring out what happens when they change this bit or that bit. Combine that with wanting something as major as CAS, and you have the skills and dedication to get something developed
Inventor
#11 Old 2nd Aug 2014 at 10:37 AM
I think I love you! I made so many fully seamless patterns for Sims 3!! (Nearly 2000, mainly from pics of real material) Now I can make use of them again. *bows deeply*
Test Subject
#12 Old 2nd Aug 2014 at 1:03 PM
Awesome job with this. CASt was a big deal for me in TS3 I used the heck out of it. I have the CAS Demo for TS4 and I'm just not thrilled with how limiting the clothing options are imo. It only sets off my OCD and makes it darn frustrating to actually enjoy the game.
Test Subject
#13 Old 2nd Aug 2014 at 2:05 PM
Ahh, someone got to this before I did. Well, awesome job! If you need another team member, you can always give me a shout! =D
Field Researcher
#14 Old 2nd Aug 2014 at 3:43 PM
That's so cool! I just hope it will be just as easy to adjust items in the actual game as it is to do it for the CAS demo.
Test Subject
#15 Old 2nd Aug 2014 at 3:43 PM
Wow! Thank you Zerbu! Can you make a similar tool to make new colors for hair? (E.g. add a purple hair color) Is that possible?
Field Researcher
Original Poster
#16 Old 2nd Aug 2014 at 4:36 PM
Thanks everyone!

The program has been released!! I'm about to edit the OP with details.

http://www.mediafire.com/download/d...wvy2/Caster.rar

Quote:
Originally Posted by Omenka
Wow! Thank you Zerbu! Can you make a similar tool to make new colors for hair? (E.g. add a purple hair color) Is that possible?


I'm not sure that needs a tool, since it's just a simple recolour. It would probably be complicated to make though, since there's no way of automatically determining which pixels are which parts of the hair, unlike with spectacular images where all it does is detect how light or dark each pixel is.
Lab Assistant
#17 Old 2nd Aug 2014 at 4:51 PM
I do not have the words to express how much I love this. Marvelous job!
Top Secret Researcher
#18 Old 2nd Aug 2014 at 4:52 PM
Silly me, but does this allow you to recolor the items in CAS demo or outside of it?

~* Childish, Eco-Friendly, Snob, Couch Potato, Inappropriate *~
Scholar
#19 Old 2nd Aug 2014 at 4:55 PM
Thanks for this, Zerbu!! This is pretty cool - I don't have the demo, so can't get into the recolouring-of-clothes, but I sure can create some patterns!! Thanks for the inspiration
*ambles off to do so, whistling*

"When in doubt, blame the kids..."
Queer, Black, Female - and proud of it!
dodgy builder
#20 Old 2nd Aug 2014 at 6:22 PM
Looks promising

Scuse me if I'm being silly, but is it possible to recolor anything according to the HEX color picker with this, or will that be the next version hint* ?

Perhaps I may even buy this game then ...
Field Researcher
#21 Old 2nd Aug 2014 at 7:35 PM
God bless us, every one.
Field Researcher
Original Poster
#22 Old 2nd Aug 2014 at 7:55 PM
Quote:
Originally Posted by happycowlover
Silly me, but does this allow you to recolor the items in CAS demo or outside of it?


Yeah it works with the CAS demo! And it should work with the full release as well, unless they suddenly switched file formats which is extremely unlikely.

Quote:
Originally Posted by Volvenom
Scuse me if I'm being silly, but is it possible to recolor anything according to the HEX color picker with this, or will that be the next version hint* ?


You can recolour an image using solid colours if that's what you mean. Just right click on the pattern/colour and it will give you the option to generate a solid one.
Test Subject
#23 Old 2nd Aug 2014 at 8:21 PM
Zerbu We going to really need you for this Sims 4 Career thing this going off the lot disappearing is rubbing me some kind of way. Now Im under the impression that there might be a mix or half and half ambition like careers combined with the off screen disappearing and wait a little time go by then the Sims reappear Sims 2 thing . We just well may need your handy modder skills to do something like you did in the sims 3 in the new sims 4 game. lol Am I asking too much. ;-)
Field Researcher
Original Poster
#24 Old 2nd Aug 2014 at 9:14 PM
I've updated the program with two changes:
  • "Spectacular" has been changed to "Specular" - I feel really dumb for that mistake. I'll update the screenshots in not long.
  • The program will now remember directories individually for speculars, masks and patterns, so it's more convenient to have the files stored in different places.
Field Researcher
#25 Old 2nd Aug 2014 at 9:31 PM
Thanks a lot, Zerbu! One thing, though, is 'specular' here being used as we use 'base texture' in TS3? If memory doesn't fail me, speculars have something to do with lightning...
Page 1 of 3
Back to top