SRIV SDK Release B: Adding New Customization Items

I'm having some problems with making clothes.

I'm using 3ds Max 2016 to create my meshes (without skinning or deformers), which then I export as 2011 .fbx files and import into Maya 2015. At that point I follow the tutorial to the letter and convert/pack the clothes into the game.

Some items work just fine, but some cause the game to crash to desktop upon selection. My workflow is always the same for each item and I have no idea why some work and others don't. As a test I've made a simple cube mesh in 3ds Max and followed the tutorial to brought it into the game without changing the vertices and UV maps, and it didn't work. Some items became usable if I changed the 3ds Max export format from .fbx into .obj, but not all.

Is there a specific workflow or export prodedure when working with 3ds Max to make the clothes usable? Or should I only use Maya for everything?

I doub exporting is the problem unless the mesh is wrong since the beggining. I make my models in other 3d software and only use maya for rigging and textures. I ve tried exporting as fbx and obj and both works just fine for me. However I had experienced crashes as u say. When this happens is because i messed up during rigging/skining or when using the converter.
 
I doubt the fact you're exporting from 3dsMax is the cause of your crashes since I use a similar workflow where I create everything in Blender and only export to Maya for the stuff I showed in the tutorial. What can be problematic, from my experience, is non-manifold geometry like floating verts/edges, having more than 4 bones influence any given vertex (altough the converter *should* fix that one automatically) and incorrectly configured materials. If none of that's the issue, you can upload your fbx (the one exported from Maya) here and I'll have a look at it. Hope this helps!

I don't think I had any non-manifold geometry in my meshes. I've used cube or tube objects in 3ds Max and didn't remove or weld vertices. I made sure to click "Remove isolated vertices" in 3ds Max just in case, and cleanup non-manifold geometry in Maya in the Mesh rollout. For skinning I've always did as the tutorial said, smooth bind the mesh to the root bone and then copy the skinning from the body. For materials I use phong with a colour, diffuse and normal textures. I have a model of some belts and a skirt, both of which work separately but when combined together into the same mesh, they don't work at all. I attached it to the post if you want to look at it. I've used Maya's automatic UV to make sure the map isn't the culprit.

Why your export model to Maya? Fbx2014 export works fine in max. The most problematic place is shaders, max standard phong material does not support diffuse slot.
Also about crushes, the most common is uv layers, which Maya can create randomly during import, mesh should has only one uv, the second is a morph. If your mesh does not has at least one blend shape you'll get some problem. Also some item can causing crash, all underwear that I copied causing this.

I didn't know you can only use 3ds Max, however if I can't use the diffuse slot, doesn't that mean I can't use a BGM/RGB map? What do you mean about crushes? I unwrap the UV map in 3ds Max and tweak it there, then I apply it to the mesh and export it.

I doub exporting is the problem unless the mesh is wrong since the beggining. I make my models in other 3d software and only use maya for rigging and textures. I ve tried exporting as fbx and obj and both works just fine for me. However I had experienced crashes as u say. When this happens is because i messed up during rigging/skining or when using the converter.

I'm not sure about the skinning, I'm using the automatic copy skin weights. Have you got any tips on how to fix skinning issues?
 

Attachments

  • sr3_item.7z
    833.8 KB · Views: 382
Last edited:
I don't think I had any non-manifold geometry in my meshes. I've used cube or tube objects in 3ds Max and didn't remove or weld vertices. I made sure to click "Remove isolated vertices" in 3ds Max just in case, and cleanup non-manifold geometry in Maya in the Mesh rollout. For skinning I've always did as the tutorial said, smooth bind the mesh to the root bone and then copy the skinning from the body. For materials I use phong with a colour, diffuse and normal textures. I have a model of some belts and a skirt, both of which work separately but when combined together into the same mesh, they don't work at all. I attached it to the post if you want to look at it. I've used Maya's automatic UV to make sure the map isn't the culprit.



I didn't know you can only use 3ds Max, however if I can't use the diffuse slot, doesn't that mean I can't use a BGM/RGB map? What do you mean about crushes? I unwrap the UV map in 3ds Max and tweak it there, then I apply it to the mesh and export it.



I'm not sure about the skinning, I'm using the automatic copy skin weights. Have you got any tips on how to fix skinning issues?

I opened your file and i noted this:
upload_2018-7-8_19-57-12.png


It has all those extra options in the channel box. Im pretty sure those are added when exporting from 3ds max, but im not sure if this is whats causing the crash.

