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

subrecord FULL size in WRLD record #15

Open
leihao opened this issue Feb 27, 2012 · 2 comments
Open

subrecord FULL size in WRLD record #15

leihao opened this issue Feb 27, 2012 · 2 comments

Comments

@leihao
Copy link

leihao commented Feb 27, 2012

<Subrecord name="FULL" desc="FULL" optional="1" size="4">
  <Element name="Unknown" type="lstring" />
</Subrecord>

why it should be fixed to 4?even the official record cannot satisfy this.

@figment
Copy link
Owner

figment commented Mar 10, 2012

If it really is an lstring then ESM files will always be 4 bytes in size. The reason the size is there is because all known records of that type have that size. The file was auto generated from the base ESM files.

Its not strictly required to have the size though. We can remove the setting.

@Sharlikran
Copy link
Contributor

It's a Localized string. It is either 4 bytes for the pointer to the strings files, or it's a regular string. The size="4" should not be there. I didn't work on the 4.4a dev version so I'm not sure what you would put so that TESVSnip will handle it as a regular string or as a 4 byte pointer to the loclized string from the Strings files.

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

No branches or pull requests

3 participants