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 install Ra2 from retail desk. os x (10) #55

Closed
jtyle6 opened this issue Jan 18, 2016 · 7 comments
Closed

Can't install Ra2 from retail desk. os x (10) #55

jtyle6 opened this issue Jan 18, 2016 · 7 comments
Labels

Comments

@jtyle6
Copy link
Contributor

jtyle6 commented Jan 18, 2016

I have compiled the game from the development Version of the game,

Mod Chooser Mod at Version {DEV_VERSION}
Operating System: OSX (Unix 14.5.0.0)
Runtime Version: Mono 4.0.1 ((detached/ed1d3ec Tue May 26 17:22:37 EDT 2015) CLR 4.0.30319.17020
Exception of type `System.Reflection.TargetInvocationException`: Exception has been thrown by the target of an invocation.
Inner Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object
    at OpenRA.Mods.Common.Widgets.Logic.InstallFromCDLogic.Install (System.String source) [0x000f0] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/Logic/Installation/InstallFromCDLogic.cs:158 
  at OpenRA.Mods.Common.Widgets.Logic.InstallFromCDLogic.CheckForDisk () [0x0001b] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/Logic/Installation/InstallFromCDLogic.cs:73 
  at OpenRA.Mods.Common.Widgets.Logic.InstallFromCDLogic..ctor (OpenRA.Widgets.Widget widget, System.Action afterInstall, System.String modId) [0x00100] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/Logic/Installation/InstallFromCDLogic.cs:49 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:535 
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00013] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:541 
  at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000a5] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:526 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:554 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62 
  at OpenRA.ObjectCreator.CreateUsingArgs (System.Reflection.ConstructorInfo ctor, System.Collections.Generic.Dictionary`2 args) [0x00062] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//ObjectCreator.cs:88 
  at OpenRA.ObjectCreator.CreateObject[ChromeLogic] (System.String className, System.Collections.Generic.Dictionary`2 args) [0x00063] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//ObjectCreator.cs:53 
  at OpenRA.Widgets.Widget+<PostInit>c__AnonStorey0.<>m__0 (System.String l) [0x00011] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/Widget.cs:254 
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.String,OpenRA.Widgets.ChromeLogic].MoveNext () [0x00059] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2266 
  at System.Linq.Enumerable.ToArray[ChromeLogic] (IEnumerable`1 source) [0x0007c] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2896 
  at OpenRA.Widgets.Widget.PostInit (OpenRA.Widgets.WidgetArgs args) [0x0004c] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/Widget.cs:255 
  at OpenRA.WidgetLoader.LoadWidget (OpenRA.Widgets.WidgetArgs args, OpenRA.Widgets.Widget parent, OpenRA.MiniYamlNode node) [0x001ef] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/WidgetLoader.cs:74 
  at OpenRA.WidgetLoader.LoadWidget (OpenRA.Widgets.WidgetArgs args, OpenRA.Widgets.Widget parent, System.String w) [0x00032] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/WidgetLoader.cs:43 
  at OpenRA.Widgets.Ui.OpenWindow (System.String id, OpenRA.Widgets.WidgetArgs args) [0x00012] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/Widget.cs:47 
  at OpenRA.Mods.Common.Widgets.Logic.InstallLogic+<InstallLogic>c__AnonStorey0.<>m__3 () [0x0000b] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/Logic/Installation/InstallLogic.cs:37 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.<ButtonWidget>m__A (MouseInput _) [0x00006] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/ButtonWidget.cs:70 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.HandleMouseInput (MouseInput mi) [0x000bc] in /Users/jtyle6/Documents/OpenRA/OpenRA.Mods.Common//Widgets/ButtonWidget.cs:158 
  at OpenRA.Widgets.Widget.HandleMouseInputOuter (MouseInput mi) [0x000ce] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/Widget.cs:369 
  at OpenRA.Widgets.Ui.HandleInput (MouseInput mi) [0x0002c] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Widgets/Widget.cs:87 
  at OpenRA.DefaultInputHandler+<OnMouseInput>c__AnonStorey2.<>m__0 () [0x00006] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Input/InputHandler.cs:49 
  at OpenRA.Sync.CheckSyncUnchanged[Boolean] (OpenRA.World world, System.Func`1 fn) [0x00008] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Sync.cs:178 
  at OpenRA.DefaultInputHandler.OnMouseInput (MouseInput input) [0x00020] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Input/InputHandler.cs:49 
  at OpenRA.Platforms.Default.Sdl2Input.PumpInput (IInputHandler inputHandler) [0x001e7] in /Users/jtyle6/Documents/OpenRA/OpenRA.Platforms.Default//Sdl2Input.cs:106 
  at OpenRA.Platforms.Default.Sdl2GraphicsDevice.PumpInput (IInputHandler inputHandler) [0x0000e] in /Users/jtyle6/Documents/OpenRA/OpenRA.Platforms.Default//Sdl2GraphicsDevice.cs:355 
  at OpenRA.Renderer.EndFrame (IInputHandler inputHandler) [0x0000e] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Renderer.cs:156 
  at OpenRA.Game.RenderTick () [0x00142] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Game.cs:621 
  at OpenRA.Game.Loop () [0x0013e] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Game.cs:731 
  at OpenRA.Game.Run () [0x00042] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Game.cs:749 
  at OpenRA.Program.Run (System.String[] args) [0x00011] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Support/Program.cs:117 
  at OpenRA.Program.Main (System.String[] args) [0x00050] in /Users/jtyle6/Documents/OpenRA/OpenRA.Game//Support/Program.cs:39 

