pyffi /
name age message
file .gitignore Fri Apr 10 04:36:04 -0700 2009 Eol fixes and .gitignore. * Added new fix.sh s... [amorilia]
file AUTHORS.rst Sun Apr 12 06:58:58 -0700 2009 Reformatted all old .TXT docs to restructured t... [amorilia]
file CHANGELOG.rst Loading commit data...
file CONTRIBUTE.rst Sun Apr 12 12:33:38 -0700 2009 Shorter titles for contribute page. [amorilia]
file INSTALL.rst Sat May 02 02:16:12 -0700 2009 Fixed references to renamed pyffi module. [amorilia]
file LICENSE.rst Sat May 02 02:16:12 -0700 2009 Fixed references to renamed pyffi module. [amorilia]
file MANIFEST.in Sat May 02 02:48:50 -0700 2009 Fixed MANIFEST includes for renamed modules. [amorilia]
file README.rst Sun Apr 12 11:10:04 -0700 2009 Grammatical fix in README. [amorilia]
file THANKS.rst
file TODO.rst Sat May 02 01:34:49 -0700 2009 Fixed links to renamed pyffi module. [amorilia]
file cleaninstall.sh
directory docs-sphinx/
file epydoc-sphinx.patch Sun Apr 26 07:45:03 -0700 2009 Epydoc patch updated to recognize all of the sp... [amorilia]
directory examples/ Sat May 02 01:34:49 -0700 2009 Fixed links to renamed pyffi module. [amorilia]
file fix.sh Sat Nov 28 09:32:29 -0800 2009 Renamed eol fix script. [amorilia]
file install.bat Tue Apr 14 14:00:14 -0700 2009 Converted some remaining CRLF text files to LF.... [amorilia]
file makensis.py
file makepy3k.sh
file makezip.bat
file makezip.sh
directory pyffi/
file pylintrc Fri Apr 10 01:41:14 -0700 2009 Removed "pyffi" directory and moved files to ro... [amorilia]
file rundoctest.bat Tue Apr 14 14:00:14 -0700 2009 Converted some remaining CRLF text files to LF.... [amorilia]
file rundoctest.py Sat May 02 02:47:25 -0700 2009 Fixed links to renamed format modules. [amorilia]
file runparsetest.py Sat May 02 02:47:25 -0700 2009 Fixed links to renamed format modules. [amorilia]
directory scripts/ Sat May 02 02:47:25 -0700 2009 Fixed links to renamed format modules. [amorilia]
file setup.py
directory tests/
directory todo/ Sat May 02 02:47:25 -0700 2009 Fixed links to renamed format modules. [amorilia]
directory utilities/ Fri Apr 10 01:41:14 -0700 2009 Removed "pyffi" directory and moved files to ro... [amorilia]
directory win-install/
README.rst

The Python File Format Interface, briefly PyFFI, is an open source Python library for processing block structured binary files:

  • Simple: Reading, writing, and manipulating complex binary files in a Python environment is easy! Currently, PyFFI supports the NetImmerse/Gamebryo NIF and KFM formats, CryTek's CGF format, the DDS format, and the TGA format.
  • Batteries included: Many tools for files used by 3D games, such as a stripifier, tangent space calculator, 2d/3d hull algorithms, inertia calculator, as well as a general purpose file editor QSkope (using PyQt4), are included.
  • Modular: Its highly modular design makes it easy to add support for new formats, and also to extend existing functionality.

Download

Get PyFFI from Sourceforge, or install it with:

easy_install -U PyFFI

To get the latest (but possibly unstable) code, clone PyFFI from its Git repository. If you wish to code on PyFFI and send your contributions back upstream, get a github account and fork PyFFI.

Examples

Questions? Suggestions?

  • Open an issue at the tracker.
  • Or visit the #niftools channel on FreeNode.