Mod The Sims
Page 1 of 3

Mod The Sims (https://modthesims.info/index.php)
-   Modding Tools (https://modthesims.info/forumdisplay.php?f=709)
-   -   Caster - Create a Style for The Sims 4! NOW WITH DDS SUPPORT! (https://modthesims.info/showthread.php?t=530078)

Zerbu 2nd Aug 2014 3:27 AM

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.

~MadameButterfly~ 2nd Aug 2014 3:49 AM

That's incredible, Zerbu!

lewisb40 2nd Aug 2014 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.

jacro 2nd Aug 2014 4:34 AM

This is brilliant. This will make it easier to recolour on the fly.

AmandieLove 2nd Aug 2014 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.

Zerbu 2nd Aug 2014 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.

Miggs1123 2nd Aug 2014 4:47 AM

Zerbu, you're my hero. <3

ZenGarden 2nd Aug 2014 10:18 AM

Has the moding/CC community ever put so much effort in a game before it was even launched? Impressed!

Inge Jones 2nd Aug 2014 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? .

Katya Stevens 2nd Aug 2014 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

Rock Chick 2nd Aug 2014 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*

blunote00 2nd Aug 2014 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.

Fuzzlechan 2nd Aug 2014 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

Cleos 2nd Aug 2014 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.

Omenka 2nd Aug 2014 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?

Zerbu 2nd Aug 2014 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.

Suncat 2nd Aug 2014 4:51 PM

I do not have the words to express how much I love this. Marvelous job!

happycowlover 2nd Aug 2014 4:52 PM

Silly me, but does this allow you to recolor the items in CAS demo or outside of it?

Enjoji 2nd Aug 2014 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*

Volvenom 2nd Aug 2014 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 ...

Tuber101 2nd Aug 2014 7:35 PM

God bless us, every one.

Zerbu 2nd Aug 2014 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.

missshey01 2nd Aug 2014 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. ;-)

Zerbu 2nd Aug 2014 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.

Marcos_Edson 2nd Aug 2014 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...


All times are GMT +1. The time now is 8:18 PM.
Page 1 of 3

Powered by: vBulletin Version 3.0.14 · Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.