bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] batch import for gnu-bg (windows version)


From: Joern Thyssen
Subject: Re: [Bug-gnubg] batch import for gnu-bg (windows version)
Date: Mon, 28 Apr 2003 11:03:13 +0000
User-agent: Mutt/1.4i

On Mon, Apr 28, 2003 at 12:42:20PM +0200, Yoav Shnel wrote
> Hello.
> I have just downloaded and installed gnubg-0.13.0 for Windows. I am trying
> to use the batch import option available in the command line version to no
> avail.
> I tried with this batch file:
> $set matchid MAEKAAAAAAAA
> $set board HdsOwADUPYMBBg
> $play
> $save game output.txt
> 
> (tried with and without the $ signs), using both \r\n and \r only as line
> endings.
> 
> When I tried without the dollar signs I got the following message:
> input.txt: parse error, expecting '$' or 'error' or ''(''
> input.txt: warning: no backgammon games in SGF file.
> 
> Subsequently I added the S signs on the beginning of every line and got the
> following message:
> input.txt: illegal character in SGF file
> imput.txt: warning: no backgammon games in SGF file
> 
> I don't know if this is a bug or if I'm doing something wrong.
> I await your response. Thanks in advance,

from your description it looks like you're attempting to do something
like

gnubg-nogui.exe batchfile

which will make gnubg attempt to read batchfile as a SGF file, e.g.,
load the match stored in batchfile.

Instead, you should run 

gnubg-nogui.exe < batchfile

BTW, there is no command "save game output txt"! Use "save game
filename.sgf" to save the game in SGF format or "export match mat
filename.mat" to save it in Jellyfish .mat format (e.g., for import into
snowie).

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]