Shop Forum More Submit  Join Login
REQUIRES BLENDER 2.74 AND UP

What's new:
new file format NGFF.
fixed error with multiple UV maps seam spliting.
micro bump texture displacement.
new render groups compability (42/43)
added mask to groups 26/27 and 28/29

Updated the RG list with this changes
docs.google.com/spread…


What is NGFF file format?
Is the new file format currently in development for XPS. Basically is an OBJ with a few features added, such as armatures and vertex color. And just as .mesh.ascii the new file format is composed be text files that can be modified in any text editor.
For more info about the this format check NewGenericFileFormat by XNAaraL

Try playing with this new format, but keep in mind that it's under development, future changes can break compatibility. If you want to keep a model safe, stick to .xps / .mesh / .mesh.ascii


Download, enjoy, and don't forget to share your creations!!!

Download:
Look for this, the latest and previous versions of the addon here.
www.mediafire.com/folder/76g7r…
Each File is a different version of the addon. Recommend to just download the latest.
RenderGroupTester.zip is a model that displays all the rendergroups in the same model, it as also ben updated to include the recent changes in the RGs.


Github

github.com/johnzero7/xps_tools



Don't know how to import models? or how to install? CHECK THIS GUIDE!
XPS to Blender 2.7x(Blender internal the easy way)

Don't know how to export models? or how to install? CHECK THIS GUIDE!
Blender to XPS(blender 2.7x Internal materials)

Whant to import/export animation/poses? CHECK THIS GUIDE!
XPS, Blender, poses and animation
Add a Comment:
 
:icontheblendertaper:
TheBlenderTaper Featured By Owner Nov 30, 2018  Hobbyist Artist
hope support for Blender 2.8 will happen in the future.  upgraded from 2.79b to 2.8 to see the differences between that and the previous version.  when i installed the recent xps tool on 2.8 it gives me an error saying that an upgrade to 2.8x required.
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Dec 1, 2018
Just released the update for Blender 2.80 Beta. Enjoy
Reply
:iconflyethemoon:
FlyeThemoon Featured By Owner Sep 19, 2018
I got now win10 When try import any! xps model in blender ive errors
Error by FlyeThemoon  
When used before win7 never happend.
ive downloaded xps tools from Github
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Sep 19, 2018
The master branch requieres blender 2.79. If you dont want to update blender then you need to uninstall the curren addon and download release 1.8.4
Reply
:iconrogan256:
Rogan256 Featured By Owner Apr 11, 2018  Hobbyist Filmographer

I’ve investigated this problem and it is indeed the line 581 in import_xnalara_model.py:

mesh_da.vertex_colors[0].data[loopdId].color = vertColors[faceVert]

The API was changed, and now the color must be specified with 4 values (R, G, B, Alpha) instead of 3.

(My guess is that they set Alpha to 1 by default before).

I replaced the problematic line with the following code:

                vc3 = vertColors[faceVert]               

                vc4 = ( vc3[0], vc3[1], vc3[2], 1 )

                mesh_da.vertex_colors[0].data[loopdId].color = vc4

Now it works again. (I created a new array with 1 additional value and pass that)

Reply
:iconjohnzero7:
johnzero7 Featured By Owner Apr 14, 2018
Nice work!
I also fixed this in a more recent versions (currently v1.8.4)

I don't plan to suppport experimental versions of blender. I am waiting for Blender 2.8 beta at least
Reply
:iconrogan256:
Rogan256 Featured By Owner Apr 11, 2018  Hobbyist Filmographer
It worked fine with 2.79.
But it stops working with 2.79.4 (2.79b, lastest version).
During XPS import:

====================================================

---*** Importing Mesh 4_mesh_0.1_0_1 ***---
UV Layer Count: 1
Texture Count: 2
Created Mesh: 4_mesh_0.1_0_1
New Mesh = 4_mesh_0.1_0_1
Traceback (most recent call last):
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\xps_tools.py", line 141, in execute
   status = import_xnalara_model.getInputFilename(xpsSettings)
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 172, in getInputFilename
   status = xpsImport()
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\timing.py", line 12, in wrap
   ret = f(*args)
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 290, in xpsImport
   meshes_obs = importMeshesList(armature_ob)
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 651, in importMeshesList
   for meshInfo in newMeshes]
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 651, in <listcomp>
   for meshInfo in newMeshes]
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 783, in importMesh
   makeUvs(mesh_da, origFaces, uvLayers, vertColors)
 File "E:\Users\Rogan\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 581, in makeUvs
   mesh_da.vertex_colors[0].data[loopdId].color = vertColors[faceVert]
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3

====================================================

I can import the exact same mesh in 2.79 without any problems. So I guess they changed something in the API, as the error message suggests (expects 4 items instead of 3).
Reply
:icongamerz31w:
Gamerz31w Featured By Owner Mar 30, 2018  Hobbyist Artist
Will this plugin work in Blender 2.79 version?
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Mar 30, 2018
Haven't test it.
Download the latest version to be sure. Currently v1.8.4 it works with blender 2.79
Reply
:icongamerz31w:
Gamerz31w Featured By Owner Mar 30, 2018  Hobbyist Artist
It's working fine to me.
Reply
:iconpicori-suzuki:
picori-suzuki Featured By Owner Feb 23, 2018
Thanks!
Reply
:iconmbmichael1:
mbmichael1 Featured By Owner Jan 24, 2018
how to instal this?
Reply
:iconadoggo:
adoggo Featured By Owner Aug 19, 2017  Hobbyist Digital Artist
Thanks so much~
Reply
:icontheforgottensaint47:
TheForgottenSaint47 Featured By Owner Feb 11, 2017  Student Digital Artist
Next version, will you do an importer for NGFF?
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Feb 12, 2017
I already has.
It's in: File->Import->XPS NGFF (.obj)
Reply
:icontheforgottensaint47:
TheForgottenSaint47 Featured By Owner Feb 12, 2017  Student Digital Artist
It can't import XPS shader?
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Feb 12, 2017
No, it's just a different format. The functionality is similar to the .mesh/.ascii/.xps formats, but using OBJ.

