StartIndex Error in Magma

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #394312

    I keep getting a weird error in Magma when trying to build a song, and I have no idea how to fix it.

     

    Here’s the error:

     

    StartIndex cannot be less than zero.

    Parameter name: startIndex.

     

    Any help?

    #474576
    TrojanNemo
    Participant

      Post the entire log and error message.

      #474577

       

      System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

      Parameter name: startIndex
      at System.String.Substring(Int32 startIndex, Int32 length)
      at bk.b(String A_0)
      at bk.a(IEnumerable`1 A_0)
      at bk.e(Object A_0, EventArgs A_1)
      at System.Windows.Forms.Timer.OnTick(EventArgs e)
      at System.Windows.Forms.Timer.TimerNativeWindow.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.6.1063.1 built by: NETFXREL3STAGE
      CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

      MagmaC3
      Assembly Version: 2.3.2.0
      Win32 Version: 2.3.2.0
      CodeBase: file:///C:/Users/blaha_000/Documents/Customs%20for%20RB3/Magma/MagmaC3.exe

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

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

      Bass.Net
      Assembly Version: 2.4.11.0
      Win32 Version: 2.4.11.0
      CodeBase: file:///C:/Users/blaha_000/Documents/Customs%20for%20RB3/Magma/bin/Bass.Net.DLL

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

      System.Drawing
      Assembly Version: 4.0.0.0
      Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
      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.6.1038.0 built by: NETFXREL2
      CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

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

      NAudio
      Assembly Version: 1.7.2.19
      Win32 Version: 1.7.2.19
      CodeBase: file:///C:/Users/blaha_000/Documents/Customs%20for%20RB3/Magma/bin/NAudio.DLL

      ************** 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.
      #474585
      TrojanNemo
      Participant

        That seems to be an issue with the naming of something in your MIDI file. What version of Magma is this? Post the MIDI so I can take a look.

        #474586
        #474587
        TrojanNemo
        Participant

          Please read what I wrote, respond to my question and do what I said. You did neither.

          #474588

          Whoops, I misread it. C3 Roks Edition v3, and here’s the MIDI file: http://www.mediafire.com/download/9mjelcwan40a2kk/Shake+Tramp+RB3+Custom.mid

          #474589
          TrojanNemo
          Participant

            Have you ever tried running it through MIDI Tester in Magma? I don’t have REAPER installed, so I can’t check…but MIDI Tester says you have at least two tracks named HARM2. There’s also other issues, I’m willing to bet. The error in Magma, does it happen when you click Build? If so, at which point exactly does it happen? Go through your MIDI tracks and make sure they’re named correctly.

            #474616

            I figured out what was wrong. There wasn’t two tracks named HARM2, but the HARM2 track event wasn’t at the beginning, it was a few ticks to the right. I didn’t even realize it until I zoomed in ridiculously close.

          Viewing 9 posts - 1 through 9 (of 9 total)
          • You must be logged in to reply to this topic.
          Back to top button