Hi. I'm, trying to learn how to mod SFV. I'm following Uncle Festor and Hungry Caterpillar's tutorial videos. My first mod is simply removing Chun Li's bracelets, just something with an observable difference to see if I can get it to work. I also want to be able to edit textures/materials though I haven't changed them in this mod.
When I make the mod, the game crashes when I try to load it.
I think it has something to do with the material files, because the cooked files are 500-700 bytes, not 4kb like the originals. Viewing them in a hex editor, they don't have as many paths to other files as the originals.
I've outlined each step of my process below. I would appreciate it of someone could point out what I'm doing wrong.
Show ContentFailed modding process:
1. Extract C91_01.fbx from BrutalAce's Character Modding Resource Pack 3.4
2. Open C91_01.fbx in a hex editor and change all instances of C91 to CNL. There doesn't seem to be any random instances of "C91" amongst fields of data, it's only in file names/paths etc. Rename C91_01.fbx to CNL_01.fbx
3. Extract *.TGA textures from [..\StreetFighterV\Content\Paks\StreetFighterV\Content\Chara\CNL\SkelMesh\01\Texture]
CT_CNL_01_COLOR.tga
CT_CNL_01_MASK.tga
CT_CNL_01_NORMAL.tga
CT_CNL_01_SRMA.tga
CT_CNL_01_SSS.tga
4.Create Blender project folder \BR_MOD with \Mesh and \Texture subdirectories. Place the mesh and textures to their respective directories.
Blender 2.79b
1. Import CNL_01.fbx
2. In the texture editor- add new textures, open all of the extracted *.tga files in order. Rename the textures to their respective filenames.
3. Select a material, move back to the texture editor, apply the new textures to the material in order.
4. Under "influence" setting switch off Diffuse>color, switch on Geometry>Normal for all Normal maps.
5. Do this for each material.
Blender Export
1. In the scene menu, in object mode, Select CNL_01 mesh, hold shift, then select the armature.
2. File > Export > FBX
3. Export menu:
Main:
Turn off "selected objects"
Select "Armat + Mesh"
Geometries:
Smoothing: Face
Armatures:
Uncheck "Add Leaf Bones"
Armature FBX Node Type: Root
Animation:
Uncheck "Baked Animation"
Save the file as CNL_01.FBX
Unreal Editor 4.7.6
1. Create a new blank project. Delete the StarterContent folder.
2. Create the SFV hierarchy:
Content
|_ Chara
|_CMN
|_Skeleton
|_CNL
|_SkelMesh
|_01
|_Material
|_Mesh
|_Texture
|_Common
|_Material
3. Import the modded CNL_01.FBX to [CNL > 01 > Mesh] folder.
4. Under Import FBX Options:
Import Uniform Scale: 0.393708
5. Move the EyeLens file to [CNL > SkelMesh > Common > Material]
6. Move all other material files to [CNL > SkelMesh > 01 > Material]
7. Move the textures to Texture folder
8. Rename skeleton file to CMN_Skeleton and move to [Content > Chara > CMN > Skeleton]
9. Open each material:
link the CT_CNL_01_COLOR texture to "Base color"
link CT_CNL_01_NORMAL texture to "Normal"
I don't know what to do with the others. I'm probably doing this wrong.
10. Open the mesh, and make sure each element has the right material applied to it. (in my case, it does) The textures seem to be showing on the model correctly.
11. Select all materials, select "Create Material instance".
12. Delete all of the materials, remove the "_inst" suffix from the material instances.
13. Open the mesh, assign the material instances to each element in the right order. The textures do not display on the model, it looks like gray brick.
13. File > Cook Content for Windows
SFV
1. Copy the contents of [c:\users\user\documents\unreal projects\sfv_mod\saved\cooked\windowsnoeditor\sfv_mod] to my SFV mods directory removing UE's files that aren't normally in SFV. Also removing the physics asset file from the mesh directory.
The mod's heirarchy is
[Mod1\StreetfighterV\Content\Chara\CNL\SkelMesh\ ...etc]
2. Open Pak Mod Manager, drag Mod1 folder into it. It creates the Mod1.pak file and turns it on.
3. Launch the game with Pak Mod Manager.
4. In SFV, go to training , select a stage.
5. SFV tries to load the character select screen, then crashes.
I've also tried renaming the materials with a _M suffix, then creating the instances, then removing the _inst suffix, not deleting the original materials. That way the textures display on the model after applying the instances to the each element. The _M files are 459K and the materials files are still ~700 bytes. The game still crashes.
If I delete the Materials and Texture directory, the mod will load. But she has two skirts- A grey one and blue one that doesn't move.
Any ideas?