Quarry development

For discussing go computing, software announcements, etc.
Post Reply
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Quarry development

Post by ethanb »

Ok, after long months I've managed to eke out enough free time to have gotten UGF support to a passable state.

It's been pushed to master, and anybody who wants to check it out can "git" it here:
http://gitorious.org/quarry

Source only at the moment (although if you run a Debian-based Linux distribution like Ubuntu, or if you use Fedora, binaries of the latest stable release are available from either the default apt or yum repositories) but compilation is easy - ./configure; make; make install

If you've never compiled anything from source before, you'll need to install a few prerequisites.

apt-get install build-essential libfreetype6-dev librsvg2-dev libglib2.0-dev libgtk2.0-dev libcairo2-dev libpango1.0-dev

(The version numbers in the libraries may change for you, but as far as I know everything there *should* be ok to compile on newer releases as well. If you get a message about a deprecated function call when you try, please let me know!)

If you run Windows and are familiar with compiling GTK+ apps (such as GIMP or OpenOffice) for win32/win64, please try it and let me know if it works! I wouldn't mind having a Windows release packaged up and ready to go, but I don't have a win32 box myself to try it on.
Last edited by ethanb on Wed Feb 23, 2011 12:13 am, edited 1 time in total.
User avatar
kex
Dies with sente
Posts: 105
Joined: Wed Apr 21, 2010 11:07 am
GD Posts: 731
Location: Espoo, Finland
Has thanked: 1 time
Been thanked: 21 times

Re: Quarry development

Post by kex »

slightly off topic, but can your new version play against MoGo?

The one shipped with Ubuntu (0.2.0) fails on the GTP properties query. I didn't notice any comment on that on the git web page. So far I have been far from successful in finding a working frontend for mogo.
User avatar
cyclops
Lives in sente
Posts: 801
Joined: Mon May 10, 2010 3:38 pm
Rank: KGS 7 kyu forever
GD Posts: 460
Location: Amsterdam (NL)
Has thanked: 353 times
Been thanked: 107 times
Contact:

Re: Quarry development

Post by cyclops »

I'm not ( yet ) a regular here on the Computergo section. I didn't know about quarry so I searched this forum and quarry's homepage. It is a discontinued project. Open sourced in C. It is a gui not only for go but also for other boardgames like Othello. So I suppose you can play, record, import and edit games. The fact that Etanb works on it, does it mean that the project is to be recontinued? If so what are the plans? I used to be quite versatile in C++ so I suppose I can program in C too. Though I hate #defines, structs and *char 's. My main interest it to improve go-editors.
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Quarry development

Post by ethanb »

cyclops wrote:I'm not ( yet ) a regular here on the Computergo section. I didn't know about quarry so I searched this forum and quarry's homepage. It is a discontinued project. Open sourced in C. It is a gui not only for go but also for other boardgames like Othello. So I suppose you can play, record, import and edit games. The fact that Etanb works on it, does it mean that the project is to be recontinued? If so what are the plans? I used to be quite versatile in C++ so I suppose I can program in C too. Though I hate #defines, structs and *char 's. My main interest it to improve go-editors.


The project isn't discontinued, but operating under new management. We're still using the same mailing list for convenience at the moment, but the current repository is on Gitorious. We don't really have a homepage at the moment - we should probably rectify that.
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Quarry development

Post by ethanb »

kex wrote:slightly off topic, but can your new version play against MoGo?

The one shipped with Ubuntu (0.2.0) fails on the GTP properties query. I didn't notice any comment on that on the git web page. So far I have been far from successful in finding a working frontend for mogo.


What on earth does Mogo do differently from GnuGo as far as GTP communication? I haven't looked at that code at all, but surely GTP just means to send the current board state to the program and wait for a move indicator, similar to playing on IGS via telnet, no? At least, that's the way I would design the protocol, if its only purpose is to front for bots.

...if you're having that difficult a time finding programs that work with Mogo, I would sort of imagine the fault might be there... but I'll see what I can find out.
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Quarry 0.3.0 is out

Post by ethanb »

Technically it was out on Sunday, but my week has been... we'll just say more hectic than I would like.

* UGF import works for game tree, player/date/setting/komi info, commentary, and labels (A, B, C, D...) - doesn't work for UGI files with actual branches from the tree yet, but those seem to be a bit few and far between - almost all of the commentaries from the IGS newsletter, for example, use labels to mark variations instead of branching the game tree. Better support is planned though.

* Guess mode - useful for memorizing games or doing problems

* Several bug fixes.

Download it today!

http://gitorious.org/quarry/pages/Home
(some assembly required, but nothing more strenuous than "./configure && make")
User avatar
judicata
Lives in sente
Posts: 932
Joined: Wed Apr 21, 2010 12:55 pm
Rank: KGS 1k
GD Posts: 0
Universal go server handle: judicata
Location: New York, NY
Has thanked: 146 times
Been thanked: 150 times

Re: Quarry development

Post by judicata »

Neat - I'll download when I get home. I especially like the inclusion of a guess mode.
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Quarry development

Post by ethanb »

judicata wrote:Neat - I'll download when I get home. I especially like the inclusion of a guess mode.


Opening a pre-existing game record makes the control default to Guess mode - I figure that's probably a more common desire than to edit your copy of one of the Castle Games. :)
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Quarry development

Post by ethanb »

kex wrote:slightly off topic, but can your new version play against MoGo?

The one shipped with Ubuntu (0.2.0) fails on the GTP properties query. I didn't notice any comment on that on the git web page. So far I have been far from successful in finding a working frontend for mogo.


Quarry 0.3.0.1 is up, and being packaged for inclusion in Debian, but still no real fix for this issue.

But there is some news on this front...

I'm still not sure exactly why everything BUT MoGo works with the current command pipeline, but here's a workaround:
When defining the engine in the list, if you have gogui installed you can use " gogui-adapter '/path/to/mogo --19 2>/dev/null' " as the command. Be sure to remove the "%v" from the name definition for MoGo, as it returns a paragraph instead of a version number when queried.
BenShoemaker
Beginner
Posts: 1
Joined: Fri Jul 08, 2011 3:49 pm
GD Posts: 0
DGS: 19 kyu

Re: Quarry development

Post by BenShoemaker »

Thanks for taking the time to continue the development of Quarry.

Any chance of adding a tournament feature like the Arena GUI does for chess? (You can run a tournament between many game engines, view the games as they are played, see the results table, see the engine rankings / ratings.)
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Quarry development

Post by ethanb »

BenShoemaker wrote:Thanks for taking the time to continue the development of Quarry.

Any chance of adding a tournament feature like the Arena GUI does for chess? (You can run a tournament between many game engines, view the games as they are played, see the results table, see the engine rankings / ratings.)


Hmm, interesting idea - there's a chance, I'll say that. :)
Post Reply