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:

  • 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.png to some save backup name and copy a PNG file to that name (delete for none).
  • 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.png
del data\hardwired\tips.cfg
rmdir /S po
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.png
del data\hardwired\tips.cfg
deltree /y po
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.png
 rm data/hardwired/tips.cfg
 rm -rf translations
 rm -rf data/core/music
This page was last modified 15:55, 24 March 2008.