Cloudef / ModEngine2

Runtime injection library for modding Souls games. WIP
MIT License
37 stars 1 forks source link

Elden Ring Item and Enemy Randomizer not working correctly #21

Open mwsduelle opened 11 months ago

mwsduelle commented 11 months ago

I installed everything following the instructions exactly and the randomizer "works" but not really. I get constant ?EventTextforMap? messages and all the NPCs are ?NpcName?. My loadout wasn't randomized either (the option to randomize it was on) and NPC outfits were not randomized either. I tried replacing the regulation.bin in the main folder with the one from the randomizer folder and that gave me my random loadout and the ?EventTextforMap? messages went away but ?NpcName? remains.

Cloudef commented 11 months ago

Can you try with elden-proton?`https://github.com/Cloudef/elden-proton

mwsduelle commented 11 months ago

When running for the first time in terminal:

./elden-proton.bash
./elden-proton.bash: line 16: STEAM_RUNTIME: unbound variable

I'm not having any issues getting DLL mods to work. I have Seamless Co-op, IncreaseAnimationDistance, SkipTheIntro, and UnlockTheFPS working without issue. Not sure what elden-proton would do to fix the Randomizer issue.

Elden Mod Loader log:

EldenModLoader > Load delay: 5000
EldenModLoader > Show terminal: 0
EldenModLoader > Finding mods...
EldenModLoader > Load orders:
EldenModLoader > elden_ring_seamless_coop = -1
EldenModLoader > IncreaseAnimationDistance = -1
EldenModLoader > lua = -1
EldenModLoader > modengine2 = -1
EldenModLoader > SkipTheIntro = 0
EldenModLoader > UnlockTheFps = 1
EldenModLoader > Loading .dll mods...
EldenModLoader > Loading SkipTheIntro.dll...
EldenModLoader > Loading UnlockTheFps.dll...
EldenModLoader > Loading elden_ring_seamless_coop.dll...
EldenModLoader > Loading IncreaseAnimationDistance.dll...
EldenModLoader > Loading lua.dll...
EldenModLoader > Loading modengine2.dll...
EldenModLoader > Loaded 6 .dll mods

ModEngine2 log:

[2023-12-24 10:40:25.007] [modengine] [info] Attempting to load global config at Z:\home\duelle\.local\share\Steam\steamapps\common\ELDEN RING\Game\mods\config.toml
[2023-12-24 10:40:25.007] [modengine] [info] Attempting to load mod settings config at Z:\home\duelle\.local\share\Steam\steamapps\common\ELDEN RING\Game\modengine.toml
[2023-12-24 10:40:25.008] [modengine] [info] Local config loaded
[2023-12-24 10:40:25.008] [modengine] [info] ModEngine version 2.1.0-20b7f1a3ba39138f61fdeb5cb88fb16721371130 initializing for Elden Ring
[2023-12-24 10:40:25.008] [modengine] [info] Local settings loaded: true, Global settings loaded: true
[2023-12-24 10:40:25.008] [modengine] [info] Main thread ID: 368
[2023-12-24 10:40:25.008] [modengine] [info] Enabling extension base
[2023-12-24 10:40:25.008] [modengine] [info] Enabled extension base
[2023-12-24 10:40:25.008] [modengine] [info] Enabling extension mod_loader
[2023-12-24 10:40:25.008] [modengine] [info] Installing mod location randomizer
[2023-12-24 10:40:25.008] [modengine] [info] Resolved mod path to Z:\home\duelle\.local\share\Steam\steamapps\common\ELDEN RING\Game\randomizer
[2023-12-24 10:40:25.008] [modengine] [info] Enabled extension mod_loader
[2023-12-24 10:40:25.010] [modengine] [info] Applied 3 hooks
[2023-12-24 10:40:25.010] [modengine] [info] Starting worker thread
Cloudef commented 11 months ago

Please try again with elden-proton. I fixed running it outside of steam runtime. Other thing you can try is reduce the load_delay of elden mod loader to 2000

mwsduelle commented 11 months ago

I get the same result. Is this just modengine2 failing to hook and replace the files?

Cloudef commented 11 months ago

It might be the elden mod loader hooks too early or late that prevents modloader from working. That's why you may have to play with the load_delay. Randomizer itself should work fine as I've used it.

mwsduelle commented 11 months ago

I finally got it working. It seems like manually adjusting the load order was what did it. I put lua.dll and modengine2.dll at the top and now it finally works correctly.