title | layout |
---|---|
branding.xml |
wiki |
{% include toc.md %}
The branding.mana
file is to be given to the mana client binary on the command line, and is used to customize it in many ways, explained below:
E.g: $./mana my_branding_file.mana
Here is a branding.mana file sample:
{% highlight xml %}
{% endhighlight %}Parameter | Default value | Description |
---|---|---|
appName | Manasource | Application full name |
appShort | Mana | Application short name |
appIcon | - | Client icon file to load at startup. Note that the filename given has no extension. This is because the file loaded depends on the OS: For instance, with the `icons/mana` value, the `icons/mana.png` file will be loaded on Linux/Unices/BSD systems, and the `icons/mana.ico` will be loaded on Windows systems. **Windows:** The .ico file must be 64x64 pixels wide. **Mac:** Currently, mac .icns files can only be loaded through the configuration of the `Info.plist` file present in the source root directory of the client. |
loginMusic | - | Music played at client startup |
onlineServerList | http://manasource.org/serverlist.xml | The [serverlist.xml](serverlist.xml.html) file downloaded by the client at startup to get the server list. |
defaultServer | server.themanaworld.org | Default server name or IP, when not specified in [serverlist.xml](serverlist.xml.html). |
defaultPort | 9601 | Default server port to connect to, when not specified in [serverlist.xml](serverlist.xml.html). |
defaultServerType | tmwathena | Default protocol type used by servers, when not specified in [serverlist.xml](serverlist.xml.html). |
defaultUpdateHost | http://updates.themanaworld.org | Update hostname or IP where the client should download update data files before entering the selected world. |
font | fonts/dejavusans.ttf | Default client font (TTF format). |
boldFont | fonts/dejavusans-bold.ttf | Default bold font. |
theme | normal | Default theme subfolder used to load the client window skin and font colors. See the [GUI configuration](gui_configuration.html) page for more information. |
guiThemePath | graphics/gui/ | Default theme folder. See the [GUI configuration](gui_configuration.html) page for more information. |
wallpapersPath | graphics/images/ | Default wallpaper path. See the [wallpapers page](wallpaper.html) for more information. |
wallpaperFile | login_wallpaper.png | Default wallpaper file. See the [wallpapers page](wallpaper.html) for more information. |
N.B.: The branding parameters are overriden by other options given on the command line. For instance: $./mana --port 8741 branding.mana This application call will set the default port to 8741, and not the value given in the branding.mana file.