Skip to content

Import issue with multi-clump DFF models and texture linking differences #369

@MadGamerHD

Description

@MadGamerHD

Hi DragonFF team i dont mean to bother you,

I’m experiencing issues importing certain DFF models that contain multiple clumps, such as the CJ torso model, which includes three clump sets for thin, medium, and fat weights.

Currently, the tool only imports the first clump and ignores the others. When attempting to import the full model, the following error message appears:

Python: Traceback (most recent call last): 
  File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\gui\dff_ot.py", line 389, in execute
    importer = dff_importer.import_dff(
  File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_importer.py", line 899, in import_dff
    dff_importer.import_dff(options['file_name'])
  File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_importer.py", line 839, in import_dff
    self.import_frames()
  File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_importer.py", line 744, in import_frames
    obj = bpy.data.objects.new(frame.name, None)
TypeError: BlendDataObjects.new(): error with argument 1, "name" -  Function.name doesn't support None from string types

Additionally, I’ve noticed that the textures on these models are linked differently than in typical DFF files. It seems the textures are referenced in an alternate way that the importer doesn’t currently handle correctly.

Could you please look into:

  • Supporting the import of all clumps in multi-clump DFF models so the full model imports properly.
  • Fixing the texture linking to correctly load these alternatively referenced textures.

The textures on this model don’t work like typical DFF files. They seem to be linked differently—possibly referenced in an alternate way that the importer currently doesn’t support.

Could you please investigate the following:

  • Enable importing all clumps in multi-clump DFF models, instead of just the first clump, so the entire model imports correctly.
  • Fix the texture linking to properly handle these alternate texture references, ensuring all textures load as expected.

“Thanks in advance! If you need any additional information, please let me know and I’ll be happy to provide it.”

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions