GitHunt
TC

tcoppex/dojima

⚒ Tools to convert Way of the Samurai 3 & 4 NIF files to glTF 2.0.

unlicense
language: c++17
Stage: alpha

⚒ Dojima

Dojima is a command line tool to convert NetImmerse / Gamebryo NIF files from the games « Way of the Samurai » 3 and 4 to glTF 2.0.

Features

  • mesh hierarchy (Maps, Characters),
  • float16 buffers (Maps, Items, Accessories & Weapons),
  • materials,
  • bones,
  • skeletal animation,
  • facial animation

Quick start

# Clone the project.
git clone https://github.com/tcoppex/dojima

# Compile using Ninja as generator (optional).
cmake dojima -B BUILD/dojima -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build BUILD/dojima

# Run the cli converter.
#./dojima/bin/nif2gltf $WOTS4_PATH/Common/Character/Model/Pack/Dojima01.nif

Acknowledgment

Dojima is shipped with modified versions of its third parties in accordance to their
respective license. They are :

The games Way of the Samurai are available on steam here and here.

Unlicense

Dojima is released under The Unlicense.

Languages

C++100.0%

Contributors

The Unlicense
Created January 11, 2022
Updated September 19, 2025
tcoppex/dojima | GitHunt