Pyffi Release 2.2.4.Dev4 Amorilia
PyFFI Release 2.2.4.dev4 Amorilia Jan 06, 2020 CONTENTS 1 PyFFI 3 1.1 Download.................................................3 1.2 Developing................................................3 1.3 Testing..................................................4 1.4 Documentation..............................................4 1.5 Examples.................................................4 1.6 Questions? Suggestions?.........................................4 1.7 Documentation..............................................4 1.8 Indices and tables............................................ 267 Python Module Index 269 Index 271 i ii PyFFI, Release 2.2.4.dev4 Release 2.2.4.dev4 Date Jan 06, 2020 CONTENTS 1 PyFFI, Release 2.2.4.dev4 2 CONTENTS CHAPTER ONE PYFFI 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 FaceGen EGM format, the DDS format, and the TGA format. • Batteries included: Many tools for files used by 3D games, such as optimizers, stripifier, tangent space calcu- lator, 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. 1.1 Download Get PyFFI from Github, or install it with: easy_install-U PyFFI or: pip3 install PyFFI 1.2 Developing To get the latest (but possibly unstable) code, clone PyFFI from its Git repository: git clone--recursive git://github.com/niftools/pyffi.git virtualenv-p python3 venv source venv/bin/activate pip install-r requirements/requirements-dev.txt Be sure to use the –recursive flag to ensure that you also get all of the submodules.
[Show full text]