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

Blas/Voic files always throw Argument Exception #1

Closed
nguoiyoujie opened this issue Sep 2, 2019 · 3 comments
Closed

Blas/Voic files always throw Argument Exception #1

nguoiyoujie opened this issue Sep 2, 2019 · 3 comments

Comments

@nguoiyoujie
Copy link

When used in conjunction with the Sound Editor, the Blas / Voic files always throw an exception: "Raw header is not for a Blas or Voic resource"

To resolve, this should be changed:

LfdReader/Blas.cs/Line 111
if (_type != ResourceType.Blas || _type != ResourceType.Voic) throw new ArgumentException("Raw header is not for a Blas or Voic resource");

to

if (_type != ResourceType.Blas && _type != ResourceType.Voic) throw new ArgumentException("Raw header is not for a Blas or Voic resource");

MikeG621 added a commit that referenced this issue Sep 2, 2019
@MikeG621
Copy link
Owner

MikeG621 commented Sep 2, 2019

Fixed and uploaded v1.2.1 of the library, load that and you should be set.

@MikeG621
Copy link
Owner

MikeG621 commented Sep 2, 2019

And you'll probably need to also grab the Common library as well.

@MikeG621
Copy link
Owner

MikeG621 commented Sep 7, 2019

TSE updated and released.

@MikeG621 MikeG621 closed this as completed Sep 7, 2019
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

2 participants