exception.log.zip

@jtyle6 jtyle6 changed the title Can't install Ra2 from retail desk. os x (10) [Bug] Can't install Ra2 from retail desk. os x (10) Jan 18, 2016
@abcdefg30
Copy link
Member

I guess you tried to use the Install from CD option?

As long as this crashes (we don't support CD installation yet: #51, but shouldn't crash either),
you can try to install the content by hand. See our wiki guide.

@jtyle6
Copy link
Contributor Author

jtyle6 commented Jan 18, 2016

That's what I have tried.

@abcdefg30
Copy link
Member

I filed #57 to fix the crash. Unfortunately that will still not add support for the actual installing but only fix the crash.

@abcdefg30
Copy link
Member

Actually, we can support installing the music. From #57:

I just found out, that we can support installing the music (THEME.mix) from CD by changing the order of ExtractFilesFromCD (as THEME.mix is located in the main directory, not inside of the CAB).

@jtyle6 jtyle6 changed the title [Bug] Can't install Ra2 from retail desk. os x (10) Can't install Ra2 from retail desk. os x (10) Jan 19, 2016
@jtyle6
Copy link
Contributor Author

jtyle6 commented Jan 19, 2016

I have copied file's from the wiki.
And it still crashes.

Operating System: OSX (Unix 14.5.0.0)
Runtime Version: Mono 4.0.1 ((detached/ed1d3ec Tue May 26 17:22:37 EDT 2015) CLR 4.0.30319.17020
Exception of type `System.IO.FileNotFoundException`: Could not load file or assembly '/Users/JoelTyler/Library/Application Support/OpenRA//mods/ra2/OpenRA.Mods.RA2.dll' or one of its dependencies. The system cannot find the file specified.
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/corlib/System.Reflection/Assembly.cs:487 
  at OpenRA.ModData.<ModData>m__0 (System.String path) [0x00001] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//ModData.cs:48 
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.String,System.Reflection.Assembly].MoveNext () [0x00059] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2266 
  at System.Linq.Enumerable+<CreateConcatIterator>c__Iterator1`1[System.Reflection.Assembly].MoveNext () [0x000e5] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:598 
  at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,OpenRA.Primitives.Pair`2[System.Reflection.Assembly,System.String]].MoveNext () [0x0009a] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2300 
  at System.Linq.Enumerable.ToArray[Pair`2] (IEnumerable`1 source) [0x0007c] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2896 
  at OpenRA.ObjectCreator..ctor (IEnumerable`1 sourceAssemblies) [0x00059] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//ObjectCreator.cs:29 
  at OpenRA.ModData..ctor (System.String mod, Boolean useLoadScreen) [0x00078] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//ModData.cs:49 
  at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x00166] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Game.cs:342 
  at OpenRA.Mods.Common.Widgets.Logic.ModBrowserLogic+<LoadMod>c__AnonStorey1.<>m__0 () [0x00022] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Mods.Common//Widgets/Logic/ModBrowserLogic.cs:197 
  at OpenRA.Primitives.ActionQueue.PerformActions (Int32 currentTime) [0x0008b] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Primitives/ActionQueue.cs:52 
  at OpenRA.Game.LogicTick () [0x0000d] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Game.cs:574 
  at OpenRA.Game.Loop () [0x000d4] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Game.cs:709 
  at OpenRA.Game.Run () [0x00042] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Game.cs:749 
  at OpenRA.Program.Run (System.String[] args) [0x00011] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Support/Program.cs:117 
  at OpenRA.Program.Main (System.String[] args) [0x00050] in /Users/JoelTyler/Documents/OpenRA/OpenRA.Game//Support/Program.cs:39 
 ...

@phrohdoh
Copy link
Member

You have to build the OpenRA.Mods.RA2.sln also.
Documentation is lacking, sorry for that.

If you have xbuild you can run xbuild OpenRA.Mods.RA2.sln and it will build the assembly you need.

@jtyle6 jtyle6 closed this as completed Jan 19, 2016
@jtyle6
Copy link
Contributor Author

jtyle6 commented Jan 19, 2016

I have build it, oh god how early in development the mod is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants