Skip to content

[Bug]: Some DLL mods can't find their ini file due to hardcoded paths #296

Description

@jn64

What happened?

Some native DLL mods have additional files like .ini for config. E.g. Pause the game for ER includes PauseTheGame.dll and PauseTheGame/pause_keybinds.ini. The ini is used to set the keys for pausing/unpausing.

There doesn't seem to be a way to tell me3 to include the ini and make it available to a specific [[native]], so the mod always has default settings.

It works as expected with a different mod loader (Elden Mod Loader).

Minimum example:

profileVersion = "v1"

[[supports]]
game = "eldenring"

[[natives]]
path = "natives/PauseTheGame.dll"

Files:

ELDEN RING/Game/modengine3
├── bin
│   ├── me3
│   └── win64
│       ├── me3-launcher.exe
│       └── me3_mod_host.dll
├── mods
├── natives
│   ├── PauseTheGame
│   │   └── pause_keybinds.ini
│   └── PauseTheGame.dll
├── profile1.toml
└── launch-eldenring-mods.sh

Version

v0.6.1 (Latest)

What operating system are you seeing this problem on?

Linux

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions