rockerbacon / modorganizer2-linux-installer

An easy-to-use Mod Organizer 2 installer for Linux
GNU General Public License v3.0
972 stars 79 forks source link

Instructions on how to setup ENB #453

Open MajorBarnulf opened 1 year ago

MajorBarnulf commented 1 year ago

Hello,

This installer is a true blessing for modding under linux but a notable improvement would be to add some doc on how to install/setup ENB for games like Skyrim SE as instructions on how to do that are rather sparse and generally incomplete online.

As the process looks rather tricky and unreliable, I guess it is too much to expect the installer to install it for us; But since some people seem to have succeeded by tinkering, maybe the procedure could be documented in the post installation steps.

Thank you for your time.


PS : I have been able to install them, from what I experienced, the steps are as follows :

ENB gui does not show up, so every ENB settings must be set manually in the *.ini files

Gary8thomas commented 1 year ago

How do I install the d3dcompiler_4* through protontricks? I'm not familiar to protontricks as a standalone application and I couldn't find anything online.

rockerbacon commented 1 year ago

The process is different for each game but the installer already does its best to make everything work without additional steps.

For DX9 games, the installer already handles the necessary Protontricks and it should be as simple as just using it. I never had any problems on Skyrim LE.

DX11 games are a bit more tricky. There's a lengthy discussion on the DXVK issue tracker about it. TLDR: ENB for DX11 is horribly written, creates broken shaders, and the DXVK team simply can't spend resources running around Boris' proprietary code.

Boris has been trying to somewhat support Linux and newer ENB releases for Skyrim SE come with a "Linux version", which seems to just be regular ENB with the known broken effects disabled. It should be possible to just use this Linux version with no additional steps, but your experience may vary depending on the ENB preset of your choice.

gibsonjareds commented 1 year ago

On SkyrimSE v1.6.640 I'm using proton-tkg 8.11 and I have a working in-game ENB GUI with the latest ENB version. I am not using the provided "Linux Version." I am launching through Lutris with the following overrides:

d3dcompiler_47 - n d3dcompiler_46e - n,b d3d11 -n,b dxgi - n,b xaudio2_7 - n,b

I ran the faudio and d3d_compiler winetricks. I also have .Net Framework 6 installed (manually via installer) and the 2015-2022 VC Redistributable installed manually. The dxgi override is because I also have Reshade installed and working. I am not using dxvk as a proxy library, but it does seem as if it's still doing something as I get the d3d11 log from DXVK. I believe the dxvk built in to this proton-tkg version is 2.2.

ISAndreiva commented 1 year ago

Sorry for the bump but for me changing the UI keybind from Shift+F12 to just END seems to make it to work. Can someone else try it and confirm if it's working for them?

DominicWatson commented 1 year ago

For me, after using this installer to setup MO2, I ran the following from the commandline:

protontricks --gui

From there, I (ignoring all the 64bit/32bit warning dialogs):

  1. Selected Skyrim Special Edition from the dialog that opened
  2. Selected "Select the default wine prefix" from the next dialog
  3. Chose "Install a Windows DLL or component" from the next dialog
  4. Ticked all the d3dcompiler_xx libs (four of them at this present time), and ticked dxvk lib
  5. Hit OK

This then installed these libs into the prefix, with a fair few warning dialogs that could be safely ignored. At the end of that process, the dialog from step 3 re-appeared and I cancelled out of the UI (twice).

Next, install ENB using the Wrapper DLLs (not the linux version), by dropping all the DLLs from the ELB zip's wrapper directory into the Steam Skyrim home folder (the one with the SkyrimLauncher.exe).

Then install an ENB preset as per its instructions.

^^ Worked for me, albeit without working GUI for editing ENB settings within the game.

fighuass commented 1 year ago

Getting this error when trying to get ENB to work (followed @DominicWatson's steps above):

Screenshot_20230909_172434

onlyreportingissues commented 1 year ago

RX 6600 user here & using Proton-GE.

Didn't have to do any winetricks, winecfg & dxvk.conf tweaks.

When starting the game, ENB alters your enbseries.ini file (if its an old one) and adds a new entry called "EnableTerrainBlending=true". Set the value to false and you should be good then.

Also, delete the enbcache folder always whenever a change is made to the ENB files.

I recommend: https://www.nexusmods.com/skyrimspecialedition/mods/78124

It works really well, just gotta turn "EnableTerrainBlending=true" to false

leafi commented 1 year ago

People who have ENB working, but the in-game menu not working:

Please go into enblocal.ini and change the menu key from Shift+Enter to just the End key, by changing the relevant fields like so:

[INPUT]
KeyCombination=0
KeyEditor=35

Does that fix it? It does for me. It would be nice to know if it really is just Shift detection that's failing, or if I accidentally 'fixed' it some other way.

fighuass commented 11 months ago

Getting this error when trying to get ENB to work (followed @DominicWatson's steps above):

Screenshot_20230909_172434

Found the solution: https://github.com/doitsujin/dxvk/issues/2033#issuecomment-1546989002

fighuass commented 11 months ago

Getting this error when trying to get ENB to work (followed @DominicWatson's steps above): Screenshot_20230909_172434

Found the solution: doitsujin/dxvk#2033 (comment)

Nevermind, it reappears whenever I go outside... weird. It works fine when you're inside a cave or dungeon, but go outside and the error happens again.