Skip to content

Instantly share code, notes, and snippets.

@heinermann
Last active October 5, 2023 05:20
Show Gist options
  • Save heinermann/788470a5fedb1c437c1c570fe46cdb57 to your computer and use it in GitHub Desktop.
Save heinermann/788470a5fedb1c437c1c570fe46cdb57 to your computer and use it in GitHub Desktop.
D2R Command Line Options
-w, -window, -windowed Run in windowed mode.
-per ??
-lq Runs game using low quality/low vision mode; same as Large Font Mode setting.
-gamma <num> Override Gamma. Default: 0
-vsync <num> Override VSync. Default: 255
-aftermath <string> ?? 23 chars max. Default: unset
-s <string> ?? 23 chars max. Default: unset
-gametype <num> ?? Default: 0
-arena <num> ?? Default: 0
-joinid <num> ?? Default: 1
-gamename <string> ?? 23 chars max. Default: unset
-bn <string> ?? 23 chars max. Default: unset
-mcpip <string> ?? 23 chars max. Default: unset
-ama (Defunct?) Sets class to Amazon. This is the default.
-pal (Defunct?) Sets class to Paladin.
-sor (Defunct?) Sets class to Sorcerer.
-nec (Defunct?) Sets class to Necromancer.
-bar (Defunct?) Sets class to Barbarian.
-name <string> (Defunct?) Sets character name. 60 chars max. Default: unset
-realm <string> (Defunct?) ?? 23 chars max. Default: unset
-act <num> (Defunct?) Sets the starting act. Default: 1
-log Enables logging of performance metrics in `d2log.txt`.
-msglog ??
-nosave ??
-seed <num> (Defunct?) Sets the random seed. Default: 0
-nopk ??
-ns, -nosound Runs the game without sound.
-direct Runs game using .bin files and internal data files (`Data/` directory)
-tactmode <int> ?? Default: 0
-lem ??
-nocompress ??
-sndbkg ??
-filter <string> ?? 255 chars max. Default: ""
-username <string> ?? 255 chars max. Default: unset
-password <string> ?? 23 chars max. Default: ""
-address <string> ?? 255 chars max. Default: ""
-skiplogovideo ??
-data <string> ?? 259 chars max. Default: unset
-locale <string> Sets the game's locale (2 character language + 2 character region). 4 chars max. Default: unset
-countrycode <string> ?? 2 chars max. Default: unset
-mod <string> Load data from a mod directory first, in `mods/<string>/<string>.mpq`. 23 chars max.
-txt Runs game using .txt files instead of .bin files, useable with -direct or -mod.
-norumble Disables rumble for controllers.
-newplayer Run the calibration and intro video every time.
-minimumloglevel <int> Sets the minimum log level. Default: 3
-resetofflinemaps Resets the single player map every time, just like multiplayer.
-enablerespec Allows ALT+Clicking the add stat button to respec stats and skills an unlimited number of times.
-players <int> (Defunct?) Sets the player count in the game for difficulty scaling. Default: 0
-maxplayers <int> (Defunct?) Sets the maximum players that can join your game. Default: 8
-leveldifference <int> (Defunct?) Sets the maximum level difference for players to join your game. Default: 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment