Skip to content

A Node addon for fetching texture related data from each shape in a NIF file.

License

Notifications You must be signed in to change notification settings

pappnu/nif-textures-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nif Textures Reader

A Node addon for fetching the index, name, texture paths, material path and wet material path from each shape in a NIF file (Gamebryo/NetImmerse File Format).

Installation

Node-addon-api and CMake.js are required for compiling. If they aren't already present, install them:

npm install --save-dev node-addon-api cmake-js

Install this package with:

npm install pappnu/nif-textures-reader

Usage

import { nifTexturesReader } from 'nif-textures-reader';

let shapes = nifTexturesReader.read('path/to/file.nif');
console.log(shapes);

C++ libraries used

License

MIT for all parts that don't fall under nifly's GPL-3.0.

About

A Node addon for fetching texture related data from each shape in a NIF file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published