How to: launch DDO from command line
This isn't new by any means, but I think it's been pretty much forgotten by the DDO community. About 5 years ago, a few linux users built their own bash program/script launcher for LOTRO, since the default didn't work in wine. (http://www.bmx-chemnitz.de/~mfr/LOTRO/) What I've done is modify this file to work for windows and take command line parameters. You can download the modded file here: https://docs.google.com/open?id=0B58...Eg4RzloWkRjQTA
How to get this to work:
- Download cygwin (http://www.cygwin.com/), install, and be sure to include the W*GET package (without the * lol forum bug).
- Add the cygwin bin folder to the windows environmental path.
- Open the script in a text editor and find the line with the "gameDir=C:/'Program Files (x86)'/Turbine/'DDO Unlimited'" parameter and change it to whatever you use.
- The bash script takes three command line parameters: 1) account name, 2) password, 3) server number (see below). For example, to run from a batch file, create a batch file and add the line:
Code:bash ddolauncher.script USERNAME PASSWORD 5- That's it! Run the batch and enjoy loading DDO with a simple double click
You can also change the game client language. Find the "languages[0]=english" line and change the language. Also, the patcher functionability was removed. To patch your game, just run the original launcher once.
Since most of the heavy lifting was not done by me, I have no intention to attempt to port this into a more windows native format. Part of the fun was in understanding what was going on and getting it to work. For those interested, good luck!
Server list, subject to change of course:
0: Wayfinder [DE]
1: Ghallanda
2: Argonnessen
3: Thelanis
4: Sarlona
5: Khyber
6: Cannith
7: Orien
DDOclient.exe also has a few additional command line parameters which you can add in, I don't know what everything does. The logging parameter sounds promising though.
-a, --account : <string>: Specifies the account name to logon with.
--authserverurl : Auth server URL for refreshing the GLS ticket.
--bugurl : <url> : Specifies the url that should be used for reporting bugs.
--chatserver : Specify the chat server to use.
--connspeed : <0.0-640.0>:Connection speed in Kilobits/sec for the server-client connection. 0 Defaults to speed searching
-r, --create : <name> : Character Name you would like to play (does not create character)
--debug : <32 bitfield>: Controls what kinds of debug outputs are enabled.
-f, --franchise : <string>: Specifies the franchise name.
--gametype : <string> : Specifies the game type used for supporturl and supportserviceurl.
--glsticket : Load gls ticket data from specified registry key.
-z, --glsticketdirect: <string>: Specify ticket data.
--glsticketlifetime: The lifetime of GLS tickets.
--HighResOutOfDate: Tells the client that the high resolution texture dat file was not updated. We will not switch into very high texture detail..
-h, --host : [host/IP]:Specifies where to find the server to talk to.
--keymap : <file> : Base file for the keymap. Will also look for <filename>c.extension and <filename>s.extension for meta keys
--language : <string>: Language to run the client in.
--outport : <1-65535>: Specify the outgoing network port to use.
-p, --port : <1-65535>: Specify the server port to contact. See 'host'
--prefs : <string>: Specify the preferences file to use.
--remotemouse : Optimize for using a mouse over a remote connection.
--resource-set : <string>: A comma separated list of available resource sets. The last set is the default.
--rodat : Opens the DAT files readonly
--safe : Force SAFE display settings.
--supportserviceurl: <url> : Specifies the url that should be used for auto submission of in game support tickets.
--supporturl : <url> : Specifies the url that should be used for in game support.
--usechat : Specify that the client should connect to a chat server.
-u, --user : <name> : Character Name you would like to play
--usetdm : Enable the download manager
--voicenetdelay : <int>: Specifies the voice network delay threshold in milliseconds.
--voiceoff : Disables the Voice chat system.
--wfilelog : <64-bitmask> : activates file logging for the specified weenie event types. Alternately, logtype enums seperated by ',' are enummapped and or'ed together.
--wprintlog : <64-bitmask> : activates print logging for the specified weenie event types. Alternately, logtype enums seperated by ',' are enummapped and or'ed together.