CombinE88 / Medieval-Warfare

Medieval Warfare mod for OpenRa
GNU General Public License v3.0
21 stars 5 forks source link

AppImage builds on Tumbleweed, but it crashes: Unknown or invalid mod 'modcontent' #11

Closed fusion809 closed 5 years ago

fusion809 commented 6 years ago

Hi,

On Tumbleweed building the AppImage by cd'ing into packaging/linux and running ./buildpackage.sh . gives this AppImage. Running this AppImage on Tumbleweed gives the output (including an error, not showing it here as there's so many lines that are irrelevant and relate to the mods I have locally installed): https://gist.github.com/fusion809/93bcec9a12c3146b396a13807ff4a91f. The exact error is:

        ura-Master commit 95: Red Alert: Unplugged (Master commit 95)
        mw-.: Medieval Warfare (.)
Loading mod: mw
Exception of type `System.InvalidOperationException`: Unknown or invalid mod 'modcontent'.
  at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0015c] in <1f82cbde3b6d41aa9bcd3be4eaf831d3>:0 
  at OpenRA.Mods.Common.LoadScreens.BlankLoadScreen.BeforeLoad () [0x0008a] in /data/GitHub/others/Medieval-Warfare/engine/OpenRA.Mods.Common/LoadScreens/BlankLoadScreen.cs:127 
  at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) [0x0019e] in <1f82cbde3b6d41aa9bcd3be4eaf831d3>:0 
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x004c7] in <1f82cbde3b6d41aa9bcd3be4eaf831d3>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00007] in <1f82cbde3b6d41aa9bcd3be4eaf831d3>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004e] in <1f82cbde3b6d41aa9bcd3be4eaf831d3>:0 

AL lib: ALc.c:1420: alcDestroyContext(): deleting 32 Source(s)

Thanks for your time, Brenton

fusion809 commented 6 years ago

Oh and by-the-way now the game builds fine and runs fine on Tumbleweed. It runs fine when launched with ./launch-game.sh, it's just the AppImage that isn't working.

abcdefg30 commented 6 years ago

mod.config contains PACKAGING_COPY_ENGINE_FILES="", maybe this is missing "./mods/modcontent" (as suggested in the description of the property)?

fusion809 commented 6 years ago

Ah, so I add it to it, try it out and if it works I create a pull request?

CombinE88 commented 5 years ago

fixed with https://github.com/CombinE88/Medieval-Warfare/commit/a268e59c69a8b7bd913991c959d5c6ca9dce9763