HOME | DD

Riveda1972 — [MMD] XNALara to MMD Model conversion guide (v1.1)

#blender #conversion #mmd #model #pmx #tutorial #xps #mikumikudance #xnalara #pmxeditor
Published: 2016-12-26 02:57:11 +0000 UTC; Views: 101729; Favourites: 443; Downloads: 2020
Redirect to original
Description

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


Related content
Comments: 130

Hogarth-MMD In reply to ??? [2022-02-15 08:07:27 +0000 UTC]

👍: 0 ⏩: 0

Riveda1972 In reply to ??? [2022-02-15 07:22:59 +0000 UTC]

👍: 0 ⏩: 0

Captain-Kerfuffle [2021-09-20 05:47:55 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to Captain-Kerfuffle [2021-09-20 11:06:19 +0000 UTC]

👍: 1 ⏩: 1

Captain-Kerfuffle In reply to Riveda1972 [2021-09-20 16:40:50 +0000 UTC]

👍: 0 ⏩: 0

PwN3Rship [2021-03-07 07:26:19 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to PwN3Rship [2021-03-11 12:08:15 +0000 UTC]

👍: 0 ⏩: 0

orbots8 [2020-11-08 23:20:41 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to orbots8 [2020-11-17 09:56:18 +0000 UTC]

👍: 0 ⏩: 0

Tysondragon [2020-06-17 17:11:07 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to Tysondragon [2020-06-17 21:59:40 +0000 UTC]

👍: 0 ⏩: 1

Tysondragon In reply to Riveda1972 [2020-06-17 22:13:34 +0000 UTC]

👍: 0 ⏩: 0

SlytherinJess [2020-06-09 19:13:37 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to SlytherinJess [2020-06-09 19:43:48 +0000 UTC]

👍: 0 ⏩: 0

SoraJakeBlade [2020-03-18 18:41:51 +0000 UTC]

my blender doesnt have the section to import XPS

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2020-03-18 21:47:18 +0000 UTC]

You have to install the XPS import/export plugin first

👍: 0 ⏩: 1

SoraJakeBlade In reply to Riveda1972 [2020-03-18 22:13:06 +0000 UTC]

i did  i got that part sorted but it still wouldnt let me convert to PMX 

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2020-03-18 22:16:47 +0000 UTC]

have you installed the pymeshio plugin too?

👍: 0 ⏩: 1

SoraJakeBlade In reply to Riveda1972 [2020-03-18 22:29:00 +0000 UTC]

yep i downloaded all the parts needed i went to export a model but it wouldnt highlight pmx this is the model i was trying to export mainly the outfit to use in pmx 

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2020-03-19 09:12:45 +0000 UTC]

have you selected it before goingo to file > export > pmd/pmx ?
does blender give you any error message?

👍: 0 ⏩: 1

SoraJakeBlade In reply to Riveda1972 [2020-03-19 14:11:39 +0000 UTC]

no it doesnt i selected the whole model and PMX still didnt highlight it

👍: 0 ⏩: 0

cilline [2019-11-03 10:40:28 +0000 UTC]

Yo! I know it's been a while since this post was made, but I've recently been on a hiatus in the MMD Community [and in dA in general] and I'm slowly coming back from it.

I actually used several plugins to help me export the .xps file into .pmx [or even to .pmd out of desperation lol], but I always get a traceback error. Likely due to some of the bones having different names, based on what I've been reading in this thread. The last plugin I haven't tried is powroupi's mmd_tool, the updated version of sugiany's mmd_tool, and it's because it doesn't even want to let me export the file for some reason. The option to export using the updated mmd_tool is grayed out for some reason.

I saw that it fixed some of the traceback issues when it comes to exporting using powroupi's plugin, but I can't even try it when it won't let me ;~;
Maybe you can help me out? And some others that might encounter the same problem? Thanks!

    

👍: 0 ⏩: 1

Riveda1972 In reply to cilline [2019-11-04 10:29:36 +0000 UTC]

With some models, pymeshio just refuses to export them, or exports only some parts. I'm not sure about the cause but I expect it's something related to how materials and/or bones have been hierarchy-categorized.

Recently, using together mmd_tools and mmd_tools_helper I've managed to export some models I never managed to export before. Using mmd_tools_helper, first, to parent bones and to create the proper display menus (xps files don't have them of course). this way I often manage in exporting models that I couldn't export when I used pymeshio or mmd_tools only.


👍: 0 ⏩: 0

jorzn84 [2019-10-23 18:51:18 +0000 UTC]

question sir. is there a way to transfer physics from the original model or you have to basically rerig body and physics to bones?

👍: 0 ⏩: 1

Riveda1972 In reply to jorzn84 [2019-10-23 21:46:47 +0000 UTC]

As fas as I know XPS models don't have physics and joints at all, as used in MMD. You have to add them manually once converted the model

👍: 0 ⏩: 0

himaderelol [2019-09-01 07:03:54 +0000 UTC]

uh, for some reason my model doesnt have the pelvis bone?  

👍: 0 ⏩: 1

Riveda1972 In reply to himaderelol [2019-09-02 21:32:40 +0000 UTC]

Yes, some XPS models don't have the hips/lower body bone. It depends on the game engine they were extracted from, as some of them don't use a bone for the lower part of the body. Sometimes you can add a blank bone where normally the hips/lower body is, and parent the legs on it, but how it will work will depends on how the model is originally rigged. In models without a hips bone, the upper leg bone normally affects not only the leg but also the buttock and part of the hips on their side. Adding a fake hips bone as parent for the legs bones is a handful trick but all will depend on the original rigging.

👍: 1 ⏩: 1

ikrpok In reply to Riveda1972 [2020-11-14 16:34:45 +0000 UTC]

👍: 0 ⏩: 1

Riveda1972 In reply to ikrpok [2020-11-17 10:10:47 +0000 UTC]

👍: 0 ⏩: 0

l3unnies [2019-06-25 00:42:26 +0000 UTC]

All it does is crash whenever i export the model from blender.

👍: 0 ⏩: 1

Riveda1972 In reply to l3unnies [2019-06-25 06:19:39 +0000 UTC]

what model?

👍: 0 ⏩: 1

l3unnies In reply to Riveda1972 [2019-06-25 10:08:51 +0000 UTC]

Oh christ :C Daz , and that is because it had WAYYY too much face. 40k faces for the brows. THE BROWS !!   

👍: 0 ⏩: 1

Riveda1972 In reply to l3unnies [2019-06-25 10:11:20 +0000 UTC]

I was afraid of something like that -_-

I had the same issues when trying to convert a huge OBJ file, a model of the Space Balls One starship. Blender just refused to convert it

👍: 0 ⏩: 1

l3unnies In reply to Riveda1972 [2019-06-25 19:20:05 +0000 UTC]

Ugh ... i grow tired of blender. Wish there were equal programs for 3dmax or maya. It also will not load Fbx formats properly. Will deform them. 

👍: 0 ⏩: 0

WVWVWVWVWVWVWVWVWVW [2019-02-24 00:45:01 +0000 UTC]

I appreciate you giving out a detailed and good tutorial. 

👍: 0 ⏩: 1

Riveda1972 In reply to WVWVWVWVWVWVWVWVWVW [2019-02-25 07:47:34 +0000 UTC]

Thanks

👍: 0 ⏩: 0

ChakkyCharizard [2019-02-09 00:40:38 +0000 UTC]

What does it mean if the model doesn't export as PMX from Blender, but doesn't give an error? Like, just nothing happens?

👍: 0 ⏩: 1

Riveda1972 In reply to ChakkyCharizard [2019-02-11 09:12:49 +0000 UTC]

I often have troubles with some models, but in that case I normally get errors by the exporter. The only exporter which doesn't give me error warnings even when it exports absolutely nothing is MMD-Tools.
Are you using pymeshio or mmd-tools to export the XPS model into PMX?

👍: 0 ⏩: 1

ChakkyCharizard In reply to Riveda1972 [2019-02-14 09:40:34 +0000 UTC]

I...don't know? I ended up doing it the way I used to do it because I got fustrated, which is export as OBJ and use the transfer weights plugin to rig it to the model I wanted the XPS part for.

👍: 0 ⏩: 1

Riveda1972 In reply to ChakkyCharizard [2019-02-14 09:49:14 +0000 UTC]

I've just had the same problem with my Cylon centurion model, but maybe I've found a solution.

Anyway the first thing is to identify what script/addon you're using to export. If you see on the left panel a tab named "MMD tools", it has a button for model exporting. Normally is mmd_tools which doesn't give you any error report, but doesn't export anything. Normally when you fail exporting a model and you get some errors printed on the screen is when you use pymeshio scripts, accessing the File -> Export menu.

I suggest you install both pymeshio and mmd_tools plugins, as sometimes the one gets success when the other failed, and viceversa.
But I recommend you also install mmd_tools_helper AFTER having installed mmd_tools. It adds useful function to automatically correct veruy common skeleton issues preventing the export. That was my problem with Cylon Centurion model. It was in FBX format. Once imported I've used the mmd_tools_helper buttons to clean and conect properly the skeleton bones, then I managed in exporting it.

👍: 0 ⏩: 0

EilaKasai [2019-02-02 18:12:36 +0000 UTC]

I can't install pymeshio, it doesn't register in my Add-on list.
I use Blender 2.79

👍: 0 ⏩: 1

Riveda1972 In reply to EilaKasai [2019-02-03 21:40:04 +0000 UTC]

pypi.org/project/pymeshio/

Here how to install:
www.wikihow.com/Add-an-Addon-i…

👍: 0 ⏩: 1

EilaKasai In reply to Riveda1972 [2019-02-05 15:07:05 +0000 UTC]

Sadly that doesn't seem to work.

👍: 0 ⏩: 1

Riveda1972 In reply to EilaKasai [2019-02-05 16:22:11 +0000 UTC]

So I really don't know °_°

👍: 0 ⏩: 0

SoraJakeBlade [2019-01-11 18:37:08 +0000 UTC]

help i cant seem to locate the mesh import/export

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2019-01-11 19:34:44 +0000 UTC]

Blender uses two (actually three) different plugins.
One to import XPS/.mesh/.ascii models
One to export into PMX format (pmeshio)
And finally, optional if you plan to use Blender also for editing and/or posing MMD models, MMD Tools (useful also to automatically translate japanese names to their english corrispectives)

Once you have put them under the plugin folder, you also have to activate them from the configuration panel of Blender, or you won't see them

👍: 0 ⏩: 1

SoraJakeBlade In reply to Riveda1972 [2019-01-13 12:00:01 +0000 UTC]

the import/export i cant locate the XPS/.mesh/.ascii

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2019-01-13 19:55:07 +0000 UTC]

Have you activated the plugin in Blender Options?

👍: 0 ⏩: 1

SoraJakeBlade In reply to Riveda1972 [2019-01-14 15:45:36 +0000 UTC]

i cant find them in the plugin under the import/export 

👍: 0 ⏩: 1

Riveda1972 In reply to SoraJakeBlade [2019-01-14 17:05:40 +0000 UTC]

This seems to be an issue with the plugin installation, so.
Is it in the proper subfolder?

👍: 0 ⏩: 1


| Next =>