Chadderz121 / yamlconv

Converts between BYAML and XML
GNU General Public License v2.0
10 stars 5 forks source link

Add support for Splatoon byamls which do not have a path value table #2

Closed zhuowei closed 9 years ago

zhuowei commented 9 years ago

Their header only have 3 ints, so if the fourth one is invalid, assume there is no path value table

(Also, offtopic, but: I find it amusing that you're converting BYAML to XML instead of regular YAML)

Chadderz121 commented 9 years ago

Thanks for the patch, I've enhanced it to add support for creating 3 offset BYAMLs too in commit 44ea42df6a567997d3445897caa50d9976fbd201. This adds an attribute yamlconv:offsetCount to the xml to control the output format.

I chose XML for my own coding convenience; this tool was developed rapidly in an afternoon to have something working and I knew the System.Xml library already. I agree it's not the best choice though :wink: