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 Cannot open assembly 'QModManager.exe': File does not contain a valid CIL image #246

Closed
ParRaDoxChamp opened this issue Jun 22, 2021 · 9 comments

Comments

@ParRaDoxChamp
Copy link

ParRaDoxChamp commented Jun 22, 2021

Describe the issue

when I run Mono QModManager.exe it says the file does not contain a valid CIL image. I believe that it's because we have to mcs the .cs first if yall can make a .cs file because we have to compile the .cs file first then run mono QModManager.exe

Screenshots

Additional info

This is where I found why it's giving us that error. "https://superuser.com/questions/489328/file-does-not-contain-a-valid-cil-image"
@toebeann
Copy link
Contributor

What are you doing exactly? The file is already compiled. You don't need to run QModManager.exe anyway.

@toebeann
Copy link
Contributor

If you're trying to follow some tutorial on how to run QMM on mac, can you please link it? Because the steps you are doing seem bizarre.

@toebeann
Copy link
Contributor

toebeann commented Jun 22, 2021

What steps have you taken prior to this? Did you download the Vortex .zip install or the .exe install? I assume the .zip? If so, please try following these instructions:

  • Extract the contents of the QModManager .zip build into the game root folder (wherever the Subnautica.app file is located)
  • Go to https://github.com/BepInEx/BepInEx/releases and download the latest Unix build of BepInEx, extract it into the game root folder, overwrite when asked
  • Configure the run_bepinex.sh file as needed
  • Try running the game via the run_bepinex.sh script

https://docs.bepinex.dev/v5.4.4/articles/user_guide/installation/index.html?tabs=tabid-nix#installing-bepinex-1

@toebeann
Copy link
Contributor

Also, if the game installed via Steam, you'll need to see the following:
https://docs.bepinex.dev/v5.4.4/articles/advanced/steam_interop.html?tabs=tabid-1

@ParRaDoxChamp
Copy link
Author

I was doing this (https://github.com/SubnauticaModding/QModManager/pull/34/files/f4f7e225137c94f321ca8e70b5ee22fd9298bebd#diff-2e099e42d368d2679e3b8f4a9f7016cd832caecc00ea2306eba1b08060d2105b) to download QMM but my terminal was giving me Cannot open assembly 'QModManager.exe': File does not contain a valid CIL image when I run mono QModManager.exe

@toebeann
Copy link
Contributor

I was doing this (https://github.com/SubnauticaModding/QModManager/pull/34/files/f4f7e225137c94f321ca8e70b5ee22fd9298bebd#diff-2e099e42d368d2679e3b8f4a9f7016cd832caecc00ea2306eba1b08060d2105b)

There's a reason none of that is in the repo anymore. It's long-outdated information.

@ParRaDoxChamp
Copy link
Author

oh ok

@toebeann
Copy link
Contributor

oh ok

Try following the instructions I gave you and see if you have any luck. We currently don't have anyone on the QMM team with a Mac, so we can't test how well QMM works on Mac.

@toebeann
Copy link
Contributor

There's also these instructions, again, I'm not sure if they work, because I can't test any of it:
#201 (comment)

@toebeann toebeann reopened this Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants