Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 23:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



trouble opening mvr_male.chr

Discussion on trouble opening mvr_male.chr within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 291
Received Thanks: 17
trouble opening mvr_male.chr

How do you actually open mvr_male.chr in 3ds max? Which is character bones for animations.
It cannot be opened directly cause it says load error.


EDIT

nevermind, solved by myself.

#close request
blacksystem1990 is offline  
Old 09/10/2015, 22:13   #2



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
Could you tell us what your problem was?
Sedrika is offline  
Old 09/13/2015, 15:09   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 291
Received Thanks: 17
What you mean
Its already on main post

#close request again
blacksystem1990 is offline  
Old 01/14/2019, 19:35   #4
 
elite*gold: 0
Join Date: Jan 2019
Posts: 9
Received Thanks: 0
Can you tell me how to solve it ?
61574920 is offline  
Old 01/14/2019, 20:03   #5
 
MrDemian's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 187
Received Thanks: 157
Quote:
Originally Posted by Sedrika View Post
Could you tell us what your problem was?
He tried to open the .chr file without using the Modelfiles.
This will cause the 3ds Crach because these chr files are different from the original chr file format.

You can only open the Characterbones by loading atleast one Modelfile withit
MrDemian is offline  
Old 01/14/2019, 20:09   #6
 
Mike Oxmaul's Avatar
 
elite*gold: 50
Join Date: Feb 2014
Posts: 288
Received Thanks: 245
ofc you can load bones without a model
Mike Oxmaul is offline  
Old 01/14/2019, 20:16   #7
 
MrDemian's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 187
Received Thanks: 157
Quote:
Originally Posted by Jupsi332 View Post
ofc you can load bones without a model
Try to open mvr_male.chr without any tool, 3ds will crash or say "wrong file format"
MrDemian is offline  
Old 01/14/2019, 20:28   #8
 
Mike Oxmaul's Avatar
 
