Page 1 of 1

Run linux engine from Windows GUI under wine

PostPosted: 09 Jun 2007, 12:10
by Onno Garms
Hello,

I'm using the Shredder Windows GUI under wine. I would like to use it to run a native Linux engine.

The only solution I have found so far is to create a batchfile which calls plink.exe (from putty) to open an ssh connection to localhost. This batchfile can be installed as an engine in Shredder.

However there are two drawbacks:
1. I have to run sshd on my Linux machine.
2. The batchfile must contain the abolute path to the engine.

Any idea how to do better?

Onno

PS: I run an older version of Wine. Shredder works perfectly under it. More recent versions of Wine make Shredder instable. Anybody else observed this?

Re: Run linux engine from Windows GUI under wine

PostPosted: 09 Jun 2007, 12:43
by Volker Pittlik
Onno Garms wrote:...More recent versions of Wine make Shredder instable. Anybody else observed this?


It seems that is is not really predictable which engines or other programs work under wine and which doesn't.

For example I've read some people use Arena under wine. It does start here but does not run the engines except I use Windows(!!!) engines!

Volker

Re: Run linux engine from Windows GUI under wine

PostPosted: 09 Jun 2007, 13:51
by Onno Garms
Have you tried the ssh-workaround with Arena?

For me, Arena was extremely instable under Wine. In addition, I found Shredder more intuitive to use.

So far, all Windows engines that I tested run under wine. Some crash when run from the command line, but all work when called by a GUI. (This is due to the fact, that a Windows application is aware what its standard input is. It has to poll differently when called from the command line or by a GUI. Some engines poll in a not Wine-compatible way when called from the command line.)

I did not yet manage to put an MP Windows engine under Wine on both my cores.

Re: Run linux engine from Windows GUI under wine

PostPosted: 10 Jun 2007, 19:19
by Peter Eizenhammer
Hello Onno,

"More recent versions of Wine make Shredder instable. Anybody else observed this?"

Not with Shredder, but just today i had to uninstall the latest wine, because it made my Fritz (=chessprogramx.exe) pretty ugly and i could not see any usable information there (the progs played, but output was unreadable).
Now i use the old wine 0.9.29 again, cause it works just fine.

I remember there were similar cases in the past, where the latest version seemed broken, and i had to wait for one or two versions, until everything was fine again.

Regards
Peter

Re: Run linux engine from Windows GUI under wine

PostPosted: 10 Jun 2007, 19:38
by Peter Eizenhammer
Volker Pittlik wrote:For example I've read some people use Arena under wine. It does start here but does not run the engines except I use Windows(!!!) engines!
Volker


Hello Volker,

this is indeed how it should work, i guess; when Arena is started in its wine/Windows-environment, it can start dependent processes and one does not have to start wine for these subprocesses separately. So you can configure engines in Arena just in the usual way.
(pls don't bother, if I used process in a wrong way, but I hope the sense is clear.)

On the other hand the way Onno shows is clever (so that i would not have found it, of course), but it should be necessary for linux-only engines only.

(personally I had always problems with tournaments in Arena using wine, that's why i use Fritz; do tournaments in Arena run smoothly for others? would be nice to hear, maybe i should make a new try then.)

regards
Peter