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

Can't convert wav file to BRSTM without having to shorten it because windows forms is not happy with a big number. #51

Open
1 task done
shahoob opened this issue Sep 9, 2022 · 0 comments

Comments

@shahoob
Copy link

shahoob commented Sep 9, 2022

Describe the bug
Windows Forms is not happy with 6154520.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'File'
  2. Hover on 'New'
  3. Click on 'BRSTM Audio Stream'
  4. Open Rainbow Road (Restored) - Super Mario Kart.wav downloaded from here
  5. See error

Expected behavior
Successfully load the file and let the user to their thing.
See attached screenshot

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • Version v0.38

Crash Log

Value of '6154520' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value 
   at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
   at BrawlLib.Internal.Windows.Forms.BrstmConverterDialog.LoadAudio(String path)
   at BrawlLib.Internal.Windows.Forms.BrstmConverterDialog.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Additional context
Workaround: Shorten the song enough.

and listen to this masterpiece
also the file in the screenshot is also a masterpiece
listen to it

  • Please attach any relevant files you were working on.
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

1 participant