elite*gold: 50
Join Date: Feb 2014
Posts: 288
Received Thanks: 245
Code:
Function ReadCHR FileName &BoneData &Version =
    (
        If FileName == Undefined Then Return False
        BoneData = ClsBoneData()

        Local FileHandle = 0
        Local I = 0
        
        FileHandle = FOpen FileName "rbS"

        Version = ReadLong FileHandle #Unsigned
        If Version < 4 Then
            MessageBox "Invalid Version, attempting to continue anyway."
        
        BoneData.ID = ReadLong FileHandle #Unsigned
        BoneData.BoneCount = ReadLong FileHandle #Unsigned
        
        CreateArray &BoneData.Names BoneData.BoneCount
        CreateArray &BoneData.TM BoneData.BoneCount
        CreateArray &BoneData.InverseTM BoneData.BoneCount
        CreateArray &BoneData.LocalTM BoneData.BoneCount
        CreateArray &BoneData.Parents BoneData.BoneCount
        
        For I = 1 To BoneData.BoneCount Do
        (
            FSeek FileHandle 4 #Seek_Cur    --Bone Name Len
            BoneData.Names[I]     = ReadString FileHandle
            BoneData.TM[I]        = ReadMatrix FileHandle
            BoneData.InverseTM[I]    = ReadMatrix FileHandle
            BoneData.LocalTM[I]    = ReadMatrix FileHandle
            BoneData.Parents[I]    = (ReadLong FileHandle #Signed)
            
            If (FindString BoneData.Names[I] "L ForeArm") != Undefined Then        BoneData.LeftArmIndex = I
            Else If (FindString BoneData.Names[I] "R ForeArm") != Undefined Then    BoneData.RightArmIndex = I
            Else If (FindString BoneData.Names[I] "L Hand") != Undefined Then    BoneData.LeftHandIndex = I
            Else If (FindString BoneData.Names[I] "R Hand") != Undefined Then    BoneData.RightHandIndex = I
        )
        
        BoneData.SendVS = ReadLong FileHandle #Unsigned
        
        BoneData.LocalRH = ReadMatrix FileHandle
		
        BoneData.LocalShield = ReadMatrix FileHandle
		
        BoneData.LocalKnuckle = ReadMatrix FileHandle
        
        If Version == 5 Then
        (
            CreateArray &BoneData.Events 4
            CreateArray &BoneData.EventParents 4
            For I = 1 To 4 Do BoneData.Events[I] = ReadVector3 FileHandle
            For I = 1 To 4 Do BoneData.EventParents[I] = ((ReadLong FileHandle #Signed) + 1)
        )
        If Version >= 6 Then
        (
            CreateArray &BoneData.Events 8
            CreateArray &BoneData.EventParents 8
            For I = 1 To 8 Do BoneData.Events[I] = ReadVector3 FileHandle
            For I = 1 To 8 Do BoneData.EventParents[I] = ((ReadLong FileHandle #Signed) + 1)
        )
        If Version == 7 Then
        (
            BoneData.LocalLH = ReadMatrix FileHandle
        )
		If Version >= 8 Then
		(
			BoneData.LocalBack = ReadMatrix FileHandle
		)
        FClose FileHandle
    )
/////////////////////////////////////
 on btnBones pressed do
    (
        chr = ClsBoneData()
        f = getOpenFileName caption: "Import Bones" types: "Bone Definitions(*.chr)|*.chr"
        version = undefined
        ReadCHR f &chr &version
        
        
        CreateArray &BoneSet chr.BoneCount
    
        For I=1 To chr.BoneCount Do
        (
			inverse chr.TM[i]
            if chr.Parents[I]+1 != 0 Then
            (
                pos1 = chr.TM[I].row4
                pos2 = chr.TM[chr.Parents[I]+1].row4
                
                BoneSet[I] = BoneSys.CreateBone (Point3 0 0 0 ) Y_Axis Z_Axis
                BoneSet[I].name = chr.Names[I]
                BoneSet[I].width = 0.05 as Float
                BoneSet[I].height = 0.05 as Float
                BoneSet[I].length = distance pos1 pos2
                BoneSet[I].transform = chr.TM[I]
                BoneSet[I].Parent = BoneSet[chr.Parents[I]+1]
            )
            
            else (
                BoneSet[I] = BoneSys.CreateBone chr.TM[I].row4 Y_Axis Z_Axis
                BoneSet[I].name = chr.Names[I]
                BoneSet[I].width = 0.05 as Float
                BoneSet[I].height = 0.05 as Float
                BoneSet[I].length = length chr.TM[I].row4
                BoneSet[I].transform = chr.TM[I]
            )

        )
        
        SkinBones = BoneSet
        
        if meshO3d != undefined Then (
            if meshO3d.BoneData != undefined Then meshO3d.BoneData = chr
        )
    )
Mike Oxmaul is offline  
Old 01/14/2019, 23:13   #9
 
MrDemian's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 187
Received Thanks: 157
Okey i'll give up.

Sedrika asked what Problem it was. That was my interpretation, because as i mentioned without any kind of import script like a basic 3ds Max Version for example 17. It will say wrong file format. Just want to help people why it cause the problem.

sometimes im wondering why i keep in this forum.
best regrads Robin.
MrDemian is offline  
Reply


Similar Threads Similar Threads
Export mvr_male /_female .chr
12/07/2013 - Flyff Private Server - 0 Replies
Kann mir evtl jemand die mvr_male / mvr_female bones extrahieren in FBX / 3DS Max ?
Trouble opening spacemap ! [GB1]
07/05/2012 - DarkOrbit - 2 Replies
after loading of the client is complete.. i am getting the new connection window, tried it on two different accounts and i am still getting this, anybody else having the same problem or anybody know how to resolve this??
Sry for the trouble
03/29/2010 - EO PServer Hosting - 12 Replies
if someone dun mind,pls explain to me and teach me how to fix this,i got it when i tried to add in 9999 seller 1062 - Duplicate entry '978854' for key 1 1062 - Duplicate entry '978857' for key 1 1062 - Duplicate entry '978868' for key 1 1062 - Duplicate entry '978875' for key 1 1062 - Duplicate entry '978870' for key 1 1062 - Duplicate entry '978859' for key 1 1062 - Duplicate entry '978877' for key 1 1062 - Duplicate entry '978881' for key 1
trouble with tzphqy bot opening shop
08/27/2008 - Dekaron - 0 Replies
has anyone tried to open shop with tzphqy bot? I tried to read the guides and the readme.txt, but to no avail. I went to the others tab, set two items and their selling price, gave the shop a name and clicked open. However, when I look at the shop with another character, the shop doesn't open at all! Maybe it has something to do with upper and lower limits (which I'm not even sure of myself). Can someone please help me out



All times are GMT +2. The time now is 23:47.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.