Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

niftoaster error - type object 'NifFormat' has no attribute 'BSTriShape' #52

Open
3blake7 opened this issue Mar 28, 2018 · 3 comments
Open

Comments

@3blake7
Copy link

3blake7 commented Mar 28, 2018

@niftools/pyffi-reviewers

Issue Overview

Update check_centerradius for BS

Version Information

Pyffi Version Info

[version number]
Run the following command if it is installed.
python -c "import pyffi; print(pyffi.version)"

Platform information

I have latest PyFFI clone from git, compiled from source on Windows 10 with 32-bit Python 3.6.

Context

I have a bunch of NIFs that need their Bounding Spheres corrected. I was looking for some software that could do it. SSE NIF Optimizer supposedly has that feature but I tried it and the Bounding Spheres were unchanged. I found PyFFI and niftoaster and niftoaster has the spell check_centerradius which I believe will update the Bounding Sphere if all the vertices aren't inside it.

Steps to Reproduce

Run the check_centerradius on the provided file

Expected Result

The nif to be updated with the new bounding sphere where the vertices are read from the new block structure

Actual Result

[Describe what you currently experience from this process, and thereby explain the bug]

Possible Fix

[Optional, suggest fixes, improvement or reasons for the bug might have occurred]

Screenshot

[If relevant, include a screenshot]

Logs and Files

https://github.com/niftools/pyffi/files/1857827/bookset08.zip

Console Output

I get the following error:

pyffi.toaster:INFO:toasting with 8 threads in chunks of 256 files pyffi.toaster:45952:INFO:=== C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\meshes\Nix_Manor\run\bookset08.nif === pyffi.toaster:45952:ERROR:FAILED ON C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\meshes\Nix_Manor\run\bookset08.nif - with the follow exception pyffi.toaster:45952:ERROR:EXPT MSG : type object 'NifFormat' has no attribute 'BSTriShape' pyffi.toaster:45952:ERROR:If you were running a spell that came with PyFFI pyffi.toaster:45952:ERROR:Please report this issue - https://github.com/niftools/pyffi/issues

I'm running SSE btw.

Similar Known Issues

requires updating to nif.xml that support BSTriShape
dependency #21

Additional Information

[Anything else you feel is relevant]

@3blake7 3blake7 changed the title check_ niftoaster error ype object 'NifFormat' has no attribute 'BSTriShape' Mar 28, 2018
@3blake7 3blake7 changed the title niftoaster error ype object 'NifFormat' has no attribute 'BSTriShape' niftoaster error - type object 'NifFormat' has no attribute 'BSTriShape' Mar 28, 2018
@3blake7
Copy link
Author

3blake7 commented Mar 28, 2018

bookset08.zip

@neomonkeus
Copy link
Member

@fractalfederation The version of pyffi you ran against doesn't currently support the version of the nif format that you are trying to optimize. In order to bump up to the latest version of our format description "nif.xml", there are several features improvements that need to be made, covered by other tickets, eg #21

@3blake7
Copy link
Author

3blake7 commented Mar 29, 2018

downloaded latest nif.xml and now getting the hfloat error

@3blake7 3blake7 closed this as completed Mar 29, 2018
@neomonkeus neomonkeus reopened this Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants