Custom Lantern
Modify the light of the lantern.
Changelog
– Custom Lantern (DLL) v1.2.2
Fixed incompatibility with other mods. If the DLL version still does not work, you could try with “Custom Lantern Patcher”.
Injected DLL unload itself automatically.
– Added “Custom Lantern Patcher”
– Added “Custom Lantern Tester”, an application to easily choose a light color for the lantern.
– Custom Lantern (DLL) v1.2.1
luminous_intensity, x_pos, y_pos, z_pos are deprecated, use intensity, x, y, z instead.
x_rot, y_rot and z_rot (rotation) are ignored.
Description
Custom Lantern (DLL) is the mod itself. You can configure the lantern light in `custom-lantern.ini`.
How to find the values for the file `custom-lantern.ini`? I suggest you to use Custom Lantern Tester (GUI tool) for this.
Instead of using the DLL version, you can use the CLI tool Custom Lantern Patcher (CLI) to write your lantern values directly to the file sfxbnd_commoneffects.ffxbnd.dcx. In this case, don’t use Custom Lantern (DLL). Custom Lantern Patcher is an alternative to the DLL version. Also, DLL version (and the GUI tool Custom Lantern Tester) may not be compatible with mods that modify the lantern.
How to install
Custom Lantern (DLL)
- Make a backup of your save.
- Disable EAC with something like this: https://www.eldenringmods.com/anti-cheat-toggler-and-offline-launcher/
- Download and install Elden Mod Loader: https://www.eldenringmods.com/elden-mod-loader/
- Download “Custom Lantern (DLL)”. Extract the archive content in “Elden Ring\Game\mods\”.
Elden Ring/
├─ Games/
│ ├─ mods/
│ │ ├─ CustomLantern/
│ │ │ ├─ config.ini
│ │ │ ├─ custom-lantern.ini
│ │ ├─ CustomLantern.dll
│ ├─ mod_loader_config.ini
│ ├─ dinput8.dll
│ ├─ eldenring.exe
You can edit the values of the lantern light in the file custom-lantern.ini.
If you want to test values in real time without the need to restart the game, you can use the “Cheat Engine table” or the application “Custom Lantern Tester (GUI tool)”.
Requirements
Custom Lantern (DLL)
Elden Mod Loader ⇨ https://www.eldenringmods.com/elden-mod-loader/
Custom Lantern (GUI tool)
.NET Desktop Runtime 6 ⇨ https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Custom Lantern (CLI)
.NET Runtime 7 ⇨ https://dotnet.microsoft.com/en-us/download/dotnet/7.0
Known bugs and issues
Custom Lantern (DLL) and Custom Lantern Tester (GUI tool) may not work if you use an another mod that modifies sfxbnd_commoneffects.ffxbnd.dcx; more specifically, if a mod modifies f000302421.fxr inside sfxbnd_commoneffects.ffxbnd.dcx. f000302421.fxr is the file for the lantern light effect. Nevertheless, you can use Custom Lantern Patcher to write your lantern values directly to the file sfxbnd_commoneffects.ffxbnd.dcx. In this case, don’t use Custom Lantern (DLL).
FAQ
The game throws an error or crash at launch
Check the log files for error messages.
The log files are “mods\CustomLantern\log.txt” and “mod_loader_log.txt” in “Elden Ring\Game\” directory.
Try to increase the value load_delay in CustomLantern\config.ini. The value is in milliseconds.
[config]
load_delay = 60000
You can also try to set an empty value on other keys.
start_address=
region_size=
protect=
type=
How to set my own values for the lantern light?
You can change the values of the light in the file custom-lantern.ini.
If you want to test values in real time without the need to restart the game, you can use the Cheat Engine table or the new application Custom Lantern Tester (GUI tool).
When I modify `position` (xyz), I don’t see any change
When you modify position while the game is open, you need to re-equip the lantern to take effect.
Cheat Engine table
It can be used to test the the the light values in real time. But do NOT use it if the anti-cheat is enabled.
Requirements: Cheat Engine https://www.cheatengine.org/
Misc.
Game default values
color
|-red = 1
|-green = 0.6313726
|-blue = 0.36862746
|-alpha = 1
spec. color
|-red = 1
|-green = 0.6313726
|-blue = 0.36862746
|-alpha = 1
position
|-x = 0
|-y = 0
|-z = 0
rotation
|-x = 0
|-y = 0
|-z = 0
radius = 16
luminous intensity = 1.25
Mod default values
color
|-red = 1
|-green = 0.75
|-blue = 0.5
spec. color
|-red = 1
|-green = 0.75
|-blue = 0.5
position
|-x = 0.75
radius = 30
luminous intensity = 2.5