1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hi Guest! To get rid of ads on the page, please consider donating through user upgrades or other methods.
    Dismiss Notice
Hi Guest! Please use the alternative launcher provided in our BnS Buddy Discord Server to able to play with addons/mods.

Solved "xml.dat\engine\.xml" Addons?

Discussion in 'Support' started by Gezel, Dec 28, 2017.

Thread Status:
Not open for further replies.
  1. Gezel
    16%

    Gezel Cricket Member

    I wanted to make addons to change iris colors, but even though it seems there's no problem in applying them in BnS Buddy's log, the value in the .xml does not change.

    This is how I have my .patch set up, and editing this manually gives me the desired result, so I'm thinking I didn't format the directory properly?
    Code:
    FileName = xml[bit].dat.files\\engine\\charactertoolappearance_color.xml
    Search = <record alias="JinF_iriscolor_002" color-1="0.700000,0.030000,0.030000" color-10="0.000000,0.000000,0.000000" color-2="0.820000,0.290000,0.000000"
    Replace = <record alias="JinF_iriscolor_002" color-1="2.100000,0.090000,0.090000" color-10="0.000000,0.000000,0.000000" color-2="2.420000,0.870000,0.000000"
    Description = Changes the JinF's red eye color (02) to be more vivid.
     
  2. GunerX
    82%

    GunerX Administrator Staff Member Administrator Moderator

    try typing out the entire code, rather than just part of it. you dont have the end of the code on there
     
  3. Gezel
    16%

    Gezel Cricket Member

    I did that initially, same result. I actually trimmed it to see if perhaps it didn't work with such long strings, but that isn't the problem.
     
  4. Heldegas
    34%

    Heldegas Cricket Member

    I'm not sure but I think you can remove the "\\engine" part and try it this way to see if it works ?
    Might be that it's not taking sub-directories into account.
     
  5. Gezel
    16%

    Gezel Cricket Member

    Made sense, but if tried this way, it has to skip patching because "xml.dat.files\charactertoolappearance_color.xml does not exist".

    Edit: With "FileName = xml[bit].dat.files\\engine\\charactertoolappearance_color.xml", it correctly decompiles and edits the target .xml, but does not compile a new xml.dat before starting the game, as it does with addons that edit anything directly under xml.dat.files\.
     
    Last edited: Dec 28, 2017
  6. Heldegas
    34%

    Heldegas Cricket Member

    Just tried with this, seemed to patch it :

    Code:
    FileName = xml[bit].dat.files\\engine\charactertoolappearance_color.xml
    But I also entered full strings, haven't tested without full strings so here's the full code in case :

    Code:
    FileName = xml[bit].dat.files\\engine\charactertoolappearance_color.xml
    Search = <record alias="JinF_iriscolor_002" color-1="0.700000,0.030000,0.030000" color-10="0.000000,0.000000,0.000000" color-2="0.820000,0.290000,0.000000" color-3="0.000000,0.000000,0.000000" color-4="0.000000,0.000000,0.000000" color-5="0.000000,0.000000,0.000000" color-6="0.000000,0.000000,0.000000" color-7="0.000000,0.000000,0.000000" color-8="0.000000,0.000000,0.000000" color-9="0.000000,0.000000,0.000000" data-version="2" description="" id="2" name="JinF_iriscolor_002" race="진" sex="여" type-color="eye2-iris-color" />
    Replace = <record alias="JinF_iriscolor_002" color-1="2.100000,0.090000,0.090000" color-10="0.000000,0.000000,0.000000" color-2="2.420000,0.870000,0.000000" color-3="0.000000,0.000000,0.000000" color-4="0.000000,0.000000,0.000000" color-5="0.000000,0.000000,0.000000" color-6="0.000000,0.000000,0.000000" color-7="0.000000,0.000000,0.000000" color-8="0.000000,0.000000,0.000000" color-9="0.000000,0.000000,0.000000" data-version="2" description="" id="2" name="JinF_iriscolor_002" race="진" sex="여" type-color="eye2-iris-color" />
    Description = Changes the JinF's red eye color (02) to be more vivid.
     
  7. Gezel
    16%

    Gezel Cricket Member

    Will try right now. Thank you for the help!

    Edit: Unfortunately it does not, at least not for me. It once again started the game before even attempting to recompile.
    [​IMG][​IMG]

    Edit 2:
    [​IMG]
     
    Last edited: Dec 29, 2017
  8. Heldegas
    34%

    Heldegas Cricket Member

    You're welcome, let me know if it works :)
     
  9. War
    16%

    War Sand Warrior Member

    rip once i slept this topic started , feelsbadman :bnscry:
    glad you found the assist you needed Gezel:bnsthumbsup::bnswink:
     
  10. Gezel
    16%

    Gezel Cricket Member

    I still can't get it to recompile the edits before running the game, so I'd like to hear what you have to say! :)
     
  11. Endless
    74%

    Endless Founder Staff Member Administrator

    Guys, if it doesn't compile is because you're using a character that is not supported.
    for example french quotes “ and ”
     
  12. Gezel
    16%

    Gezel Cricket Member

    Are you completely sure that is the reason? Upon reading your post I immediately thought "oh, of course, the Korean characters at the end", but the short code I posted at first that doesn't have them and should work still doesn't, and there are no other iffy characters in it as far as I'm aware?
     
  13. Endless
    74%

    Endless Founder Staff Member Administrator

    not really, kor char are 'a ok.
     
  14. Gezel
    16%

    Gezel Cricket Member

    Then why does it not work? It has absolutely no characters that aren't used in editing something like client.config2.xml...
     
  15. Endless
    74%

    Endless Founder Staff Member Administrator

    i have no idea, have you tried on previous update?
     
  16. Endless
    74%

    Endless Founder Staff Member Administrator


    Fixed a bug on a new release of bns buddy not clearing the old dat files.
    Try this one: https://cdn.discordapp.com/attachme...15589089153122304/Release-Test5.8.9.4rev7.rar
    It fixed the problem for me <3

    And since this topic was open for quite a while and addon works for me, i'll assume it'll be solved.
     
Thread Status:
Not open for further replies.