• Stars
    star
    184
  • Rank 209,187 (Top 5 %)
  • Language
    C++
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

FBX File Format Converter

Fbx Format Converter

This project allows you to convert binary fbx files to asciis and vice versa. This is especially useful when trying to import fbx files into blender since blender cannot read ascii FBX files.

Features

  • Single file conversion between binary and ascii
  • Batch folder conversion
  • Single file/folder query

To build:

Conversion:

If you want to convert an ascii file into a binary one or vice versa.

FbxFormatConverter.exe -c <filepath|folderpath> [-o <filepath|folderpath>] {-ascii|-binary}

  • -c : convert the file/folder specified
  • -o : (optional) the outputpath for the converted files, if not supplied then the source file will be overwritten
  • -binary/-ascii : the required output file format. Only one is allowed.

Query:

If you want to find out if an FBX file is an ascii or a binary file.

FbxFormatConverter.exe -q <filepath|folderpath>

  • -q : query the file/folder specified

Examples

If you want to covert file "anim_temp_final_0_v2.fbx" to binary.

FbxFormatConverter.exe -c "c:\anim_temp_final_0_v2.fbx" -binary

If you want to convert all the files in folder a to ascii and store the converted files in folder b:

FbxFormatConverter.exe -c "c:\a" -o "c:\b" -ascii

If you want to know if file "dancingbaby.fbx" is a binary file.

FbxFormatConverter.exe -q "c:\dancingbaby.fbx"

Notes:

This project uses CmdParser ( https://github.com/FlorianRappl/CmdParser )