Installing Win32 GTK Client. Steps to follow.

Send your ideas and suggestions here.

Moderator: Board moderators

User avatar
Katia
Regular
Posts: 97
Joined: Thu Jul 31, 2003 8:32 pm
Location: Uruguay

Installing Win32 GTK Client. Steps to follow.

Post 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
Last edited by Katia on Sat Jan 31, 2004 4:54 am, edited 3 times in total.
EmperorBMA
Luser
Posts: 37
Joined: Sun Sep 14, 2003 4:58 am

Post by EmperorBMA »

Posted by request of Katia:

Default directory: C:\Program Files\Crossfire GTK Client
-- Ride on Shooting Star... :)

Teiou-sensei lesson 9: Mobs, they arent trying to light your cigar.
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post 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
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Installing Win32 GTK Client. Steps to follow.

Post 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?
User avatar
Katia
Regular
Posts: 97
Joined: Thu Jul 31, 2003 8:32 pm
Location: Uruguay

Re: Installing Win32 GTK Client. Steps to follow.

Post 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 ;)
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post 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 :)
EmperorBMA
Luser
Posts: 37
Joined: Sun Sep 14, 2003 4:58 am

Post 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)
-- Ride on Shooting Star... :)

Teiou-sensei lesson 9: Mobs, they arent trying to light your cigar.
User avatar
Katia
Regular
Posts: 97
Joined: Thu Jul 31, 2003 8:32 pm
Location: Uruguay

Post by Katia »

Done and cleaned it a bit. Any other suggestion?
User avatar
Katia
Regular
Posts: 97
Joined: Thu Jul 31, 2003 8:32 pm
Location: Uruguay

Post 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 :)
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post 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!
Post Reply