2nd:
upload_2018-7-8_20-4-51.png


You unlocked the normals right? I can tell because the other morphs has those black shades and the default doesnt. This tools removes the smooth view from a mesh and the default morph doesnt have it compared to the Fat, muscle and skinny type.

After unlocking the normals, use the smooth tool to add more polygons to the model, however u need to smooth every morph so they have the exact same topology, or the blendshape wont work.

I suggest u to remove the blendshape, unlock the normals and use the smooth tool in every single mesh, and then add the blendshape again.

Besides that, i dont see anything within the model that may cause the crash. Try doing this, and if the issue continues, it may be an error within the customization_file, I once erased some VIDS in it and the game crashed every time. And if this doesnt fix the problem, try cloning another item.
 

Attachments

  • upload_2018-7-8_19-51-56.png
    upload_2018-7-8_19-51-56.png
    231.6 KB · Views: 404
  • upload_2018-7-8_19-56-45.png
    upload_2018-7-8_19-56-45.png
    318.6 KB · Views: 400
I'm not sure about the skinning, I'm using the automatic copy skin weights. Have you got any tips on how to fix skinning issues?
Skinning can't cause any problem at least after converting. SDK has some limitation for the quantity of the bones weight per vertex so it will stop conversion if it will find something.

As I said you have two UV layers(sets). You should transfer them to one and delete other, in your case simply delete UVChannel_2
upload_2018-7-9_6-6-5.png


You unlocked the normals right? I can tell because the other morphs has those black shades and the default doesnt. This tools removes the smooth view from a mesh and the default morph doesnt have it compared to the Fat, muscle and skinny type.

After unlocking the normals, use the smooth tool to add more polygons to the model, however u need to smooth every morph so they have the exact same topology, or the blendshape wont work.
You don't need edit normals for blendshapes, it remembers only vertex position, also you don't need tesselation to smooth normals, F2>Mesh display>Soften edge not so handy as smoothing groups in max but it works
i5ONH10.jpg
 
Last edited:
I removed the extra UV layer and it doesn't crash anymore. Thanks everyone for helping me.

I've also noticed that if the BCM or RGB texture is too big (1024x1024 or greater), it will also crash the game, however diffuse maps will work at that size. After resizing the RGB map to 512x512 it works fine. Is this an engine limitation?
 
I removed the extra UV layer and it doesn't crash anymore. Thanks everyone for helping me.

I've also noticed that if the BCM or RGB texture is too big (1024x1024 or greater), it will also crash the game, however diffuse maps will work at that size. After resizing the RGB map to 512x512 it works fine. Is this an engine limitation?
There shouldn't be any limitations when it comes to texture sizes so I'm not sure why this is happening to you. Did you change anything else besides the resolution, like for example the bit depth or number of channels?
 
There shouldn't be any limitations when it comes to texture sizes so I'm not sure why this is happening to you. Did you change anything else besides the resolution, like for example the bit depth or number of channels?

I don't think so. I make a new image in GIMP, paint the texture and export as a .tga file with RLE compression enabled. I have an item with a diffuse and BCM texture. The diffuse is 1024x1024 while the BCM is 512x512. If I make the BCM 1024x1024 by simply resizing it, the game will crash.
 
I don't think so. I make a new image in GIMP, paint the texture and export as a .tga file with RLE compression enabled. I have an item with a diffuse and BCM texture. The diffuse is 1024x1024 while the BCM is 512x512. If I make the BCM 1024x1024 by simply resizing it, the game will crash.
My guess is that, by upsampling the image you get some approximated pixels that are neither pure blue, cyan or magenta, thus messing with the shader. I wouldn't have expected the game to just crash in that case but I do wonder if that could have something to do with it. If I were you I would test if the game still crashes with a plain blue 1024x1024 BCM map.
 
My guess is that, by upsampling the image you get some approximated pixels that are neither pure blue, cyan or magenta, thus messing with the shader. I wouldn't have expected the game to just crash in that case but I do wonder if that could have something to do with it. If I were you I would test if the game still crashes with a plain blue 1024x1024 BCM map.

I did make a new BCM with only blue and it worked. I then re-did the texture I was using before and it also worked in 1024x1024 when I didn't resize it. Thank you.
 
@flow754 Hey quick question. I have been having this problem when ever I try to open up the converter in the SDK it immediate, before even opening up, crashes. Is there any fix for it? I download everything in the right order but to no avail. Please get back to me soon as possible :)
 
Back
Top