Closed fusion809 closed 4 years ago
Lol, no mate, I'm talking about the OpenRA/OpenRA repo at playtest-20190825—it builds fine. You're saying it's the engine that's failing to build, I'm showing you that the upstream repo that the engine is based on, builds fine.
impossible....
What about other mods using playtest-20190825
?
Will these mods using playtest-20190825
can be built on your machine?
Most third-party mods I know of use their own custom game engine (fork of the upstream engine), or use untagged versions of the engine (e.g. d2 does), or are using old versions of the engine (e.g. release-20190314). So, can you name one using playtest-20190825 that I can build?
I know one
It is OpenRAModSDK
Well, I have a workaround, I'll build OpenRAModSDK using playtest-20190825. Lol, yep I had the same thought at the same time as you.
so?
Built absolutely fine. Here's the output:
make[1]: Entering directory '/data/GitHub/others/OpenRAModSDK/engine'
Fetching ICSharpCode.SharpZipLib from NuGet
Fetching MaxMind.Db from NuGet
Fetching NUnit from NuGet
Fetching NUnit.Console from NuGet
Fetching Open.Nat from NuGet
Fetching FuzzyLogicLibrary from NuGet.
Fetching SDL2-CS from GitHub.
Fetching OpenAL-CS from GitHub.
Fetching Eluant from GitHub.
Fetching rix0rrr.BeaconLib from NuGet.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
Restore completed in 242.5 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game/OpenRA.Game.csproj.
Restore completed in 23.98 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj.
Restore completed in 2.93 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj.
Restore completed in 2.39 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj.
Restore completed in 2.67 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Platforms.Default/OpenRA.Platforms.Default.csproj.
Restore completed in 1.98 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.PostProcess/OpenRA.PostProcess.csproj.
Restore completed in 5.06 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Server/OpenRA.Server.csproj.
Restore completed in 3.13 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Test/OpenRA.Test.csproj.
Restore completed in 1.81 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Utility/OpenRA.Utility.csproj.
Updating GeoIP country database from MaxMind.
Detected Lua 5.1 library at /lib/liblua.so.5.1.5
Eluant.dll.config has been created successfully.
make[1]: Leaving directory '/data/GitHub/others/OpenRAModSDK/engine'
make[1]: Entering directory '/data/GitHub/others/OpenRAModSDK/engine'
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game.exe
Post-processing /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Mods.Common -> /data/GitHub/others/OpenRAModSDK/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Cnc -> /data/GitHub/others/OpenRAModSDK/engine/mods/common/OpenRA.Mods.Cnc.dll
OpenRA.Utility -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Utility.exe
Post-processing /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Utility.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Server -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Server.exe
Post-processing /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Server.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Mods.D2k -> /data/GitHub/others/OpenRAModSDK/engine/mods/d2k/OpenRA.Mods.D2k.dll
OpenRA.Platforms.Default -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Platforms.Default.dll
OpenRA.Test -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Test.dll
make[1]: Leaving directory '/data/GitHub/others/OpenRAModSDK/engine'
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
Restore completed in 38.65 ms for /data/GitHub/others/OpenRAModSDK/OpenRA.Mods.Example/OpenRA.Mods.Example.csproj.
Restore completed in 0.39 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game/OpenRA.Game.csproj.
Restore completed in 0.92 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj.
Restore completed in 0.3 ms for /data/GitHub/others/OpenRAModSDK/engine/OpenRA.PostProcess/OpenRA.PostProcess.csproj.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game.exe
OpenRA.Mods.Common -> /data/GitHub/others/OpenRAModSDK/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Example -> /data/GitHub/others/OpenRAModSDK/mods/example/OpenRA.Mods.Example.dll
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/OpenRAModSDK/engine/OpenRA.Game.exe
OpenRA.Mods.Common -> /data/GitHub/others/OpenRAModSDK/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Example -> /data/GitHub/others/OpenRAModSDK/mods/example/OpenRA.Mods.Example.dll
try the new commit
Build fine, crashed after being launched with ./launch-game.sh
, with the error:
Platform is Linux
Engine version is playtest-20190825
Using SDL 2 with OpenGL renderer
Desktop resolution: 1920x1080
Using resolution: 955x1020
Using window scale 1.00
OpenGL version: 4.6.0 NVIDIA 435.21
Using default sound device
Internal mods:
modcontent: Mod Content Manager (playtest-20190825)
yr: Red Alert 2 Yuri's Revenge (274)
all: All mods (playtest-20190825)
ts: Tiberian Sun (playtest-20190825)
d2k: Dune 2000 (playtest-20190825)
ra: Red Alert (playtest-20190825)
cnc: Tiberian Dawn (playtest-20190825)
External mods:
dr-{DEV_VERSION}: Dark Reign ({DEV_VERSION})
mw-release-20180218: Medieval Warfare (release-20180218)
ca-b8a7dd5: Combined Arms (b8a7dd5)
d2-163.git.2b37e35: d2 mod (163.git.2b37e35)
fnw-4: Fractured Realms (4)
ss-aa84e01: Sole Survivor (aa84e01)
d2-release-20180307: d2 mod (release-20180307)
ra-release-20190314: Red Alert (release-20190314)
mtrsd2k-170: MustaphaTR's Dune 2000 Mod (170)
ra-26398.git.912a424: Red Alert (26398.git.912a424)
ra2-905: Red Alert 2 (905)
yr-release-20180923: Red Alert 2 Yuri's Revenge (release-20180923)
rv-810d59c: Red Alert 2: Romanov's Vengeance (810d59c)
ra-25563: Red Alert (25563)
yr-274: Red Alert 2 Yuri's Revenge (274)
Loading mod: yr
Exception of type `System.DllNotFoundException`: liblua5.1.so.0
TypeName=``
at (wrapper managed-to-native) Eluant.LuaApi.lua_newstate(Eluant.LuaRuntime/LuaAllocator,intptr)
at Eluant.LuaRuntime..ctor () [0x000ca] in <c8bc0b4612b543268b8307855c69585a>:0
at Eluant.MemoryConstrainedLuaRuntime..ctor () [0x00016] in <c8bc0b4612b543268b8307855c69585a>:0
at OpenRA.Scripting.ScriptContext..ctor (OpenRA.World world, OpenRA.Graphics.WorldRenderer worldRenderer, System.Collections.Generic.IEnumerable`1[T] scripts) [0x00006] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Mods.Common.Scripting.LuaScript.OpenRA.Traits.IWorldLoaded.WorldLoaded (OpenRA.World world, OpenRA.Graphics.WorldRenderer worldRenderer) [0x00017] in <7197d2967c1442e6802f95fbc6dca6d9>:0
at OpenRA.World.LoadComplete (OpenRA.Graphics.WorldRenderer wr) [0x000c4] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.StartGame (System.String mapUID, OpenRA.WorldType type) [0x000ce] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.LoadShellMap () [0x00016] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Mods.Common.LoadScreens.BlankLoadScreen.StartGame (OpenRA.Arguments args) [0x00166] in <7197d2967c1442e6802f95fbc6dca6d9>:0
at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0038f] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0046f] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00006] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Program.Main (System.String[] args) [0x00044] in <f3d1a82720db4c8981fdea68a4184940>:0
The AppImage also crashed with the error:
Platform is Linux
Engine version is playtest-20190825
Using SDL 2 with OpenGL renderer
Desktop resolution: 1920x1080
Using resolution: 955x1020
Using window scale 1.00
OpenGL version: 4.6.0 NVIDIA 435.21
Using default sound device
Internal mods:
modcontent: Mod Content Manager (playtest-20190825)
yr: Red Alert 2 Yuri's Revenge (274)
External mods:
ca-b8a7dd5: Combined Arms (b8a7dd5)
d2-163.git.2b37e35: d2 mod (163.git.2b37e35)
d2-release-20180307: d2 mod (release-20180307)
dr-{DEV_VERSION}: Dark Reign ({DEV_VERSION})
fnw-4: Fractured Realms (4)
mtrsd2k-170: MustaphaTR's Dune 2000 Mod (170)
mw-release-20180218: Medieval Warfare (release-20180218)
ra-25563: Red Alert (25563)
ra-26398.git.912a424: Red Alert (26398.git.912a424)
ra-release-20190314: Red Alert (release-20190314)
ra2-905: Red Alert 2 (905)
rv-810d59c: Red Alert 2: Romanov's Vengeance (810d59c)
ss-aa84e01: Sole Survivor (aa84e01)
yr-274: Red Alert 2 Yuri's Revenge (274)
yr-release-20180923: Red Alert 2 Yuri's Revenge (release-20180923)
Loading mod: yr
Exception of type `System.Reflection.ReflectionTypeLoadException`: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010001dd from typeref (expected class 'OpenRA.Activities.CompositeActivity' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <6649516e5b3542319fb262b421af0adb>:0
at OpenRA.Exts.GetNamespaces (System.Reflection.Assembly a) [0x00000] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ObjectCreator+<>c.<.ctor>b__4_0 (System.Reflection.Assembly asm) [0x0000d] in <f3d1a82720db4c8981fdea68a4184940>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at OpenRA.ObjectCreator..ctor (OpenRA.Manifest manifest, OpenRA.InstalledMods mods) [0x0010e] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ModData..ctor (OpenRA.Manifest mod, OpenRA.InstalledMods mods, System.Boolean useLoadScreen) [0x00029] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0015a] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0046f] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00006] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Program.Main (System.String[] args) [0x00044] in <f3d1a82720db4c8981fdea68a4184940>:0
AL lib: FreeContext: (0x173f360) Deleting 32 Source(s)
I can't understand why show so much errors
maybe need more work to find it out
I suppose, I've found a workaround for the launch-game.sh
error: create a symlink between /usr/lib/liblua5.1.so
(provided by lua51
) and /usr/lib/liblua5.1.so.0
(needed by launch-game.sh
). But the AppImage still crashes.
yr: Red Alert 2 Yuri's Revenge (274)
why the version is 274
, it should be playtest-20190825
Lol, I use a custom version when building the AppImage. See, when I build I use ./buildpackage.sh $(git rev-list --branches $(git-branch) --count) .
.
ah
The official mods of OpenRA (RA, CNC and D2K) do not need that symlink workaround, funnily enough, for launch-game.sh
to work at launching them.
Would you like me to see if the upstream devs in the #openra Freenode channel might have some helpful tips for ya?
Yes, please
This really got me
Here's a transcript of some of the comments so far:
fusion809: it looks like they didn't follow the instructions for how to update they'll need to replace all the sdk files and rewrite their mod.config trying to fix things issue at a time is going to waste a lot of time or go back to whatever the last known actually working version was and follow the instructions
The recently commit is that I delete the my original repo folder, use OpenRAModSDK as a base, copy all YR files into SDK folder, and commit
Sorry, didn't quite follow what you said there. Did you mean your next commit will do that, or that your last commit did that?
Last commit did that
So you did follow the update guide, is that what you're saying? The update notes are here, by the way: https://github.com/OpenRA/OpenRAModSDK/wiki/Update-notes:-release-20190314-to-playtest-20190825. The update guide is here: https://github.com/OpenRA/OpenRAModSDK/wiki/Updating-to-a-new-SDK-or-Engine-version.
On the IRC channel these are the latest comments:
their mod code is using System.Drawing, which isn't allowed the lint tests should be failing for their mod but maybe he disabled that test? https://github.com/cookgreen/Yuris-Revenge/search?q=%22System.Drawing%22&unscoped_q=%22System.Drawing%22 those should all be removed and using the types from OpenRA.Primitives instead
Yeah, I follow the instructions in https://github.com/OpenRA/OpenRAModSDK/wiki/Updating-to-a-new-SDK-or-Engine-version
how about this commit?
AppImage is still crashing, with the error:
Loading mod: yr
Exception of type `System.Reflection.ReflectionTypeLoadException`: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010001dd from typeref (expected class 'OpenRA.Activities.CompositeActivity' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <6649516e5b3542319fb262b421af0adb>:0
at OpenRA.Exts.GetNamespaces (System.Reflection.Assembly a) [0x00000] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ObjectCreator+<>c.<.ctor>b__4_0 (System.Reflection.Assembly asm) [0x0000d] in <f3d1a82720db4c8981fdea68a4184940>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at OpenRA.ObjectCreator..ctor (OpenRA.Manifest manifest, OpenRA.InstalledMods mods) [0x0010e] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ModData..ctor (OpenRA.Manifest mod, OpenRA.InstalledMods mods, System.Boolean useLoadScreen) [0x00029] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0015a] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0046f] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00006] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Program.Main (System.String[] args) [0x00044] in <f3d1a82720db4c8981fdea68a4184940>:0
AL lib: FreeContext: (0x2ee28b0) Deleting 32 Source(s)
But, ./launch-game.sh
still launches the game, provided that symlink exists.
Hey @fusion809 please try again, thanks!
The AppImage still crashes with the error:
Platform is Linux
Engine version is playtest-20190825
Using SDL 2 with OpenGL renderer
Desktop resolution: 1920x1080
Using resolution: 955x1020
Using window scale 1.00
OpenGL version: 4.6.0 NVIDIA 435.21
Using default sound device
Internal mods:
modcontent: Mod Content Manager (playtest-20190825)
yr: Red Alert 2 Yuri's Revenge (290.git.ad3e4f1)
External mods:
ca-b8a7dd5: Combined Arms (b8a7dd5)
d2-163.git.2b37e35: d2 mod (163.git.2b37e35)
d2-release-20180307: d2 mod (release-20180307)
dr-{DEV_VERSION}: Dark Reign ({DEV_VERSION})
fnw-4: Fractured Realms (4)
mtrsd2k-170: MustaphaTR's Dune 2000 Mod (170)
mw-release-20180218: Medieval Warfare (release-20180218)
ra-26434.git.e1a5a72: Red Alert (26434.git.e1a5a72)
ra-release-20190314: Red Alert (release-20190314)
ra-{DEV_VERSION}: Red Alert ({DEV_VERSION})
ra2-905: Red Alert 2 (905)
rv-810d59c: Red Alert 2: Romanov's Vengeance (810d59c)
ss-aa84e01: Sole Survivor (aa84e01)
yr-277.git.ac6c3ee: Red Alert 2 Yuri's Revenge (277.git.ac6c3ee)
yr-290.git.ad3e4f1: Red Alert 2 Yuri's Revenge (290.git.ad3e4f1)
yr-playtest-20190825: Red Alert 2 Yuri's Revenge (playtest-20190825)
yr-release-20180923: Red Alert 2 Yuri's Revenge (release-20180923)
Loading mod: yr
Exception of type `System.Reflection.ReflectionTypeLoadException`: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010000a8 from typeref (expected class 'OpenRA.Traits.ResourceTypeInfo' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010001dd from typeref (expected class 'OpenRA.Activities.CompositeActivity' in assembly 'OpenRA.Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <6649516e5b3542319fb262b421af0adb>:0
at OpenRA.Exts.GetNamespaces (System.Reflection.Assembly a) [0x00000] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ObjectCreator+<>c.<.ctor>b__4_0 (System.Reflection.Assembly asm) [0x0000d] in <f3d1a82720db4c8981fdea68a4184940>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <35ad2ebb203f4577b22a9d30eca3ec1f>:0
at OpenRA.ObjectCreator..ctor (OpenRA.Manifest manifest, OpenRA.InstalledMods mods) [0x0010e] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.ModData..ctor (OpenRA.Manifest mod, OpenRA.InstalledMods mods, System.Boolean useLoadScreen) [0x00029] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0015a] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0046f] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00006] in <f3d1a82720db4c8981fdea68a4184940>:0
at OpenRA.Program.Main (System.String[] args) [0x00044] in <f3d1a82720db4c8981fdea68a4184940>:0
AL lib: FreeContext: (0x13980c0) Deleting 32 Source(s)
hey @fusion809 do you build appimage with version playtest-20190825
?
let's see your appimage package output
I build an appimage myself on ubuntu virtualbox, here is the appimage: https://drive.google.com/file/d/1me1ocI0qvvCNWkBaPe0Z5cQSTVUurOn-/view?usp=sharing
and the screenshot:
Here's one I built with the playtest-20190825
version.
YurisRevenge-playtest-20190825-x86_64.AppImage.zip
Your AppImage ran fine, however. Funny, Arch Linux has always served as the best platform on which to build AppImages in my experience.
Here's one I built with the
playtest-20190825
version.YurisRevenge-playtest-20190825-x86_64.AppImage.zip
Your AppImage ran fine, however. Funny, Arch Linux has always served as the best platform on which to build AppImages in my experience.
So, I think this problem maybe caused by Operating System?
Could be, but I don't get this problem with any other OpenRA mod, so it's bizarre that it should with this one...
Okay, I will try Archlinux
Please show me the package output @fusion809
Package output? You mean the command-line output produced by running ./buildpackage.sh playtest-20190825 /path/to/folder
? It is:
Building core files
Version changed to playtest-20190825.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
Fetching ICSharpCode.SharpZipLib from NuGet
Fetching MaxMind.Db from NuGet
Fetching NUnit from NuGet
Fetching NUnit.Console from NuGet
Fetching Open.Nat from NuGet
Fetching FuzzyLogicLibrary from NuGet.
Fetching SDL2-CS from GitHub.
Fetching OpenAL-CS from GitHub.
Fetching Eluant from GitHub.
Fetching rix0rrr.BeaconLib from NuGet.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
Restore completed in 237.7 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game/OpenRA.Game.csproj.
Restore completed in 29.31 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj.
Restore completed in 5.25 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj.
Restore completed in 2.51 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj.
Restore completed in 5.13 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Platforms.Default/OpenRA.Platforms.Default.csproj.
Restore completed in 4.22 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.PostProcess/OpenRA.PostProcess.csproj.
Restore completed in 5.66 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Server/OpenRA.Server.csproj.
Restore completed in 3.05 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Test/OpenRA.Test.csproj.
Restore completed in 4.84 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Utility/OpenRA.Utility.csproj.
Updating GeoIP country database from MaxMind.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game.exe
Post-processing /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Mods.Common -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Cnc -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Cnc.dll
OpenRA.Utility -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Utility.exe
Post-processing /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Utility.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Server -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Server.exe
Post-processing /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Server.exe
- Enabling /LARGEADDRESSAWARE
OpenRA.Mods.D2k -> /data/GitHub/others/Yuris-Revenge/engine/mods/d2k/OpenRA.Mods.D2k.dll
OpenRA.Platforms.Default -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Platforms.Default.dll
OpenRA.Test -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Test.dll
Installing OpenRA engine to /data/GitHub/others/Yuris-Revenge/packaging/linux/YurisRevenge.appdir/usr/lib/openra
Installing OpenRA common mod files to /data/GitHub/others/Yuris-Revenge/packaging/linux/YurisRevenge.appdir/usr/lib/openra
Building mod files
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
Restore completed in 41.61 ms for /data/GitHub/others/Yuris-Revenge/OpenRA.Mods.YR/OpenRA.Mods.YR.csproj.
Restore completed in 0.69 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game/OpenRA.Game.csproj.
Restore completed in 0.5 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj.
Restore completed in 1.03 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj.
Restore completed in 0.32 ms for /data/GitHub/others/Yuris-Revenge/engine/OpenRA.PostProcess/OpenRA.PostProcess.csproj.
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game.exe
OpenRA.Mods.Common -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Cnc -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Cnc.dll
OpenRA.Mods.YR -> /data/GitHub/others/Yuris-Revenge/mods/yr/OpenRA.Mods.YR.dll
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
OpenRA.PostProcess -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.PostProcess.exe
OpenRA.Game -> /data/GitHub/others/Yuris-Revenge/engine/OpenRA.Game.exe
OpenRA.Mods.Common -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Cnc -> /data/GitHub/others/Yuris-Revenge/engine/mods/common/OpenRA.Mods.Cnc.dll
OpenRA.Mods.YR -> /data/GitHub/others/Yuris-Revenge/mods/yr/OpenRA.Mods.YR.dll
Downloading dependencies
Building AppImage
squashfs-root/.DirIcon
squashfs-root/AppRun
squashfs-root/appimagetool.desktop
squashfs-root/appimagetool.svg
squashfs-root/usr
squashfs-root/usr/bin
squashfs-root/usr/bin/AppRun
squashfs-root/usr/bin/appimagetool
squashfs-root/usr/bin/desktop-file-validate
squashfs-root/usr/bin/zsyncmake
squashfs-root/usr/lib
squashfs-root/usr/lib/appimagekit
squashfs-root/usr/lib/appimagekit/mksquashfs
squashfs-root/usr/lib/libffi.so.5
squashfs-root/usr/lib/libgio-2.0.so
squashfs-root/usr/lib/libgio-2.0.so.0
squashfs-root/usr/lib/libgio-2.0.so.0.4400.0
squashfs-root/usr/lib/libglib-2.0.so
squashfs-root/usr/lib/libglib-2.0.so.0
squashfs-root/usr/lib/libglib-2.0.so.0.4400.0
squashfs-root/usr/lib/libgmodule-2.0.so
squashfs-root/usr/lib/libgmodule-2.0.so.0
squashfs-root/usr/lib/libgmodule-2.0.so.0.4400.0
squashfs-root/usr/lib/libgobject-2.0.so
squashfs-root/usr/lib/libgobject-2.0.so.0
squashfs-root/usr/lib/libgobject-2.0.so.0.4400.0
squashfs-root/usr/lib/libgthread-2.0.so
squashfs-root/usr/lib/libgthread-2.0.so.0
squashfs-root/usr/lib/libgthread-2.0.so.0.4400.0
squashfs-root/usr/share
squashfs-root/usr/share/applications
squashfs-root/usr/share/applications/appimagetool.desktop
squashfs-root/usr/share/icons
squashfs-root/usr/share/icons/hicolor
squashfs-root/usr/share/icons/hicolor/scalable
squashfs-root/usr/share/icons/hicolor/scalable/apps
squashfs-root/usr/share/icons/hicolor/scalable/apps/appimagetool.svg
squashfs-root/usr/share/metainfo
squashfs-root/usr/share/metainfo/appimagetool.appdata.xml
appimagetool, continuous build (commit fef038a), build 2093 built on 2019-07-07 12:07:34 UTC
Using architecture x86_64
Deleting pre-existing .DirIcon
Creating .DirIcon symlink based on information from desktop file
WARNING: AppStream upstream metadata is missing, please consider creating it
in usr/share/metainfo/openra-yr.appdata.xml
Please see https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps
for more information or use the generator at http://output.jsbin.com/qoqukof.
Generating squashfs...
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on /data/Applications/OpenRA/YurisRevenge-playtest-20190825-x86_64.AppImage, block size 131072.
[===============================================================-] 980/980 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 22589.21 Kbytes (22.06 Mbytes)
36.05% of uncompressed filesystem size (62659.36 Kbytes)
Inode table size 8613 bytes (8.41 Kbytes)
30.51% of uncompressed inode table size (28233 bytes)
Directory table size 6472 bytes (6.32 Kbytes)
37.86% of uncompressed directory table size (17096 bytes)
Number of duplicate files found 7
Number of inodes 833
Number of files 652
Number of fragments 183
Number of symbolic links 1
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 180
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success
Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
/data/GitHub/others/Yuris-Revenge/packaging/linux/YurisRevenge.appdir should be packaged as /data/Applications/OpenRA/YurisRevenge-playtest-20190825-x86_64.AppImage
@fusion809 Could you please try the new commit?
That was the one I just built (i.e. the one for which I got that build output) and I just tried to launch its AppImage and that too crashed with the same error.
alright
Oops, sorry I forgot about a similar issue I filed a few months before opening this one. It involves Dune II's AppImage: https://github.com/OpenRA/d2/issues/140. Same exact launch error.
Oops, sorry I forgot about a similar issue I filed a few months before opening this one. It involves Dune II's AppImage: OpenRA/d2#140. Same exact launch error.
so it may cause by your mono framework if as @GraionDilach said
please run pacman -Syu
I run yay -Syu
probably at least 4 times a day, lol, and that's a wrapper for pacman that also manages the AUR. So my software is always up to date. I just ran it for the sake of checking for any updates that might have come within the past couple of hours since I last ran that command, and there were none.
I run
yay -Syu
probably at least 4 times a day, lol, and that's a wrapper for pacman that also manages the AUR. So my software is always up to date. I just ran it for the sake of checking for any updates that might have come within the past couple of hours since I last ran that command, and there were none.
OK
Aha, GraionDilach offered a solution at d2's repo:
Yes, you're correct with that not being the cause - just found it here:
@evgeniysergeev Upstream removed
System.Drawing
usage because that lead to a lot of dependencies required to be integrated into the AppImage and the crash is caused by this. You need to follow suit, OpenRA/OpenRA#15973 gives you the examples to look at.
Hi,
On Arch Linux, I get this build error for commit 1d106e71c42b1aeab08c00a025187bff81995343:
I do not get any errors from building the latest commits of OpenRA, so therefore I doubt this is the fault of the game engine itself or my setup.
Thanks for your time