Dungeon Defenders has issues hosting multiplayer matches when more than one network adapter is enabled. 1
This script automatically disables all but one adapter while Dungeon Defenders is running, then re-enables them after the game closes. It also recovers if your computer crashes & still re-enables the adapters.
By default, this script installs itself to your system and runs automatically. To avoid the install, you can set the portableMode option to $true
.
This script requires being run as administrator.
- Download the latest version
- Change any options in the downloaded script
- Run PowerShell as administrator (example)
- Run the script to install and run the script
- Open the folder you downloaded the script to
- Right click on the address bar, then click "Copy address as text" (example)
- Type
cd ""
then hit the left arrow key - Hit enter
(default: $false
)
Runs the script in-place without installing it.
If already installed, make sure you first end & disable the installed script (how to).
(default: $true
)
Detects primary network interface automatically when Dungeon Defenders is launched to determine which other interfaces should be disabled.
You must set overrideInterfaceName when setting this to $false
.
Set this to the name of a specific network interface to choose which you'll use when playing Dungeon Defenders.
Ignored when autoDetectPrimaryInterface is $true
.
Interface names can be found by:
- Press
Win+R
- Enter
powershell -Command Get-NetAdapter; Pause
- Click OK
(default: "C:\DunDefScripts"
)
The location where the script will be installed.
(default: "Dungeon Defenders Network Manager"
)
The name of the task created during install to run the script automatically.
(default: 15
)
Ignored if you do not have any Hyper V virtual network interfaces.
Determines how long to wait between re-enabling normal & HyperV virtual network interfaces.
An error will be shown when running portableMode if you have any HyperV interfaces which need more time, in which case you should increase this number.