World Draughts Forum

It is currently Sat Nov 18, 2017 03:44

All times are UTC+01:00




Post new topic  Reply to topic  [ 39 posts ]  Go to page 1 2 3 Next
Author Message
 Post subject: Moby Dam
PostPosted: Mon Jul 06, 2015 17:59 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
What I need to have installed to test the program Moby Dam. Thank Harm communication to the public program.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Mon Jul 06, 2015 19:31 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Hi Krzysztof,

The zip file that you can download at http://hjetten.home.xs4all.nl/mobydam/mobydam.html
contains a ready-made Windows executable that you can run on a Windows 64-bit PC.
A small opening book is also included.
You will also need the endgame database files. They are the same files as used by Dam 2.2,
plus damend2.zip for the 2-piece files.
You tell Moby Dam where the book and endgame files are, as shown in the first screenshot.
It would be easiest to create a shortcut for the executable, you can then edit the shortcut properties
to add the -b and -e arguments as shown.

For automated play against other programs, there are several programs (Michel's Dragon Draughts
and Bert's Horizon/Damage hybrid in particular) that support the DamExchange protocol.
You can set up these programs to play a series of games against Moby Dam.

Harm.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 10:31 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
Thank you very much Harm. Harm I have a huge request to You. Can you do GUI Moby Dam under Windows 7 64 bit.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 11:24 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
You can just use Dam 2.2 as the GUI.
Though it is old, it will successfully install and work on current Windows versions, including Windows 7 64-bit.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 12:55 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
I Dam 2.2 I use several years. I am deeply interested in Your new program.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 20:46 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
Harm I have a request to You. You can write how you can run the program Moby Dam under Windows 7 64 bit. I will be very grateful.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 23:32 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Hi Krzysztof,

I was hoping the procedure would be more or less self-explanatory after studying
http://hjetten.home.xs4all.nl/mobydam/mobydam.html but here it is step by step.
Preparation:
- download and unpack mobydam-2015-07-05.zip to C:\ (will create C:\mobydam folder)
- download and unpack all endgame database zip files to C:\damend
- create a Windows shortcut on the desktop for C:\mobydam\mobydam.exe
- edit the shortcut properties, adding to the end of Target field: -b book\book.opn -e C:\damend
- run the Dam 2.2 installer dam227.exe
Running:
- doubleclick the shortcut to start mobydam.exe
- start Dam 2.2 and open the DamExchange window
- In Dam 2.2, do Game - DamExchange - Make connection with localhost
- In Dam 2.2, do Game - DamExchange - Start game.

I hope this will get you going. If you get stuck somewhere, let me know.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Tue Jul 07, 2015 23:42 
Offline

Joined: Wed Apr 14, 2004 16:04
Posts: 1559
Harm Jetten wrote:
Hi Krzysztof,

I was hoping the procedure would be more or less self-explanatory after studying
http://hjetten.home.xs4all.nl/mobydam/mobydam.html but here it is step by step.
Preparation:
- download and unpack mobydam-2015-07-05.zip to C:\ (will create C:\mobydam folder)
- download and unpack all endgame database zip files to C:\damend
- create a Windows shortcut on the desktop for C:\mobydam\mobydam.exe
- edit the shortcut properties, adding to the end of Target field: -b book\book.opn -e C:\damend
- run the Dam 2.2 installer dam227.exe
Running:
- doubleclick the shortcut to start mobydam.exe
- start Dam 2.2 and open the DamExchange window
- In Dam 2.2, do Game - DamExchange - Make connection with localhost
- In Dam 2.2, do Game - DamExchange - Start game.

I hope this will get you going. If you get stuck somewhere, let me know.


I guess this means that Dam 2.2 can act as the GUI for any DXP compliant engine? Or does one also need to implement some functions related to setting up / flipping positions?


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 00:00 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Yes Rein, Dam 2.2 can indeed act as the GUI for any DXP compliant engine.
And you can first set up any desired board position in Dam 2.2 and then do a Start game.
The DXP GAMEREQ message will send that board position to the engine as the starting point of the game.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 01:09 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
Thank you very much Harm. I have a question. I want to play a game on two separate computers. On one computer, game one program, and on the other I want to play program Moby Dam. Please write what should be a command if you want to game time between the programs was 20 minutes for 75 moves. As the command should be written to whites started the program and what command should be written to the program played black. Is there a need for some program.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 12:20 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Krzysztof,
Once you have completed the above procedure, the next step (automated play on 2 computers) is easy.
But first you need to check that Moby Dam can be started correctly from the shortcut.
When you start Moby Dam, it writes information to the file engine.log in folder C:\mobydam.
Open it in Notepad, scroll to the bottom of the file and check that it contains the following:

book positions = 8507
all 2-piece db files present
all 3-piece db files present
all 4-piece db files present
all 5-piece db files present
all 6-piece db files present

Are you seeing this?


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 13:55 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
After starting the shortcut mobydam and entering -b book\book.opn -e C:\damend

Image

And entry engine is the

Wed Jul 08 13:37:14 2015
Moby Dam (Jul 5 2015)
compiled with -g -O3 -Wall -march=nehalem -flto -fprofile-use -DPF -DETC -DLMR -DKIL
created tt with 33554432 entries (2^25), size=512MiB
wiped tt with 33554432 entries
init_book: can't find book file book.opn
init_enddb: 4 out of 4 2-piece db files not found
init_enddb: 12 out of 12 3-piece db files not found
init_enddb: 26 out of 26 4-piece db files not found
init_enddb: 44 out of 44 5-piece db files not found
init_enddb: 70 out of 70 6-piece db files not found

I have the impression that the program did not load the base ends.I do not quite know why.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 14:03 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Ah, I see. You entered the arguments in the Moby Dam window, but that is the wrong place.
You need to do this:
Harm Jetten wrote:
- create a Windows shortcut on the desktop for C:\mobydam\mobydam.exe
- edit the shortcut properties, adding to the end of Target field: -b book\book.opn -e C:\damend


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 14:26 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 558
Real name: Krzysztof Grzelak
Harm Jetten wrote:
- create a Windows shortcut on the desktop for C:\mobydam\mobydam.exe
- edit the shortcut properties, adding to the end of Target field: -b book\book.opn -e C:\damend


I have so done as you write. And still the same.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 14:38 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Look at the bottom of the engine.log file.
Moby Dam always leaves old information in, only appending new information to the end.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 39 posts ]  Go to page 1 2 3 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited