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

Exception of type `System.InvalidOperationException`: Game.Mod argument missing #15256

Open
OHussain opened this Issue Jun 13, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@OHussain

OHussain commented Jun 13, 2018

Issue Summary

I just found this repo, and installed to a folder so I could put it on a flash drive. Upon running any of the executables (RedAlert, TiberianDawn, or Dune2000) The game crashes after a black screen and I get the following error in the exception log:
System.InvalidOperationException: Game.Mod argument missing.
at OpenRA.Game.InitializeMod(String mod, Arguments args)
at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Game.InitializeAndRun(String[] args)
at OpenRA.Program.Main(String[] args)

I checked on here for similar issues, but they're all related to previous versions having old executables. This is not the case. Thanks
... ... ...

System Information

  • Operating System: Windows 7
  • .NET / Mono Version: .NET CLR 4.0.30319.42000
  • OpenRA Version: release-20180307
  • Mod: All - Red Alert, Tiberian Dawn, and Dune2000

Additional Information:

  • Steps to reproduce

    1. Open RedAlert.exe or other
  • Logs

See attached zip folder.
debug.zip

@pchote

This comment has been minimized.

Member

pchote commented Jun 13, 2018

As per the wiki (https://github.com/OpenRA/OpenRA/wiki/Compiling) you need to launch the game using the launch-game script if compiled from source, or by running the mod-specific exes if running an installed version. Running OpenRA.Game.exe directly without arguments won't work and will give the exception you post.

It should be impossible for the mod exe files to give the exception you have posted, so please try deleting your logs before re running them to confirm that you are not looking at a stale error.

@OHussain

This comment has been minimized.

OHussain commented Jun 13, 2018

I did not compile from source. As mentioned, I only ran the mod executable files (e.g. RedAlert.exe). I deleted the log files and tried again, then downloaded the installed version and ran that before opening the issue.

@pchote

This comment has been minimized.

Member

pchote commented Jun 23, 2018

Do you have Norton or any other invasive security software suites installed? These have been known to cause problems in the past.

@OHussain

This comment has been minimized.

OHussain commented Jun 24, 2018

You are correct, I use Avast. However, I made sure to add the OpenRA install directory to my exceptions list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment