Jump to content

Error converting vocal SNG file to XML : No overload for method Serialize takes '2' arguments.


ingyom123
 Share

Recommended Posts

I am trying to convert a vocal PS3 SNG file to XML, and getting the following error: 

 

--- No overload for method 'Serialize' takes 2 arguments. ---

 

It is coming from the MS CSharp RuntimeBinder. 

 

I tried it with the latest general and beta versions (2.8.4.0 and 2.8.4.1) both resulted the same error. 

I did used the 'vocal' option for the Arrangment type. 

XML conversion works fine for the non vocal SNG files. 

 

Any idea what can cause this error, and how could I fix it? 

 

------------------

 

2017-12-07 12:10:50.1371 | RocksmithToolkitGUI.Program (INFO) : 
 RocksmithToolkitGUI.Program.Main 
 RocksmithToolkitGUI: v2.8.4.1-1df2e6f9 BETA
 RocksmithToolkitLib: v2.8.4.1-1df2e6f9 BETA
 RocksmithToolkitUpdater: v2.8.4.0-420e01fc 
 OS: Microsoft Windows NT 10.0.16299.0 (64 bit)
 Runtime: v4.0.30319.42000
 JIT: MsX86
 Wine:  
 
2017-12-07 12:12:38.2562 | RocksmithToolkitGUI.Program (ERROR) : 
 RocksmithToolkitGUI.Program+<>c__DisplayClass1_0.<Main>b__1 
 
Anonymously Hosted DynamicMethods Assembly
Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)
Exception catched:
 
 
 
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException No overload for method 'Serialize' takes '2' arguments Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)    at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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) Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: No overload for method 'Serialize' takes '2' arguments
   at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)
2017-12-07 12:18:51.9830 | RocksmithToolkitGUI.Program (ERROR) : 
 RocksmithToolkitGUI.Program+<>c__DisplayClass1_0.<Main>b__1 
 
Anonymously Hosted DynamicMethods Assembly
Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)
Exception catched:
 
 
 
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException No overload for method 'Serialize' takes '2' arguments Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)    at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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) Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: No overload for method 'Serialize' takes '2' arguments
   at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)
 
Link to comment
Share on other sites

@@ingyom123 well upload it somewhere and I need psarc you're trying to savage actually all you need to do is unpack it to the folder and you'll get all the xml files you can use those in new eof project just like that.. I disin't get what's you're trying to do with developers tools :)

Link to comment
Share on other sites

  • Developer
 RocksmithToolkitGUI: v2.8.4.1-1df2e6f9 BETA

 RocksmithToolkitLib: v2.8.4.1-1df2e6f9 BETA

 RocksmithToolkitUpdater: v2.8.4.0-420e01fc 

 OS: Microsoft Windows NT 10.0.16299.0 (64 bit)

 

Since your RocksmithTookitUpdater is not on the same rev as others, it looks like Win10 (defender) may be blocking the toolkit.

 

Have a look here for how to unblock it from Windows Defender.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

I was trying to savage Taylor-Swift_Teardrops-On-My-Guitar_v1_0_ps3_PS3 what I just downloaded from customforge. When unpacking it in the RStoolkit - even after telling I want the XML files - , it did not created those, only the SNG files.

 

Still the SNG ->XML conversion worked fine for the guitar/bass tracks, but fails with the above error for the vocal track.  

Link to comment
Share on other sites

I have 3 different rstoolkit installed at the moment. 

1, downloaded old not updated.

2, downloaded old updated.

3, downloaded new. 

 

You might be correct , (2) might have an update problem, but 1 and 3 gives the exact same error, so the root cause is not the different version of the updater. Here is the error from the 'all new' version : 

 

2017-12-07 16:04:46.0964 | RocksmithToolkitGUI.Program (INFO) : 
 RocksmithToolkitGUI.Program.Main 
 RocksmithToolkitGUI: v2.8.4.1-1df2e6f9 BETA
 RocksmithToolkitLib: v2.8.4.1-1df2e6f9 BETA
 RocksmithToolkitUpdater: v2.8.4.1-1df2e6f9 BETA
 OS: Microsoft Windows NT 10.0.16299.0 (64 bit)
 Runtime: v4.0.30319.42000
 JIT: MsX86
 Wine:  
 
 
Anonymously Hosted DynamicMethods Assembly
Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)
Exception catched:
 
 
 
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException No overload for method 'Serialize' takes '2' arguments Void CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.IO.FileStream, Boolean)    at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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) Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: No overload for method 'Serialize' takes '2' arguments
   at CallSite.Target(Closure , CallSite , Object , FileStream , Boolean )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at RocksmithToolkitGUI.SngConverter.SngConverter.convertSngXmlButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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) 

Link to comment
Share on other sites

@@ingyom123 well most tested stuff is for pc so you'd better DL _p.psarc version and unpack that ps3 package could be corrupted on your side since I've got ps3 unpacked fine still it shows some error about missing "songs.manifest.json" all other parts are 100% fine

 

p.s. this is the song http://customsforge.com/page/customsforge_rs_2014_cdlc.html/_/pc-enabled-rs-2014-cdlc/teardrops-on-my-guitar-r9121

Link to comment
Share on other sites

@@ingyom123 weird things going around. validate your NET framework install and try again. meanwile here's the xml files for you

https://drive.google.com/open?id=11w2VjSUXcWJ-NCtd-atcb_tyf9s4ZvmG

Link to comment
Share on other sites

  • Developer

@Alex360  Problem is with the Serialize methods.  Vocals Serialize takes one argument and Song2014 Serialize has two arguments.

 

You want me to fix or are you going to?  It's a two line fix.

 

EDIT: NVM I committed the fix.

 

 

@ingyom123 There are much easier ways to extract the vocals.xml than using SNG->XML converter. 

 

You can use:

1) the Creator GUI and Import Package

or

2) the Packer/Unpacker

 

... to unpack the CDLC and get all the xml's.

Are you tired of AV False Positives???  Now accepting donations on my website (Click Here)  Your donation will be used towards buying a code signing certificate.   CGT is now compatible and safe to use with Rocksmith® 2014 Remastered ... 

 

Latest Build of Custom Game Toolkit (CGT) w/ Game Save Gigbox       Latest Build of Rocksmith Toolkit       Latest Build of Customs Forge Song Manager (CFSM)

 

All bug reports and help requests please include your: OS, CPU, AV, .NET Framework versions along with a description of the issue (include screenshots of error if possible).  It should go without having to say ... make sure you are using the latest build before submitting bug reports or asking for help.

 

*  Remember to use your magic words (please and thank you) if you would like a response.  Don't use phrases like 'thanks anyhow' as it is demeaning.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. - Privacy Policy