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

[MAC] Import package fails everytime - 4 byte error #276

Closed
JustinAiken opened this issue Dec 23, 2016 · 5 comments
Closed

[MAC] Import package fails everytime - 4 byte error #276

JustinAiken opened this issue Dec 23, 2016 · 5 comments

Comments

@JustinAiken
Copy link

Any DLC, whether it's an ODLC I bought or a CDLC from customsforge, same result: import fails with the 4 byte error message

Log: https://gist.github.com/JustinAiken/fcfd495601f1edd7231d0d160e0a6656

Unpacking also displays the warning, but the folder it extracts to usually seems to be okay

@L0FKA
Copy link
Member

L0FKA commented Dec 25, 2016

it's clearly issue I was aware from the begining of rs2014 mac support, I know It fail to detect package right under non windows. but I know easy fix is to write "detect function" which is first try to read if fail then try to read it with mac key, but still Idk why it fails to run that name magic we've got as filter for the same prupose :D

@cozy1
Copy link
Contributor

cozy1 commented Feb 14, 2017

@JustinAiken Try the latest beta and let us know if it is fixed. If you still get the error then try the HINT.

Corrupt CDLC ... Regenerating with Creator GUI may fix it. Make sure the song information is complete and correct, including Song Year and Avg Tempo information. (HINT)

@JustinAiken
Copy link
Author

Got this with 5829b2b:

2017-02-14 15:57:37.8749 | RocksmithToolkitGUI.Program (INFO) : 
 RocksmithToolkitGUI.Program.Main 
 Version: 2.8.1.0-5829b2be (32 bit)
 OS: Unix 15.6.0.0 (32 bit)
 Runtime: v4.0.30319.17020
 JIT: Mono 

2017-02-14 15:58:40.2091 | RocksmithToolkitGUI.Program (ERROR) : 
 RocksmithToolkitGUI.Program+<>c.<Main>b__1_1 
 
RocksmithToolkitLib
Boolean GetBoolean(System.String)
Exception catched:

 
System.NullReferenceException Object reference not set to an instance of an object Boolean GetBoolean(System.String)   at RocksmithToolkitLib.XmlRepository.ConfigRepository.GetBoolean (System.String configKey) [0x00000] in <filename unknown>:0 
  at RocksmithToolkitGUI.DLCPackageCreator.DLCPackageCreator.btnPackageImport_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0  System.NullReferenceException: Object reference not set to an instance of an object
  at RocksmithToolkitLib.XmlRepository.ConfigRepository.GetBoolean (System.String configKey) [0x00000] in <filename unknown>:0 
  at RocksmithToolkitGUI.DLCPackageCreator.DLCPackageCreator.btnPackageImport_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 

Then went to settings and checked "Import Structured Packages", and now it works... 👍

@cozy1
Copy link
Contributor

cozy1 commented Feb 16, 2017

@JustinAiken Version: 2.8.1.0-5829b2be was very buggy. Would appreciate it if you would try with 2.8.1.0 (rev 150afd29)

@JustinAiken
Copy link
Author

150afd2 works great 👍

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

3 participants