Schachcomputer.info Community

Zurück   Schachcomputer.info Community > Computerschach / Computer Chess: > Mess Emu & andere Emulationen / Mess Emu and other Emulations


Antwort
 
Themen-Optionen Ansicht

  #21  
Alt 01.10.2019, 12:25
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Chess Machine
 
Registriert seit: 14.07.2009
Beiträge: 350
Bilder: 15
Abgegebene Danke: 630
Erhielt 652 Danke für 192 Beiträge
Aktivitäten Langlebigkeit
5/20 15/20
Heute Beiträge
0/3 ssssss350
Re: Mess Emulator für diverse Schachcomputer ist fertig!

Hi Franz

I have a problem with MessChess as I cannot find a way to continue saved games either in Winboard or Arena.

I have spent quite a lot of time scrolling through here but unable to find any mention of it.

I have already tried saving & loading games, saving & loading positions, states, default states.

The nearest I got to was in Winboard to save a position, Mess save default state. Exit program then load saved position in Winboard and load default state in Mess. Then make new move in Wnboard that actually is executed in Mess. Mess now makes its move but Winboard doesn't execute it 🤔

Could you possibly give me some guidance?

Regards
Bryan
Mit Zitat antworten
  #22  
Alt 01.10.2019, 14:01
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.571
Abgegebene Danke: 431
Erhielt 5.650 Danke für 1.303 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2571
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

Hi Bryan,
 Zitat von Bryan Whitby Beitrag anzeigen
I have a problem with MessChess as I cannot find a way to continue saved games either in Winboard or Arena.
...
Could you possibly give me some guidance?
I've now also tried it in several ways, but couldn't get it working, too.
I guess the problem is in the plugin system, which is just not prepared for continuing a saved game - whenever a plugin is started, it assumes to start a new game and just doesn't know that Winboard and/or the engine have loaded a previously saved position.

This would certainly require some serious changes in the plugin system itself (init.lua), but that's something which only the original author of the LUA plugins (Sandro Ronco) could do - I just don't have enough experience with his basic plugin system (and also not with LUA).

Regards,
Franz
Mit Zitat antworten
  #23  
Alt 01.10.2019, 14:15
germangonzo germangonzo ist offline
Fidelity Elite Avantgarde Version 10
 
Registriert seit: 07.08.2004
Ort: Berlin
Alter: 54
Land:
Beiträge: 217
Abgegebene Danke: 622
Erhielt 154 Danke für 80 Beiträge
Aktivitäten Langlebigkeit
6/20 20/20
Heute Beiträge
1/3 ssssss217
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
Prinzipiell müßte das also etwa so aussehen:
Na klar!

Danke dafür, ich hatte schon angefangen die sexpertb, sexpertc1 ... zu verunstalten.
Aber Deine Lösung liegt ja eigentlich auf der Hand.
Danke hierfür und vor allem für die cb-emu!

Grüße
Frank
Mit Zitat antworten
  #24  
Alt 01.10.2019, 15:01
Hartmut Hartmut ist offline
Lebende Foren Legende
 
Registriert seit: 01.04.2010
Ort: Nürnberg
Alter: 60
Land:
Beiträge: 2.173
Abgegebene Danke: 3.211
Erhielt 1.543 Danke für 897 Beiträge
Aktivitäten Langlebigkeit
3/20 14/20
Heute Beiträge
0/3 sssss2173
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von germangonzo Beitrag anzeigen
Na klar!

Danke dafür, ich hatte schon angefangen die sexpertb, sexpertc1 ... zu verunstalten.
Aber Deine Lösung liegt ja eigentlich auf der Hand.
Danke hierfür und vor allem für die cb-emu!

Grüße
Frank
Tja, hättest Du halt mal genau den Winboard-Thread gelesen. Dort habe ich genau den Weg (allerdings wegen Engines mit unterschiedlichen MHz-Einstellungen) bereits vor einem Monat beschrieben.

https://www.schachcomputer.info/foru...8&postcount=18
__________________
Mein Profil beim ICCF (International Correspondence Chess Federation)
https://www.iccf.com/player?id=89948&tab=3
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Hartmut für den nützlichen Beitrag:
germangonzo (01.10.2019), Mythbuster (01.10.2019)
  #25  
Alt 01.10.2019, 15:11
Benutzerbild von Mythbuster
Mythbuster Mythbuster ist offline
Forengrinch
 
Registriert seit: 06.04.2008
Ort: UNESCO Welterbe
Land:
Beiträge: 6.906
Bilder: 257
Abgegebene Danke: 1.462
Erhielt 4.614 Danke für 1.522 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
8/20 16/20
Heute Beiträge
0/3 sssss6906
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von Hartmut Beitrag anzeigen
Tja, hättest Du halt mal genau den Winboard-Thread gelesen.
Und in den MessChess / Winboard Thread habe ich die letzten Postings mal verschoben ...
__________________
This post may not be reproduced without prior written permission.
Copyright (c) 1967-2024. All rights reserved to make me feel special. :-)
Mit Zitat antworten
Folgender Benutzer sagt Danke zu Mythbuster für den nützlichen Beitrag:
Hartmut (01.10.2019)
  #26  
Alt 01.10.2019, 16:15
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Chess Machine
 
Registriert seit: 14.07.2009
Beiträge: 350
Bilder: 15
Abgegebene Danke: 630
Erhielt 652 Danke für 192 Beiträge
Aktivitäten Langlebigkeit
5/20 15/20
Heute Beiträge
0/3 ssssss350
Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
Hi Bryan,

I've now also tried it in several ways, but couldn't get it working, too.
I guess the problem is in the plugin system, which is just not prepared for continuing a saved game - whenever a plugin is started, it assumes to start a new game and just doesn't know that Winboard and/or the engine have loaded a previously saved position.

This would certainly require some serious changes in the plugin system itself (init.lua), but that's something which only the original author of the LUA plugins (Sandro Ronco) could do - I just don't have enough experience with his basic plugin system (and also not with LUA).

Regards,
Franz
Thanks Franz

I was hoping that it wasn't just a simple oversight on my behalf. I will have a word with Sandro.

Regards
Bryan
Mit Zitat antworten
  #27  
Alt 06.10.2019, 21:43
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Chess Machine
 
Registriert seit: 14.07.2009
Beiträge: 350
Bilder: 15
Abgegebene Danke: 630
Erhielt 652 Danke für 192 Beiträge
Aktivitäten Langlebigkeit
5/20 15/20
Heute Beiträge
0/3 ssssss350
Re: MessChess und Winboard

Hi Franz

There is a way of continuing a game at a later date but unfortunately not with the software but by hibernating your laptop instead of shutting it off.

Not a great way to do it but at least you won't lose your unfinished game.

Regards
Bryan
Mit Zitat antworten
  #28  
Alt 07.10.2019, 12:47
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.571
Abgegebene Danke: 431
Erhielt 5.650 Danke für 1.303 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2571
AW: Re: MessChess und Winboard

Hi Bryan,
 Zitat von Bryan Whitby Beitrag anzeigen
There is a way of continuing a game at a later date but unfortunately not with the software but by hibernating your laptop instead of shutting it off.
yes, that's of course a possibility, but I doubt that many users would like to activate hibernation mode just for interrupting a chess game (as it saves a huge hibernation file to the harddisk).

In the meantime I've found an other working method (at least in Winboard), but it's a bit complicated. The decisive point is, that the chessplugin has its own board representation and doesn't know anything about a position (or state) reloaded in Winboard or the engine. So in Winboard you have to save the whole game (NOT the current position!) and later reload this saved game again to let the chessplugin know the complete game (or move sequence).
When this saved game is sent to the engine (by the plugin), of course the engine should only execute these move, but it must not respond with any countermoves, and thus the engine has to be set into 'Monitor / 2-Players' mode before, so this method only works with engines which have such a 'Monitor' mode (most of them actually have this feature).

Here's a detailed description of how to abort a game and replay it anytime later:
For example let's assume you're just playing a game (with White) vs. Fidelity EAG V10 in WinBoard, it's your turn and you want to interrupt the game, then make the following steps:
1) set the engine into 'Monitor' mode (for the EAG V10 this is OPTION + c1 (twice!) + CL)
2) save the current state in the EAG V10 engine with "File > Save State'
3) save the game in WinBoard with 'File > Save Game'
Now you can exit WinBoard, do anything else on your computer or switch it off.
To resume this game anytime later, start Winboard and the engine EAG V10 again, and then make execute the following steps:
4) first set the engine into 'Monitor' mode again (OPTION + c1 (twice!) + CL)
5) now reload the save game in WinBoard with 'File > Load Game' (this sends all played moves to the engine via the plugin) and wait until all moves have been executed in the engine, too
6) reload the saved state in the Engine with 'File > Load State' (this restores all game parameters like level, times etc.)
7) before you can continue the game with your next (white) move, you have to execute 'Mode > Edit Game' in Winboard
8) now enter your move in WinBoard - this is sent to the engine (which is still in 'Monitor' mode, so it doesn't yet respond automatically)
9) switch OFF 'Monitor' mode again in the engine (OPTION + c1 (twice!) + CL)
10) now execute 'Mode > Machine Black' in WinBoard - I would have expected that now the engine should start/respond automatically, but it seems WinBoard doesn't send the necessary 'go' to the engine at this stage, so you have to make one final step:
11) execute 'Engine > Move Now' in WinBoard - now the engine starts thinking and you're in the normal game mode again, i.e. after the engine has moved, you can continue your game as usual.

The points 1), 2) and 6) could be omitted, if you don't care about the state or settings of the engine (e.g. already elapsed time, level, etc.), or if you re-enter the level manually before the last step 'Engine > Move Now', i.e. it could even be done without any 'Save/Load State' in the engine -
the only important things are:
a) in WinBoard save and load the whole game, NOT the position, and
b) switch the engine into 'Monitor' mode before loading the saved game!

Unfortunately for Arena this method is not working, because Arena doesn't send the moves of a reloaded/replayed game to the engine (at least not Arena version 1.1 included in CB-Emu), and I've not yet found a workaround for it in Arena.

Regards,
Franz

Geändert von fhub (07.10.2019 um 13:28 Uhr)
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
applechess (07.10.2019)
  #29  
Alt 07.10.2019, 14:38
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.571
Abgegebene Danke: 431
Erhielt 5.650 Danke für 1.303 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2571
AW: MessChess und Winboard

Hier nochmal die ganze Prozedur in Kurzform (wobei ich die erste Aktion ('Monitor' mode ON)
jetzt etwas nach hinten (in den 'Reload'-Teil) verlegt habe, was genauso funktioniert):

Code:
Save current game:
------------------
[ 1) Engine: 'File > Save State']
  2) WinBoard: 'File > Save Game'

Reload saved game:
------------------
  3) Engine: switch 'Monitor' mode ON
  4) WinBoard: 'File > Load Game' (wait until game is replayed in the engine)
[ 5) Engine: 'File > Load State']
[ 6) Engine: switch 'Monitor' mode ON again]
  7) WinBoard: 'Mode > Edit Game'
  8) WinBoard: enter your move
  9) Engine: switch 'Monitor' mode OFF
 10) WinBoard: 'Mode > Machine Black (or White)'
 11) WinBoard: 'Engine > Move Now'
Wie schon erwähnt kann man die Schritte 1), 5) und 6) komplett weglassen, falls die bereits
verbrauchte Zeit keine Rolle spielt (z.B. bei Spielstufen "Zeit/Zug"), und man zwischen Punkt 4) und 7)
die gewünschte Spielstufe (und evt. andere Engine-Parameter) in der Engine selber wieder einstellt.

Franz

Geändert von fhub (07.10.2019 um 14:53 Uhr)
Mit Zitat antworten
  #30  
Alt 07.10.2019, 18:29
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Chess Machine
 
Registriert seit: 14.07.2009
Beiträge: 350
Bilder: 15
Abgegebene Danke: 630
Erhielt 652 Danke für 192 Beiträge
Aktivitäten Langlebigkeit
5/20 15/20
Heute Beiträge
0/3 ssssss350
AW: MessChess und Winboard

Thanks Franz

Yes it does work which will be a big help for everyone 👍

As I have a dedicated Windows 10 tablet just for CB Emu, I will just use the hibernate button.

Keep up the incredible work.

Regards
Bryan
Mit Zitat antworten
Antwort

Themen-Optionen
Ansicht

Forumregeln
Du bist nicht berechtigt, neue Themen zu erstellen.
Du bist nicht berechtigt, auf Beiträge zu antworten.
Du bist nicht berechtigt, Anhänge hochzuladen.
Du bist nicht berechtigt, deine Beiträge zu bearbeiten.

BB code ist An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist An.

Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
Info: UCI und XBoard/Winboard Solwac Die ganze Welt der Schachcomputer / World of chess computers 9 17.08.2017 19:52
News: MephBoard - Winboard Engine für Mephisto PC-Modul krval Technische Fragen und Probleme / Tuning 8 11.01.2012 21:30
Tipp: Mephisto Board - Winboard Engine für Mephisto PC-Modul krval Technische Fragen und Probleme / Tuning 9 31.07.2011 15:19


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:10 Uhr.



Powered by vBulletin (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©Schachcomputer.info