CustomizingStartup

From Wesnoth

Warning: these methods might cause data loss if used inappropriately. Follow these instructions at your own risk!

Instructions to increase the game's performance

Using any or all of these options will allow you to start the game a little bit faster or save some HDD space
(using all of these results in ~200MiB->100MiB shrink as of v1.5.1):

  • If you're really concerned about the render speed of the logo wipe-on (it takes some time, esp. on slower boxes), you can just remove/rename it: data/core/images/misc/logo.png & images/misc/logo.png
  • To customize the main menu map, rename data/core/images/maps/mainmenu.jpg to some other name (e.g. _mainmenu.jpg) and copy a custom JPG file as mainmenu.jpg instead (so, to archieve performance gain, simply delete the original one to have no main menu background).
  • To disable tip-of-the-day display, simply rename or remove the file data/hardwired/tips.cfg.
  • Additionally, you may want to remove unused translations by hand to conserve disk space, a script below will leave only the default one (US English).
  • And lastly, for people who use only sound-effects but no music, you can erase all of the ogg files to save about 75MiB.

Scripts

Here is a couple of simple script files, for Windows and UNIX-based operating systems (such as Linux), designed to do these tasks. Make new file with the name given and with content as follows and then run it from Wesnoth main directory.

For Windows XP

  • cleanup.bat
@echo off
del data\core\images\misc\logo.png
del images\misc\logo.png
del data\core\images\maps\mainmenu.jpg
del data\hardwired\tips.cfg
rmdir /S translations
rmdir /S data\core\music

For older Windows

  • cleanup.bat
@echo off
del data\core\images\misc\logo.png
del images\misc\logo.png
del data\core\images\maps\mainmenu.jpg
del data\hardwired\tips.cfg
deltree /y translations
deltree /y data\core\music

For UNIX-based operating systems

  • cleanup.sh
 #!/bin/sh
 rm data/core/images/misc/logo.png
 rm images/misc/logo.png
 rm data/core/images/maps/mainmenu.jpg
 rm data/hardwired/tips.cfg
 rm -rf translations
 rm -rf data/core/music
This page was last modified 13:02, 2 July 2008.