soulsmods / ModEngine2

Runtime injection library for modding Souls games. WIP
MIT License
860 stars 156 forks source link

Linux Compatibility #89

Open FlamenWolf opened 1 year ago

FlamenWolf commented 1 year ago

Is there anyway to get this to work for Linux? I'm using Pop!OS currently. I want to run the Reforged mod. The exe doesn't launch with wine no matter what I do so is there another option to get the mod to work?

Keelhauled commented 1 year ago

It would be nice to have this working as a dinput8.dll mod again, those are easier to run on linux. I tried to add modengine2.dll and lua.dll to the Elden Mod Loader mods folder and it seems to work but i don't think it can find the config.

Keelhauled commented 1 year ago

Just found out about this fork that works with proton https://github.com/Cloudef/ModEngine2/releases/tag/2.0.0.1-proton-v3. Hopefully it can be merged.

FlamenWolf commented 1 year ago

Just found out about this fork that works with proton https://github.com/Cloudef/ModEngine2/releases/tag/2.0.0.1-proton-v3. Hopefully it can be merged.

I tried it and I can't get the mod to load still.

Keelhauled commented 1 year ago

I just ended up using UXM to mod. I got that fork to work somewhat but regulation.bin and some other files were not replaced so it doesn't seem fully functional anyway.

abigrock commented 1 year ago

Can confirm that Cloudef's fork works with latest Elden Ring update (1.08.1) and Elden Ring Reforged + Seamless Coop if setup according to the instructions. Using Proton GE although probably not required.

ThePyrotechnic commented 1 year ago

Can confirm that Cloudef's fork works with latest Elden Ring update (1.08.1) and Elden Ring Reforged + Seamless Coop if setup according to the instructions. Using Proton GE although probably not required.

@abigrock Are you able to see the extra menu options that ERR adds to the bonfires? I wasn't able to (my notes here: https://github.com/soulsmods/ModEngine2/issues/58#issuecomment-1372641220)

abigrock commented 1 year ago

@ThePyrotechnic I see this under the difficulties menu: image

It's worth noting that when I first setup the mod according to Cloudef's instructions the ERR themed menu screen wasn't showing like it does on my Windows install. For whatever reason, verifying Elden Ring's game files through steam fixed it. I didn't check to see if the mod's bonfire menus were showing correctly until after I verified the game cache and saw that the ERR themed menu was showing as expected.

ThePyrotechnic commented 1 year ago

@abigrock Okay great, so if it works for you then it definitely can work with the tools we've got now. What version of Proton GE are you using?

Pednick commented 1 year ago

@abigrock Okay great, so if it works for you then it definitely can work with the tools we've got now. What version of Proton GE are you using?

GE-Proton7-43

abigrock commented 1 year ago

@ThePyrotechnic proton-ge-custom-bin 1:GE_Proton7_43-1 from AUR

Pednick commented 1 year ago

@ThePyrotechnic GE_Proton7_43 from AUR

I got mine from github.

abigrock commented 1 year ago

Been messing around some more and found that sometimes ERR's menu theme doesn't load and the bonfire menus show ?EventTextForTalk?. I found that changing load_delay to 2500 in mod_loader_config.ini corrects the issue every time I've launched the game so far. Perhaps verifying the game's cache isn't necessary.

DiabeticCrab commented 1 year ago

Does anyone know how to circumvent the [2023-01-24 22:11:10.875] [modengine] [error] Unable to detect a supported game error on Linux?

It refuses to work for some reason. Neither this release, nor the Proton compatible one from Cloudef that is loaded via ModLoader.

FahriBilici commented 1 year ago

Hi where did you run echo "%command%" | sed 's/start_protected_game/eldenring/' | WINEDLLOVERRIDES="dinput8.dll=n,b" sh . command?

Pednick commented 1 year ago

Hi where did you run echo "%command%" | sed 's/start_protected_game/eldenring/' | WINEDLLOVERRIDES="dinput8.dll=n,b" sh. command?

I got it from here: https://github.com/Cloudef/ModEngine2/releases/tag/2.0.0.1-proton-v3

FahriBilici commented 1 year ago

I mean I am using lutris. where should I run this command in lutris?

Pednick commented 1 year ago

I mean I am using lutris. where should I run this command in lutris?

I dunno, I don't use lutris. Maybe ask the author of that site.

FahriBilici commented 1 year ago

Are you using steam deck?

I mean I am using lutris. where should I run this command in lutris?

I dunno, I don't use lutris. Maybe ask the author of that site.

Pednick commented 1 year ago

Are you using steam deck?

I mean I am using lutris. where should I run this command in lutris?

I dunno, I don't use lutris. Maybe ask the author of that site.

Nope, I use steam with proton. When you play on steam deck, do you have launch options for elden ring? If you do, you paste that into the launch options.

xenanthropy commented 1 year ago

Been messing around some more and found that sometimes ERR's menu theme doesn't load and the bonfire menus show ?EventTextForTalk?. I found that changing load_delay to 2500 in mod_loader_config.ini corrects the issue every time I've launched the game so far. Perhaps verifying the game's cache isn't necessary.

Ah thank you for this!!! I'd been trying to get randomizer and co-op working together and kept running into a similar issue with the ?blahblah? stuff, setting it to 2500 fixed that.