Page 1 of 2

Installing Win32 GTK Client. Steps to follow.

Posted: Mon Jan 26, 2004 3:24 am
by Katia
Cut off from the IRC:

Installing Win32 GTK Client

1. Install crossfire-client-windows-#.#.#.exe
Default directory: C:\Program Files\Crossfire GTK Client

2. Install GTK-Runtime-Environment-2.2.4.1.exe
Default directory: C:\Program Files\Common Files\GTK\2.0

3. Add the GTK lib directory to your path (unless you are already using some Gtk aplication like Gaim, or Gimp)

For windows 9x you can add onto the SET PATH line to your c:\autoexec.bat (any editor should work fine) which should finally look like this:
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;"C:\Program Files\Common Files\GTK\2.0\lib"
Just what is between quotes needs to be added and they are needed if the path has spaces like in this case.

For win2000 you can access your PATH from the system panel in the control panel and modifying the environment variable in exactly the same way.

4. Copy all the dlls, configs and .dmp's FILES (not directories) from C:\Program Files\Common Files\GTK\2.0\lib to where the client is installed.

5. Make a directory in client home called lib

6. Put the directories that you didn't copy in lib
(gtk-2.0, locale, pango)

6. Copy the etc from GTK/2.0 into the client's home

7. Try running client.


This steps were succesfully tested on Windows XP and Windows 98, and the logic would say they could work under 2000.

The downloaded files in this case were:
http://unc.dl.sourceforge.net/sourcefor ... .2.4.1.exe
and
http://unc.dl.sourceforge.net/sourcefor ... -1.6.0.exe

Posted: Mon Jan 26, 2004 3:48 am
by EmperorBMA
Posted by request of Katia:

Default directory: C:\Program Files\Crossfire GTK Client

Posted: Mon Jan 26, 2004 4:47 am
by Avion
1. Install crossfire-client-windows-#.#.#.exe
defaults to C:\Program Files\Games\CF as client's home.
2. Install GTK-Runtime-Environment-2.2.4.1.exe
defaults to C:\Program Files\Common Files\GTK\2.0
3. add the GTK lib directory to your path

For windows 9x you can add onto the SETPATH line to your autoexec.bat like this:

;D:\<where you installed GTK>\lib

*use quotes if there are any spaces in the paths

so it might would look like:
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;"C:\Program Files\Common Files\GTK\2.0\lib"

for win2000 and (I imagine XP?) you can access your PATH from the system panel in the control panel and modifying the environment variable in exactly the same way (add it to the path).

The benefits of doing this are:
you don't screw around with the installations
you can use other GTK application on your windows system
you now know how to SET PATH for other commands and libraries

Re: Installing Win32 GTK Client. Steps to follow.

Posted: Tue Jan 27, 2004 2:18 am
by Leaf
Katia wrote: Now, it would be really helpful if this steps were added to the web page plus a suggestion on what client should be installed, since it seems it's a bit difficult for new people to know what the best chance could be.
That can be done - are the instructions complete right now or is additional editing still required?

Re: Installing Win32 GTK Client. Steps to follow.

Posted: Thu Jan 29, 2004 6:08 am
by Katia
leaf wrote:That can be done - are the instructions complete right now or is additional editing still required?
I just editted my first post to add/modify what was wrong, could the rest of you confirm this are the right steps now? If anyone has objections, i guess that would be ok. Give it some more days Leaf just in case ;)

Posted: Thu Jan 29, 2004 8:14 am
by Ryo
Hum, you can add something like:

If you have GAIM (or any other GTK-using software) installed & running, then GTK is already installed, and you shouldn't need to modify anything to make CF Client work... If it does not, try changing your PATH variable.

At least that's what happened for me :)

Posted: Thu Jan 29, 2004 2:57 pm
by EmperorBMA
A disadvantage of the%PATH% install is that you cannot run multiple versions of GTK (like I need to). Therefore people who have GIMP (which uses 1.3 GTK) are SOL.

Therefore I suggest mentioning both ways.

(I thought that there was another way)

Posted: Sat Jan 31, 2004 4:01 am
by Katia
Done and cleaned it a bit. Any other suggestion?

Posted: Sat Jan 31, 2004 4:57 am
by Katia
I have tested the steps myself on my newly installed Win98 successfully.
Just changed the step 4 cause it was not clear at all. Now i would say it's ready to be published if anyone has any objection :)

Posted: Tue Feb 03, 2004 2:45 am
by Leaf
Installation HOWTO now on the Win32 GTK Client webpage.

http://crossfire.real-time.com/clients/ ... html#howto

Thank you to all that contributed and worked on this!