Configuring daochook

Once daochook is fully and properly installed, you are ready to begin configurations.

Boot Configuration File Format

The boot configuration file holds all of the information needed to launch the game client with daochook injected. It also includes some additional configurations used with daochook internally, such as if you wish to enable/disable certain included patches. Please read the following information carefully to ensure your boot configuration file is written correctly.

Section: [import] (optional)
  • import (string) - The name of another boot configuration file to import. Merges the two files settings’ together to form a single file.

The import section is an optional feature that allows advanced users to create base configuration files that can be used by multiple boot configurations. You can create a single base file that defines the daochook.game, daochook.server and daochook.patches sections then include that into each configuration that will use the same base information. Then your actual boot configuration file only needs to implement the daochook.auth for each character instead.

Section: [daochook.game]
  • path (string) - The full path to your Dark Age of Camelot installation game.dll file that you wish to launch with daochook.
Section: [daochook.server]
  • addr (string) - The server IP address (or DNS name) that you wish to connect to.
  • port (number) - The server port that you wish to connect to.
  • id (number) - The server id that you wish to connect to. (Set to 42 if playing on a private server unless otherwise noted.)
Section: [daochook.auth]
  • username (string) - The username of the account you wish to login into.
  • password (string) - The password of the account you wish to login into.
  • character (string, optional) - The name of the character you wish to auto-log into.
  • realm (string, optional) - The realm id of the character you wish to auto-log into. (0 = Albion, 1 = Hibernia, 2 = Midgard)
Section: [daochook.patches]
  • disable_encryption (boolean) - Patch that will remove the packet encryption if enabled.
  • disable_multi_instance_check (boolean) - Patch that will remove the multi-client instance check if enabled.
  • override_user_dat (boolean) - Patch that will override the user.dat location to be account-specific.
Section: [daochook.addons]

This configuration section is special. It does not require the typical key/value pairing and instead, only expects keys. Keys should be the name of addons that you wish to automatically load when the game client starts.

For example, this section would look like this:

1[daochook.addons]
2example
3fps
4move

This would automatically load the example, fps and move addon’s when the game first starts.

Example Boot Configuration File

Here is a full example configuration file:

<Path To daochook>\boot\config\atom0s.ini:

 1[daochook.game]
 2path= Z:\Games\Electronic Arts\Dark Age of Camelot\game.dll
 3
 4[daochook.server]
 5addr= 192.168.1.100
 6port= 10300
 7id= 42
 8
 9[daochook.auth]
10username= atom0s
11password= password
12character= Atomos
13realm= 2
14
15[daochook.patches]
16disable_encryption = 1
17disable_multi_instance_check = 1
18override_user_dat = 1

Import Usage Example

As mentioned above, advanced users can make use of the import section of the configuration file to include a base configuration file that holds information that would otherwise be duplicated across multiple files. Here is quick exmaple of using the import section for two characters that would connect to the same server.

<Path To daochook>\boot\config\my_server.ini:

 1[daochook.game]
 2path= Z:\Games\Electronic Arts\Dark Age of Camelot\game.dll
 3
 4[daochook.server]
 5addr= 192.168.1.100
 6port= 10300
 7id= 42
 8
 9[daochook.patches]
10disable_encryption = 1
11disable_multi_instance_check = 1
12override_user_dat = 1

<Path To daochook>\boot\config\atom0s1.ini:

1[import]
2import=my_server.ini
3
4[daochook.auth]
5username= atom0s1
6password= password
7character= Atomosone
8realm= 2

<Path To daochook>\boot\config\atom0s2.ini:

1[import]
2import=my_server.ini
3
4[daochook.auth]
5username= atom0s2
6password= password
7character= Atomostwo
8realm= 2