[Tutorial] Custom proportions by editing the database

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    [Tutorial] Custom proportions by editing the database

    I thought I should also post this as a tutorial thread. Easier to see. Just in case.

    Explanation of why this works:
    The game uses the same base female and male model for several characters.
    It just adjusts their default size and proportions. These happen to be saved into the database.
    So, by editing the database, we can reshape the characters into other characters' proportions.
    We can also ignore the in-game slider limits.


    List of proportion-related database values:
    The changes will update when you enter/exit the character select screen, and maybe the Avatar Shop.
    You won't see some changes in Avatar Shop unless you go to the Dye Shop first, and then go back.


    Note: see the list at the bottom for more info!

    In the "Costume" table. Type, Key, CostumeSN (replace x with new values):
    0, 3, x (default hairstyle, corresponds to player_costume.txt hair values)
    1, 0, x (default eyebrows), c1 (eyebrow color)
    0, 1, x (default innerwear, corresponds to player_costume.txt innerwear values)
    0, 2, null, c1 (skin main), c2 (skin shadow), c3 (eye color)
    2, 1, x (height, usually around 70-106, there's an in-game limit despite char select looking tiny/huge)
    2, 2, x (breast size, 70 to 120 is normal, high values look blocky, elongated, clipping through clothes)
    3, 15, x (more muscle, normal values are 0-1000)
    3, 16, x (thinner body, normal values are 0-1000)
    3, 17, x (fatter body, normal values are 0-1000)
    3, 18, x (thinner waist, normal values are 0-1000)
    3, 19, x (fatter waist, normal values are 0-1000
    3, 20, x (thinner arms, normal values are 0-1000)
    3, 22, x (thinner legs, normal values are 0-1000)
    3, 23, x (fatter legs, normal values are 0-1000)
    3, 24, x (thinner shoulders, normal values are 0-1000)
    3, 25, x (wider shoulders, normal values are 0-1000)
    3, 40, x (fatter arms, normal values are 0-1000)

    Note that you can go over 1000. I haven't done much testing with negative values.


    Character shape: (you can add several of these to influence character overall shape)
    3, 101, 1000 (Kai's body shape: wider shoulders, etc)
    3, 102, 1000 (Vella's body shape: thinner calves, wider hips, etc)
    3, 103, 1000 (Lynn's body shape: wider calves, less curves, etc)
    3, 104, 1000 (Arisha's body shape: larger breasts, thinner waist, thinner calves, etc)

    As far as I know, there isn't a way to only make the hips wider without affecting other stuff.


    Unknown (either no noticeable difference or I haven't tested yet):
    2, 3, 0
    2, 4, 0
    2, 5, 0
    2, 6, 0
    2, 8, 10
    2, 9, 10
    2, 10, 10
    2, 12, 3
    2, 13, 3
    2, 14, 1
    3, 31, 0
    3, 36, 0
    3, 37, 0
    3, 41, 0

    There may be other values for males, but I haven't experimented with male characters much.


    Example 1, giving Lynn a more womanly/curvy body:
    She already has 3, 103, 1000 by default. That defines her Lynn body shape.
    Change that to 3, 103, 0. That should revert to Fiona's body shape.
    You can also remove 3, 103 or simply change it to 3, 102 or 3, 104.
    Then I 'd add a new row for either 3, 102, 1400 or 3, 104, 1000, or a mix of those.
    Those should make her chest larger, waist thinner, hips wider, calves thinner.
    Then I'd change 3, 23 to 400 (3, 23, 400). That would make the legs fatter.
    Combined with 3, 102 and 3, 104 the legs should now look more womanly.
    2, 2, 100 to make the chest more prominent.

    Example 2, making Arisha look younger (ie. Lynn's body):
    She already has 3, 104, 1000 by default. That defines her Arisha body shape.
    You can remove 3, 104 or simply change it to 3, 103.
    If you didn't change 3, 104 to 3, 103, add a new row for 3, 103, 1000.
    Change 2, 2 to a low value, around 55 (Lynn's default chest size).
    Change 2,1 to around 89 (Lynn's default height).


    Screenshots:






    Edit: I was looking in the files. I figured out where those proportions are defined.
    They're .fig files in the CSF folder.
    Sadly, the game won't load changes to the .fig files, nor will it load txt files in the CSF folder.
    But you can see how the .fig files affect which body parts.

    There's also a list for what values affects what. They match the database values.
    The ones preceded by // are disabled, of course.
    This list is from our Taiwan client.
    Code:
    // üÇü º¯È­¿¡ »ç¿ëµÉ ¸ðµç .fig ÆÄÀϵéÀº ¹Ýµå½Ã ¿©±â¿¡ Ãß°¡°¡ µÅ¾ß ÇÕ´Ï´Ù.
    // Ãß°¡ÇÏÁö ¾ÊÀ¸¸é ID°¡ ¹ß±ÞµÇÁö ¾Ê¾Æ¼­ Àû¿ëµÇÁö ¾ÊÀ½.
    "FIGFileList"
    {
    	// UI¿¡¼­ º¸ÀÌ´Â ¼ø¼­¿Í´Â ¾Æ¹« »ó°üÀÌ ¾ø½À´Ï´Ù.
    	// UniqueKey´Â °ãÄ¡¸é ¾ÈµË´Ï´Ù! (0~255±îÁö »ç¿ë °¡´É)
    	// ±×¸®°í Çѹø ¼·¹ÔµÈ UniqueKey´Â ¹Ù²î¾î¼­µµ ¾ÈµË´Ï´Ù. (¼­¹ö¶û ²¿ÀÓ)
    	
    	// UniqueKey(0~255)    filename
    	// "10"	"csf\bodyshape_fat.fig"
    	// "11"	"csf\bodyshape_thin.fig"
    	
    	//üÇüº¯È­ Àû¿ë µðÆúÆ® °ª
    	"101"   "csf\bodyshape_kay_default.fig"
    	"102"   "csf\bodyshape_vella_default.fig"
    	"103"	"csf\bodyshape_lynn_default.fig"
    	"104"	"csf\bodyshape_arisha_default.flg"
    	"105"	"csf\bodyshape_hagie_default.fig"
    	
    	//»ç¿ëÇÏÁö´Â ¾ÊÁö¸¸ Áö¿ì¸é ¾ÈµÊ
    	"12"	"csf\bodyshape_head_big.fig"
    	"13"	"csf\bodyshape_head_small.fig"
    	
    	// "14"	"csf\bodyshape_hand_big.fig"
    
    	
    	// ¿©¼º Ãß°¡
    	
    	"15"	"csf\bodyshape_muscle_woman.fig"	
    	
    	"16"    "csf\bodyshape_thin_woman.fig"
    	"17"    "csf\bodyshape_fat_woman.fig"	
    	
    	"18"    "csf\bodyshape_spine_thin.fig"
    	"19"    "csf\bodyshape_spine_thick.fig"
    
    	"20"    "csf\bodyshape_arm_thin.fig"
    	//"21"    "csf\bodyshape_arm_thick.fig"
    
    	"22"    "csf\bodyshape_leg_thin.fig"
    	"23"    "csf\bodyshape_leg_thick.fig"
    
    	"24"    "csf\bodyshape_shoulder_narrow.fig"
    	"25"    "csf\bodyshape_shoulder_wide.fig"
       
       // Ä«·Ï
    
    	"26"    "csf\bodyshape_thin_karok.fig"
    	"27"    "csf\bodyshape_fat_karok.fig"	
    	
    	"28"    "csf\bodyshape_arm_thin_karok.fig"
    	"29"    "csf\bodyshape_arm_thick_karok.fig"
    	
    	"30"    "csf\bodyshape_leg_thin_karok.fig"
    	
    	"31"    "csf\bodyshape_spine_thick_man.fig"
    	
    	"32"    "csf\bodyshape_shoulder_narrow.fig"
    	"33"    "csf\bodyshape_shoulder_wide.fig"
    	
    	"34"    "csf\bodyshape_shoulder_wide.fig"
    	//"35"    "csf\bodyshape_muscle_man.fig"	
    	
    	//³²¼º
    	
    	"36"    "csf\bodyshape_fat_man.fig"
    	"37"    "csf\bodyshape_thin_all.fig"
    	
    	"38"    "csf\bodyshape_spine_thick_man.fig"
    
    	
    	"39"    "csf\bodyshape_arm_thin.fig"
    	"40"    "csf\bodyshape_arm_thick.fig"
    	
    	"41"    "csf\bodyshape_muscle_man.fig"
    
    
        //ÇãÅ© Ãß°¡
    	"42"    "csf\bodyshape_spine_thin_hurk.fig"
    	"43"    "csf\bodyshape_spine_thick_hurk.fig"
    	
    	"44"    "csf\bodyshape_muscle_hurk.fig"
    	"45"    "csf\bodyshape_leg_thin_hurk.fig"
    	"46"    "csf\bodyshape_leg_thick_hurk.fig"
    	"47"    "csf\bodyshape_fat_hurk.fig"
    	"48"    "csf\bodyshape_arm_thin_hurk.fig"
    	"49"    "csf\bodyshape_arm_thick_hurk.fig"
    
    	"50"    "csf\bodyshape_max_hurk.fig"
    	"51"    "csf\bodyshape_min_hurk.fig"
    	
    	// Çì±â Ãß°¡
    	"52"	"csf\bodyshape_arm_thick_hagie.fig"
    	"53"	"csf\bodyshape_arm_thin_hagie.fig"
    	
    	"54"	"csf\bodyshape_fat_man_hagie.fig"
    	
    	"55"	"csf\bodyshape_leg_thick_hagie.fig"
    	"56"	"csf\bodyshape_leg_thin_hagie.fig"
    	
    	"57"	"csf\bodyshape_max_hagie.fig"
    	"58"	"csf\bodyshape_min_hagie.fig"
    	
    	"59"	"csf\bodyshape_muscle_man_hagie.fig"
    	
    	"60"	"csf\bodyshape_null_hagie.fig"
    	
    	"61"	"csf\bodyshape_shoulder_narrow_hagie.fig"
    	"62"	"csf\bodyshape_shoulder_wide_hagie.fig"
    	
    	"63"	"csf\bodyshape_spine_thick_man_hagie.fig"
    	"64"	"csf\bodyshape_spine_thin_hagie.fig"
    	
    	"65"	"csf\bodyshape_thin_all_hagie.fig"
    	
    	
    	
    	
    	// "20"	"csf\bodyshape_head.fig"
    	// "30"	"csf\bodyshape_shoulder.fig"
    	// "40"	"csf\bodyshape_arm.fig"
    	// "50"	"csf\bodyshape_hand.fig"
    	// "60"	"csf\bodyshape_pelvis.fig"
    	// "70"	"csf\bodyshape_leg.fig"
    	// "80"	"csf\bodyshape_foot.fig"
    	// "90"	"csf\bodyshape_neck.fig"
    	// "100"	"csf\bodyshape_muscle.fig"
    }
    Edit2:
    Made a test mod that increases the maximum limit for female hips/butt:
    http://forum.ragezone.com/f944/relea...9/#post8678379
    Last edited by Patchouli; 14-08-16 at 01:32 PM.


  2. #2
    Member nultar is offline
    MemberRank
    Aug 2010 Join Date
    68Posts

    Re: [Tutorial] Custom proportions by editing the database

    That's pretty cool, thanks for sharing! :)

  3. #3
    Apprentice menesoso is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Re: [Tutorial] Custom proportions by editing the database

    hello... may I ask you where did you get all this costume? I don't think my version has these...If fact I don't know how to get it updated.

  4. #4
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    Re: [Tutorial] Custom proportions by editing the database

    It's from the Korean version. I had to replace an existing outfit's models with it.

  5. #5
    Apprentice menesoso is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Re: [Tutorial] Custom proportions by editing the database

    I see, but is there any way to update the version we have now?

  6. #6
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    Re: [Tutorial] Custom proportions by editing the database

    Combined with Good Stuff Lite allowing editing player_costume.txt and adding new models, it should be possible to add new costumes. I just don't know where the heroescontents.db3 refers to the costume model numbers in player_costume.txt.

    When I merged the client heroes.db3 with the server database, it enabled Tieve's outfit and some other hairstyles. But those were already inside the client data.
    It's possible that there is another separate file that defines the costume data in the client. There should be a file or database entry that defines what stats the item gives, etc.
    If it's in the client, chances are we won't be able to edit it.

    I haven't tried to add a new entry yet. If I figure out a way, I'll post it on this forum.

  7. #7
    Apprentice menesoso is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Re: [Tutorial] Custom proportions by editing the database

    I see. Thank you for the effort!

  8. #8
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    Re: [Tutorial] Custom proportions by editing the database

    I just looked into it. I found the tables. They're in EquipItemInfo.
    The stats are defined there, and the costumetype numbers match player_costume.txt

    If I get the heroes.db3 from the Korean version I could probably easily add the new costumes.
    Actually, it'd still take time to sort all the extra outfit files into the correct folders.

    There's one other problem.
    The bunny suit tail goes into a separate slot that I don't think exists in our version.
    It's listed as "tail" category in the item database.
    For the modelswap version, I had to attach the tail onto the onepiece model.

    Edit: I think the client needs to have an updated heroes.db3 as well.
    I'm testing running the KR client on our server now.

    Edit2: I tried using the KR client with a merged KR+TW server database.
    It doesn't like existing accounts, and when I try to make a character on a new account, it gets stuck.

    Edit3: If you don't copy over the Taiwan text in the Resources folder, the KR and EN versions will close itself on loading.

    Edit4: EN loads, but can't make Sylas or Delia, and can't start boat (as previously reported).
    Last edited by Patchouli; 24-07-16 at 04:02 PM.

  9. #9
    Apprentice menesoso is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Re: [Tutorial] Custom proportions by editing the database

    I am not familiarised of the server setup, but I thought was to extract and update the heroescontent.db3 and to use the latest hfs folder including the compressed file, but failed lol.

    So I had compared the heroescontent.db3 from this forum and the lateset heroes.db3, the latter one has a smaller size and fewer contents.. thought to be some tables were placed somewhere else.

  10. #10
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    Re: [Tutorial] Custom proportions by editing the database

    That's because the client database only has what's neccesary for the client.
    The server has all of that plus server-only stuff, like the story, etc.

  11. #11
    Apprentice menesoso is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Re: [Tutorial] Custom proportions by editing the database

    hm :/... I am just too new for this :P

  12. #12
    Novice firefly77 is offline
    MemberRank
    Mar 2014 Join Date
    3Posts

    Re: [Tutorial] Custom proportions by editing the database

    When I edit the proportions, I can see them at the character select screen, but that's it. As soon as I go into the game itself, my proportions are back to normal. Actually "normal" wouldn't be the right term because by tweaking the proportions, some slider positions get reset, so it becomes even worse than normal.

    Example: if default height (on the slider) is 100 and the min height with the slider is 90, and I edit the values to make the height 50.

    Before editing the values, I have height 90 both at the character select screen and in-game using the slider.
    After editing the values, I have height 50 at the character select screen (good!), but height 100 in-game (not even 90 anymore since the slider reset)

    So this is weird that I can't see it on my client. But strangely, if I use a different character (not the one being modified) on a separate computer/client, and look at the modified character from there, I can see the height50. So I can't see the height change if I'm playing the modified character myself, but other people can see it.

    But once a boat is hosted, no client can see the height50 anymore. It's back to height100 from all perspectives.

    Also this only applies to some changes (in this case, height). If I adjust breast size instead, I have no problems seeing the change on any client (not sure about after I'm on the boat though, haven't tested). I tried to apply the Lynn body modifier and I can't even tell if it's in effect other than messing up my sliders.

  13. #13
    Account Upgraded | Title Enabled! Patchouli is offline
    MemberRank
    Jul 2009 Join Date
    300Posts

    Re: [Tutorial] Custom proportions by editing the database

    Yeah, I noticed that yesterday as well. It's pretty iffy.
    If we ever get more access to edit the client, we could edit the proportion sliders via the .fig files.
    But I didn't see one for the height. That must be a special case.
    I know that there's a console command that allows you to become very small or large. It'd be nice if we could get console access again.

  14. #14
    Novice firefly77 is offline
    MemberRank
    Mar 2014 Join Date
    3Posts

    Re: [Tutorial] Custom proportions by editing the database

    Apparently, height does kinda work. It seems that if I set height to 90, that's the shortest it can go while still being visible on my own screen. The moment I tried to set it to 89, however, my character actually became taller (because it went back to default slider height).
    Last edited by firefly77; 26-07-16 at 06:22 AM.

  15. #15
    Member sungminkim is offline
    MemberRank
    Jul 2013 Join Date
    68Posts

    Re: [Tutorial] Custom proportions by editing the database

    Vindictus Make Tutorial ㅠㅠ 도와주세요

    스카이프 : ksm90271

    skype : ksm90271



Page 1 of 2 12 LastLast

Advertisement