Blender 2.7x XPS tools 1.3

2 min read

Deviation Actions

johnzero7's avatar
2 New features.

Bone Rename to Blender Convention and I/O for animations!!

(Quick edit: added the button to reconstruct the original XPS bone name)

Bone Rename to Blender Convention
This new button XPS to Blender renames all the bones in the active armature to the Blender bone name convention.
Blender needs the bone names to follow certain naming convention for some functionalities. In this case the words .L and .R must be at the end of the name. If this words are in any other part of the name Blender can't identify them.
So this button simple cuts the word left and right from the name, reaplaces them with the place holder word *side* and adds the appropiate side indicator at the end.

The button Blender to XPS reconstrucs the original XPS bone name. It does so removing from the end the words .L and .R and replacing the placeholder *side* with words left or right

I/O for animations
Now the addonn can import and export sequences of poses!!

The button Poses to Keyframes will import a sequence of poses as keyframes. The poses must end with a numeric sequence, for example run001.pose. In the pose select window you can select any file of the sequence and Blender will import them all in the order the are numbered.
The poses will be imported as Keyframes starting from your current position in the timeline.

The Frames to Poses Button will export every single frame of the active armature as a sequence of poses. Change the timeline range of frames to choose witch frames to export. The poses will be numbered with the same number of the frame. 

Also uploaded the addon to github if you are interested

Look for this, the latest and previous versions of the addon here.…
© 2014 - 2021 johnzero7
Join the community to add your comment. Already a deviant? Log In
alvarobmk123's avatar
I use Blender 2.72b but when I import a model it shows me incomplete, I mean it only shows me some parts, like arms. Why is that?
johnzero7's avatar
What version of the addon are you using?
The addon, from version 1.5, requieres blender 2.74
alvarobmk123's avatar
Never mind, I downloaded v1.1 and have Blender v2.72b. It is now working.
ubaidpks's avatar
Blender folder to install files on?
johnzero7's avatar
No, follow the instruction in this guides to install addons on blender.……
Mikey186's avatar
I was exporting a prop until I got this error when exporting a XPS Binary

Traceback (most recent call last):
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 172, in execute
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 79, in getOutputFilename
   xpsExport(filename, modProtected)
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 62, in wrap
   ret = f(*args)
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 121, in xpsExport
   xpsMeshes = exportMeshes(selectedArmature, selectedMeshes, modProtected)
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 174, in exportMeshes
   meshName = makeNamesFromMesh(mesh)
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 196, in makeNamesFromMesh
   renderType = xps_material.makeRenderType(meshFullName)
 File "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\XNALaraMesh\", line 402, in makeRenderType
   if not math.isnan(specularityFloat):
TypeError: a float is required

location: <unknown location>:-1

johnzero7's avatar
looks like you are missing the specularity value in the mesh name.
you will need to add the specularity and the micro bump repeater values

if you have something like
you must rename to
LaraThaRaider's avatar
Im having the same problem. how can ido that?
johnzero7's avatar
Its the name of the mesh you need to change to solve this problem.
Or download the latest version (currently 1.3.2). It will complete this value if you miss it.
OathToMadness's avatar
Awesome work dude. Great to have an importer working with the newest version of Blender.
hashirbutt's avatar
its not working with blender 2.72b
johnzero7's avatar
Oops, my mistake.

Download again. It should work this time.
hashirbutt's avatar
thanx my friend it worked thank u very much...............
sebaselciclon's avatar
Been trying to use the Animation importer, but havent been able to get any results. I use a model in XNAlara, and create to animation steps (very simple, one standing and the other looking down: just to experiment). I save both animation steps as "test001" and "test002". Then I go to blender, import the same model, and then try to import the animation. But nothing happens, no matter what I try I cant import the animation... I am not sure I entirely understand how this is used?.

Anyway, a great tool for Blender! Thank you for sharing.
johnzero7's avatar
I uploaded the guide to import/export pose sequences

Hope it helps
Join the community to add your comment. Already a deviant? Log In