patching BCS files
#1
Posted 09 February 2009 - 08:01 AM
#2
Posted 09 February 2009 - 09:57 AM
Could you elaborate a bit as to what you're trying to do?if you patch BCS files using the normal copy command, to replace strings does it screw up the bcs if the strings used are different lengths?
I'd go about patching a script like this:
COPY_EXISTING ~script.bcs~ ~override~ DECOMPILE_BCS_TO_BAF REPLACE_TEXTUALLY ~this~ ~that~ // any number of other REPLACE_TEXTUALLY statements here COMPILE_BAF_TO_BCS
#3
Posted 09 February 2009 - 10:30 AM
Could you elaborate a bit as to what you're trying to do?if you patch BCS files using the normal copy command, to replace strings does it screw up the bcs if the strings used are different lengths?
I'd go about patching a script like this:COPY_EXISTING ~script.bcs~ ~override~ DECOMPILE_BCS_TO_BAF REPLACE_TEXTUALLY ~this~ ~that~ // any number of other REPLACE_TEXTUALLY statements here COMPILE_BAF_TO_BCS
i was doing exactly that, just not decompiling first. since i was replacing item names with different item names, and even while compiled they're still strings, i figured replacing one for the other should work, just wasn't sure if WIEDU properly extends or shortens the lines if the strings are different lengths.
#4
Posted 09 February 2009 - 02:18 PM
It does. You can use REPLACE_TEXTUALLY to add stuff, change stuff, or delete stuff.i was doing exactly that, just not decompiling first. since i was replacing item names with different item names, and even while compiled they're still strings, i figured replacing one for the other should work, just wasn't sure if WIEDU properly extends or shortens the lines if the strings are different lengths.