Skip to content

Issue when importing environment files(??) from Lights Camera Pants Xbox #384

@spongeis5

Description

@spongeis5

they were extensionless when exported but could be read by rwanalyze when given dff format.

File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\gui\dff_ot.py", line 278, in execute
importer = dff_importer.import_dff(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\ops\dff_importer.py", line 859, in import_dff
dff_importer.import_dff(options['file_name'])
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\ops\dff_importer.py", line 820, in import_dff
self.dff.load_file(file_name)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\gtaLib\dff.py", line 2272, in load_file
self.load_memory(content)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\gtaLib\dff.py", line 2251, in load_memory
self.read_uv_anim_dict()
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\DragonFF-multi-mesh\gtaLib\dff.py", line 2228, in read_uv_anim_dict
for i in range(num_anims):
^^^^^^^^^
UnboundLocalError: cannot access local variable 'num_anims' where it is not associated with a value

drive link to files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions