Shop Mobile More Submit  Join Login
[MMD] XNALara to MMD Model conversion guide (v1.1) by Riveda1972 [MMD] XNALara to MMD Model conversion guide (v1.1) by Riveda1972

It appears you don't have PDF support in this web browser. Download PDF

My way to export/import XPS models in MMD

Many mmd editors use to export the models in OBJ or X format, then import them in PMD/PMX Editor and re-rig them from scratch. A terribly hard and long work. This is a possible choice (actually the one choice) if your starting model doesn't have bones at all. Let's say, you find a Super Star Destroyer model, with no bones, just the 3d mesh and its textures. Yes, you have to convert & import it in PMX editor and then if you want to add some bones to control turrets, cannons, hangar bays and so on, you simply have to weight the parts of the mesh you're interested in.

But when you have a working skeleton yet, it's simply foolish to not use it and to rig the model again. OBJ/X format conversion looses model's bones. The way I'm going to show you avoids this issue and save a HUGE amount of time.
Still
this is not an easy task. There is no “From XPS to MMD in one click!” magic wand. XPS and MMD work differently, manage textures, morphs/expressions, lights and bones in different ways. Any model you convert from XPS to MMD will have some differences between the two environments.

This tutorial won't cover how to use Blender, how to use XPS or how to use PMX editor. I'll assume you have the very starting bases to install and use these apps. I'll show you what you need and the steps you have to follow to get a working PMX model, and how to save a lot of time without need to rig again a model from scratch, but you'll still need a lot of work to adjust the models you'll work on.

Finally, please take a look at “credits & rights” chapter. Always consider that most of XPS models have been extracted/ripped from videogames or converted from third parts original models. The operation of converting a model from its original format into MMD format doesn't absolutely make you “owner” of any right on the converted model (unless you're the original author yourself).
So, in the name of all gods, stop adding those stupid restrictive conditions like “don't edit / don't redistribute / dont' take parts” and so on, when sharing a third part converted model.
And in the name of all gods, please, NEVER, NEVER try to gain anything (including DA points) from distributing them.
Having converted it in PMX format doesn't make it yours!

UPDATED 26/12/2016
Added Hogarth-MMD's suggestions about "unused bones" removal and other useful scripts to remove non-diffuse textures before exporting the model from Blender into PMX format.
Corrected some errors (sorry for my poor english).

Credits about this guide:

Riveda1972 riveda1972.deviantart.com (author of this guide)
KammyYx
kammyyx.deviantart.com (Sarah Bryant mesh mod shown in the tutorial)
Hogarth-MMD
hogarth-mmd.deviantart.com
XNALara Italia
xnalaraitalia.deviantart.com for XPS

Programs used
:
Blender 2.76, PMX Editor 2.2, XPS 11, LibreOffice Writer, Corel Paintshop Photo PRO XII.

Notes:
Sarah Bryant
is an original character from Dead or Alive 5 videogame series and owns to Teamninja

:iconriveda1972: :iconkammyyx: :iconhogarth-mmd: :iconxnalaraitalia:

Add a Comment:
 
:iconmacadamstreet:
macadamstreet Featured By Owner 3 days ago
oh btw, where can i download your facial expression mod/pack ? cant find a link :/
Reply
:iconriveda1972:
Riveda1972 Featured By Owner 3 days ago
Here fav.me/d9ukqji

Please, note that this requires your model has the same facial bones, named in the same way, or it won't work :)

Here, also, you can fin the dictionary I use in XPS to automatically convert the bones names for the PMX/MMD standard bones names. fav.me/dafbzfm
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 3 days ago
nvm find it in the pdf :p
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 5 days ago
i have weird bug..

when i export from blender on pmx, the model didnt appear at all on pmx editor (like, at all, nothing)
if i export from blender into pmd, the model appear in pmx editor but its all black and semi-invisible...

i dont understand the problem.. textures are good and in right place, bones are here (still messed up , but thats not the problem)

any ideas how to fix that ?
Reply
:iconriveda1972:
Riveda1972 Featured By Owner 5 days ago
Does it not appear in PMX Editor but.... checking your materials list or bones list, has been imported anything, or those list are empty?
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 5 days ago
nope, everything is empty. its just like it didnt export anything at all. i only got an simple .pmx/.pmd file of some octets.


i make lots of scenery right now, and it export everything good for scenery.. thats weird, maybe the bones make a bug...
but i follow good tutorial and export from xna to blender and the bones appear later when i finish on blender. only the model didnt appear correctly (not at all, or all black/invisible like shadow)

i m gonna try again later and see if it work now. because its very strange that it work great for scenery but not models.
Reply
:iconriveda1972:
Riveda1972 Featured By Owner 4 days ago
For my experience when this occurs is when some bug affects the bones structure, yes. Sometimes it exports empty PMX files and sometimes it exports just one part of the whole model.
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 4 days ago
AWWWWWW !!

i find the problem :)

it was simple in fact. it was the material color setting that was wrong. it was

Opaque = 0
ambient = 0.8 (all 3 lines)

i fixed it by turning ambient into 1 and opaque to 1 :)
Reply
:iconriveda1972:
Riveda1972 Featured By Owner 4 days ago
Nice :D
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 4 days ago
haha now i make alots of port :D

i just have to find a way to fix the chicken legs (i follow tutorials but i cant figure how to "fix" the IK legs..

i need more practice XD
Reply
:iconriveda1972:
Riveda1972 Featured By Owner 4 days ago
XNA models don't have IK bones :) You have to add them manually. Or, at least, you could save a pure bones structure, with IK bones preset, then import it once you have completed the "tuning" of the model. IK bones are normally the last thing I import in a xna-converted model, infact.
Reply
:iconmacadamstreet:
macadamstreet Featured By Owner 3 days ago
that what i did... i did the rig/bones and then i copied some IK someone good have shared. i placed them adjust, but it look like its not "connected" to the model.

i have similar problem with another model i just tried, i imported the whole bones structure and adjust everything, but its lookli ke not connected to te body, soo the bones moves/dance in game (can see the model moving around) but the model itself stay idle. its like some cardboard thing XD

do you know a way to merge the bones to the model ? i checked some tutorials, but its not clear or not what i search
Reply
(1 Reply)
:iconmacadamstreet:
macadamstreet Featured By Owner 5 days ago
pmx exported model make something like 200-250 octets  of size (clearly not here)

pmd make 400+ ko of size (model is here but all black invisible)
Reply
:iconannebunny:
annebunny Featured By Owner Nov 19, 2017
it won't let me export the model.
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Nov 20, 2017
The most of times this occurs is due to some error in the bones structure
Reply
:iconwashi-pham:
Washi-Pham Featured By Owner Nov 6, 2017  Student Digital Artist
Somehow i can't use those scripts in Blender, maybe i didn't install it the right way, how did you install those scripts?
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Nov 7, 2017
Hi

First of all you have to put the folder with plugin scrips into the Blender plugin folder. Supposing you have Blender 2.78 64bit installed, your main addon directory is under:

C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\

This means that you have to put the plugin folders (with all of their files within) under this folder. You'll have something like this:

C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\blender26-meshio\
C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\XNALaraMesh\

the 1st contains the addon scripts to import/export PMD/PMX files into Blender
the 2nd one contains the the addon scripts to import/export XPS and .mesh files into Blender

Now... once you have put them here, you must activate them. Launch Blender, go to "File" menu and choose "User preferences". Under Addons import/export you should find the new added plugins under the list of import/export formats. Be sure to have them "checked", in order they work for you :)
Reply
:iconwashi-pham:
Washi-Pham Featured By Owner Nov 7, 2017  Student Digital Artist
got it, thank you so much
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Nov 8, 2017
you're welcome :D
Reply
:iconvideogameguy21:
videogameguy21 Featured By Owner Oct 19, 2017
Whenever I try to convert a model into pmx, it looks shiny when I load it into mmd (ik it's because of the diffuse or something). Any ideas on how to remove the diffuse/shine before or after converting the model?
Reply
:iconhogarth-mmd:
Hogarth-MMD Featured By Owner Nov 20, 2017
You can try just reducing the energy of the lamp in your scene.
Reply
:iconvideogameguy21:
videogameguy21 Featured By Owner Nov 20, 2017
Nevermind I figured out how to make the models non shiny
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Oct 19, 2017
Try looking at Hogart-MMD's blender scripts. He has made a lot of useful scripts to clean the differences between xps and mmd way of managing reflections and texturing
Reply
:iconvideogameguy21:
videogameguy21 Featured By Owner Oct 20, 2017
Okay. Thanks for the tip!
Reply
:iconpenny6:
Penny6 Featured By Owner Jun 23, 2017   Traditional Artist
I have a problem with the transparency textures in PMX.
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Aug 22, 2017
What kind of problem? :)

Consider that the most frequent issue is caused by "load order" of transparent textures. In PMX you should push all transparent/half-transparent materials on the bottom of material list, first of all or you won't see them correctly once loaded in mmd
Reply
:iconpenny6:
Penny6 Featured By Owner Aug 22, 2017   Traditional Artist
Never mined. I figured it out^^
Reply
:iconbuidoi8x:
buidoi8x Featured By Owner Apr 28, 2017
Thanks for you tutorial.
When I import to Pmx, Must I weight model again?

i.imgur.com/q2jOukM.png
Reply
:iconriveda1972:
Riveda1972 Featured By Owner May 25, 2017
No, the way I've explained is meant just to allow you to not re-weight the model, keeping safe bones and weights :)
Reply
:iconpekoetea:
PekoeTea Featured By Owner Edited Jan 30, 2017
I don't suppose you know what this error means do you? sta.sh/014yllgmhltm

It's my first try at converting a model when this error popped when I attempted to export it as a pmx
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Jan 30, 2017
It's a too common and frustrating issue with some XNA models. It means that something in the original model you're exorting doesn't work as expected, so the exporter script fails. I've read somewhere that the original model needs to be fixed before to try exporting it, but I haven't had the time yet to learn how, for now. :(
Reply
:iconpekoetea:
PekoeTea Featured By Owner Jan 30, 2017
So that means as of right now I can't convert that model? 
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Jan 30, 2017
I'm afraid yes. You should find what kind of issue the model has. Many models, for example, have issues with xna "root" bone, similar to mmd mothebone.
don't know actually how to fix it :(
Reply
:iconnyalinaa:
NyaLinaa Featured By Owner Edited Jan 17, 2017  Hobbyist Digital Artist
Hello =)
Thank you so much for your amazing help with this tutorial.
I'm trying to install the plugins into Blender, but I don't find any "plugin" folder in the directories of the programm. Do you speak about the "addons" or "addons_contrib" folders ?
I'm trying to install them but I don't understand how to do : copy and paste what to what ? Use the button "Install for file" in User Preferences in Blender (which actually does nothing, nor with the .zip nor with the setup.py of the plugin) ?

I used to export in mesh.ascii because my old blender supported it, then I exported it to Metasequoia, then in .x to MMD, before rigging everything by myself. It's quite hard, and I would like to spend less time in sub convertions.
Reply
:iconhogarth-mmd:
Hogarth-MMD Featured By Owner Dec 26, 2016
Here is a helpful Blender python script:
sta.sh/0fxuvo7kxz

This Blender python script cycles through all textures of all materials in the scene and disables all textures for each material except the first texture. Run this script from the Blender text editor before exporting an XNALara model to .pmx or .pmd. Then the textures of the exported model will display normally instead of appearing all black, for example.
Reply
:iconannebunny:
annebunny Featured By Owner Nov 19, 2017
where do I put it? In addons?
Reply
:iconhogarth-mmd:
Hogarth-MMD Featured By Owner Nov 20, 2017
It is a standalone script, not an add-on. You need to run it from the Blender text editor.
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Dec 26, 2016
I've also added this one, and of couse mentioned you in credits :)
Reply
:iconhogarth-mmd:
Hogarth-MMD Featured By Owner Dec 26, 2016
I think that one of the first steps to converting an XNALara model for MMD in Blender is to delete all "unused" bones and delete all "unused" vertex groups.
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Dec 26, 2016
Added you suggestion to guide :) Thanks
Reply
:iconhogarth-mmd:
Hogarth-MMD Featured By Owner Dec 26, 2016
MMD models in Blender
hogarth-mmd.deviantart.com/jou…

(I just added this link to my MMD models in Blender journal entry. Thanks so much for all your efforts, Rivedale. :-)
Reply
:iconjalmod:
Jalmod Featured By Owner Dec 26, 2016  Hobbyist General Artist
awwwwwesome La la la la La la la la La la la la 
Reply
:iconriveda1972:
Riveda1972 Featured By Owner Dec 26, 2016
Thanks :)
Reply
Add a Comment:
 
×

:iconriveda1972: More from Riveda1972





Details

Submitted on
December 25, 2016
File Size
1.0 MB
Link
Thumb

Stats

Views
5,153 (16 today)
Favourites
122 (who?)
Comments
47
Downloads
414 (1 today)
×