- Download 6
- File Size 9.43 MB
- File Count 1
- Create Date May 21, 2023
- Last Updated May 21, 2023
Credit Author: DaZombieKiller
Github/Source Code: https://github.com/DaZombieKiller/DukeMeshTools
* Edit extract_from_dnf.cmd so that DNF_PATH points to your DNF installation.
* After editing it, run extract_from_dnf.cmd to generate the 'meshes' folder.
You can convert .skl files to .dae using the 'sklconv' command.
This allows you to import the skeleton into a modelling tool to rig your own custom model.
See get_machinegun_skeleton.cmd for an example.
Use the 'mshtool convert' command to generate .msh files for importing into DNF.
It uses the Open Asset Import Library, so any model formats supported by it should work.
The command is structured like so:
mshtool convert <input file path> <meshes folder path> <input .skl path> <output .msh path>
The input .skl path must point to a file within the meshes folder. This is necessary because
of how DNF references skeletons from .msh files.
REPACKAGING THE DATA FILES
You can use the 'mshtool build' to rebuild meshes.dat and skels.dat.
See make_packages.cmd for an example of how this works. The resulting .dat files can be copied
into the DNF 'SkinMeshes' folder, replacing the originals.