Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Using the BepInEx launch script (after adapting it to macOS) actually works, and it will start the game, but BepInEx itself never gets loaded.
I got mods to work in the Windows version through CrossOver, but that way will not work for macOS. We need to use the Linux script. I probably have to do a dissection on what the script actually does (it doesn't look like it's doing much, but appearances can be deceiving).
I think the main problem is getting Valheim to run in x86 mode.
Edit: I'm not even sure if the Mac version of Unity is mod-enabled. Could be that it is not, as none of the mods would work out of the door anyway. And then the BepInEx team would need to compile their code on a Mac with ARM as the target as well, before we even have a chance to see any mod support coming.
So, I wouldn't place too much hope on mod support working any time soon.
Basically BepInEx relies on Doorstop. Doorstop is a hacked DLL that allows for BepInEx (and in turn other mods) to work.
Without Doorstop working, mods won't work, period.
Might or might not help #shrug
WARNING: This is not for the faint of heart! If you're not at least a tiny bit familiar with the terminal, a command line interface and MacOS you should probably not try this. You are on your own here!
This out of the way:
You don't need to mess with Doorstep. You can download the original BepInEx build for MacOS from:
https://github.com/BepInEx/BepInEx/releases
Download the MacOS build. Unpack it, and move all the files inside the folder into your Valheim directory here (for now Steam ONLY):
Inside of the "run_bepinex.sh" script you need to change
Once you've done that, you have to make some important changes that you might not be willing to make. Depends on how badly you want mods to work. Otherwise none of this will work.
1. Right click on "valheim.app" in the aforementioned location, select "Information" and click the checkbox "Open with Rosetta". I'm translating this on-the-fly from German, so it might be a bit different in English.
This will open Valheim as an Intel-binary and runs it through Rosetta. This means you will lose performance, but probably not that much.
2. Do the same thing with "Terminal.app" inside the "Applications/Utilities" folder. Set it also to open with Rosetta.
Again, depends upon if you need Terminal as a native app or not. I actually tried to make a copy of it, to run that, but Apple is very adamant in not letting you modify core components of their system, even if it's just a simple terminal program.
Thanks, Apple!
3. Run Terminal and cd to the aforementioned location of your "valheim.app". There's probably a simpler solution for this. I'll append this post with it.
4. Type
5. Next, type
6. You can now move your plugins from your former BepInEx/plugins folder into the new BepInEx/plugins folder. I would be very careful with that, and first just try "Valheim.DisplayBepInExInfo.dll". This should give you a notification that BepInEx is actually running the next time you start Valheim (step 5).
I've tried it with PlantAnything, and it seemingly worked. No guarantee that this will work with other, more elaborate mods.
Good Luck!
I was able to run Valheim with mods on macOS in Rosetta mode. Here are my experiences:
1. Some mods from my stable build on Crossover why are crashing the main menu here
2. I lost performance from 90 frames to 60 in empty locations, and from 60 to 30 in laden locations, compared to the native version
For now, the current conclusion is that I'd rather play on Crossover - there's more stability and convenience there, but the performance is about the same as Rosetta. But if I want to play Valheim without mods - the native version is my choice!