Post by eternity on Jan 20, 2016 18:28:46 GMT
Note: modders can include their avatars directly in the .ssz file. This tutorial is to change the avatars of vanilla characters.
The tutorial assumes that SS Mods Installer 1.2 or greater has run at least once in the system.
It also assumes that you already have the .dds file (which should be a 256x256 in DX5 format, without mip maps, at least that's what the game avatars use (sssspatcher doesn't check it): if your .dds files have same size as the extracted game ones, you probably got it right).
The tutorial will use as example chaging the avatar of Shura Surplice.
Step 1:
Go to the directory where SSSS.exe is. You will see a lot of xml files. Open chara_data.cdc.xml with a text reader/editor. DO NOT MODIFY ANYTHING FROM HERE, what we are doing with this file is read-only. Search for the name of the character to locate their <ModelEntry>
Take note of these two values: CMS_ENTRY and CMS_MODEL_SPEC_IDX, and you can already close the .xml file.
In our example, these values are 0x1C and 2.
Step2:
From the directory where SSSS.exe is installed, navigate to the folders resource/sssspatcher/avatars.
This folder contains avatars od mods installed through SS Mods Installer (if any), but the same method can be applied to modify the avatars of vanilla characters.
Paste here the .dds file, and rename the file like [CMS_ENTRY]_[CMS_MODEL_SPEC_IDX].dds.
In our example this would be 0x1C_2.dds
Step 3:
If in the avatars directory, a file called cache.bin exists, delete it. Deleting this file will force sssspatcher to regenerate the .emb files with the new avatars. If you ever do a modification to a .dds file here, please delete cache.bin again to force this regeneration.
And that's all. If you run the game, you should see the character using the new avatar.
WARNING: this method is only intended for vanilla characters, which always have a fixed ID. For new characters, the recommended method is to add avatar.dds to the .ssz.
The tutorial assumes that SS Mods Installer 1.2 or greater has run at least once in the system.
It also assumes that you already have the .dds file (which should be a 256x256 in DX5 format, without mip maps, at least that's what the game avatars use (sssspatcher doesn't check it): if your .dds files have same size as the extracted game ones, you probably got it right).
The tutorial will use as example chaging the avatar of Shura Surplice.
Step 1:
Go to the directory where SSSS.exe is. You will see a lot of xml files. Open chara_data.cdc.xml with a text reader/editor. DO NOT MODIFY ANYTHING FROM HERE, what we are doing with this file is read-only. Search for the name of the character to locate their <ModelEntry>
Take note of these two values: CMS_ENTRY and CMS_MODEL_SPEC_IDX, and you can already close the .xml file.
In our example, these values are 0x1C and 2.
Step2:
From the directory where SSSS.exe is installed, navigate to the folders resource/sssspatcher/avatars.
This folder contains avatars od mods installed through SS Mods Installer (if any), but the same method can be applied to modify the avatars of vanilla characters.
Paste here the .dds file, and rename the file like [CMS_ENTRY]_[CMS_MODEL_SPEC_IDX].dds.
In our example this would be 0x1C_2.dds
Step 3:
If in the avatars directory, a file called cache.bin exists, delete it. Deleting this file will force sssspatcher to regenerate the .emb files with the new avatars. If you ever do a modification to a .dds file here, please delete cache.bin again to force this regeneration.
And that's all. If you run the game, you should see the character using the new avatar.
WARNING: this method is only intended for vanilla characters, which always have a fixed ID. For new characters, the recommended method is to add avatar.dds to the .ssz.