• Hi Guest! To get rid of ads on the page, please consider donating through user upgrades or other methods.

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

Status
Not open for further replies.

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.
 

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
 

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.
 

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.
 

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:

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.
 

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.

Edit 2:
 
Last edited:

War

Sand Warrior
Member
rip once i slept this topic started , feelsbadman :bnscry:
glad you found the assist you needed Gezel:bnsthumbsup::bnswink:
 

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! :)
 

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 ”
 

Gezel

Cricket
Member
Guys, if it doesn't compile is because you're using a character that is not supported.
for example french quotes “ and ”
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?
 

Endless

Founder
Staff member
Administrator
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?
not really, kor char are 'a ok.
 

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...
 

Endless

Founder
Staff member
Administrator
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.

Edit 2:

Fixed a bug on a new release of bns buddy not clearing the old dat files.
Try this one: https://cdn.discordapp.com/attachments/340557572576903192/415589089153122304/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.
 
Status
Not open for further replies.
Top Bottom