Skip to content

Unable to walk NIF, string too long #36

@psi29a

Description

@psi29a

@niftools/pyffi-reviewer

Issue Overview

 Error with ../../../Private/UIX/UIX FILES/Data Files/Meshes/TOE/RedMoonGa01.NIF: ('string too long (0xB43A827B at 0x0000BFE8)',)
 Error with ../../../Private/UIX/UIX FILES/Data Files/Meshes/TOEspy/BlueMoonGa01.NIF: ('string too long (0xB43A827B at 0x0000BFE9)',)
 Error with ../../../Private/UIX/UIX FILES/Data Files/Meshes/TOEspy/Card_Explosion.NIF: ('string too long (0xBF800000 at 0x0000B3DD)',)
 Error with ../../../Private/UIX/UIX FILES/Data Files/Meshes/TOEspy/XCard_Explosion.nif: ('string too long (0xBF800000 at 0x0000B2EE)',)

There are at least 4 files that can't be walked due to a string being too long. I'm not sure if this is a problem the NIF or with pyffi. The only thing in common is that they were created by the Bethesda plugin in 3DSMax.

Version Information

Pyffi Version Info

2.2.2

Platform information

Ubuntu (16.10) Linux

Context

I was running nifwalk over all NIFs I planned on releasing to make sure I had all the resources.

Steps to Reproduce

from pyffi.formats.nif import NifFormat
NifFormat.walkData(nif_path)

raise ValueError

Expected Result

an NIF object that I can iterate over

Actual Result

Error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions