Automates installation of mods for Elden Ring.
- Automatic Game Path Detection: Identifies the installation path of Elden Ring within Steam library folders.
- Mod Installation: Copies mod files to the appropriate game directory.
- Shortcut Creation: Generates a desktop shortcut for launching Elden Ring with mods.
- Python 3.8+
- Steam Installation: Ensure that Steam and Elden Ring are installed on your system.
- Clone this repository:
git clone https://github.com/lumphrey/er-coop-installer.git
- Install dependencies:
pip install -r requirements.txt
-
Prepare Mod Files:
- Place the mod files in a folder named
modengine2
, located in the same directory as this script.
- Place the mod files in a folder named
-
Run the Installer (development):
- Execute the application by running the following command:
python elden_ring_mod_installer.py
- Execute the application by running the following command:
- parse_vdf_library_folders(vdf_path): Parses the
libraryfolders.vdf
file to extract Steam library paths. - find_game_path(): Searches through Steam library folders to locate the Elden Ring installation.
- get_resource_path(relative_path): Resolves paths for resources, compatible with PyInstaller for executable packaging.
- install_mods(game_dir): Copies mod files from
modengine2
to the Elden Ring mods folder. - create_launcher_shortcut(mod_folder_dir): Creates a Windows shortcut to launch Elden Ring with mods enabled.
- Run the script:
python elden_ring_mod_installer.py
- If successful, a shortcut will be created in the
AppData\Local\Elden Ring - Seamless Coop
directory. - Use this shortcut to launch Elden Ring with mods.
pyinstaller --onefile --add-data "src\modengine2;modengine2" src\installer.py
- VDF File Not Found: Ensure Steam is installed, and the
libraryfolders.vdf
file exists in the default location. Update thesteam_default_path
variable if necessary. - Mod Installation Fails: Verify that the
modengine2
folder contains the correct mod files.