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.
| #!/bin/bash | |
| modsDir=mods/*.jar | |
| repoDir=repo/mods | |
| for file in $modsDir | |
| do | |
| mcmodInfo=`unzip -p "$file" mcmod.info 2> /dev/null` | |
| if [[ $? -ne 0 ]]; then | |
| echo "$file has no mcmeta.info" | |
| continue; |
| package net.xalcon.ecotec.experimental; | |
| import net.minecraft.tileentity.TileEntity; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| @Retention(RetentionPolicy.RUNTIME) // this means the annotation is available at runtime and will not be stripped by the compiler | |
| public @interface HasTileEntity | |
| { |
| package baubles.common; | |
| import baubles.api.BaubleType; | |
| import baubles.api.IBauble; | |
| import baubles.api.cap.BaubleItem; | |
| import baubles.api.cap.BaublesCapabilities; | |
| import baubles.common.Baubles; | |
| import net.minecraft.entity.EntityLivingBase; | |
| import net.minecraft.init.Items; | |
| import net.minecraft.item.ItemStack; |
| { | |
| "conditions": [ | |
| { | |
| "type": "mod_loaded", | |
| "mod": "minecraft" | |
| } | |
| ], | |
| "type": "minecraft:crafting_shaped", | |
| "group": "torchmaster", | |
| "pattern": [ |
| // at the end of your build.gradle | |
| // Create API library zip | |
| // Warning: This jar will be reobfuscated! Its only used to package it with the universal jar | |
| task apiJar(type: Jar) { | |
| from(sourceSets.main.output) { | |
| include "**/api/**" | |
| } | |
| classifier = 'obf-api' | |
| includeEmptyDirs = false |
| From 61b82b19fc1db023105041534128ef6561ce3fb8 Mon Sep 17 00:00:00 2001 | |
| From: xalcon <[email protected]> | |
| Date: Wed, 28 Jun 2017 17:26:21 +0200 | |
| Subject: [PATCH] fixed idea task module configuration | |
| --- | |
| src/main/java/net/minecraftforge/gradle/user/UserBasePlugin.java | 6 +++--- | |
| 1 file changed, 3 insertions(+), 3 deletions(-) | |
| diff --git a/src/main/java/net/minecraftforge/gradle/user/UserBasePlugin.java b/src/main/java/net/minecraftforge/gradle/user/UserBasePlugin.java |
| { | |
| "type": "minecraft:crafting_shapeless", | |
| "result": { | |
| "item": "minecraft:diamond", | |
| "data": 0 | |
| }, | |
| "ingredients": [ | |
| { | |
| "item": "minecraft:gunpowder" | |
| }, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>Empty function overhead</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| # 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. |