In the recent versions of this mod, a DLL file is injected in the eldenring.exe process for modifying values in memory.


Modded file version (deprecated and archived)

You can download the modded file sfxbnd_commoneffects.ffxbnd.dcx in Archived files https://www.nexusmods.com/eldenring/mods/3170/?tab=files&category=archived

Tested with Elden Ring 1.8.1.
Requirements: Mod Engine 2 https://github.com/soulsmods/ModEngine2/releases

Copy the file sfxbnd_commoneffects.ffxbnd.dcx in the directory mod\sfx\ of your Mod Engine 2 installation. Create the directory sfx if needed.


How to create this mod (modded file version) | for modders

Tools used


Resources:


My directory tree structure used for the examples below:

A:\Elden Ring/
├─ FXR3-XMLR/
│  ├─ FXR3-XMLR.exe
├─ Game/
│  ├─ sfx/
│  │  ├─ sfxbnd_commoneffects.ffxbnd.dcx
│  │  ├─ sfxbnd_commoneffects-ffxbnd-dcx/ # "sfxbnd_commoneffects.ffxbnd.dcx" file upacked
│  │  │  ├─ GR/
│  │  │  │  ├─ data/
│  │  │  │  │  ├─ INTERROOT_win64/
│  │  │  │  │  │  ├─ sfx/
│  │  │  │  │  │  │  ├─ effect/
│  │  │  │  │  │  │  │  ├─ f000302421.fxr
│  │  │  │  │  │  │  │  ├─ f000302421.fxr.xml
├─ ModEngine-2.0.0-preview4-win64/
│  ├─ mod/
│  │  ├─ sfx/
│  │  │  ├─ sfxbnd_commoneffects.ffxbnd.dcx # modded file
├─ Yabber 1.3.1/
│  ├─ Yabber.exe



Unpack the game files
Open "UXM Selective Unpack".
Select your executable path.
Click "View Files", select "sfxbnd_commoneffects.ffxbnd.dcx" in "EldenRing" -> "sfx".
Click "Ok". Check "Use Selected Files". Click "Unpack".
A file "sfxbnd_commoneffects.ffxbnd.dcx" is created in "Elden Ring\Game\sfx\" directory. You can make a backup of this file if you want.


Unpack "sfxbnd_commoneffects.ffxbnd.dcx"

A:\Elden Ring>"Yabber 1.3.1\Yabber.exe" "Game\sfx\sfxbnd_commoneffects.ffxbnd.dcx"

The directory "Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\" is created.
The directory "Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\GR\data\INTERROOT_win64\sfx\effect\" contains the .fxr files.


Convert a .fxr file in .xml
We will convert "f000302421.fxr" for the example.
"f000302421.fxr" is the fxr file for the "Lantern" light effect. "midstSfxId" for the "Lantern" = 302421

A:\Elden Ring>FXR3-XMLR\FXR3-XMLR.exe Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\GR\data\INTERROOT_win64\sfx\effect\f000302421.fxr

The file "f000302421.fxr.xml" is created in "Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\GR\data\INTERROOT_win64\sfx\effect\".

Open and edit "f000302421.fxr.xml" with a text editor.
Use the FXR Notes sheet to understand the file structure: https://docs.google.com/spreadsheets/d/1awj88NjfLzRZ4PZnWe0r5OFgpNqWrKNVMb2OPXbBmuQ/edit?usp=sharing
You can also open the fxr file with Dantelion-FXR3 to view and understand the structure of the fxr file.


Convert "f000302421.fxr.xml" to "f000302421.fxr"

A:\Elden Ring>FXR3-XMLR\FXR3-XMLR.exe Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\GR\data\INTERROOT_win64\sfx\effect\f000302421.fxr.xml


Repack the directory "Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx\"
The file "Game\sfx\sfxbnd_commoneffects.ffxbnd.dcx" will be created/modified.

A:\Elden Ring>"Yabber 1.3.1\Yabber.exe" "Game\sfx\sfxbnd_commoneffects-ffxbnd-dcx"


Make a hard link (or a copy) of the modifed file to "mod\sfx\" directory of ModEngine
Instead of create a hard link, you can just make a copy of the file after each modification.

A:\Elden Ring>mkdir ModEngine-2.0.0-preview4-win64\mod\sfx & mklink /H ModEngine-2.0.0-preview4-win64\mod\sfx\sfxbnd_commoneffects.ffxbnd.dcx Game\sfx\sfxbnd_commoneffects.ffxbnd.dcx

Launch the game.

Article information

Added on

Edited on

Written by

0R4X