Welcome to
Mod The Sims
Online: 995
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 17 (Who?), Viewed: 41912 times.
Search this Thread
Old 15th Jul 2012, 6:02 PM DefaultMaterializing Materials FIX process #1
granthes
Original Poster

Instructor

Join Date: Nov 2009
Posts: 469
Thanks: 16012 in 34 Posts
17 Achievements

View My Journal


I have been researching the issue where patterns cause the CaST process in the game to stall with "Materializing Materials" showing that requires closing the game to get past.

For months I was unable to duplicate the issue, but have finally found some CC that triggers that issue. Being able to duplicate the issue is a critical step in fixing it. Without that, you just can't figure out what is really going wrong.

The primary cause seems to be a bug in an early patch of the base-game itself that wrote out incorrect data to the patterns during exporting of lots or sims. The EA Launcher's method of reading in patterns (and other stuff too) automatically fixes the problem so .sim3pack files don't have the same kind of problem as .package files.

To explain the issue, we need to dissect a pattern a little bit so we can see where the issue occurs.

When you look at a pattern file in S3PE, you usually see several _IMG resources, a couple of _XML resources, an ICON and a PTRN resource.

The _IMG resources are just the images that the pattern is build up from and doesn't matter.
The ICON resoures is just a PNG file that shows the thumbnail in Launcher, also doesn't matter.
One of the _XML resources, the one with the type of 0x73E93EEB is just a manifest file and isn't required once you convert a pattern to .package form.
The other _XML resource (type 0x0333406C) is important as is the PTRN resource.

Here is a snippet from one of each of those:
First, the _XML:
Code:
<complate name="regalpatterndv001" category="Fabric" type="fabric" complexity="60" typeConverter="Medator.ComplateConverter,Medator" reskey="key:0333406c:02000000: 3c4c870ee86a44b">
...

Second, the PTRN:
Code:
...
   <pattern reskey="key:0333406c:02000000: 3c4c870ee86a44b" name="regalpatterndv001" complexity="60" />
...



You should notice that both of these have an xml attribute called reskey, and that the actual value of that attribute has a space in it after the colon.

The export process for early versions of TS3 added a space before the instance number of the reskey value.

To fix a pattern that causes Materializing Materials, simply REMOVE THE SPACE from both lines.

Change
Code:
reskey="key:0333406c:02000000: 3c4c870ee86a44b"
into
Code:
reskey="key:0333406c:02000000:3c4c870ee86a44b"
in both resources and you've fixed the pattern.

codename: granthes -- Developer of Sims3/4 utilities
Now working on modding tools for the Sims 4 CAS Demo
Old 15th Jul 2012, 6:02 PM #2
Inge Jones
One horse disagreer of the Apocalypse

Join Date: Sep 2004
Posts: 10,893
Thanks: 8988 in 18 Posts
20 Achievements


Nice find!

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Old 20th Oct 2012, 9:10 PM #3
granthes
Original Poster

Instructor

Join Date: Nov 2009
Posts: 469
Thanks: 16012 in 34 Posts
17 Achievements

View My Journal


I have just finished putting a MM fix tool together. You can grab it from: http://sims3.the-prof.net/forums/in...08.msg3770.html

It is a simple drag and drop utility just like the old Rigfix that I did for Pets.

codename: granthes -- Developer of Sims3/4 utilities
Now working on modding tools for the Sims 4 CAS Demo
Old 23rd Jul 2013, 5:10 PM Defaultmore details requested, please #4
4ujeff
Test Subject

Join Date: Jul 2011
Posts: 2


hello, thank you so much for all this. it is SO much appreciated!ive been trying to figure out this issue for a month now,got all my other island paradise issues fixed, except this. do you mind telling me were i pull the scripts up, (to take the spaces out) im just not sure were i go to do that. also, were you say drag and drop the files, what folder are you referring to drag and drop into. once again, thank you so much! jamie
Old 23rd Jul 2013, 5:23 PM #5
4ujeff
Test Subject

Join Date: Jul 2011
Posts: 2


ok, i realized you are talking about s3pe, i just downloaded it, now, i have all my cc in my mods folder, (ea, sims3, mods, packages) (im using a p.c btw) are the patterns located in there, or a different folder. when i open s3pe, it do i go to file, and open, then were should i go? thank you once again, im just anxious to get this resolved, as ive been at it for months now
Old 18th Oct 2013, 6:29 PM #6
jennhitch
Test Subject

Join Date: Sep 2013
Posts: 11


Quote:
Originally Posted by granthes
I have just finished putting a MM fix tool together. You can grab it from: http://sims3.the-prof.net/forums/in...08.msg3770.html

It is a simple drag and drop utility just like the old Rigfix that I did for Pets.


I went to your page and can not find the download.... any help?
Old 7th Jan 2014, 4:12 AM Defaultlogin first #7
aira120589
Test Subject

Join Date: Aug 2013
Posts: 1


Quote:
Originally Posted by jennhitch
I went to your page and can not find the download.... any help?


You have to register or sign in in order for the download file to show
Old 17th Feb 2014, 6:16 PM
Andrea233
This message has been deleted by Andrea233.
Old 17th Feb 2014, 6:35 PM #8
Angie233
Test Subject

Join Date: Feb 2014
Posts: 6


I see no where to register ?? http://sims3.the-prof.net/forums/to...08.msg3770.html :s

AngieLoverSims♦
Old 17th Feb 2014, 7:01 PM #9
Inge Jones
One horse disagreer of the Apocalypse

Join Date: Sep 2004
Posts: 10,893
Thanks: 8988 in 18 Posts
20 Achievements


Thats cos the site got closed or something. He says he might start it again for TS4

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Old 19th Mar 2014, 12:34 AM #10
ketsueki01
Test Subject

Join Date: Jun 2011
Posts: 3


Thank goodness I found this! I was just experiencing this very issue in my Sims 3 (just came back from a long hiatus). It was easy enough to fix in S3PE along with your instructions. If you've recently downloaded a lot of pattern packages, I would recommend going through most, if not all of them, to make sure there isn't more than one pattern involved.

