This is an English description of the .PMX file format used in Miku Miku Dance (MMD).
PMX is the successor to the .PMD format (Polygon Model Data).
This is work-in-progress! Please leave feedback in the comments.
| ## Unity ## | |
| *.cs diff=csharp text | |
| *.cginc text | |
| *.shader text | |
| *.mat merge=unityyamlmerge eol=lf | |
| *.unity filter=lfs diff=lfs merge=lfs -text | |
| *.prefab merge=unityyamlmerge eol=lf | |
| *.physicsMaterial2D merge=unityyamlmerge eol=lf | |
| *.physicsMaterial merge=unityyamlmerge eol=lf | |
| *.asset merge=unityyamlmerge eol=lf |
| /[Ll]ibrary/ | |
| /[Tt]emp/ | |
| /[Oo]bj/ | |
| /[Bb]uild/ | |
| /[Ll]ogs/ | |
| # Autogenerated VS/MD solution and project files | |
| *.csproj | |
| *.unityproj | |
| *.sln |
| # PMX 2.0 file format # | |
| This is a description of the PMX file format. This is used for 3D models in Miku Miku Dance (MMD). | |
| Since I couldn't find any English descriptions of the PMX file format, I've made this, which is translated from http://gulshan-i-raz.geo.jp/labs/2012/10/17/pmx-format1/. I haven't used this file format yet, so please don't ask me what everything means. | |
| An English guide to the PMD file format, which preceeded PMX, can be found here: http://mikumikudance.wikia.com/wiki/MMD:Polygon_Model_Data. | |
| If you want to learn more, there are some open source projects on GitHub which can read this format, so go take a look at them. | |
| Note: fields with type text begins with an int (32 bit) with how many bytes of text the section is. |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace ConsoleApplication1 | |
| { | |
| struct Test | |
| { | |
| public int a; | |
| public Test(int i) |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace ConsoleApplication1 | |
| { | |
| struct Test | |
| { | |
| public int a; | |
| public Test(int i) |
| using System; | |
| using System.Collections.Generic; | |
| namespace ConsoleApplication1 | |
| { | |
| class Test | |
| { | |
| public int a = 0; | |
| public Test(int i) |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| /// <summary> | |
| /// A console to display Unity's debug logs in-game. | |
| /// </summary> | |
| public class Console : MonoBehaviour | |
| { | |
| struct Log | |
| { |