Skip to content
New issue

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

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

Already on GitHub? # to your account

Datatype sizes are too small for some models #10

Closed
bartteunis opened this issue May 13, 2021 · 1 comment
Closed

Datatype sizes are too small for some models #10

bartteunis opened this issue May 13, 2021 · 1 comment
Labels
format change This issues might require a change to the format wontfix This will not be worked on

Comments

@bartteunis
Copy link
Member

struct.error: ubyte format requires 0 <= number <= 255

Throws an unhandled error when exporting:

Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\blender-to-smf\__init__.py", line 108, in execute
    return export_smf(self, self.filepath, context, self.export_textures, self.export_nla_tracks, self.export_type, self.mult, self.subdivisions)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\blender-to-smf\smf.py", line 176, in export_smf
    rig_bytes.extend(pack('B',len(bones)))                      # nodeNum
struct.error: ubyte format requires 0 <= number <= 255

location: <unknown location>:-1

This is the case for the node number, the number of animations and the number of textures.

@bartteunis
Copy link
Member Author

@bartteunis bartteunis added the wontfix This will not be worked on label Jul 20, 2021
@bartteunis bartteunis added the format change This issues might require a change to the format label Jan 8, 2022
@bartteunis bartteunis mentioned this issue May 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
format change This issues might require a change to the format wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant