1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Guide] Blade & Soul: Increased Sliders & xml.dat modding

Discussion in 'Tools & Guides' started by JustGuy, Jan 22, 2016.

  1. JustGuy

    JustGuy Vivacious Visitor

    Joined:
    Feb 25, 2014
    Messages:
    29
    Likes Received:
    23
    Follow-up from #8261.

    This guide explains how to modify Blade & soul's xml.dat file. This file is an archive that contains much of the game's modifiable data, increasing the file we need to (permanently) increased the slider limits for your characters.

    As opposed to using the BnS Slider Tool made by Tinker, larger sizes obtained through this method are permanent (they don't reset when the game closes) and cannot be detected by GameGuard. But there are some drawbacks. You'll need to launch the game via a bypass that 'skips' the default launcher (this can be done via a tool like BnsBuddy or another method outlined at the bottom of this post). You will likely also need to be re-do these changes once in a while as the structure of xml.dat tends to change with every major patch or update.

    Step #1: Preparing (Basic Requirements)
    To edit the game's xml.dat file and tinker with the sliders you will need the following:

    Step #2: Installing & using bnsdat
    Before proceeding we are going to install the bnsdat (de-)compression tool you downloaded above. To install it place the bnsdat.exe file in the following folder. It is highly recommended to make a backup of your original xml.dat file before proceeding:

    ...\NCSOFT\BnS\contents\Local\NCWEST\data

    To use the tool we are going to open a command prompt to the \data folder. To do this go into the \NCWEST folder above it, and then [shift+right-click] on the \data folder inside. Choose "open command window here". Then enter the following in the command prompt and hit enter:
    Code:
    bnsdat -x xml.dat
    The tool will now extract and de-compile BnS' xml.dat file. If successful you will see a new folder inside your \data folder, named xml.dat.files

    Step #3: Locate characterdefvaluedata.xml
    The new xml.dat.files folder contains a lot of files, but we only need one in particular. Navigate to the to the xml.dat.files/engine folder and locate characterdefvaluedata.xml. Open this file with Wordpad or any other text editor.

    characterdefvaluedata.xml is the file containing the game's sliders. Scroll down a bit. In the lower half of the file you'll start to see a ton of lines that begin with "body-custom-count" (see screenshot below). All lines that begin with this are sliders for different body parts.

    [​IMG]

    Before we go on you will need to understand how this structure works to successfully edit it.

    Each "entry" (starting with <record body-custom-count and ending in tool-version="#" type="..."/>) relates to a particular race and/or gender, and contains the sliders for all body parts used by that gender.

    Within such an entry you will see a lot of numbers; some which do have quotation marks (" ") around them, and some which do not.
    • The numbers without " " (quotation) marks around them (e.g. the 10 in body-custom-count-10 or the 14 in body-custom-count-min-14) correspond to a particular body part. (there is a list of what each number refers to below).
    • For tweaking the sliders we only need to focus on the lines that appear as body-custom-max- and body-custom-min-... . In such lines, the numbers that do have quotation (" ") marks around them are the slider values. Most of these values appear as 1.00 or -1.00 and similar.
    A lot to take in, but it will become apparent with some examples.

    Before proceeding here is a list of what numbers without quotation " " marks around them refer to what body parts (courtesy of tinker and others):
    Step #4: Changing Values
    Let's start with a simple slider tweak. Say that we want to increase the max. limit of the breast slider from 1.00 (default) to 3.00 for all races. Here is what we are going to do.
    1. Hit the "Replace" button in your text editor.[​IMG]
    2. Going by the list above, value 25 directly affects the breast size.
      Remember from above that we only need to edit the lines that appear as body-custom-max-... and body-custom-min-... for tweaking sliders.
    3. The default value for all "max" sliders is 1.00 (and -1.00 for all "min" sliders). So to increase the breast slider we enter the default value under "find what", and the desired new (modified) value under "replace with". Now we hit "replace all"
      [​IMG]
    Now the maximum breast size has now been increased from 1.00 (20) to 3.00 (60) for all races.

    Another example. Let's say that we also want to increase the minimum limit of the breast slider from its default (-1.00) to -3.00, so that we can make the boobs smaller than normal too. Repeat the above step, but for the min-25 value this time (remember min. values use a negation (-) sign):

    [​IMG]

    Default value on top, intended value below. Replace all and done.

    Race/Gender-Specific Changes
    But not everyone wants to change the sliders for all races. So let's say that we want to increase the breast size for a particular race and gender only.
    Obviously, this means that we cannot use the "replace all" method from above. So instead we have to locate and manually edit the related entry and its values.

    As you will have seen, each entry has a "race" and "sex" field right before the end (tool-version="#" type="..."/>). If you do not have the Korean language font installed on your pc you will see all sorts of gibberish like this:
    [​IMG]

    But if you do have the Korean language font installed you will see Korean characters instead, as it should be. Then you can use the following list for reference:

    So let's say we want to change the breast slider max limit for Yun/Kun only.
    We look (use search) for the entry that has race="건" and sex="여". Once there repeat the steps from above: look for the relevant value (25 for breast size, we are increasing max size so body-custom-max-25) and change the 1.00 to 2.00, 3.00 or whatever value you like.

    Step #5: Saving & Re-Compiling xml.dat
    Once you are done with your changes exit the file (remember to save all changes). Now we have to re-compile xml.dat.

    Before doing so delete your current xml.dat file first. If you did as I said above you will have a backup of it, so you can safely delete the current xml.dat file you have. Why delete it? Because re-compiling when there already is an xml.dat in the \data folder will sometimes cause it to not overwrite properly.

    Bring up the command prompt for the \data folder again (see Step #2 above), but this time enter the following in the command prompt:
    Code:
    bnsdat -c xml.dat.files
    xml.dat is now re-compiled, along with the file containing the updated sliders.
    Ensure that the new xml.dat is (or ends up in) your NCSOFT\BnS\contents\Local\NCWEST\data folder. DO NOT LAUNCH THE GAME YET!!


    Step #6: Bypassing the NC Launcher
    As mentioned above, you will need to launch the game without the NCSoft launcher. The ncsoft launcher will automatically 'repair' the new xml.dat as it auto-fixes any modified files it detects.

    As mentioned atop this post there are a few ways to bypass it:

    • Through a tool like BnsBuddy
    • Via a .bat file. You can download it for B&S NA/EU (West) here: http://i.gflclan.com/start_client.bat. Put this file into your \NCSOFT\BnS\bin folder (the same folder client.exe is in) and make a shortcut to it (right-click > send to desktop). From now on you will be launching the game through that. You can edit this file (right-click>edit) to change between the NA and EU servers: "-region:0" is for NA, "-region:1" for EU.
    • If you launch BnS via Steam you can do the following (ty terrytmk!):
      Use "add non-steam game", find client.exe that run Blade and Soul. Then add the following to launch option:
    Code:
    /LaunchByLauncher /SessKey:"" /MacAddr:"" /UserNick:"" /CompanyID:"0" /ChannelGroupIndex:"-1" /ServerAddr:" " /StartGameID:"BNS" /RepositorySub:" " /GamePath:"" /LoginMode 2 -lang:English -region:1
    -region:1 is EU -region:0 is NA

    After you relaunch steam in admin, you can use steam overlay and bypass the launcher.

    Or you can just manually copy-paste the modified xml.dat file into its respective folder everytime after the regular ncsoft launcher finishes the file check.

    Errors/Fixes
    • If the bnsdat tool doesn't work properly with extracting/de-compiling try moving xml.dat outside of your B&S folder -- that is, copy/move it to another folder (e.g. the same folder the bnsdat tool comes in). Then put bnsdat.exe in that new folder and try de-compiling it there.
    • Make sure the xml.dat is not set to read-only.
    • Run cmd.exe (the commandline prompt) with admin privilege.
    • For more issues see the source thread for the bnsdat tool.
    Uninstalling
    If you'd like the default sliders back at any time simply launch the game through the default ncsoft launcher and let it update/repair.
     
    Last edited: Mar 11, 2017
  2. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    Each record in characterdefvaluedata.xml is tied to a different race/sex combination. So, if you only want to change values for a certain combination(i.e. whatever your character is), find that record and modify only that.
    For example, to modify a body value for Yun female, find the record with race="건" sex="여".
     
  3. mxjzm

    mxjzm Avid Affiliate

    Joined:
    Jul 9, 2013
    Messages:
    100
    Likes Received:
    10
    Just a comment,
    Looks like 23, 24 and 25 are not x, y, z values for breast.
    23 = Separation (x)
    24 = Position (y)
    25 = Full size
    Same as the sliders in character creation. You can increase (or decrease) the size using 25 only.
     
    aliraja likes this.
  4. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    I believe the numbers correspond to these sliders:
    1 Pelvis Width
    2 Pelvis Thickness
    3 Waist Thickness
    4 Waist Length
    5 Thigh Width
    6 Calf Width
    7 Thigh Length
    8 Calf Length
    9 Torso Size
    10 Neck Thickness
    11 Neck Length
    12 Shoulder Height
    13 Shoulder Width
    14 Shoulder Size
    15 Arm Thickness
    16 Arm Length
    17 Hand Size
    18 Hand Length
    19 Foot Size
    20 Build
    21 Height
    22 Head Size
    23 Chest Height
    24 Chest Width
    25 Chest Size
    26 Head Width
     
  5. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    Text for different races for easier searching:
    GonM race="곤" sex="남"
    LynM race="린" sex="남"
    JinM race="진" sex="남"
    YunF race="건" sex="여"
    GonF race="곤" sex="여"
    LynF race="린" sex="여"
    JinF race="진" sex="여"
     
    Naduron and JustGuy like this.
  6. Manning

    Manning Potential Patron

    Joined:
    May 19, 2012
    Messages:
    24
    Likes Received:
    0
    Yeah, where I got stuck is that no new folder appears in the /data folder after running the extraction in the command prompt. The command prompt process seems to work, it say's its extracting, but nothing new appears after its finished.
     
  7. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    What directory are you running bnsdat from?
     
  8. Asmodeus

    Asmodeus Potential Patron

    Joined:
    Jan 25, 2016
    Messages:
    3
    Likes Received:
    0
    I have a problem, I cant get past the part where you enter bnsdat -x xml.dat in the command prompt. It says extracting files and when its done nothing happens, it doesnt create a folder like you said it would. Could anyone help me with that? Or is it possible for someone to just post an xml.dat file with the breasts set to maybe 5 or 7 instead of 3?
     
  9. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    Maybe bnsdat doesn't have permission to write to your B&S directory? You could try making a new folder on your desktop or something, copying everything there and running it to see if that works.
     
  10. Asmodeus

    Asmodeus Potential Patron

    Joined:
    Jan 25, 2016
    Messages:
    3
    Likes Received:
    0
    Ok so I've tried doing it on the desktop and it creates the folder, but its empty :/
     
  11. tinker

    tinker Vivacious Visitor

    Joined:
    Jan 21, 2016
    Messages:
    28
    Likes Received:
    37
    No idea then, and it seems to be common since Manning had the same issue. It isn't really reasonable to create and upload a file for every variation, so I'll see if I can think of an alternative.
     
  12. Asmodeus

    Asmodeus Potential Patron

    Joined:
    Jan 25, 2016
    Messages:
    3
    Likes Received:
    0
    Thank you very much for your help :)
     
  13. Manning

    Manning Potential Patron

    Joined:
    May 19, 2012
    Messages:
    24
    Likes Received:
    0
    @ tinker
    C:\Program Files (x86)\NCSOFT\BnS\contents\Local\NCWEST\data
     
  14. Persocom

    Persocom Potential Patron

    Joined:
    Feb 1, 2016
    Messages:
    4
    Likes Received:
    0
    Yes can you please create a tool to extended the ( Maximum ) ( Minimum ) values of the ( Head ) ( Body ) sliders in the character creation.
    It would mean so much to me, I started this method around 2 AM in the morning today .. It's now 11:51 AM almost 12 PM and for some odd reason..

    My computer won't let me create a xml file... the cmd process is successfull so does my input everything according to this tutorial :[Guide] Blade & Soul: Increased Sliders & xml.dat modding | Undertow

    anyone in here - Please if I may request to you from someone who hasnt sleep today ~__~ can you kindly provide me a

    - 22 - Head Size : minimum ( -4.00 )
    - 13 - Arm Width - maximum ( 4.00 )

    XML File it would mean so so much to me.
     
  15. Neospriggan

    Neospriggan Potential Patron

    Joined:
    Feb 4, 2016
    Messages:
    1
    Likes Received:
    0
    I've followed the steps, but when I try to recompile the xml, it just stops on the first file with the message "ERROR Loading XML Stream"

    Edit: Just realised the folder is Read Only, feel stupid.
     
    Last edited: Feb 4, 2016
  16. Kuhro

    Kuhro Potential Patron

    Joined:
    Feb 8, 2016
    Messages:
    1
    Likes Received:
    0
    Hello. Just did all the steps and i get this error:
    Invalid game client file. Please update the game client or reinstall.(1005) (183)
    Im using the BnS.client.bat for playing. I already did the 3.0 breast boost, but i surely want more. Well but that error is in my way.. can any1 help?
     
  17. JustGuy

    JustGuy Vivacious Visitor

    Joined:
    Feb 25, 2014
    Messages:
    29
    Likes Received:
    23
    This means you are using an older/outdated version of xml.dat. Run the game through the regular launcher and let it patch/update to get the latest version of xml.dat. Extract the new xml.dat with the bnsdat tool and continue your work there.

    You can copypaste your (previously) modified characterdefvaluedata.xml file over from the old xml.dat.files/engines folder over into the new one and recompile it to save yourself some time.
     
  18. moogoogai

    moogoogai Potential Patron

    Joined:
    Feb 9, 2016
    Messages:
    1
    Likes Received:
    0
    Anyone having trouble with the #2 this may help. I searched my c drive for the folder that was supposed to be made and found it here C:\Users\(your computer username)\AppData\Local\VirtualStore\Program Files (x86)\NCSOFT\BnS\contents\Local\NCWEST\data. Just move the items back to the main folder. This worked for #2 and #5.
     
  19. Ryan Scags

    Ryan Scags Potential Patron

    Joined:
    Mar 19, 2016
    Messages:
    3
    Likes Received:
    0
    is this tool broken? i keep trying yet i get a bad address error. Can someone help me?
     
  20. Ritus

    Ritus Potential Patron

    Joined:
    Jan 1, 2017
    Messages:
    4
    Likes Received:
    0
    My XML file is not translate :(
    Can anyone help
    LMXBOSLBÂ