Important information: this site is currently scheduled to go offline indefinitely by end of the year.

RF Online .MSH Format + Source

Post questions about game models here, or help out others!
Post Reply
User avatar
CriticalError
double-veteran
double-veteran
Posts: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

RF Online .MSH Format + Source

Post by CriticalError »

Hello guys well my question is anyone can fix this program, here I upload the tool + source for convert MSH to OBJ but still bugged, give errors and files broken, so please anyone can give me a hand really grateful, thanks a lot for support.

Image
Image
Image

Structure of MSH
struct MESHFILE
{
u16 LimbCount;
child MESHLIMBDATA;
}

struct MESHLIMBDATA
{
str[len=100] MeshName;
str[len=100] LimbName;
[hidden] u16 uk1;
u32 ScaleX;
skip 16;
u32 ScaleY;
skip 16;
u32 ScaleZ;
[hidden] u16 uk2;
u32 PositionX;
u32 PositionY;
u32 PositionZ;
[hidden] u16 uk3;
u32 uk4;
u32 uk5;
skip 122;
u16 PositionsCount;
u16 FacesonLimb;
u16 Sector3Count;
}

proceeding is a 28 byte struct which consist of the following
dword X - vector position
dword Y
dword Z
4 byte constant
dword X - normal position
dword Y
dword Z
You do not have the required permissions to view the files attached to this post.
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: RF Online .MSH Format + Source

Post by Rimbros »

Mmmm i see this tool converter before and its a true head pain, i extract sets but a the least i import and have around 20 meshes by set (normal its 5 helm, gloves, pants etc) all he parts are moved to x=0 y=0 z=0 coordenates a the least its a big trash mountain meshes, i hope anyone can fix this too.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: RF Online .MSH Format + Source

Post by finale00 »

Do modelers typically draw the mesh centered at the (0,0,0) and then simply apply transforms to move it to the desired location?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: RF Online .MSH Format + Source

Post by chrrox »

for mmo games they do sometimes because all the models are tiny pieces.
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: RF Online .MSH Format + Source

Post by Rimbros »

yes but the body parts have cuts also in the half parts, then need snap vertexs separated to make only the pants, the trouble its not the models are in the 0,0,0 coordenates the problem its the boyd parts have lots of cuts or separated in lots of meshes, the question its maybe anyone can make a importer working fine to import almos one full part of body and finaly import 5 or 6 body parts not 15 or 20 centered.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: RF Online .MSH Format + Source

Post by pixellegolas »

Models are attached to bones often...right? So that is the key :)
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: RF Online .MSH Format + Source

Post by Rimbros »

pixellegolas wrote:Models are attached to bones often...right? So that is the key :)
The bones folder its out of the mesh files, and the conversor msh/obj keep only the uvmaps.
Weights are lost in the convert proces, if you can take a view of the original files posted or the source codes maybe can keep out one good conversor.. this can be nice :D
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: RF Online .MSH Format + Source

Post by pixellegolas »

If you only want object then try a private server without gameguard and run 3d ripper. thats what I did and got all robots without problem. There are always nice ones in town
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: RF Online .MSH Format + Source

Post by Rimbros »

pixellegolas wrote:If you only want object then try a private server without gameguard and run 3d ripper. thats what I did and got all robots without problem. There are always nice ones in town
Jejeje, yes bro but 3D ripper never get T Position of Riged model.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
Post Reply