RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Tools for osRose and osiRose will be placed in here, as well as Rose file formats.

Please PM rl2171 or lmame to get them added to the list.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Wed Nov 10, 2010 11:54 am

Hi gang,

This is beta of file format converter I'm working on.

Currently supported features:

:arrow: RoseOnline formats to SMD:

Converts ZMD+ZMS files combination to SMD "reference" file.
Converts ZMD+ZMO files combination to SMD "animation" file.
Converts ZMS files to Wavefront OBJ files. (Since version 0.2.0 build 20)

:arrow: SMD to RoseOnline formats:

Converts SMD "reference" file to ZMD "skeleton" file and ZMS files based on the material applied.
Converts SMD "animation" file to ZMO "animation" file.

:arrow: Wavefront OBJ to RoseOnline static ZMS mesh file. (Since version 0.2.0 build 27)
Allows you to create weapons, bags and other static (no bones) objects.
The converter will recalculate normals if they are missing before exporting to ZMS.
This time UVs won't be destroyed like in the ZMS Viewer.
If the UVs are missing in the OBJ file, the converter will generate them before exporting to ZMS, but this will not be automatic UV unwrapping.
Important: Do texture unwrap and triangulation before exporting to OBJ from your 3D modeling software!

How to make a SMD files is up to you, this is simple Half-Life model/animation file and it's supported as free or built-in plugins for the most of the major 3D software packages.
Please, don't ask me to make plug-in for any of them - I won't.
:idea:
SMD "reference" file is a SMD file containing the bone hierarchy, single frame for the "rest" pose of the skeleton, material name and triangulated mesh data.
SMD "animation" file is a SMD file containing the bone hierarchy and multiply frames with per bone animation. It doesn't have material and mesh data.

Google is your best friend finding more information and plug-ins for your favorite 3D package for SMD.

Of course you'll find some bugs and I kindly ask you to share it here. :D

The link:
RoseConv_0.2.94.7z
RoseConv Version 0.2.0 Build 94 MD5: 7B4778B72848D5BD1D812722CD010FD4
(1.34 MiB) Downloaded 2706 times

For the development history take a look at the post below.

New 3D Viewer: RoseOnline Viewer http://forum.dev-osrose.com/viewtopic.php?f=32&t=4552&start=0

Not at last I would like to thank: Imame, Brett19, ExJam, xadet, AridTag and Mathias for the sharing.

Enjoy

Previous versions:
RoseConv_0.2.93.zip
RoseConv Version 0.2.0 Build 93 MD5: A39D542B123942BFB6073DB918B75375
(656.21 KiB) Downloaded 1201 times
Last edited by cssvb94 on Tue Feb 14, 2012 8:57 pm, edited 26 times in total.
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Wed Nov 10, 2010 11:54 am

Tools supporting SMD files:
fragMOTION v 1.1.0 : http://www.fragmosoft.com
MilkShake3d : http://chumbalum.swissquake.ch/

History:
    Version 0.2.0 Build 94 - Minor bug-fixes.
    Version 0.2.0 Build 93 - Fix of the fix :oops:
    Version 0.2.0 Build 92 - Fixed bone hierarchy bug during conversion from SMD to ZMD. Thanks to MightyKai for reporting.
    Version 0.2.0 Build 85 - Forced "." as decimal delimiter when exporting to SMD.
    Version 0.2.0 Build 71 - Huge speed up the vertices optimization pass and added 2nd optimization pass for removing duplicating triangles.
    Version 0.2.0 Build 58 - Added single pass mesh optimization (reducing vertex count) during Wavefront OBJ to ZMS conversion. Bugfixes.
    Version 0.2.0 Build 27 - Wavefront OBJ to RoseOnline ZMS static mesh file added. (file size reduced - unneeded library removed)
    Version 0.2.0 Build 20 - SMD skeleton incorrect downscale fixed and export ZMS file to Wavefront OBJ files added.
    Version 0.1.1 Build 50 - Scale bug nailed.
    Version 0.1.1 Build 43 - Fixed bone weight count "Blender" bug.
    Version 0.1.1 Build 40 - SMD "animation" to ZMO added.
Last edited by cssvb94 on Tue Feb 14, 2012 8:57 pm, edited 13 times in total.
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby larsgevers on Wed Nov 10, 2010 8:39 pm

Really nice work man:D.
I really like this tool allready:D. Thank you very much for releasing it here.
You said it's still the Beta? Well i think i've found a litlle bug.
When i open the bones of a castle gear in 3dsmax with you plugin, I can fit the hands to the handsbone. I can't click it.:(. Dun know if this is a bug or me doing something wrong. But i thought let's say that it maid be and tell the maker;).
Again reaaaaaalllllyyyyy great work:D
User avatar
larsgevers
Rackie
Rackie
 
Posts: 278
Joined: Fri Mar 20, 2009 2:10 pm

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Wed Nov 10, 2010 9:22 pm

Thanks for the kind words and the bug report.
I'll check.
Would you post the files ZMS/ZMD/ZMO you are using?
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby hasan38 on Wed Nov 10, 2010 11:00 pm

another amazing tool by cssvb94 :)

this is just wat us newbies needed to make some camera animations :D
hasan38
Rackie
Rackie
 
Posts: 246
Joined: Wed Apr 22, 2009 1:43 am

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby larsgevers on Thu Nov 11, 2010 8:03 am

Just the standaard castlegear.zmd and .zms.
And there is probably something i do wrong, because when i use skin on my own castlegear body and then add the same bones as the normal cg body and export it, it still won't move with the rest of the cg.
I don't think it's a bug, but I think it's me failing:P
Attachments
CASTLEGEAR02.rar
(801.29 KiB) Downloaded 1092 times
User avatar
larsgevers
Rackie
Rackie
 
Posts: 278
Joined: Fri Mar 20, 2009 2:10 pm

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Thu Nov 11, 2010 10:36 am

larsgevers wrote:Just the standaard castlegear.zmd and .zms.
And there is probably something i do wrong, because when i use skin on my own castlegear body and then add the same bones as the normal cg body and export it, it still won't move with the rest of the cg.
I don't think it's a bug, but I think it's me failing:P


Looks fine to me.
Here is screenshot of the files you sent me exported to SMD reference file and loaded in fragMOTION:
Red lines show vertices assigned to that bone. I can move any of the bones.
CastleGear.jpg
fragMOTION
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Thu Nov 11, 2010 3:12 pm

Uploaded new version - 0.1.1 build 40
Bugfixes and SMD -> ZMO export added.
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby larsgevers on Thu Nov 11, 2010 10:42 pm

cssvb94 wrote:Looks fine to me.
Here is screenshot of the files you sent me exported to SMD reference file and loaded in fragMOTION:
Red lines show vertices assigned to that bone. I can move any of the bones.
CastleGear.jpg

Maybe it's because i've used a plugin for 3dsmax which fails?
And is it necassary to use all the bones of the cg if I only want to add the body?
I'm still realy a noob with bones. Maybe you could give me some help or something if you want to.
And to merge it do i have to use the skin option or the physical option?
Thank again:D
User avatar
larsgevers
Rackie
Rackie
 
Posts: 278
Joined: Fri Mar 20, 2009 2:10 pm

Re: RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter

Postby cssvb94 on Thu Nov 11, 2010 11:08 pm

larsgevers wrote:
cssvb94 wrote:Looks fine to me.
Here is screenshot of the files you sent me exported to SMD reference file and loaded in fragMOTION:
Red lines show vertices assigned to that bone. I can move any of the bones.
CastleGear.jpg

Maybe it's because i've used a plugin for 3dsmax which fails?
And is it necassary to use all the bones of the cg if I only want to add the body?
I'm still realy a noob with bones. Maybe you could give me some help or something if you want to.
And to merge it do i have to use the skin option or the physical option?
Thank again:D


I can't fully understand you. What exactly you want to do, add new bones to existing skeleton or build completely new animated mesh?
Skin or physical are options in 3Dsmax? I don't have 3dsmax, can't tell you exactly.
I can just presume that skin option is the same as Rose manages the animation - each bone influences couple mesh vertices, which could be in different place around the mesh, and the physical is based on how a bone is physically close to the vertices and makes them move, like in a real physical body.
This wouldn't matter when you do your animation in 3dsmax, which method to use.
Anyway when it comes to export to SMD it will be exported as it supposed to be.
In other words, do it in your way, the exporter will take care of the rest.
If you don't have much knowledge of how to work with bones, take a look into the tutorials for 3dsmax.
I'm sure that there are plenty of them online.
Cheers
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Next

Return to Tools and File Format

Who is online

Users browsing this forum: No registered users and 7 guests

cron