BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Please support our sponsors!
Go
Talkback
 Go back to the Go page
 Post a new Talkback comment!
Re: well
 By hundert_ohm - Posted on December 12, 2002 - 15:07:07   (#4748)
 Current version when comment was posted: 0.6
I suppose I _could_ use some scripting language to make a gui, I _could_ also use qt or whatever lib (SDL is Simple Direct Layer as far as I know, does it have gui, too?). I _could_ friggin just use a java go client, too.

Instead I chose to make this go program that is not more than an extension to playing on igs via telnet (namely, a featureless square board view). That was the basic idea at least.
I won't introduce some insane complexity now (having the user install more language interpreters and stuff) just so the user gets around having to use cmdline switches. What's the big deal about this anyway?

How about making a little app that presents the users with a small gui for entering server and user info, that launches a Terminal and starts Go with the appropriate args in it?

One could even extend this app to do this for other apps that use command-line args, the "general cmdline-app-launcher assistant", with configfiles for describing the commandline arguments of a supported app. This configuration could even be linked into the binary of the app somehow.. how bout this?

For now I'm content with launching a terminal using SpicyKeys and then entering "Go" at the prompt.

I know this approach might scare off some users, but for now I will leave it at that. There will either never be a gui or it will be native.

Of course, as always, anyone can have the sources and add gui.


well...
 By ahwayakchih - Posted on December 12, 2002 - 11:37:39   (#4745)
 Current version when comment was posted: 0.6
You can make gui cmndline (textfield).
And if You want to make it as portable as it only can be use some scripting language with gui hooks (Python, Rebol) or libraries (SDL, Allegro). All of them are available on more platforms then You'll ever want/need to port probably.

running from tracker
 By hundert_ohm - Posted on December 12, 2002 - 10:58:06   (#4744)
 Current version when comment was posted: 0.6
the problem is not getting cmdline args or environment vars.
the problem is that the prog need to communicate with the user through stdin/stdout.

Give me code to open a Terminal and hook into it's stdin/stdout.

thanks


running from Tracker
 By ahwayakchih - Posted on December 12, 2002 - 10:08:32   (#4743)
 Current version when comment was posted: 0.6
i don't know why so many apps can't be run from Tracker... If You need path just take first argv.
Here's example code:

#include <string.h>
#include <unistd.h>

int main( int argc, char** argv)
{
if( argc && argv[0])
{
char *slash = strrchr( argv[0], '/');
*(slash+1) = 0;
chdir( argv[0]);
printf( "application: %s\n", argv[0]);
*(slash+1) = '/';
}
return 0;
}

(of course for windows "/" should be changed to "\")

If You need enviroment variables You can get them with function (can't remember which, but there is one for sure ;)

:)
 By aphex - Posted on December 12, 2002 - 09:44:53   (#4742)
 Current version when comment was posted: 0.6
ok cool. :)

what kind of update?
 By hundert_ohm - Posted on December 12, 2002 - 09:08:48   (#4741)
 Current version when comment was posted: 0.6
what kind of update would you like?

if you're talking about the gui to set the server and login etc.., I will have to disappoint you for now. Reason being that I want Go to remain portable (well, it's not quite portable as is, but I don't want to make it worse).
Once I have the F3cPixel library (which Go is based on) ported to linux, there will be a linux version (that is the plan, at least). Since F3cPixel does not contain any gui-stuff yet (this will change), I therefore can't make a gui.
Once this porting is done, I will make some enhancements, like .sgf-file loading/saving/playback. Window(s) for the chats (if this is desired.. tell me) and a gui for server/account managment. This will likely be a while, though. If you want to speed things up, send money ;)

For now, you will have to stick to the commandline switches and the stdin/stdout chat using server commands. I don't really see how this is a problem, since the proggy will remember your setting so you can start by just typing "Go".

I still havent found a simple way to make it start from Tracker, so I suggest to use the way kancept described (XIcon) in an earlier post.

thanks for the feedback,
nick

update soon?
 By aphex - Posted on December 11, 2002 - 17:08:37   (#4724)
 Current version when comment was posted: 0.6
Me want update ;-)

you CAN launch it from the Tracker
 By kancept - Posted on August 16, 2002 - 18:09:19   (#2683)
 Current version when comment was posted: 0.6
Just make yourself up a small shell script and then slap it on XIcon to make to clickable. it'll run then! That's what I do for my terminal apps. works great.

gnugo playing possible with version 0.6
 By hundert_ohm - Posted on August 16, 2002 - 14:59:05   (#2680)
 Current version when comment was posted: 0.6
was this quick or no? ;)
you can now play via GTP (Go Text Protocol) against a locally executed binary. Use -l 19 to set size and -b <gnugo_bin_path> to set path to gnugo. Use middle-click to pass. have fun.

GNUgo?
 By larrycow - Posted on August 16, 2002 - 07:58:02   (#2677)
 Current version when comment was posted: 0.5
Would be great if useable as a frontend to gnugo.

start from Tracker
 By hundert_ohm - Posted on August 15, 2002 - 13:40:18   (#2669)
 Current version when comment was posted: 0.5
ok, I will try to make this possible in the next update

Ok cool
 By aphex - Posted on August 15, 2002 - 13:13:35   (#2668)
 Current version when comment was posted: 0.5
But is it possible in a futher version that you can launch it from the tracker? =)

gui to set server
 By hundert_ohm - Posted on August 15, 2002 - 12:46:52   (#2667)
 Current version when comment was posted: 0.5
If you use the same server all the time, you don't need to set it. It should be stored in the preferences. This also goes for username/password.
Just launch from a terminal without any arguments.
If it doesn't work, you probably downloaded the 0.5 version in the first hour it was posted. that version had a bug so that it wouldn't store the prefs. It now does, just download again.

thanks for the update!
 By aphex - Posted on August 15, 2002 - 12:16:04   (#2665)
 Current version when comment was posted: 0.5
Now I'm just hoping for a GUI to load it and select the server =)

Keep up the good work ;)

very nice game.
 By aphex - Posted on March 12, 2002 - 10:23:15   (#599)
 Current version when comment was posted: 0.4
I love it. Will there be any updates? :)

 
The Green Board
  Recent Downloads  -  # 931
Total Downloads  -  # 2,205
Total Views  -  # 495
User Ratings  -  N/A
  Board Games
Entertainment
Misc. Network Clients
1.  QEMU - 9.62
2.  ScummVM - 9.50
3.  cpu_fix - 9.42
4.  Jukebox - 9.36
5.  Haiku AGP busm... - 9.35
6.  vim6 - 9.31
7.  Beezer - 9.25
8.  BeeF - 9.25
9.  HandBrake - 9.24
10.  DOSBox - 9.22
1.  Ati Radeon Grap... - 247
2.  Realtek RTL8139... - 201
3.  BeOS 5 Personal... - 191
4.  ATI Rage 128 Pr... - 168
5.  USB Serial driver - 102
6.  Ensoniq AudioPC... - 102
7.  DjVu Viewer - 98
8.  Broadcom 440x 10... - 98
9.  VLC Media Player - 71
10.  S3 Trio 64 v2 DX... - 64
You are not logged in.
 Login or create an account...
Hosted by NetConnect

 
Unless otherwise noted, everything is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions