Here is the EXPORT plugin for Blender for ZMS files.
ver 1.0
History:
ver 0.5 - bugfix, UVs not exported correctly.
ver 1.0 (No bones support yet) - triangulates the mesh and creates optimized export structure.
It uses Martin 'theeth' Poirier GMesh library which can be downloaded from http://www.elysiun.com/~theeth/gmesh/ or
Installation:
1. Open "C:\Program Files\Blender Foundation\Blender\.blender\scripts" in your explorer and paste export_bin_zms.py file there.
2. From GMesh.zip unzip ONLY following files:
GCol.py
GConversions.py
GCore.py
GEdge.py
GFace.py
GGenerics.py
GUVco.py
GVert.py
and copy them into "Program Files\Blender Foundation\Blender\.blender\scripts". (same place as export_bin_zms.py)
Requirements:
1. Model some mesh into Blender or any other 3D modeling package and then import it in Blender.
2. The mesh MUST be with UV coordinates applied or error message will remind you, i.e. texture applied.
3. It's your responsibility to convert the texture to DDS format, Blender won't do it for you =), but it supports DDS texture files.
Usage:
(in Blender)
1. Select desired mesh by right clicking on it.
Example scene, Suzane monkey head, UV applied as seen on right part of Blender window:
2. Go to menu File->Export and select the export format ('RoseOnline ZMS binary File Format (.zms)...') as it shown on the image below:
3. Select the folder to export and type the filename:
4. Once exported, let's check it in ZMSViewer. Select the exported ZMS file from ZMSViewer open dialog:
5. You should have similar result:
Some additional info:
- Bones and animation are not exported yet!
My work is free for use and modify, but make a reference to me as author.
GMesh Lib is coded and maintained by Martin 'theeth' Poirier URL:http://www.elysiun.com/~theeth/gmesh/
Enjoy