README
What is nier2blender?
- A blender plugin for import "Nier:Automata" .wmb file to blender with official rig
- codes can only run with python3
Usage
dat_unpacker.py
-
python dat_unpacker.py cpk_unpacked_folder your_extract_folder
-
if you do not have python3 then execute it with blender in command line
blender --background --python dat_unpacker.py cpk_unpacked_folder your_extract_folder
blender addons
- copy the whole repo foleder to blender addons folder and active it in blender preferences
TO_DO
- PBR materials support
- motion parse and import
PS:
-
PS1: Where to find .wmb files?
wmb files are packed in .cpk files under the game data folder which can be unpack by CriPakTools.
unpack the .cpk files and find .dat and .dtt files both of them are necessary for extracting models
unpack .dat and .dtt files using dat_unpacker.py
.wmb files can be found in unpacked .dtt files -
PS2: Put .dat and .dtt files in pair under the same folder
.dat and .dtt file have the same name file name are paired
.dat file contains control information such material, motions of the model
.dtt file contains .wmb model and texture package -
PS3:Useful folders in cpk
/pl -> main character models
/wd -> scence models
/wp -> weapon models
/um -> npc models
/em -> enemy models
/et -> item models -
PS4: Tips
unpack all cpk files and merge them under the same forlder before unpack dat and dtt files
-
PS4 Pro:
just a joke enjoy it.