Pherakki / BlenderToolsForGFS

A Blender plugin for importing and exporting GFS files.
GNU General Public License v3.0
20 stars 1 forks source link

BlenderToolsForGFS

A Blender 2.81+ plugin for importing and exporting GFS and GAP files.

A collection of preset materials, which you should use alongside this plugin to maximise your likelihood of a successful export, can be found in MadMax1960's GFD Asset Library repository.

README Table of Contents

Section Contents
Plugin Installation Important notes on plugin installation beyond regular addon registry.
Plugin Usage Important notes on using the plugin.
Limitations Plugin limitations.
Future Development Notes on the most important features that are missing from the plugin.
Acknowledgements Important acknowledgements of assistance and resources used in the development of this library.
Supported Formats Formats supported by the plugin.

Plugin Installation

The plugin comes bundled with documentation. In the source repository, this is just a LaTeX file plus the required images to build it, and the buttons in the Blender UI designed to open it will fail if you just install the addon from the develop branch. Therefore you have two options for install:

Plugin Usage

BlenderToolsForGFS makes a few idiomatic choices, such as, but not limited to:

You should read the documentation if you need to understand the idiomatic choices used to export data. You can use imported files as a reference to see how data is imported. There are many opportunites to open the documentation from within Blender by clicking the How to Use buttons on many of the data properties panels added by the plugin.

All data from the GFS or GAP file should be preserved from import to export, but not all of it will be represented in Blender. Most of the this data is stored as raw byte data on hidden properties inaccessible to the user. Use dedicated software such as GFD Studio to edit data the plugin is not capable of making accessible to the user.

Limitations

Known Bugs

Future Development

The highest-priority features are, in order of importance: 1) A custom Material Node that faithfully reproduces the material rendering. 2) Import and editability of material, camera, and morph animations. 3) Import, manipulation, and export of submodels in EPL data. 4) Import, manupulation, and export of the model data in EPL files.

Acknowledgements

This is a Blender importer for the GFS file format. The GFS format code has been heavily derived from GFD Studio, tge's 3DS Max importer, and the 010 Editor templates. Deep thanks are given to all those who have contributed to the understanding of the format.

Additionally, thanks to CherryCreamSoda, DeathChaos, DniweTamp, A Mudkip, ShrineFox, and tge for providing feedback on the plugin development and for assisting with the comprehension of aspects of the GFS file format.

Supported Formats

The status of the code is tabulated for the different filetypes and versions given in the sections below, with the following keys:

Key Status Definition
✔️ Supported Import/export is production-ready .
🟡 Partial Support An incomplete, but partially usable import/export operation exists.
Not supported Insufficient code exists for useful import/export.

GMD

Version Present In Import Export Notes
0x01104920 - 0x01105100 Persona 5 Royal (PC) 🟡 🟡 (1)

(1) There are several missing features, noted in Future Development, that would be necessary for full GFS support.