Skip to content

Instantly share code, notes, and snippets.

View h4x3rotab's full-sized avatar

h4x3rotab

View GitHub Profile
# 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.
@h4x3rotab
h4x3rotab / tinc-pre.md
Last active March 30, 2020 21:05 — forked from azrdev/tinc-pre.md
build tinc-1.1pre .deb package on raspbian

Follow https://wiki.debian.org/SimpleBackportCreation for https://packages.debian.org/experimental/tinc (which is currently 1.1pre17)

sudo apt-get install packaging-dev debian-keyring devscripts equivs

Don't add experimental to your sources.list, its gpg keys are not in raspbian. Instead, get the source package (.dsc and tinc source code) manually: On https://packages.debian.org/experimental/tinc look for the "source package" link in the box on the right side; it is currently labeled [tinc_1.1~pre17-1.1.dsc]. Then use that link to get the .dsc and the source code, and continue with the debian backport guide:

dget http://deb.debian.org/debian/pool/main/t/tinc/tinc_1.1~pre17-1.1.dsc