Gota7 / Citric-Composer

Editor for 3ds, WiiU, and Switch sound files.
76 stars 12 forks source link

Isabelle sound editor error .bwav #17

Open donotprikel opened 2 years ago

donotprikel commented 2 years ago

I got 5 .bwav files I WANT to play in the editor. when I import it gets an error like this. The index was out of range. Must be non-negative and less than the size of the collection. When I saw that changed the name to wav.bwav and now I get the same error so what do I do.

ERROR

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.BitConverter.ToUInt16(Byte[] value, Int32 startIndex) at Syroot.BinaryData.BinaryDataReader.ReadUInt16() at CitraFileLoader.BinaryWave.Load(Byte[] b) at Citric_Composer.IsabelleSoundEditor.importFileToolStripMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Citric Composer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/donot/Downloads/Nintendo%20modifiers/Citric%20composer/Citric%20Composer.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

ScintillaNET Assembly Version: 3.6.3.0 Win32 Version: 3.6.3.0 CodeBase: file:///C:/Users/donot/Downloads/Nintendo%20modifiers/Citric%20composer/ScintillaNET.DLL

CSCore Assembly Version: 1.2.1.2 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/donot/Downloads/Nintendo%20modifiers/Citric%20composer/Citric%20Composer.exe

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

NAudio Assembly Version: 1.8.4.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/donot/Downloads/Nintendo%20modifiers/Citric%20composer/Citric%20Composer.exe

Syroot.BinaryData Assembly Version: 2.0.2.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/donot/Downloads/Nintendo%20modifiers/Citric%20composer/Citric%20Composer.exe

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

PlatinumLucario commented 2 years ago

Could be related to the System.NullReferenceException issue upon opening Isabelle or even loading in a stream. I'm still new to programming, so it may take time for me to learn how to fix issues like this. In the meantime, you're always welcome to experiment around with my .NET 5 and 6 port of Citric Composer's code found here.

wolfboy555 commented 2 months ago

can anyone help me i want to replace a sound effect in Mario odyssey and I've got the wave and replaced it with the original but there's no way to convert it into a bfsar file which is what i need