There must be some way to extricate the w16 ChessGenius engine (Geng7..Geng3...Geng6 etc) so it can be used with some sort of adaptor as a winboard/UCI engine in Arena/Chessbase.......has anyone tried to get it to work outside the ChessGenius GUI? Thx in advance...AR
orig post...What we really could use (for the smart folks in the forum) is a converter so the chess genius gui (GENG7) engine can be used in Arena and Chessbase so it could finally be fully tested out of the w16 Chessgenius GUI
Thx.......AAR
I thought there were DOS Box emulators that you could run in Windows x64, where you could still run 16-bit software. I suppose they run as a virtual machine. The x64 CPUs still support 16-bit modes, that is for sure. So it should be possible to write your own VM similar to DOS Box, but in a console version, that would just write to stdout instead of popping up its own console window.
Chess Assistant by Convektahttp://chessok.com/shop/index.php?main_ ... 20a&page=1
has a separate protocol for Genius 4+5 Windows, but starting the engines
under CA seems to be a problem. I reported that bug to ChessOK.com
(email: info@chessok.com) several months ago, but their support had no solution for it.
hgm wrote:I thought there were DOS Box emulators that you could run in Windows x64, where you could still run 16-bit software. I suppose they run as a virtual machine. The x64 CPUs still support 16-bit modes, that is for sure. So it should be possible to write your own VM similar to DOS Box, but in a console version, that would just write to stdout instead of popping up its own console window.
Yes I think that is right, a VM provides solutions for many things.
Setup from UCI to ChessGenius 7........folder contents...
[ a)eng file... b)eng dll... c) polyglot.exe...d) polyglot.ini.....e) chess engine]
example 1) houdiniw32engine=
// Sample ENG file to add new Winboard engines
// Must be placed in the Genius7 folder.
INIT {
// First the pathname of WBConv.dll. note the double "\\".
"engines\\Houdini\\WBConv.dll",
// Name Text for screen display
"Houdini Engine",
284,
// Pathname of engine, relative to Genius7 folder.
// Can also be given as an absolute path
[#l:8192,1,0,0, 1,1,1, #b:'e,'n,'g,'i,'n,'e,'s,'\,'H,'o,'u,'d,'i,'n,'i,'\,'P,'o,'l,'y,'g,'l,'o,'t,'.,'e,'x,'e,0],
// ^^^^ change this number to the actual hash table size used by the engine
// ^ ^ ^ Engine flags (see engine dialog) ON (1) or OFF (0)
"",
0,
"Houdini", // short engine name (max. 8 characters)
"",
"",
"",
""
}
// Next we define the Engine options dialog
DIALOG {
"Set Options for Houdini..", // dialog title
250,150, // X/Y size of dialog
// dialog items..
"TICK", "Permanent brain", [#l:16,4, 20,30, 90],
"TICK", "White's score in analyse mode", [#l:20,4, 20,45, 120],
"TICK", "Can show current move", [#l:24,4, 20,60, 120],
"END", // Must be last
END }
Now clicking on the Geng7 engine starts the w16 exe (wow) so all that in needed is the reverse wbconv.dll (w16 to windows 32 along with some instructions using a wb2uci.eng file and wb2uci.exe engine so that ChessGenius can understand and the process should work!! Correct?!?! Let me know............AR
-------------------------------------------------------------------------------------
Hi Norm.......Thx for the reply.....need to get Genius to work in Arena and Chessbase probably using a WBConv.dll (reversed to work from w16 to w32.....along with the correct instructions so wb2uci instructions can be recognized by Chessgenius w16 eng Thx AAR
I suppose that what you show here is the way to run UCI engines in the ChessGenius GUI. The fact that it employs a DLL shows that the native way for the ChessGenius GUI and engine to communicate with each other is by running the negine as a DLL to which the GUI then links. This is similar to the method used by Fritz or SMIRF (in the same sense as that UCI is similar to WB protocol in that they both work by exchanging text messages thruough pipes).
So what would be needed to run a ChessGenius engine under WinBoard is a .exe program (to be used as engine) that would link itself to the DLL that is the ChessGenius engine, and translate the CECP commands to the appropriate fnction calls in the engine DLL to have it do the job. Similar to the way the SMIRF engine (also a DLL) runs under WinBoard through the Smirfoglot.exe adapter.
The problem is that it should first be reverse-engineered what services the ChessGenius engine DLL provides, and how the GUI uses those to set it thinking, and evoke a move response (and possibly PV info). I suppose there is no info published on that, just like there isn't any info on the Fritz interface. It is in theory possible to do this by writing a 'spy' DLL that offers the same services as the engine DLL (the names of which can be obtained by standard commands to provide info over the contents of a DLL library), and just passes them on to the real thing, but writing on some log file what it has been doing. (The DLL equivalent to the InBetween adapter, as it were.)
Of course there is the additional problem that we are dealing with a w16 binary here. I am surprised you can run it at all. Is this because you are on a w32 system, and not a w64?