LotR TCG Wiki → Card Sets:  All 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 → Forums:  TLHH CC

Author Topic: GCCG on Mac OS X (Snow Leopard)  (Read 1495 times)

0 Members and 1 Guest are viewing this topic.

September 09, 2010, 09:43:57 PM
Read 1495 times

Tbiesty

  • ****
  • Information Offline
  • Marksman
  • Posts: 561
GCCG on Mac OS X (Snow Leopard)
« on: September 09, 2010, 09:43:57 PM »
I have both the GCCG client and server running on Mac OS X 10.6 (Snow Leopard).

In short, I followed the "source install guide" on the GCCG website.  Since I followed the "source install guide", I didn't have to figure out how to get Fink installed (since you don't need it).

More Details (expanding upon the instructions on the GCCG website):
[These instructions are a little technical, so being computer-savvy does help.]

You will first need Xcode installed.  It is included on your Mac OS X install DVD.  Once Xcode is installed, continue with these steps.

There are several "libraries" you need to install before compiling and installing GCCG:

libjpeg (not listed in the GCCG website instructions, but you need it -- just Google for it and download the source)
libpng (not listed in the GCCG website instructions, but you need it -- just Google for it and download the source)
libogg (not listed in the GCCG website instructions, but you need it -- just Google for it and download the source)
libvorbis (not listed in the GCCG website instructions, but you need it -- just Google for it and download the source)
SDL 1.2+;
SDL image;
SDL net;
SDL ttf;
SDL mixer;

For each of these libraries do the following:
1) Download it (it will be a compressed file)
2) Unpack the compressed file (double-click on it)
3) Open Terminal
4) Change the current directory to the directory your just unpacked, by using "cd <directory name>"
5) Run "./configure"
6) Run "make"
7) Run "sudo make install" (enter your password)
The library should now be installed at /usr/local/lib.
Once you've done this for each of the libraries successfully you may install GCCG.

1) Download the GCCG source (it will be a compressed file)
2) Unpack the downloaded file (double click on it).
3) Open Terminal
4) Change the current directory to the directory your just unpacked, by using "cd <directory name>"
5) Run "./gccg package install client fonts source"
6) Run "make all"
7) Run "./gccg package install lotr"
8) Run "./gccg package install lotr-cards*"
GCCG is now installed.
9) Run "./Lotr --server gccg.lotrtcgwiki.com --user username"       (where username is the name you want to log into GCCG with)
GCCG you should now be running GCCG. :-)

If you want to set up your own tables, or even your own whole GCCG server, there are instructions in the "manual" on the GCCG website.


***Updating to latest GCCG version***
1) Open Terminal
2) Change the current directory to the directory that contains GCCG, by using "cd <directory name>"
3) Run "./gccg_package update"


Hope this helps any Mac or Linux users out there.
« Last Edit: February 13, 2011, 08:41:05 AM by Tbiesty »

September 10, 2010, 02:51:49 AM
Reply #1

ket_the_jet

  • *****
  • Information Offline
  • King
  • Administrator
  • Posts: 2062
  • He/Him/His
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #1 on: September 10, 2010, 02:51:49 AM »
:gp: for posting this, Tbiesty! I'll give this a shot, and looks like I may get back on GCCG sooner than later.
-wtk

Edit: I will have to set this up later, but when I get around to it, I will give you a second :gp:!

October 09, 2010, 12:37:34 AM
Reply #2

ramolnar

  • ***
  • Information Offline
  • Troll
  • Posts: 187
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #2 on: October 09, 2010, 12:37:34 AM »
Thank you, Tbiesty! I got the program to install tonight on OS 10.6.4. The only update I would make is to move the libogg line ahead of the libvorbis line. libvorbis said it required libogg.

The problem is that once I open the program, I get bad stuff in red.
Bad username 'mycomputername'
Server closed connection.
ABNORMAL EXIT!

I try /newuser and it says "you are already chosen your initial user account."  But I didn't. What should I do?

October 09, 2010, 06:39:02 AM
Reply #3

Tbiesty

  • ****
  • Information Offline
  • Marksman
  • Posts: 561
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #3 on: October 09, 2010, 06:39:02 AM »
When you start GCCG, you need to specify a valid username.   (Like this:     ./Lotr --user username, where username is the name you want to log into GCCG with)

If you don't specify "--user username", by default it uses the name of your computer.  A valid username must be something like 10 characters or less; that is why 'mycomputername' was invalid.

I updated the instructions above.  Thanks for trying it out!

January 19, 2011, 03:38:09 AM
Reply #4

ket_the_jet

  • *****
  • Information Offline
  • King
  • Administrator
  • Posts: 2062
  • He/Him/His
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #4 on: January 19, 2011, 03:38:09 AM »
To any Mac players, to access Kralik's new server, type the following in Terminal when opening the program:

./lotr --server gccg.lotrtcgwiki.com --user username

That will redirect you to the correct server.
-wtk

January 21, 2011, 04:19:24 AM
Reply #5

ket_the_jet

  • *****
  • Information Offline
  • King
  • Administrator
  • Posts: 2062
  • He/Him/His
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #5 on: January 21, 2011, 04:19:24 AM »
Mac users: To update everything, run:

./gccg_package update

If you already knew this, good job. If not, glad to help.
-wtk

February 07, 2011, 06:31:14 PM
Reply #6

Imrahil

  • ***
  • Information Offline
  • Troll
  • Posts: 164
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #6 on: February 07, 2011, 06:31:14 PM »
Oh gosh, way to complicated for me.  One day I will try to install it all, but it is not this day...

But you have given me hope Tbiesty, and that is no little thing.
Never under any circumstances take a sleeping pill and a laxative on the same night.

-Dave Barry

August 01, 2011, 07:13:29 PM
Reply #7

Direwolf

  • *
  • Information Offline
  • Goblin
  • Posts: 7
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #7 on: August 01, 2011, 07:13:29 PM »
Hi, everyone,

I followed the instructions here, and this is what I get:


Running ./ccg_client --server gccg.lotrtcgwiki.com --user Yanni lotr.xml
GCCG v0.9.6 Generic CCG Client (i386 Darwin build by Sarah 2011-08-01)
(c) 2001-2009 Tommi Ronkainen

I/O exception at Localization::ReadDictionary(const string&): unable to open './lib/dictionary.client'.

Any idea?

Thanks!

February 29, 2012, 11:28:19 AM
Reply #8

Fesan

  • *
  • Information Offline
  • Goblin
  • Posts: 19
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #8 on: February 29, 2012, 11:28:19 AM »
hi guys, trying to install gccg on my mac and got to step 9 of the installation:

5) Run "./gccg_package install client fonts source"

When I do this (or the other version on the gccg mac page with darwin-i386 instead of source) I get the following error:

Code: [Select]
Fetching module list [1] http://gccg.sourceforge.net/modules/available.xml
FAILED: Skipping http://gccg.sourceforge.net/modules/available.xml
Fetching module list [2] http://www.derangedmonkey.com/bmin/available.xml
FAILED: Skipping http://www.derangedmonkey.com/bmin/available.xml
Fetching module list [3] http://www.reneploetz.de/gccg/available.xml
FAILED: Skipping http://www.reneploetz.de/gccg/available.xml
Fetching module list [4] http://lotrtcgwiki.com/files/gccg/available.xml
FAILED: Skipping http://lotrtcgwiki.com/files/gccg/available.xml

Anyone know of anything I can do to remedy this? I ofc have a internetconnection and all that jazz:)

I have allready tried to download that file manually and put it in the gccg folder without it changing anything...
« Last Edit: March 01, 2012, 01:06:27 AM by Fesan »

March 01, 2012, 01:08:08 AM
Reply #9

Fesan

  • *
  • Information Offline
  • Goblin
  • Posts: 19
Re: GCCG on Mac OS X (Snow Leopard)
« Reply #9 on: March 01, 2012, 01:08:08 AM »
Think I managed to manually install client, fonts, source and lotr by downloading the tar archives manually from reneploetz.de and put files where they belong. However when I try to start the Lotr client it tells me that my password is wrong.

So where is the password stored and how do I enter it? Tried
./Lotr --server gccg.lotrtcgwiki.com --user myusername --password mypass       

along with --pw and a few others but none worked:/