memory leak fixes and windows 9x

Speak about everything in regards to Crossfire.

Moderator: Board moderators

cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

memory leak fixes and windows 9x

Post by cavesomething »

CF client doesn't work on windows 9x because of resource usage....

BUT:

In the last few weeks some profiling led to major memory leaks being removed from the CF client.

SO:

Does this now make the client work on windows 9x?
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Re: memory leak fixes and windows 9x

Post by Rednaxela »

cavesomething wrote:In the last few weeks some profiling led to major memory leaks being removed from the CF client.
Yay for my valgrind testing :-)
Now that I think about it, I should rerun valgrind on it again after those fixes and verify that they truly are fixed.
cavesomething wrote:Does this now make the client work on windows 9x?
Interesting thought... I don't believe any windows binaries are uptodate with the memory leak fixes though... but one with the proper resources could compile and test it...
woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Post by woo »

Great, now all we need is someone who can understand compiling their own who still has a win95/98 box around...

:shock:
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

YOu can always crosscompile and use VMware to simulate a win9x system...
I have the vmware and win9x. All I need is some advice on how to crosscompile from FreeBSD to windows. That, or how to compile on windows without installing the worlds largest package repository. :D
lordyoukai.DA
My wraith is cooler than your dragon.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

AFAIK, it's not as much the memory leak than the heavy graphical resource use that makes the game not work under Win9x. But I may be wrong :)
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

I wonder if my Cygwin compile will work on 9x... For anyone with a 9x in vmware and a decent Internet connection:

1. Install reasonably full Cygwin
2. configure /usr/X11R6/bin/startxwin.sh
3. start X server by running the script
You now should have xterm running a shell. If not, go back to steps before.
4. cvs fetch latest cf client and cd into it
5. chmod +x ./configure; ./configure
6. Open ./gtk-v2/src/Makefile with a text editor.
Add -lGL -lGLU to the line starting with gcfclient2_LDADD.
7. Now run make and it should work.

This does sound horribly ugly: running a UNIX emulation inside a Windows emulation inside a *nix.
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Casper wrote:This does sound horribly ugly: running a UNIX emulation inside a Windows emulation inside a *nix.
Indeed, it does sound really ugly, but might be a interesting thing to try.
Btw, correction: UNIX API emulation under Windose running inside a x86 emulation under a *nix :P
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

do you have a cygwin compile working now?

If so would the cygwin people put it in a contrib distribution if you send it to them?
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

Yes I do, and how cygwin packages work is they have a repository on an FTP server, which contains .tar.bz2 packages (which are basically like slackware packages but zipped with bz2), and use setup.exe to connect to the repository and tick on the tickbox "install this package". Then the package is downloaded and installed.

However there may be minor differences to Cygwin packages that I am not aware of yet, hence I have not released a package of the client yet. I understand that going through compiling a client themselves is probably too much for the average 9x user though so will try to look into it.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

ooh, if crossfire were an install option on cygwin, then it may cause there to be more good windows users playing, after all, cygwin probably doesn't have many real games does it?
Post Reply