EGameTools
EGameTools (short for Eric’s Game Tools) is an ASI mod menu developed in C++, using ImGui, which aims to help ease mod developers in the process of creating mods and which also aims to add new, additional features that the game does not provide by default, such as FreeCam, Weather and Time control, etc.
What is an ASI?
An ASI is basically just a DLL file with a different file extension. There’s a certain ASI loader, in this case `winmm.dll`, which gets loaded by the game, and the ASI loader then scans the game folder for ASI files and injects them into the game process.
Features
Player:
– God Mode
– Freeze Player
– Player Variables editing (with the ability to save and load to/from a `player_variables.scr`, restore to default values)
Camera:
– FreeCam
– Disable PhotoMode Limits
– Teleport Player to Camera
– FOV slider
– Disable Safezone FOV Reduction
World:
– Time slider
– Weather control
Installation
Download the archive from the Files section and extract the files from inside the archive to the game’s exe folder (`Dying Light 2\ph\work\bin\x64`).
Uninstallation
Delete `winmm.dll`, `EGameTools.asi` and `EGameTools.ini` from the game’s exe folder (`Dying Light 2\ph\work\bin\x64`).
How do I use it?
When you launch the game, a console window will appear. When it does, DON’T CLOSE IT! Closing it will also close the game. This console is meant for debugging/troubleshooting purposes later down the road when the mod gets more complex.
By default, to toggle the mod menu, in-game press F5 on your keyboard. The same key will open and close the menu. You can use your mouse to navigate the menu.
A config file `EGameTools.ini` is stored in the same folder as the mod file. In here, there will be a value called `ToggleKey` where `VK_F5` is specified. This is the key for toggling the mod menu. To change it, visit this link from Microsoft which contains all virtual key codes. Simply write the name of the keycode you want to use and save the config file.
YOU DON’T HAVE TO REOPEN THE GAME FOR CHANGES TO THE CONFIG FILE TO TAKE EFFECT! Changes made to the config file are constantly refreshed in the mod, so you can edit the config file while the game is running. If you want to regenerate the config file, delete it and it will automatically create a new file.
For now, this config file is not very useful for most people as it saves some useless information such as last paths used in the Player Variables saving/loading dialogs, or toggles such as Disable PhotoMode Limits/Safezone FOV Reduction.
Does this work with Multiplayer?
This hasn’t been tested, but I will assume it works fine. If it doesn’t, please open a bug report and I will happily play test with anybody.
This isn’t working anymore, what can I do?
This mod is supposed to survive game updates, but sometimes it doesn’t if there’s a huge game update. If it’s a big game update that broke the mod, I’m most likely already aware and already working on a fix. If not, please open a bug report!
I want the source code!
Sorry, I’ve decided to keep this one closed-source for now, this tool will eventually have a lot of features that have the potential to be used as cheats in Multiplayer, if there will ever be PVP in this game. I will most likely open-source it at some point, but for now it will stay like this.