Due to the use of the OBJ, the materials may end up being slightly different from what you expect. This will happen even if you export the model using the Blender addon or from XPS itself.

Since the NGFF format is based on OBJ, other application may be able to import the model but without the armature.
Reply
:icontheforgottensaint47:
TheForgottenSaint47 Featured By Owner Feb 12, 2017  Student Digital Artist
:nod: Thank for explain me

Um... About one thing, this is not about your script, but could you explain me detail (With some pics if possible) I have tried many ways to combine mesh parts to make meshmod on Blender 2.7x, I follow same way with Blender 2.49, but it never works. I can't understand, on Blender 2.49 everything is fine...
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Feb 19, 2017
I made a quick video showing how to add a prop to a model using Blender 2.78.
youtu.be/kV6znsNDdCo

If you want to make something like a dress, check the tutorials made by DragonLord720

Hope this helps
Reply
:icontheforgottensaint47:
TheForgottenSaint47 Featured By Owner Feb 23, 2017  Student Digital Artist
:D (Big Grin)  Wow awesome!
I'm using Blender 2.76, there is abit different but I got it

:D (Big Grin) Thank you very much!
Reply
:iconselpiere:
Selpiere Featured By Owner Jan 25, 2017
Hi, I'm getting a variation of errors on the bytes object of length, thanks for your work

Reading Header
Reading Bones
Traceback (most recent call last):
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\xps_tools.py", line 141, in execute
   status = import_xnalara_model.getInputFilename(xpsSettings)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 172, in getInputFilename
   status = xpsImport()
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\timing.py", line 12, in wrap
   ret = f(*args)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 267, in xpsImport
   xpsData = loadXpsFile(xpsSettings.filename)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\import_xnalara_model.py", line 198, in loadXpsFile
   xpsData = read_bin_xps.readXpsModel(filename)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\read_bin_xps.py", line 297, in readXpsModel
   bones = readBones(ioStream)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\read_bin_xps.py", line 207, in readBones
   boneName = readFilesString(file)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\read_bin_xps.py", line 17, in readFilesString
   lengthByte1 = bin_ops.readByte(file)
 File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\bin_ops.py", line 32, in readByte
   number = struct.unpack(TypeFormat.Byte, numberBin)[0]
struct.error: unpack requires a bytes object of length 1

location: <unknown location>:-1
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Jan 25, 2017
Seems there is something wrong in the model file.

Try opening it in XPS. If it works, save a new file going to Modify->Save Generic_Item ...
Then import the new model file in blender.
Reply
:iconiammortui:
IamMortui Featured By Owner Jan 6, 2017  Hobbyist General Artist
I'm stupid, but how do I install this? I can't seem to get it to work.
Reply
:iconfuzzy-moose:
Fuzzy-Moose Featured By Owner Nov 2, 2016  Hobbyist General Artist
I've tried this script, and it doesn't work. For starters, the XPS files it exports from blender are stuck with the 58 bone limit, and when imported XPS prevents the meshes with more than 58 bones from importing. Also, the actual mesh of the model being imported is invisible, and causes XPS to crash when you try to edit its materials. 
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Nov 5, 2016
The addon has no limit on anything. The 58 bone limit is from the version of XPS you are using. Update to XPS 11.8

Check the guide I made to export models. There you will find the cause of the invisible meshes. XPS crashing by the same cause.
Reply
:icondabnis-sinbad:
Dabnis-Sinbad Featured By Owner Oct 6, 2016  Student Digital Artist
Thank you for such an important tool and program.  Just updated to Blender 2.78 and
the program still works flawlessly.  :) (Smile) 
Reply
:iconschoolbomb:
schoolbomb Featured By Owner Edited Aug 22, 2016
Ooh an update!!! I love your addon, it saves me a ton of time. 

Sorry if it sounds like a silly question, but is there a way to manually designate the nodetree that is used when this addon applies materials to Cycles? Don't get me wrong, the default nodetree that you created is great, and it was invaluable in getting started with XPS/Blender. However, now that I have a bit more understanding of Blender, I would like to venture into manually creating my own nodes, but still keep the convenience of materials getting added automatically when hitting "all materials to cycles". Is it possible, or is it just a dream lol
Reply
:iconjohnzero7:
johnzero7 Featured By Owner Aug 24, 2016
Sorry, but there is no way too change the default node tree used for the materials conversion. You can modify the node tree after the cycles material has been created, but the changes must be made to each material individually.

You could create a node group to reuse the same configuration in different materials and do less work.
Reply
:icondefault-cube:
default-cube Featured By Owner Nov 9, 2017
When you create a set of default materials, you could use a common node group in all of them. That way, the user only has to redefine the node group to change the characteristics of all the materials at once.

I use this technique in the Cycles version of my Gimp Palettes addon.
Reply
:iconschoolbomb:
schoolbomb Featured By Owner Aug 25, 2016
Thanks for the reply. Do you know of a good way to get DAZ models into Cycles, with their materials, textures, and armature intact? Similar to how this script works with xnalara
Reply
:iconjakerockwell:
jakerockwell Featured By Owner Aug 22, 2016
Thank you for the update!
Reply
Add a Comment:
 
×

:iconjohnzero7: More from johnzero7





Details

Submitted on
August 21, 2016
Link
Thumb

Stats

Views
32,250 (8 today)
Favourites
72 (who?)
Comments
33