Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support null values (type 0xff) #3

Open
zhuowei opened this issue Aug 3, 2015 · 1 comment
Open

Support null values (type 0xff) #3

zhuowei opened this issue Aug 3, 2015 · 1 comment

Comments

@zhuowei
Copy link
Contributor

zhuowei commented Aug 3, 2015

Some Splatoon byamls (e.g. content\Pack\Static.pack:Mush\MapInfo.byaml in update v64) contains tags with type 0xff and offset 0xffffff; I'm guessing they're null values, which do exist in regular YAML (http://yaml.org/type/null.html).

Not sure how to represent them in the XML version though - I'm currently printing them as "null", like <value AbnormalYPos="null", but that can't be imported back since "null" may legitimately occur in a string.

@Chadderz121
Copy link
Owner

I've had an attempt at adding support for null nodes in commit 17ec6a4. I chose to make null values separate elements rather than attributes, with type attribute set to "null". This should avoid ambiguity. If this doesn't work, please submit a patch, otherwise you can close this issue if it works first try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants