Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Ms. Byte (Deceased)
Original Poster
#1 Old 10th Aug 2014 at 5:23 PM Last edited by CmarNYC : 11th Sep 2014 at 12:09 PM.
Default Download | Mesh Cloner – S4 mesh conversion, now obsolete
THIS TOOL IS NOW OBSOLETE, PLEASE USE CAS TOOLS INSTEAD.

*edited to update the info*

I've made a tool to clone CAS parts and convert GEOM formats to S3 and back. The advantage of conversion over just changing the version manually is that you can convert to S3 format, edit in Milkshape or Blender and move vertices, and convert back. Bone assignments will be preserved by copying them from the original S4 mesh so bones can't be changed at this time. The second UV map will be restored from the original S4 mesh. The tangents are recalculated. It does NOT support adding or removing vertices/faces at this time, although I'd be curious what happens if you do.

If people find this useful, I can make a tool to split an S4 mesh into two, one with each of tihe UV maps, and to either copy bones directly from the original or (eventually) use an auto-bone function.

Extract into a folder and run MeshCloner.exe. Requires .NET Framework 4.

The first tab is for cloning CAS parts. Use the File menu to open a package for cloning (probably the Demo FullBuild at this time), sort the mesh names to find what you want, click on a mesh and then click on one of the color/pattern options. Choose a default replacement or new item. Change the mesh name and/or the color name for a new item if you want. (Be careful not to use duplicate names) Then click the Clone button.

The second tab is for managing meshes in your cloned package. Use the File menu to open the package for exporting/importing meshes. The meshes will be listed with their LOD, meshpart, and size. Click the Export button to export an S3 version of the mesh, modify it in Milkshape or Blender, then use the Import button for the same mesh to import the modified mesh and convert it back to S4. (You can also use this on packages created by CAS Cloner.)

The third tab is the original GEOM conversion tool. The top box converts an S4 mesh to S3 format. The bottom box converts a converted S3 mesh back into S4 format, using the original S4 mesh as a reference.

Once you have a modified mesh working in the game, you can use Color Magic to add recolors.

Update 8/20/14: New version uploaded that has been tested and works so far. Note that you can't change bone assignments as all bone data is copied from the original S4 mesh. And just to emphasize: you MUST use the same original S4 mesh as reference.

Update 8/29/14: Completely new version: includes a CASP cloner tool, a tool that exports/imports/converts meshes directly from a package, and the original GEOM conversion tool; renamed Mesh Cloner. Conforms to the newly revealed CC ID numbering best practices. To repeat how this works - at this time all you can do is move vertices and change normals, and you must import a modified mesh back to the original S4 mesh you exported.

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
2 users say thanks for this. (Who?)
Advertisement
Eminence Grise
#2 Old 10th Aug 2014 at 7:12 PM
Nice Cmar! Can't help with the edits, but I'd be happy to test any TS4 packages people create with this tool
Lab Assistant
#3 Old 11th Aug 2014 at 1:26 AM
what would be cool if there was someway to export sims into 3d programs to do renders or what though EA might not want that for copyright reasons lol but if it was just for fun :-p ..then again i think they allowed that for Spore didnt they?
Instructor
#4 Old 11th Aug 2014 at 11:23 AM
This is very nice news to hear. I'm always curious to see what you're up to Cmar, and of course I expected something awesome like this. Really looking forward to the possibilities with this.

The Sims 4! Weirder Sims! Aren't they weird!? Look how weird they are! Bet you can't wait to see how weird their stories are!?
Theorist
#5 Old 11th Aug 2014 at 7:31 PM
Very impressive!
I'm always envious of those who can open a file in a hex editor and see something.
I open a file in a hex editor and see nothing but gibberish.

Resident wet blanket.
Ms. Byte (Deceased)
Original Poster
#6 Old 20th Aug 2014 at 4:18 PM
I've updated the OP with a tool that actually works instead of giving you invisible meshes. That's what comes of not being able to test! The pic shows one sleeve of the striped top flared slightly using Milkshape and this tool.
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
#7 Old 20th Aug 2014 at 4:38 PM Last edited by .Krell : 20th Aug 2014 at 4:56 PM.
OMG, I cant wait for this. THANKS THANK THANKS! Now, I want export my hair meshes:
Mad Poster
#8 Old 20th Aug 2014 at 4:46 PM
The modders who have created the foundations of modding in Sims series should have been the ones at SimsCamp, not the Yipyipsims. Just tells you what Maxis thinks of their fans.
Lab Assistant
#9 Old 20th Aug 2014 at 5:55 PM
Does this mean we can transfer all the TS3 hairs and clothing into TS4?
Ms. Byte (Deceased)
Original Poster
#10 Old 20th Aug 2014 at 6:21 PM
Quote: Originally posted by cwurts00
Does this mean we can transfer all the TS3 hairs and clothing into TS4?


Sadly no, at least not now. The S4 meshes have two sections of data we don't yet understand at all and which have to be copied from an original S4 mesh which was converted. There are also differences in the shaders although that's probably not much of a problem, and something's going on with the bone data that can't currently be directly converted from an S3 mesh although that is also probably solvable.

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
#11 Old 20th Aug 2014 at 7:53 PM
Cmar, I can export some meshes by me, or I can only modify a mesh of Sims 4?
Theorist
#12 Old 20th Aug 2014 at 9:20 PM
Quote: Originally posted by cwurts00
Does this mean we can transfer all the TS3 hairs and clothing into TS4?


