Win32 GTK Client - WinXP autoexec.bat help

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

custodian

i use xp....still need help

Post by custodian »

hey i use windows xp. i cant find the autoexec.bat file or any of that crap. and i tried what that one dude said about copying all the files from like gtk/2.0/lib and gtk/lib/etc into the clint and then instead of getting missing libgbid 2-0.0-2 or w/e i get libpng.dll isn't found....im so confused and im stupid at computers....
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

The GTK issue is related to a missing registry key (yes, installer should create it, next version will).
Try the following:
* launch 'regedit' (registry editor)
* brwose to 'hkey_local_machine\software\microsoft\windows\currentversion\app paths' section
* create a new subkey under this section, named 'gtkclient.exe'
* in this subkey, create a new 'string value', name it 'path'
* set its value to '<path where you installed GTK\lib' (it should point to GTK's lib subdirectory)

This should make the client work...
custodian

thats a no go....

Post by custodian »

hey i did everything you said and it didn't work. i might have gotten the string value wrong. you said where i installed the lib thing or w/e....i put the value as c:\Program Files\Crossfire GTK Client\lib\ and it didn't work....still said libpng.dll not found or such and what
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Try putting the value 'c:\program files\common files\gtk\2.0\lib' (where you installed GTK, not copied it).

Check the path, as it may vary depending on your local settings.

This also assumes you copied, not moved, GTK files :)
(if you moved, just reinstall GTK)

If it still doesn't work, try with the value 'c:\program files\common files\gtk\2.0\bin' (bin instead of lib)
custodian

well

Post by custodian »

well im pretty sure i already tried that value but i will try bin now....im on a different computer right now tho
custodian

still nothing

Post by custodian »

bah still a no go....this is lame. later are there going to be easier ways to install? there should be....
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

What exactly is the error message?
Which version of GTK did you install precisely? From what site?

This could help me find a way to solve your issues :)
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Re: thats a no go....

Post by Ryo »

custodian wrote:still said libpng.dll not found or such and what
Check GTK's 'bin' subdirectory, there probably is a 'libpng12.dll' file (version may vary). Copy it & rename the copy to 'libpng.dll'.
And try putting '<path to gtk>\bin;<path to gtk>\lib' in the registry key.

Sorry, hard for me to solve troubles, as i didn't have any issue -.-
custodian

o wow

Post by custodian »

holy rapus la crapus....i messed around for like....forever? and i mixed around what a ton of people were saying and it suddenly worked....im not touching a thing....lol thanks for the help peoples
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Could you please (try to) describe exactly what you did?
* moved files in some other directories? which files, where?
* did you rename files (libpng.dll, for instance?)
* did you put that registry key? with what value?

This would help me figure how to automate that, to make a decent installer so there is no need for that mess :)
Post Reply