Elvyria / nifhacks

Janky tool that (sometimes) get things done for your nif-needs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NifHacks

License

Features:

  • Export nif shapes to *obj
  • Transfer vertex/normal/texture coordinates from obj to nif

Usage

$ nifhacks --help
Janky tool that (sometimes) get things done for your nif-needs

Usage: nifhacks [OPTIONS] INPUT OUTPUT

Positionals:
  INPUT     *.nif *.obj       
  OUTPUT    *.obj *.nif       

Options:
  -h,--help                   Print this help message and exit
  -s,--skin                   Apply skin transforms to shape
  -i,--in-place               Modify file in place
  -v,--version                Display program version information and exit

To export skinned shape (highpoly head)

$ nifhacks -s head.nif head.obj

To import changes back to nif. (Your .nif file will not be overwritten by default, expect changes in .nif.nif file)

$ nifhacks -s eyes.obj head.nif

Building

Aside from c++ build tools you'll need CMake and Conan

$ git clone --depth 1 https://github.com/Elvyria/nifhacks
$ cd nifhacks
$ mkdir build && cd build
$ conan install .. -s build_type=Release --build=missing
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ cmake --build . --config Release

About

Janky tool that (sometimes) get things done for your nif-needs

License:GNU General Public License v3.0


Languages

Language:C++ 99.9%Language:CMake 0.1%