Download it at
http://www.chess.x10host.com/pgn4web/index.html
See Download>aiBloodshed
For installation guide see aiBloodshed readme.html.
From the readme
aiBloodshed v1.0
ReadMe
2017-07-27
I Description
aiBloodshed is a chess game broadcaster that is based on WEBMATCH by Ed Schroder.
It uses pgn4web, javascript, ordo rating system, python-chess, chessGUI,
ftp and highcharts to broadcast games with live Principal Variation for uci engines.
This system is tested under windows 7 32bit, and is run on the server
by x10hosting on free account.
II Downloads
Download ChessGUI
Select the portable version.
Unzip it and put it in c drive. It would look like this
c:\ChessGUI4Stick\ChessGUI4Stick
c:\ChessGUI4Stick\ChessGUI4Stick\OUTPUT
c:\ChessGUI4Stick\ChessGUI4Stick\CONFIG
c:\ChessGUI4Stick\ChessGUI4Stick\DEBUG
...
And others
Download aiBloodshed look on the download menu
Unzip it and put it in c drive, it would look like this
c:\aiBloodshed
III Server Installation
There is pgn4web directory in c:\aiBloodshed
Open the index.html with notepad++ or any other text editor and find the line:
SetPgnUrl("http://www.chess.x10host.com/pgn4web/NewLiveTmp.pgn");
my domain: http://www.chess.x10host.com
Change that with your domain name.
SetPgnUrl("yourdomain/pgn4web/NewLiveTmp.pgn");
Then save the index.html.
Copy this pgn4web dir into the root directory of your domain.
It would look like:
public_html/pgn4web
IV Settings on your computer
There is a file script.txt under aiBloodshed dir, open it and
modify the first 2 lines and save.
your ftp account name
your ftp password
cd pgn4web
put c:\aiBloodshed\NewLiveTmp.pgn
put c:\aiBloodshed\evalplot.csv
quit
This file is used to send live game and chart data to your server via ftp.
This file will be read by script.bat
There is file round.txt under aiBloodshed dir, open it and
modify the first 2 lines and save.
your ftp account name
your ftp password
cd pgn4web
put c:\aiBloodshed\LivePgn.pgn
put c:\aiBloodshed\trnsummaryresult.html
put c:\aiBloodshed\trnmatchresult.html
put c:\aiBloodshed\trnrating.txt
put c:\aiBloodshed\trnsetting.txt
put c:\aiBloodshed\about.txt
quit
This file is used to send trn files to your server via ftp.
This file will be read by round.bat
There is file script.bat, open it and modify the ftp server hostname
ftp -s:script.txt [your ftp server hostname]
There is file round.bat, open it and modify the ftp server hostname
ftp -s:round.txt [your ftp server hostname]
ChessGUI setting - to broadcast you have to enable Live Pgn and TLCV in
Miscellaneous/preferences on GUI 2 tab
You need to set also the pgn output format
Miscellaneous/preferences on GUI + Engines tab
Enable the following:
a. CB New
b. Eval
c. Depth
d. Move Time
e. elo
f. ECO
g. Time Left
Basically it is done and you can start broadcasting.
Install some engines and start a tournament in chessGUI.
Then execute runlive.exe and createfiles.exe which can be found in c:\aiBloodshed
V Info on files
There is file about.txt under aiBloodshed dir. You can modify it,
and it will be shown in about page.
There is file trnsetting.txt, you can modify it and it will be
be shown the trn setting in the page.
There is file anchor.txt, this is generated by createfiles.exe and is used
by ordo. The anchor data is extracted from the games. So it is important
that chessGUI is set to save the rating in the pgn file it produces.
There is a file runlive.exe, this file will prepare live pgn and data for
charts and would send those to server. If you want to broadcast you should
run this file.
Usage:
runlive [delay_in_sec] [max_games]
After sending the files to server it will sleep for delay_in_sec.
default is 1 sec. When max_games are reached, runlive.exe will exit.
Default is 1000. This program will generate runlive.log in overwrite mode
for debugging purposes. Everytime it is started, the log file will
be overwritten. This does not grow much, as only relevant sections
will be logged.
There is file createfiles.exe, this file will create tournament results
table and generate ordo rating list and send it to server. This file
is needed to update progress of tournament info page.
Usage:
createfiles delay_in_sec
Default is 180 sec
After sending the files to server it will sleep for delay_in_sec.
The program can only generate trn report files if runlive.exe is running
because it is the runlive.exe that will copy the games from chessgui
output dir to aiBloodshed dir.
The source code of runlive.exe is runlive.py and that of createfiles.exe
is createfiles.py. Both can be found under aiBloodshed/src dir.
Broadcast limitation
The pv of the engine thinking is only supported for uci engines. This live
pv is only shown one line at a time.
On the right side of the index page, there is a chatbox from chatango,
you can modify index.html and replace it with your script code.
aiBloodshed is using pgn4web v3.03 - the latest so far. To gain more
ensights on how to use pgn4web read here.
Live broadcast
How to
VI CREDITS
Chessbase
Replay games from their excellent GUI
site: http://en.chessbase.com/
Ed Schroder
WEBMATCH - web tool for broadcasting engine matches
site: http://rebel13.nl/misc/match.html
Highsoft
Interactive Highchart and Stockchart
site: https://www.highcharts.com/
Matthias Gemuh
ChessGUI - chess GUI used in desktop that generates files for site
site: http://www.chess.hylogic.de/
Miguel Ballicora
Ordo rating calculation
site: https://github.com/michiguel/Ordo
Niklas Fiekas
Python-chess Modules - used to rewrite pgn to embed pv to the last move of a game for live broadcast
site: https://pypi.python.org/pypi/python-chess
Paolo Casaschi
pgn4web 3.03 for broadcasting live games and game replays
site: https://sourceforge.net/projects/pgn4web/
Py2Exe
Convert python source file to exe file
site: http://www.py2exe.org/
aiBloodshed live broadcaster released
Moderators: hgm, Rebel, chrisw
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: aiBloodshed live broadcaster released
Readme is updated, domain name has to be changed also in about.html, replay.html and other parts of index.html.
Download this readme v1.1 alone at
http://www.chess.x10host.com/pgn4web/index.html
Download this readme v1.1 alone at
http://www.chess.x10host.com/pgn4web/index.html
-
- Posts: 6994
- Joined: Thu Aug 18, 2011 12:04 pm
Re: aiBloodshed live broadcaster released
Great! Added a link and also one in the news section.
-
- Posts: 1525
- Joined: Tue Jul 15, 2014 12:47 pm
Re: aiBloodshed live broadcaster released
Sorry I'm asking. Do you write above is up to date.
-
- Posts: 6340
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Re: aiBloodshed live broadcaster released
Is there a new download location? Never mind I found my copy. Here is a link I shared from my google drive.
https://drive.google.com/open?id=0B7CrV ... XF6UTY0SDQ
https://drive.google.com/open?id=0B7CrV ... XF6UTY0SDQ
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers
-
- Posts: 1525
- Joined: Tue Jul 15, 2014 12:47 pm
Re: aiBloodshed live broadcaster released
Thank you Ted. I have a request and maybe someone will record an instructional film how to use it in the program Chessgui.AdminX wrote:Is there a new download location? Never mind I found my copy. Here is a link I shared from my google drive.
https://drive.google.com/open?id=0B7CrV ... XF6UTY0SDQ