aarin
7th Mar 2012, 8:21 PM
It's been a while since I last made something for TS3 (four EPs' time) but I'm pretty sure the fundamentals haven't changed.
What I did:
- Select item in CTU, go to meshes, load LOD1, 2, 3 (for shoes), insert blank bump map, change name of mesh, hit commit.
- Save package. Reopen.
- Insert my new textures (in this case a multiplier and mask.) Commit.
- Go to Other tab, untick 3 channel, tick 4 channel (my mask has an alpha for fourth recolourable part, in troubleshooting I have tried both DXT1-1bitalpha and DXT5interpolatedalpha versions.)
- Enable all patterns, change design for all four channels, using standard solid colour misc pattern.
- Save (not save as.)
Now, in CTU, the preview recolours fine. I can see my mask is functional. But in game, when I try to recolour the item, I get hit with a nice error.
System.FormatException: Invalid format.
#0: 0x00017 throw in System.System.Double:Parse (string,System.Globalization.NumberStyles,System.IFormatProvider) ([24C78410] [231] [00000000] )
#1: 0x00008 call in System.System.Single:Parse (string) ([24C78410] )
#2: 0x00051 call in Sims3.Metadata.Sims3.Metadata.SamplingTextureStep:Init (Sims3.Metadata.Complate/TextureStep,uint) (362CA0C0 [26D57E50] [0] )
#3: 0x00009 call in Sims3.Metadata.Sims3.Metadata.TextureStepDrawFabric:Init (Sims3.Metadata.Complate/TextureStep,uint) (362CA0C0 [26D57E50] [0] )
#4: 0x00055 callvirt in Sims3.Metadata.Complate+TextureStep:CreateTextureStep (uint) (26D57E50 [0] )
#5: 0x00114 callvirt in Sims3.Metadata.Sims3.Metadata.Complate:CreateTextureCompositor (Sims3.Metadata.Complate/TexturePart,Sims3.Metadata.Complate/TextureDestination,uint) (25804910 [26D57F70] [26D57F50] [0] )
#6: 0x0003f call in Sims3.Metadata.Sims3.Metadata.Complate:CreateTextureCompositors (uint) (25804910 [0] )
#7: 0x00011 callvirt in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:BuildPartCompositors (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate) ([2556A850] [vt:4E916514] [25804910] )
#8: 0x0009f call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyComplateToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate,System.Collections.Generic.Dictionary`2,string) ([2556A850] [vt:4E91642C] [25804910] [2822033448172630976/0x2729e0782699b3c0] [24C78410] )
#9: 0x00017 call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyComplateToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate,System.Collections.Generic.Dictionary`2) ([2556A850] [vt:4E916334] [25804910] [2822033448172630976/0x2729e0782699b3c0] )
#10: 0x0002b call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyPresetEntryToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,System.Collections.Generic.KeyValuePair`2) ([2556A850] [vt:4E91625C] [1318150820/0x4e9162a4] )
#11: 0x00013 call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.CASLogic:ExecuteApplyPresetEntryToPart (Sims3.SimIFace.CAS.CASPart,System.Collections.Generic.KeyValuePair`2) (376E5DB0 [vt:4E91619C] [1915638291023094244/0x1a95b6e04e9161e4] )
#12: 0x0000c callvirt in Sims3.Gameplay.CAS.CASLogic+ReplacePresetEntryForPartStep:Apply () ()
#13: 0x0003e callvirt in Sims3.Gameplay.CAS.CASLogic+Operation:Apply () ()
#14: 0x00027 callvirt in Sims3.Gameplay.CAS.CASLogic+CASOperationStack:Apply () ()
#15: 0x00065 call in Sims3.Gameplay.CAS.CASLogic+CASOperationStack:Sync () ()
#16: 0x0005d callvirt in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.CASLogic:Simulate () ()
#17: 0x00023 callvirt in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()
I've been trying to figure out what the issue is and have built probably half a dozen packages from scratch already just troubleshooting. Everything works when set to three channels which is rather infuriating.
http://i.imgur.com/CSA9P.png
What I did:
- Select item in CTU, go to meshes, load LOD1, 2, 3 (for shoes), insert blank bump map, change name of mesh, hit commit.
- Save package. Reopen.
- Insert my new textures (in this case a multiplier and mask.) Commit.
- Go to Other tab, untick 3 channel, tick 4 channel (my mask has an alpha for fourth recolourable part, in troubleshooting I have tried both DXT1-1bitalpha and DXT5interpolatedalpha versions.)
- Enable all patterns, change design for all four channels, using standard solid colour misc pattern.
- Save (not save as.)
Now, in CTU, the preview recolours fine. I can see my mask is functional. But in game, when I try to recolour the item, I get hit with a nice error.
System.FormatException: Invalid format.
#0: 0x00017 throw in System.System.Double:Parse (string,System.Globalization.NumberStyles,System.IFormatProvider) ([24C78410] [231] [00000000] )
#1: 0x00008 call in System.System.Single:Parse (string) ([24C78410] )
#2: 0x00051 call in Sims3.Metadata.Sims3.Metadata.SamplingTextureStep:Init (Sims3.Metadata.Complate/TextureStep,uint) (362CA0C0 [26D57E50] [0] )
#3: 0x00009 call in Sims3.Metadata.Sims3.Metadata.TextureStepDrawFabric:Init (Sims3.Metadata.Complate/TextureStep,uint) (362CA0C0 [26D57E50] [0] )
#4: 0x00055 callvirt in Sims3.Metadata.Complate+TextureStep:CreateTextureStep (uint) (26D57E50 [0] )
#5: 0x00114 callvirt in Sims3.Metadata.Sims3.Metadata.Complate:CreateTextureCompositor (Sims3.Metadata.Complate/TexturePart,Sims3.Metadata.Complate/TextureDestination,uint) (25804910 [26D57F70] [26D57F50] [0] )
#6: 0x0003f call in Sims3.Metadata.Sims3.Metadata.Complate:CreateTextureCompositors (uint) (25804910 [0] )
#7: 0x00011 callvirt in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:BuildPartCompositors (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate) ([2556A850] [vt:4E916514] [25804910] )
#8: 0x0009f call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyComplateToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate,System.Collections.Generic.Dictionary`2,string) ([2556A850] [vt:4E91642C] [25804910] [2822033448172630976/0x2729e0782699b3c0] [24C78410] )
#9: 0x00017 call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyComplateToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,Sims3.Metadata.Complate,System.Collections.Generic.Dictionary`2) ([2556A850] [vt:4E916334] [25804910] [2822033448172630976/0x2729e0782699b3c0] )
#10: 0x0002b call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.OutfitUtils:ApplyPresetEntryToPart (Sims3.SimIFace.CAS.SimBuilder,Sims3.SimIFace.CAS.CASPart,System.Collections.Generic.KeyValuePair`2) ([2556A850] [vt:4E91625C] [1318150820/0x4e9162a4] )
#11: 0x00013 call in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.CASLogic:ExecuteApplyPresetEntryToPart (Sims3.SimIFace.CAS.CASPart,System.Collections.Generic.KeyValuePair`2) (376E5DB0 [vt:4E91619C] [1915638291023094244/0x1a95b6e04e9161e4] )
#12: 0x0000c callvirt in Sims3.Gameplay.CAS.CASLogic+ReplacePresetEntryForPartStep:Apply () ()
#13: 0x0003e callvirt in Sims3.Gameplay.CAS.CASLogic+Operation:Apply () ()
#14: 0x00027 callvirt in Sims3.Gameplay.CAS.CASLogic+CASOperationStack:Apply () ()
#15: 0x00065 call in Sims3.Gameplay.CAS.CASLogic+CASOperationStack:Sync () ()
#16: 0x0005d callvirt in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.CASLogic:Simulate () ()
#17: 0x00023 callvirt in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()
I've been trying to figure out what the issue is and have built probably half a dozen packages from scratch already just troubleshooting. Everything works when set to three channels which is rather infuriating.
http://i.imgur.com/CSA9P.png