Depending on how much I end up liking (or not liking) TS4, I might want to do the opposite and transfer TS4 hair and clothing to TS3. Could this could work for that?

Resident wet blanket.
Ms. Byte (Deceased)
Original Poster
#13 Old 20th Aug 2014 at 10:17 PM
Krell, at this point you can only modify an S4 mesh, until we figure out more of how this version of the meshes works.

GnatGoSplat, I haven't tried an S4 to S3 conversion in-game yet, but I think some of the shader values are different and the skeleton is handled differently. I'm planning on adding an option to convert to an S3 game-compatible 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
#14 Old 20th Aug 2014 at 10:58 PM
Hi! I must sound like an idiot, but can someone tell me how to work it

There was a crooked man, and he walked a crooked mile,
He found a crooked sixpence against a crooked stile;
He bought a crooked cat which caught a crooked mouse,
And they all lived together in a little crooked house.
Lab Assistant
#15 Old 20th Aug 2014 at 11:05 PM
Hey Cmar, just a question, how did you extract a mesh using S4PE? Did you use Sintiklia's method for exporting or is it just simple as exporting a .simgeom from CASDemoFullBuild.package? And also, what do you do with the finished mesh? I tried importing it into S4PE and saving it as a .package but it didn't work in the game. Sorry for the noob questions . I'm new to meshing and I want to make one of the tops in the demo a bit longer.
Sesquipedalian Pisciform
retired moderator
#16 Old 21st Aug 2014 at 2:30 AM
Cmar, I moved the thread to this forum; if you think it should be in modding discussion (or somewhere) let me know

More downloads by Leesester, BoilingOil and others at Leefish.nl | My Stuff at Leefish.nl | LeeFish RSS | Sims4 News Blog | TumblinLeefish
Ms. Byte (Deceased)
Original Poster
#17 Old 21st Aug 2014 at 7:35 AM
Leefish, this is fine. I assume these forums will be linked from the site dropdowns.

Lumialover, yes, just export the GEOMs from the demo FullBuild using s4pe. The tool will change the version along with the conversion. If you import it into a new package with the same TGI it should give you a default replacement. Make sure you're modifying the lod0 mesh; that's probably the only lod used in the demo.

LizLucy, you export a mesh (GEOM/simgeom) with s4pe, use the top box in my tool to select the mesh and convert it to TS3 format. Then import the S3 mesh into Milkshape and move vertices, and export it. Then use the bottom box in my tool to select the modified S3-format mesh and the original S4 mesh as reference, and convert it back to S4 format.

I'm working on a simple tool to clone clothing with the meshes so making both default replacements and new clothing will be easier.

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
Sesquipedalian Pisciform
retired moderator
#18 Old 21st Aug 2014 at 9:06 AM
Cmar - site menu is JUST updated today. We will add more internal site links as we go.

More downloads by Leesester, BoilingOil and others at Leefish.nl | My Stuff at Leefish.nl | LeeFish RSS | Sims4 News Blog | TumblinLeefish
Mad Poster
#19 Old 21st Aug 2014 at 11:27 AM
Fantastic! Thank you Cmar, really looking forward to experimenting with this.
Lab Assistant
#20 Old 21st Aug 2014 at 1:51 PM
Thanks for the reply and the tool, CMar!

This is what i've gotten working so far:



It's not much, but I'm new at meshing so this is big accomplishment! :D
Lab Assistant
#21 Old 22nd Aug 2014 at 4:54 AM
Hi everyone: thought i'd share a tutorial that I made for editing meshes in Sims 4 (It uses CMar's tool). It's my first tutorial, so go easy on me! xD

http://bit.ly/1BIo5yc
Ms. Byte (Deceased)
Original Poster
#22 Old 22nd Aug 2014 at 12:58 PM
Nice tut - very comprehensive!

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
Sesquipedalian Pisciform
retired moderator
#23 Old 22nd Aug 2014 at 1:28 PM
@lumialover8 - I see the tutorial requires the old version of cas recolor tool - is there a specific reason for that?

More downloads by Leesester, BoilingOil and others at Leefish.nl | My Stuff at Leefish.nl | LeeFish RSS | Sims4 News Blog | TumblinLeefish
Lab Assistant
#24 Old 22nd Aug 2014 at 2:38 PM
Quote: Originally posted by leefish
@lumialover8 - I see the tutorial requires the old version of cas recolor tool - is there a specific reason for that?


Wow.. I am an idiot. I used the old version because it clearly displayed the CASP IID but I didn't realise that Color Magic actually displays the whole TGI blocklist..

Off to correct the tutorial!
Instructor
#25 Old 23rd Aug 2014 at 1:51 PM
Quote: Originally posted by .Krell
OMG, I cant wait for this. THANKS THANK THANKS! Now, I want export my hair meshes:

I finally realized what made that sim look so nice, aside from the hairstyle. It's the lighting!

Will it be possible to have similar custom lighting in the game? Or is that something the new engine or whatever doesn't support?
Locked thread | Locked by: leefish Reason: new thread
Page 1 of 2
Back to top