Bygfoot 1.7.3 on Cygwin?

General help forum. You can post here if you have trouble installing, for instance.
Post Reply
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Bygfoot 1.7.3 on Cygwin?

Post by vector »

Has anyone tried Bygfoot 1.7.3 on Cygwin. I just installed cygwin on the winxp box but not sure how any of it works. Detailed instructions would be nice.
cheers
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Re: Bygfoot 1.7.3 on Cygwin?

Post by gyboth »

Hi,

I got Bygfoot working with Cygwin, but that was some months ago (and I don't know which version it was). I needed a lot of stuff, though, simply everything that's required for compiling: GTK, GLib, make, pkg-config, pango (and anything else the 'configure' script complains about ;-)).

And for 1.7.3 you also need gettext; I'm not sure it works for Cygwin, but it should.

So you have to select all these packages in the Cygwin setup program, install them, and then compile the game just like with Linux.

But I know that you need step-by-step instructions, Vector :-D so I'm going to try it out myself and post some soon.

Gyozo
Press any key to continue or any other key to quit.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

topic moved from the discussion forum here.

so here are some step by step instructions (vector, your brother will have to pay some compensation in some way 'cause i spent at least one hour on this instead of working on 1.9 :wink:) you'll need a fast internet connection for the steps below.
  1. download the cygwin setup program from here (this isn't the program itself; cygwin isn't a program anyway. this setup program is more like a package manager).
  2. select download from internet. you could also select install from internet, but it's good to have the packages lying around.
  3. select an appropriate mirror
  4. select the packages that make sense for bygfoot:
    • gtk2
    • glib2
    • atk
    • pango
    • x
    • bzip
    • zip
    • gettext,
    • gcc
    • and of course each 'devel' package that belongs to these, e.g. gtk2-devel
  5. download and install them.
  6. download, compile and install a Bygfoot source package (this should work the same as with linux if you have all the packages necessary: ./configure, make and make install).
  7. here's the tricky part: create and edit a file .fonts.conf in your home dir. it should contain this:

    Code: Select all

    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <!-- ~/.fonts.conf for per-user font configuration -->
    <fontconfig>
    
    <!--
    Private font directory
    -->
    <dir>/usr/X11R6/lib/X11/fonts</dir>
    
    <!--
    use rgb sub-pixel ordering to improve glyph appearance on
    LCD screens.  Changes affecting rendering, but not matching
    should always use target="font".
    -->
    <match target="font">
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
    </match>
    </fontconfig>
    EDIT:the file font.conf is available for download here. ATTENTION: you have to save it as .font.conf (with leading dot) in your cygwin home dir, e.g. C:\Cygwin\home\bob\.font.conf.

    so you don't have to do this editing stuff yourself now.
  8. start the x server with startxwin.bat.
  9. start and enjoy Bygfoot :smile:
i hope this works for you, it worked for me.
gyözö
Last edited by gyboth on Wed Apr 13, 2005 7:19 am, edited 1 time in total.
Press any key to continue or any other key to quit.
chips
Posts: 6
Joined: Sun Jan 02, 2005 1:08 am

Post by chips »

HI Gyboth
This is Chips Vectors brother.
Actually is Vector posing as chips (showing him the ropes) :P

WE have a problem at step 6

I ran

Code: Select all

./configure
and recieved this error

Code: Select all

 checking for pkg-config... no
the pkg config script could not be found
Something about adding it to enviro variable and stuff that i dont understand.

We pressed on to the next step;

Code: Select all

make all-recursive
and it failed to bash make command not found

We confirmed that Cygwin had gcc ticked

at this point we gave up. Any thoughts ?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

chips wrote:HI Gyboth
This is Chips Vectors brother.
Actually is Vector posing as chips (showing him the ropes) :P
hi vector-as-chips :-)

Code: Select all

 checking for pkg-config... no
the pkg config script could not be found
i'd say pkgconfig isn't installed. did you check? it's in the devel category.

gyözö
Press any key to continue or any other key to quit.
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Post by vector »

i checked but couldnt find it
I just looked and now i see it :oops:

Too many late nights me thinks
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

so it works now?

gyözö
Press any key to continue or any other key to quit.
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Post by vector »

im not at my brothers machine. ill try and get over thier today and try it out.

Hes only just started playing with PCs and I wouldnt expect him to try it himself just yet.
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Post by vector »

ok got it running
need a few other things
Ill tidy up the notes and post it on twiki.
chips is up and running :lol:
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

vector wrote:chips is up and running :lol:
good to hear, good luck to him :-D

gyözö
Press any key to continue or any other key to quit.
celt1997
Posts: 3
Joined: Tue Apr 12, 2005 7:35 pm

Post by celt1997 »

Not sure if anyone else has tried it. But I'm a first timer and I just got 1.8.1 to run on Cygwin using the same instructions. I can't wait to give the game a go.

I'm running an XP machine by the way and have had no problems yet.
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Post by vector »

Big welcome :)
Your hooked for sure now :lol:
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

small update to those detailed instructions: the file font.conf is available for download here. ATTENTION: you have to save it as .font.conf (with leading dot) in your cygwin home dir, e.g. C:\Cygwin\home\bob\.font.conf.

gyözö
Press any key to continue or any other key to quit.
dylansmrjones
Posts: 42
Joined: Tue Apr 26, 2005 12:55 am
Location: Denmark

Hi Vector

Post by dylansmrjones »

What dit you do to make it work apart from installing make and/or exporting the PKG-CONFIG-PATH ?

/dylansmrjones - who finds it disgusting to run *nix-apps on windows - it's much better the other way around ;)
---copyright is no right---
dylansmrjones
Posts: 42
Joined: Tue Apr 26, 2005 12:55 am
Location: Denmark

Ohh.. silly me.. haha :D

Post by dylansmrjones »

Don't bother asking my question... silly me.. forgot to install make ... this is what happens when one assumes something that shouldn't be assumed .. silly me.. I think it's about time for me to install linux-from-scratch.. this *nix-on-windows approach makes my stomach turn upside down :P
---copyright is no right---
Post Reply