Post by Creelien on Jan 3, 2021 12:06:38 GMT
Ever since DMC5 modding became a thing, you must have noticed that a base texture mod takes up like 200MB+ space to store/upload/download and if used as an extracted mod it needs even more space on your HDD/SDD. But whyt if I told you, you can get rid of those unnecessary MBs for good and still make your mod work perfectly?
There are two things you can do to achieve this (best combined):
1.) Make the game ingnore files in "Streaming folders"
2.) Make the game read "clean" textures and ignore "middirt" and "dirt" folders.
1.)
Beautifully said by alphaZomega on our Discord:
"Theres a flag in the file header of non-streaming textures that tells the game to go in "Streaming" and get a higher quality version. Streaming textures themselves don't have this flag, so if you replace a non-streaming texture with a streaming one, it won't even try to look in Streaming."
What you need to do here is very simple. Example (with Nero's Default Costume):
2.)
Said by vainiuss1 on our Discord and edited by me here:
Mdf files contain material data and stuff, and have texture paths in them to tell the game where to read textures from. So if you copy/paste/rename or just open them up and paste over them, the mdf will make the game load the textures from the folders set in the mdf. It appllies to every model.
What you need to do here is even more simple. Example (with Nero's Default Costume):
Note:
If you want to spare more space and modding time on a character's face (another Nero example), you can copy the "pl0000_01.mdf2.10" file from "natives\x64\character\player\pl0000_nero\pl0000_01_head\" into "natives\x64\character\player\pl0000_nero\pl0000_11_head_event\" and do the same rename/overwrite method. Then your game will only use the first face texture and ignore the rest. The ones making Nero's face have wrikles for different face expressions.
There are two things you can do to achieve this (best combined):
1.) Make the game ingnore files in "Streaming folders"
2.) Make the game read "clean" textures and ignore "middirt" and "dirt" folders.
1.)
Beautifully said by alphaZomega on our Discord:
"Theres a flag in the file header of non-streaming textures that tells the game to go in "Streaming" and get a higher quality version. Streaming textures themselves don't have this flag, so if you replace a non-streaming texture with a streaming one, it won't even try to look in Streaming."
What you need to do here is very simple. Example (with Nero's Default Costume):
- Make a copy of your "natives\x64\character\player\pl0000_nero\" AND "natives\x64\streaming\character\player\pl0000_nero\" folders.
- Extract and edit the files in "natives\x64\streaming\character\player\pl0000_nero\" ONLY!!!!
- After that, copy/paste those files into "natives\x64\character\player\pl0000_nero\" and overwrite the lower resolution files with them.
- Now, delete the "streaming\character\player\pl0000_nero\" folder completely!
- Congratulations! Now you have a mod which has a smaller size and loads faster.
2.)
Said by vainiuss1 on our Discord and edited by me here:
Mdf files contain material data and stuff, and have texture paths in them to tell the game where to read textures from. So if you copy/paste/rename or just open them up and paste over them, the mdf will make the game load the textures from the folders set in the mdf. It appllies to every model.
What you need to do here is even more simple. Example (with Nero's Default Costume):
- Copy/paste the "pl0000.mdf2.10" file from "natives\x64\character\player\pl0000_nero\" into "natives\x64\character\player\pl0031_nero_middirt\pl0031_body\"
- Rename the "pl0000.mdf2.10" file to "pl0031.mdf2.10" and overwrite the already existing one
- Do the same copy/paste/rename/overwrite method inside "natives\x64\character\player\pl0030_nero_dirt\pl0030_body\" but this time rename your "pl0000.mdf2.10" file to "pl0030.mdf2.10"
- Now, you can delete all the texture files from both "pl0031_nero_middirt\pl0031_body\" and "pl0031_nero_dirt\pl0030_body\" folders.
- Congratulations, now your game will read textures only from "natives\x64\character\player\pl0000_nero\" so you don't have to spend time modding "middirt" and "dirt" textures
Note:
If you want to spare more space and modding time on a character's face (another Nero example), you can copy the "pl0000_01.mdf2.10" file from "natives\x64\character\player\pl0000_nero\pl0000_01_head\" into "natives\x64\character\player\pl0000_nero\pl0000_11_head_event\" and do the same rename/overwrite method. Then your game will only use the first face texture and ignore the rest. The ones making Nero's face have wrikles for different face expressions.