Install new GTK Theme in Windows
Posted: Tue Sep 24, 2013 11:12 pm
Warning: I really don't know Windows. The way I did this may be insane, messy, overcomplicated, stupid and horribly inefficient. It may also cause Freeciv to break later.
In the default install on Windows Freeciv use something called GTK to show you the game. It is possible to change how GTK makes Freeciv look by using something called a Theme. I just borrowed a computer running Windows and found two ways to install more themes in the copy of GTK that belongs to Freeciv.
When the folder b is located inside the folder a it can be written a/b (UNIX way) or a\b (Windows way). a/b/c/f.file means that the file f.file is located in the folder c that is located in the folder b that is located in the folder a
Approach 1
In the default install on Windows Freeciv use something called GTK to show you the game. It is possible to change how GTK makes Freeciv look by using something called a Theme. I just borrowed a computer running Windows and found two ways to install more themes in the copy of GTK that belongs to Freeciv.
When the folder b is located inside the folder a it can be written a/b (UNIX way) or a\b (Windows way). a/b/c/f.file means that the file f.file is located in the folder c that is located in the folder b that is located in the folder a
Approach 1
- Go to http://gtk-win.sourceforge.net/home/ind ... /Downloads
- Download the GTK+ Themes installer, NOT the runtime installer
- While the file is downloaded find out where Freeciv is installed. On the computer i borrowed it was in C:\Program files (x86)\Freeciv-2.4.0-gtk2
- Run the installer you just downloaded.
- When asked to choose components remove the check for GTK2 Preference Utility
- When asked to choose destination folder choose the folder where Freeciv is installed
- Start (or load) a Freeciv game.
- Open the "Game" menu. Select "Options". Select "Local client". The current GTK theme is set to Freeciv. You should now be able to select one of the others.
- Go to http://gtk-win.sourceforge.net/home/ind ... /Downloads
- Download the custom package. It is a zip file, not an installer. This way you can decide where to put the various files.
- While the file is downloaded find out where Freeciv is installed. On the computer i borrowed it was in C:\Program files (x86)\Freeciv-2.4.0-gtk2
- Open the zip file you just downloaded. It contains the themes.
- Copy the content of the folder lib/gtk-2.0/2.10.0/engines/ in the zip file to the folder lib/gtk-2.0/2.10.0/engines in the folder where Freeciv is installed
- Copy the folder share/themes to the folder share in the folder where Freeciv is installed
- Start (or load) a Freeciv game.
- Open the "Game" menu. Select "Options". Select "Local client". The current GTK theme is set to Freeciv. You should now be able to select one of the others.