Installation¶
Prerequisites¶
- Python 3.10+
- Elden Ring (Steam version)
- Windows (required for game interaction)
- uv (recommended) or pip
Install EldenGym¶
Using uv (Recommended)¶
# Clone the repository
git clone https://github.com/dhmnr/eldengym.git
cd eldengym
# Install with uv
uv sync
Using pip¶
# Clone the repository
git clone https://github.com/dhmnr/eldengym.git
cd eldengym
# Install in development mode
pip install -e .
Install Siphon Server¶
EldenGym requires the Siphon gRPC server to communicate with Elden Ring.
- Download the latest Siphon server release from [releases page]
- Extract to a convenient location
- Run
siphon_server.exe
The server should start on localhost:50051 by default.
Verify Installation¶
import gymnasium as gym
import eldengym
print(eldengym.__version__) # Should print: 1.0.0
# Test environment creation
env = gym.make("EldenGym-v0")
print("✓ EldenGym installed successfully!")
Configuration Files¶
EldenGym includes pre-configured memory patterns for Elden Ring:
If you have a different game version, you may need to update memory patterns.
Troubleshooting¶
"Failed to connect to server"¶
Make sure the Siphon server is running:
"Config file not found"¶
The config path auto-resolves. Use just the filename:
"Memory initialization failed"¶
- Ensure Elden Ring is running
- Check game version matches config file
- Run as Administrator if needed
Next Steps¶
Continue to the Quick Start Guide to train your first agent!