-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Labels
bugSomething isn't workingSomething isn't workingootHas to do with the Ocarina of Time 64 sideHas to do with the Ocarina of Time 64 side
Description
To reproduce try to import a player anim, gPlayerAnim_link_fighter_upper_pierce_kiru_end works for this error, I searched a bit it and looks like negative numbers is the issue? I'm not sure how it is supposed to work though, hence this issue
The error is inside getFrameData (oot_anim.py) in the frameData list when it tries to convert the str to an int, when it's a negative number (like "-0x00A2") it's reading "x0" for the first int value inside from_bytes
Traceback of the error
Traceback (most recent call last):
File "C:\Users\Yanis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\fast64\fast64_internal\oot\animation\operators.py", line 172, in execute
ootImportAnimationC(armatureObj, settings, actorScale)
File "C:\Users\Yanis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\fast64\fast64_internal\oot\animation\operators.py", line 97, in ootImportAnimationC
ootImportLinkAnimationC(
File "C:\Users\Yanis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\fast64\fast64_internal\oot\oot_anim.py", line 528, in ootImportLinkAnimationC
frameData = getFrameData(animFilepath, animData, frameDataName)
File "C:\Users\Yanis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\fast64\fast64_internal\oot\oot_anim.py", line 634, in getFrameData
frameData = [
File "C:\Users\Yanis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\fast64\fast64_internal\oot\oot_anim.py", line 635, in <listcomp>
int.from_bytes([int(value.strip()[2:4], 16), int(value.strip()[4:6], 16)], "big", signed=True)
ValueError: invalid literal for int() with base 16: 'x0'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingootHas to do with the Ocarina of Time 64 sideHas to do with the Ocarina of Time 64 side