Comments (60)
I opened #34 to add the documentation for mac users.
from qmodmanager.
Mac Installation now has been merged with the master. Have fun using mods fellow mac users!
from qmodmanager.
Okay, @legojoshua12 I’m working to get you the slightly edited files you need.
from qmodmanager.
@Zebralear if you can't get the installer working, I am ok with manually inserting the files into the place they need to go, if you could tell me where the source files have to go to override Subnautica code
from qmodmanager.
@legojoshua12 You can PR the updated mac installation instructions into the master branch when you are done.
from qmodmanager.
from qmodmanager.
Okay, @legojoshua12, Can I get a screenshot of your command input? That way I can see if you did anything wrong.
from qmodmanager.
from qmodmanager.
From https://superuser.com/questions/489328/file-does-not-contain-a-valid-cil-image
The mono command is used to run compiled C# programs. You need to compile hello.cs first with:
mcs hello.cs
Then you can execute it with:mono hello.exe
For more information on writing C# programs with Mono see: http://www.codeproject.com/Articles/9407/Introduction-to-Mono-Your-first-Mono-app
I'm not sure why you get the error. But this is what I assume you saw and followed. I'm learning what the differences are for Mac
from qmodmanager.
Oh, look you need to compile the .cs
not the .exe
from qmodmanager.
When I type mcs QMods.cs it says it can't find it, will the file be the original name of the downloaded one from nexus? I did rename it to QMods.exe
from qmodmanager.
@Qwiso, he doesn’t need to, the file isn’t the one that I had used. “Mono” was the correct command.
from qmodmanager.
Hey, so it has been a week and I was just wondering if I could have a bit of an idea of I should be waiting a long time for this or if it is something around the corner, no rush or anything. I am just curious as to what is happening.
from qmodmanager.
Sorry, life’s been keeping me busy recently so I haven’t really had time. I’ll get you the file sometime tomorrow @legojoshua12. Do you happen to have discord? If you do, hop into the Subnautica Modding discord and give me a ping (same username there as here) it’ll make getting you the file much easier (as discord has a built-in file sending feature). I not, It’s not impossible, it’s just difficult...
from qmodmanager.
Yes, I was already on the modding discord and will send you a ping in a bit
from qmodmanager.
Ok, I want to thank Zebralear for his amazing support and helping me get things working. Thanks to everyone who helped get it working for me too
from qmodmanager.
How did you guys fix this? I get the same problem with mono on mac
from qmodmanager.
I'm getting an issue with versioning it seems.
mono QModManager.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Can't find custom attr constructor image: /Users/bogen/Library/Application Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents/Resources/Data/Managed/QModManager.exe mtoken: 0x0a00000c due to: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at QModInstaller.QModInjector.IsPatcherInjected () [0x00001] in <384cbfe373b34d2cbb99c78da3d73104>:0
at QModManager.Program.Main (System.String[] args) [0x00113] in <ae3cc6de296d43d28baf96c6c3ce51ce>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at QModInstaller.QModInjector.IsPatcherInjected () [0x00001] in <384cbfe373b34d2cbb99c78da3d73104>:0
at QModManager.Program.Main (System.String[] args) [0x00113] in <ae3cc6de296d43d28baf96c6c3ce51ce>:
Maybe if the files are recompiled with never version of Mono it might work?
from qmodmanager.
No, that error has nothing to do with mono version actually. What its saying is
File name: 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
All you need is to remove your subnautica_data folder. Simply right click your subnautica.app and remove it. I recommend storing it on your desktop in case if you ever choose to uninstall qmods, then you can re-add it and play the vanilla game again.
from qmodmanager.
I could not find a folder named subnautica_data, thats the one that should be generated from the program running? Since it does not run, it might not be created?
from qmodmanager.
I've also tried uninstalling and reinstalling Subnautica from Steam, but does not seem to do any difference. Just to be clear, the subnautica_data folder should be in the containing folder of Subnautica.app ?
from qmodmanager.
Reopened since it has gotten a lot of activity recently
from qmodmanager.
Oops, I gave you the wrong path. So sorry, the Subnautica_Data folder should be in the subnautica directory itself, right next to Subnautica.app. That folder is the one you want to remove. Your ultimate ending should look something like this.
from qmodmanager.
I'm getting a similar error, been following @Zebralear 's instructions by the book.
Any ideas?
from qmodmanager.
Those instructions given with the download are not fully complete and were neither written by Zebralear. I just wrote down what he had told me for help. Try the comment above and remove the Subnautica_Data folder from your subnautica directory and then do the install
from qmodmanager.
I did, but it did not change the error that I got. I guess it's no mods for Mac then :/
from qmodmanager.
Ok, I just did a clean re-install of Subnautica with no mods. I tested it and did not run into the error. Is there a way you can describe how to replicate your problem? After following those instructions I wrote and ensuring the Subnautica_Data folder was not present, it ran just fine. I then created the QMods folder and my mods seemed to boot. I am using a Mac so it is most certainly possible. What version of mono do you happen to be using? I happen to have Mono JIT compiler version 5.16.0.221
installed, but that should not matter. Give me a step by step order of what you did.
from qmodmanager.
Ok, I did a clean install of Subnautica too, this is the file structure I get.
There is no Subnautica_Data folder, not in the Steam/Subnautica directory or anywhere else on the drive. This is on a MacBook Pro running macOS 10.14.2. I installed Mono 5.18.0 (Stable channel) from https://www.mono-project.com/download/stable/. I uninstalled it and reinstalled Mono 5.16.0 (Visual Studio channel), getting the same results. Any ideas?
from qmodmanager.
I had no Subnautica_Data folder, so I poked more and got it to work: it requires Mono.Cecil dlls from version 0.9.6.0 in the current directory (which is not the latest), or installed generally.
Quick and dirty method:
nuget install Mono.Cecil -version 0.9.6.0
cp Mono.Cecil.0.9.6.0/lib/net40/* .
(optional: "rm -rf Mono.Cecil.0.9.6.0" if you want to clean up your app folder)
[bite:Resources/Data/Managed] acd% mono QModManager.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Can't find custom attr constructor image: /Users/acd/Library/Application Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents/Resources/Data/Managed/QModManager.exe mtoken: 0x0a00000c due to: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
No patch detected, type 'yes' to install:
yes
QMods was installed!
Press any key to exit ...
However, I have no changes to the Subnautica install directory:
[bite:steamapps/common/Subnautica] acd% ls -l
total 16
drwxr-xr-x 5 acd staff 160 Jan 11 12:57 AssetBundles
drwxr-xr-x 59 acd staff 1888 Jan 11 12:57 OST
drwxr-xr-x 25 acd staff 800 Jan 11 12:57 SNUnmanagedData
drwxr-xr-x 3 acd staff 96 Jan 11 12:57 Subnautica.app
-rwxr-xr-x 1 acd staff 5 Jan 11 12:57 __buildnumber.txt
-rwxr-xr-x 1 acd staff 22 Jan 11 12:51 __buildtime.txt
[bite:steamapps/common/Subnautica] acd% find . -name QMods
[bite:steamapps/common/Subnautica] acd%
Different version of .NET aside from 4.0 maybe? That was an assumption on my part that may be invalid.
from qmodmanager.
Right click on the Subnautica.app and see package contents. Maybe something is in there that’s causing the issue? This is starting to be outside my field of understanding
See my previous post. Is it possible that's it's trying to install to the wrong place? Like a Windows path? Or running it from the Data/Managed directory isn't the right place? Or did it work, and I just need to manually create the QMods directory?
Is there a debug flag for the exe? Maybe trace what it's actually doing since it doesn't seem to have installed anything. I'm happy to do more troubleshooting, I'm just not sure where to go.
from qmodmanager.
I followed your steps, to no avail. It still seems to not find Mono.Cecil, even though I have installed it. Any ides?
from qmodmanager.
The Mono.Cecil dll's need to be in the current directory. Move them out of the net40 directory and into the one that's open. At least I'm assuming net40 is right, waiting on confirmation of that from @legojoshua12 (I suppose).
from qmodmanager.
Seems to think it's done:
[bite:Resources/Data/Managed] acd% mono QModManager.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Can't find custom attr constructor image: /Users/acd/Library/Application Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents/Resources/Data/Managed/QModManager.exe mtoken: 0x0a00000c due to: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Patch already installed! Type 'yes' to remove:
no
Press any key to exit ...
I manually created a QMods directory and dumped a bunch of mods in there (actually, I copied the directory from the Windows install), but nothing there in-game. So something is clearly missing here.
from qmodmanager.
OK, getting there
I moved the net40 files into Managed.
I added 3 mods (Mac version) to the QMods folder (Which I had to create), but nothing is changed in-game.
from qmodmanager.
Yep @Testfliege you're where I'm at now.
from qmodmanager.
Test the custom load screen mod, it will save you a whole lot of time and is really easy to notice, since you can quit right after to click load and see if it works or not
from qmodmanager.
Nothing with CLS. One of my other mods produced a different Options submenu so that's what I was checking before. Neither appear so I conclude that it's not working.
from qmodmanager.
what I did:
brew cask install mono-mdk
to get mono on mac
then I tried mono __.exe
on the nexus file, it didn't work
then I got the file from the repo Installer/QModManager/QModManager.exe
Hit the runtime version supported by this application is unavailable error
poked around, exe seems to want mono 2.0
downloaded mono 2.0 .dmg mac installer here: https://download.mono-project.com/archive/2.0/download/
ran /Library/Frameworks/Mono.framework/Versions/2.0/bin/mono QModManager.exe
got \Assembly-CSharp.dll not found (note windows style path in error)
tried with files from google drive posted here
got Mono.Cecil not found error
got file from repo Installer/QModManager/Mono.Cecil.dll
stuck at new got Assembly-CSharp.dll not found error lol
14580244 -rw-r--r-- 1 vamac staff 263K Jan 12 19:22 Mono.Cecil.dll
14580199 -rw-r--r-- 1 vamac staff 12K Sep 7 23:29 QModInstaller.dll
14580200 -rw-r--r-- 1 vamac staff 9.0K Sep 3 01:11 QModManager.exe
14553371 -rw-r--r-- 1 vamac staff 6.1K Jan 12 20:18 .DS_Store
14506950 drwxr-xr-x 59 vamac staff 1.9K Jan 12 14:28 OST/
14511073 drwxr-xr-x 25 vamac staff 800 Jan 12 14:32 SNUnmanagedData/
14506942 drwxr-xr-x 5 vamac staff 160 Jan 12 14:28 AssetBundles/
14507009 drwxr-xr-x 3 vamac staff 96 Jan 12 14:28 SNAppData/
14527640 drwxr-xr-x 3 vamac staff 96 Jan 12 14:32 Subnautica.app/
14527980 -rwxr-xr-x 1 vamac admin 22 Jan 2 01:55 __buildtime.txt
14527979 -rwxr-xr-x 1 vamac admin 5 Jan 2 01:54 __buildnumber.txt
from qmodmanager.
Let's get this to work gents, we're really close! @Testfliege I see you got the file I need there! what did you do?
from qmodmanager.
https://drive.google.com/open?id=1EWW_z7hVDdXj_EX7UaTzVyX24utvShRh
That link leads to a new zip containing updated instructions and the new files needed. The new stuff is basically windows code then shipped over and should run. I replicated the error and now solved it, so just reply if you got it working or its still not cooperating, so I know if there is more stuff needed or not.
from qmodmanager.
Doing a fresh re-install just for good measure. That will be about 15 more minutes, then I'll give this a try and update. Thanks for your hard work on this! It's much appreciated!
Update: The instructions worked for me, and I see the custom load screen while starting a new game. However, it then gets stuck. There's an error loading SNUmanagedData/Build18.
Update2: There's also no sound/music on the main menu screen nor the custom load screen.
from qmodmanager.
Did a clean install and followed through the instructions. Install went fine as previously, but still no QMods folder was created. I placed it manually and dropped the CLS-Mod, it doesn't show up in-game however. If I start a new game I get an error at the loading-screen and it will never move forward from there, necessitating a force-quit.
Edit: Removing the QMods folder does not fix this error.
from qmodmanager.
Well, it looks like good things are happening to some degree because something happened. Let me try to replicate this.
from qmodmanager.
Launching the game once however does now create a QMods folder if there wasn't one before. After placing the CLS-mod into it it will actually show up in-game, so this is good news indeed. Still getting the error message.
from qmodmanager.
Ok, so I am seeing if its simply an invalid reference to the folder location? I am not going to just send the world file over because thats 7 gb and no one wants to download that much, purely for testing.
from qmodmanager.
Got it working. Replacing the entire managed folder is too broad of a brush. :) You need the Assembly*.dll files, 0Harmony.dll and the Mono.Cecil.dll. (The other mono files maybe, I'm not sure if they are part of the Subnautica distro or they were added, I'd already mucked with the folder by the time I was looking at it.)
For others testing it: Try taking a clean install, following @legojoshua12's instructions EXCEPT don't remove/move the Managed directory entirely as stated, instead just copy all the files I mentioned above into it, plus the QMod* files from the zip file also, and the Mono folder from the zip into the directory one higher (Data/) (as stated in the instructions, no change here). Now run the patch.
from qmodmanager.
Yep, that seems to be it. I just found the error and am working on replacing it. For now, that works well, and I will have the final version available here in a bit. I then will test it with a clean install so anyone can pick it up and do it without reading this long thread, and send it to the master branch.
from qmodmanager.
Install Subnautica.
Download above file, and unzip in the Downloads folder.
Open Terminal
cd ~/Library/Application\ Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents/Resources/Data/Managed
mv ~/Downloads/QModManager\(Mac\)/Mono ../
mv ~/Downloads/QModManager\(Mac\)/Managed/Assembly-CSharp* .
mv ~/Downloads/QModManager\(Mac\)/Managed/0Harmony.dll .
mv ~/Downloads/QModManager\(Mac\)/Managed/Mono.Cecil.dll .
mv ~/Downloads/QModManager\(Mac\)/QMod* .
mono QModManager.exe
(type yes)
cd ../../../../.. (aka ~/Library/Application\ Support/Steam/steamapps/common/Subnautica/)
mkdir QMods
Put mods into QMods directory
Run Subnautica from Steam
Works, but with no sound. Solution (I'm quite sure there's a better way):
cd - (back to Managed/ directory)
mono QModManager.exe
(type yes to uninstall the patch)
Use Steam's "Verify integrity of Local Files" function
mono QModManager.exe
(type yes to install the patch)
Run Subnautica from Steam
And now QMods works AND I have sound! Yay!
Update: Something in here is creating these files:
[bite:Steam/steamapps/common] acd% ls -d Subnautica*
Subnautica
Subnautica\QMods\EggInfo\config.json
Subnautica\QMods\ImprovedAlienContainment\AlienContainmentConfig.json
Subnautica\QMods\MoreIngots\config.json
Subnautica\QMods\MoreIngots\log.txt
Subnautica\QMods\SlotExtender\config.txt
Subnautica\QMods\UnpackIngots\config.json
Subnautica\QMods\UnpackIngots\log.txt
I would assume that's the patch once the QMods directory is already present. Whatever, I just remove them after.
I believe the problem is replacing the Assembly-CSharp-firstpass.dll or Assembly-CSharp.dll, as they are the only ones changed with the "Verify" step. But then they get modified again with the patch, as well as creating the .qoriginal.dll file. I'm not sure what the patch is doing, so I'm a bit out of my league here, but one of those files from the download is breaking the sound. Restoring it then re-applying the patch solves the problem.
Perhaps that means the Assembly-CSharp*.dll files aren't needed from the download file, as the patch should operate on the unmodified versions?
Anyway, I'm over experimenting with it. I'm going to go start a new Hardcore game with the mods I've installed and devote the rest of my day to that. :)
from qmodmanager.
#34 worked perfectly here. While it's not merged and adding some clarifications:
- get QModManagerMac here
- to get it click green button to download repo as zip (or
git clone
) - follow instructions in #34
from qmodmanager.
It is certainly possible that my sound issues have something to do with having "other than official" hardware. So it might be worth noting for others that have a similar setup.
from qmodmanager.
I haven’t been able to replicate the sound issue so I can’t help much there.
from qmodmanager.
I haven’t been able to replicate the sound issue so I can’t help much there.
Eh, there's a workaround so I'm ok with it. I'd suggest putting a note into the HowTo saying "if you have no sound after following these instructions, try this".
from qmodmanager.
@acda3 you mean you have a hackintosh? I do and my sound is fine. If it's really an issue we'll get reports about it from more ppl IMO
from qmodmanager.
@acda3 you mean you have a hackintosh? I do and my sound is fine. If it's really an issue we'll get reports about it from more ppl IMO
Yes. Weird. Oh well. I got it working in the end, so no worries.
from qmodmanager.
How can i install mods in subnautica!? Tried the method with the Terminal, but my game doesn't open. It keep Crashing down and ask if i want to relauch, and then the same happens.... I have a Macbook Pro... Any ideias!? And most of the links here posted are broken, it gives the error 404 Page not found...
from qmodmanager.
Just downloaded the pkg installer, and that worked.
However, the game will now just crash, not even load. Is the latest build available for download not compatible with the latest update?
from qmodmanager.
Mac Installation now has been merged with the master. Have fun using mods fellow mac users!
@legojoshua12 I know you have probably moved on from the mac QMod years ago, but I will just post this. The mac Package installer works but subnautica doesnt anymore and just crashes as soon as you open it, am I doing a step wrong or the installer just out dated now?
from qmodmanager.
I have not touched much of any of this in a very long time. Someone asked for help a few months ago and according to them it seemed to work fine with the package build over on my fork? It is a pretty old build of Qmods and I am unsure how many mods would even work with it if you decide to go down that route. The other option is to look into trying to do a manual install of the latest build and then making a fork in yourself if you decide to share the working instructions. You are welcome to message me on discord and I can get around to helping out, maybe getting a newer version put out for the public but I am pretty unfamiliar with the code base.
from qmodmanager.
from qmodmanager.
@legojoshua12, this is the error it gives me.Sorry to bother you again, the issue is that subnautica just crashes after starting, the actual package installer works fine
…
-Aus
Adding a Image
from qmodmanager.
Related Issues (20)
- Subnautica Qmodmanager Playing a while then it crashes.
- Log file problem
- DELETED
- I cant save or install mods HOT 12
- Qmod Manager on Mac loads some mods, but not others HOT 1
- Preloader Log shows Fatal error - some mods work, some not HOT 5
- Cannot see "mods" in options HOT 9
- Controller can't select Mod options HOT 1
- QModManager sometimes stops working
- Cannot build on Mac
- "Sliders" setting UI element not working properly in SteamVR mode HOT 3
- New Update - startup error with QModManager[BelowZero] HOT 3
- QMods folder missing. HOT 1
- Version 4.4.4 does not run, 4.3 works fine - MSStore custom install directory HOT 3
- [Steam] QModManager 4.4.4 (& 4.4.4.1) are not loading on SBZ HOT 5
- QModManager 4.4.4 not compatible with current Subnautica. HOT 5
- Support Steam Deck by including a notice for required settings HOT 3
- QModPluginGenerator error HOT 1
- Fallback handler could not load library HOT 1
- Log file string HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmodmanager.