Wednesday, May 14, 2008

glChess on Win32

After a bit of hacking glChess can run on Windows. The only thing that would take major work is the AIs as they are forked off the main process (fork() is not supported in Windows). But aside from that with a few minor changes and running directly from the source leads to this:



I was very impressed with the quality of the Windows packages for the dependencies. When I tried this about a year ago it didn't appear they were all supported. They are now:

Python
* python-2.5.2.msi

Setuptools
* setuptools-0.6c8.win32-py2.5.exe

GTK
* gtk-2.12.9-win32-2.exe

PyGTK
* gtk-2.12.9-win32-2.exe
* pygobject-2.14.1-1.win32-py2.5.exe
* pycairo-1.4.12-1.win32-py2.5.exe
* pygtk-2.12.1-2.win32-py2.5.exe

Python Imaging Library
* PIL-1.1.6.win32-py2.5.exe

PyOpenGL
* PyOpenGL-3.0.0b1.win32.exe

PyGtkGLExt
* pygtkglext-1.1.0.win32-py2.5.exe

Gnome Games
* gnome-games-2.23.1.tar.bz2

12 comments:

John said...

Any idea why it didnt pick up the wimp gtk theme?

Bob said...

That is the MS-WINDOWS theme according to the theme selector. I'm running XP with the classic theme and it matches the rest of my desktop...

John said...

ahh, oops, didnt see you were running classic theme.

Bob said...

I don't have Vista bling :)

Anonymous said...

Great, now we only need apt-get for windows ;)

AndreasR said...

Excellent work, Robert. This will give a lot more people access to playing glChess (and gnome-games). Maybe we can begin packaging gnome-games for Win32 soon? Aisleriot already works on win32, as well.

Anonymous said...

Bob,

can you please put the executable online?

Thanks,

Bob said...

Unfortunately there is no executable... The above was run from source (Python is an interpreted language). More work would have to be done to make this into a distributable form.

Anonymous said...

Is posible add a "undo" button?
Please.

Rocky. said...

How compile the gnome-games with this tools?

Thanx

Rocky. said...

Hello!

I am sorry. I hace installed everything.
How I play GlChess?.

Thanx again!

Bob said...

Rocky, this is not a working release but a proof of concept.