For those who are unfamiliar with S3PE and need more of a helping hand, basically:
1. Open a pattern file in S3PE...
2. Go to the PTRN tag section (I found this was the easiest way to figure out whether the file was affected by this issue as it's a smaller text box to skim through)
3. Look through the given text in the right hand side text box, if you notice a space after the colon, then this is the problem file (as explained by granthes)
4. Right click on the PTRN tag section (left hand side of S3PE), choose Notepad from the given options
5. Remove the space using Notepad, then click File>Save, and now close Notepad
6. S3PE will notify you that the resource has been changed and ask you if you would like to commit the changes, click Yes
7. Repeat for the affected XML tag section (the INSTANCE number should match the PTRN instance number)
8. Lastly, make sure to click File>Save in S3PE in order to fully complete and save your changes
Old 25th Mar 2014, 8:35 PM #11
your_juliet
Test Subject

Join Date: Dec 2010
Posts: 10


What about patterns that duplicate themselves in CAS? I managed to get rid of the Materializing message but now certain patterns (it seems ones created with CrAP) tend to duplicate themselves, overwriting previous patterns that work just fine. It's driving me crazy and I can't seem to fix it. I tried the above but there was no space to delete in the XML file so I'm kinda at a loss.
Old 12th Jun 2014, 3:54 AM #12
Sojourner
Field Researcher

Join Date: Jan 2013
Posts: 386


The latest version of CCMagic handles the materializing materials thing internally now. You can download the last version here:

http://modthesims.info/d/461888

If I don't answer a direct question on the technical forums, I didn't see it. Feel free to PM me.
Old 11th Oct 2014, 8:47 AM #13
krissychan
Test Subject

Join Date: Aug 2012
Posts: 8


Quote:
Originally Posted by Sojourner
The latest version of CCMagic handles the materializing materials thing internally now. You can download the last version here:

http://modthesims.info/d/461888


It doesn't handle it automatically, but it tells you what the broken files are so you can fix them. This was super helpful because I have like 500 mods
Old 13th Oct 2014, 3:33 PM #14
livlou
Test Subject

Join Date: Jun 2014
Posts: 2


This is really confusing to me, can you explain it in a simpler way?
Old 13th Oct 2014, 3:37 PM #15
livlou
Test Subject

Join Date: Jun 2014
Posts: 2


Where do you find S3PE file at?
Old 2nd Nov 2015, 4:11 PM DefaultWhere?? #16
TayPaige
Test Subject

Join Date: Jun 2014
Posts: 11


Quote:
Originally Posted by granthes
I have just finished putting a MM fix tool together. You can grab it from: http://sims3.the-prof.net/forums/in...08.msg3770.html

It is a simple drag and drop utility just like the old Rigfix that I did for Pets.


I don't know where it is I can find this tool..I'm having an issue with materializing materials, I've run into it before and fixed it using one of delphys tools to remove patterns from sims3packs in downloaded houses. I do use CC magic, and it's told me the name of the file that's causing my game to freeze on the spinning wheel of death, but I cannot find the file! I've gone through all of my new CC I downloaded with a fine tooth comb to hunt the little sh!t out, but to no avail. Is there a way to use CC magic to find the file, or do you still have this program so I can fix this issue? My game is currently unplayable due to it. Thank you
Old 8th Nov 2015, 4:58 AM #17
TayPaige
Test Subject

Join Date: Jun 2014
Posts: 11


Quote:
Originally Posted by krissychan
It doesn't handle it automatically, but it tells you what the broken files are so you can fix them. This was super helpful because I have like 500 mods


How were you able to pinpoint which pattern it was? My CC magic says its "pozadi" but I can't find that file name anywhere on my computer..
Old 30th Dec 2015, 9:54 AM #18
kbbbb
Test Subject

Join Date: Jun 2008
Posts: 7


I have managed to pinpoint quite a lot of these issues and resolve them but it's a painful process.

I have found the worst offenders for these issues are lots and patterns off TSR. I have yet to see any objects throw up these issues but I welcome being proven wrong. If one is getting a pattern issue recorded but searching doesn't throw up the file name, it's probably a lot. If one has created package files out of Sims3Packs and get this issue, then the packages should be deleted and done again. Sorry

I have found the tools out there to "fix" broken patterns are flaky and the easiest solution is to delete/strip them out. I fixed the issue by progressively going through content in CC Magic to identify the offending patterns, then either deleting them, or repairing if possible.

You Need
1. CC Magic
2. Delphy's Custard

Steps
1. backup your entire Sims 3 folder in case something goes wrong.
2. Install CC Magic. Install Custard. Open CC Magic.
3. Click "Rebuild" to create a database of your content.
4. Go to the "Status" tab. Note down all the names of the patterns that are causing issues.
5. Go into Windows Explorer. Locate the CC Magic Folder (If you don't know, search your entire hard drive for "CC Magic"). Go into CC Magic\Content\Sims3Packs
6. Search for the name of each of the offending patterns individually.
7. If they are a pattern, delete them. If they do not show up, they are probably in a lot.
8. Create a new folder in the "CC Magic\Content\" folder. Call it something like "Removed". Create a second folder. Call it something like "Clean".
8. Return to the "Sims3Packs" folder Try to remember when you first got Materializing Materials issues. Sort your Sims3Packs by date. Select the packs prior to this date. Cut and paste them into your "Removed" folder.
9. Go back to CC Magic. Click Refresh. Click Clear Cache. Click Rebuild.
10. Go to the log and see how many offending patterns remain. If they equal the number originally minus the number you deleted, congratulations! It's just a matter of going through what remains and checking in blocks of 10-30 which ones are having issues. Move all the content from the Removed folder into the Clean folder, then move all the remaining content from Sims3Packs Folder into the Removed folder. Otherwise, you might need to do 10A.
10A. Empty out the Sims3Packs folder into the Removed folder. Return 10-30 items at a time to the Sims3Packs Folder, focusing on anything obviously a pattern or a lot. Do smallish batches as CC Magic is somewhat unstable with larger amounts of content (i.e. my 17gb worth). It also speeds up build times,
11. Now you have a possibly offending block of content in your Sims3Packs folder, you can check which one is offending. In CC Magic, click "Refresh", then "Clear Cache" then "Rebuild". If you get a hit, go back to the "sets" page. If you have "missing" ones with a pink stripe down the side, hit "refresh" again. Uncheck each item, and then check the last one. Hit "clear cache" then "rebuild". Check the log to see if this item is getting the issue. Uncheck the clean item, and check the next item up. Then "Clear Cache" and "Rebuild" and check the logs again. Do this for every item when a block of items returns a "Materializing Materials" issue.
12. Once you get a hit, if it is a pattern, delete it. If it is a lot, there's a possibility it can be salvaged by removing patterns
12A. Go into Delphy's Custard. Open the offending item. In the "type" column, locate items that are "patterns". One can either remove all patterns, or try to remove just the ones with a black or white preview. For the first one, uncheck all patterns. Click file > Save as (I let it save as "Copy of x"). Go back into CC Magic, hit refresh. Find the copy. Unselect all other files, except the copy. Hit Clear Cache, and rebuild. Check log to see if this remedied the problem. For the second issue, it's a matter of going back into Custard and unselecting Patterns, saving out and rebuilding until the issue stops coming up in the logs. Sometimes, a lot cannot be salvaged and should be deleted. (but I can't tell you why)
13. Once you acertain content is not causing issues, move it to the "clean" folder. Eventually, the only Sims3Packs will be in the "Clean" folder. Move them all back into the "Sims3Packs" folder, refresh, clear cache, and rebuild.
14. If you are lucky, you will now get no errors reported.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.