ModEngine2 icon indicating copy to clipboard operation
ModEngine2 copied to clipboard

Elden Ring Item and Enemy Randomizer not working correctly

Open mwsduelle opened this issue 1 year ago • 6 comments

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.

mwsduelle avatar Dec 24 '23 06:12 mwsduelle

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

Cloudef avatar Dec 24 '23 11:12 Cloudef

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

mwsduelle avatar Dec 24 '23 18:12 mwsduelle

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

Cloudef avatar Dec 25 '23 01:12 Cloudef

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

mwsduelle avatar Dec 25 '23 04:12 mwsduelle

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.

Cloudef avatar Dec 25 '23 06:12 Cloudef

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.

mwsduelle avatar Dec 25 '23 20:12 mwsduelle