Skip to content

SimoSbara/dff_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dff_converter

Description

RenderWare DFF+TXD converter to multiple standard 3D formats. During the conversion it will preserve UV coordinates, normals and multiple materials and texture images.

It can convert to:

  • GLTF without .bin file;
  • more coming...

Libraries used:

  • LodePNG for png encoding/decoding;
  • Edited RWTools for renderware DFF and TXD encoding/decoding;
  • TinyGLTF for writing/reading a GLTF model.

Applications

  • rwparser, an android library for parsing and converting Renderware dff and txd.

Before build

Pull tinygltf external: git submodule init && git submodule update

Build on Linux or MacOS

  • Create a build folder and go in it: mkdir build && cd build
  • Run CMake: cmake ..
  • Run Make: make install
  • The output is inside the main folder bin/

Build on Windows

I generally use Visual Studio 2019+ for CMake. Just open the main folder on VS and make it run, select Debug or Release config and compile or install. That's it!

Requirements for Devs

  • CMake 3.0.0+
  • C++17

Todo list

  • GLTF bones conversion
  • FBX conversion
  • OBJ+MTL conversion

About

Renderware DFF+TXD converter

Resources

Stars

Watchers

Forks

Packages

No packages published