![]() |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Franz,
erst nochmal wiederholt den größten Dank für Deine tolle Arbeit. Man kann Dein Engagement hier für unsere heißgeliebten Brettcomputer gar nicht genug loben. Ein Feature würde mir noch einfallen, weiß aber nicht, ob überhaupt technisch möglich und von daher mein Wunsch nicht unsittlich ist. Besteht die Möglichkeit, CB-Emu so einzurichten, dass die verschiedenen Brett-Emus automatisch gegeneinander spielen können (so eine Art Auto-Player)? Über UCI kann man ja schon einige Emulationen gegeneinander spielen lassen, aber gibt es da vielleicht noch eine andere Möglichkeit? Falls nicht, reicht ein kurzes Nein und ich ziehe die Frage wieder schamvoll zurück. LG Mike |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
ich bin mir nicht sicher, welche Situation Du mit diesem 'LED-Blinken' meinst!? Da muß man unterscheiden, ob Du oder der Computer am Zug ist - ich erkläre es mal am Beispiel wo Du mit e2e4 startest und der Computer mit e7e5 antwortet: Sobald Du auf e2 klickst, leuchtet ODER blinkt diese LED - das ist bei verschiedenen Mephisto-Modellen unterschiedlich. Nachdem Du den Zug mit e4 fertiggestellt hast, und der Computer mit e7e5 antwortet, BLINKEN IMMER beide LEDs (auf e7 und e5) und zwar bei ALLEN Mephistos (ich hab gerade nochmals fast alle getestet), nur die Blinkgeschwindigkeit ist minimal unterschiedlich bei manchen Geräten. Ich sehe da auch absolut keinen Unterschied zwischen Almeria32 und Vancouver16. Also - welches Blinken meinst Du jetzt? Das bei Deinem Zug oder beim Gegenzug des Computers? Das Blinken bei Deinem Zug ist aber ohnehin kaum von Bedeutung, weil Du da ja schon auf's Feld geklickt hast, und Du außerdem an der Figur erkennst, daß sie 'angehoben' ist (Figur ist 'markiert'). Wenn Du aber den Computerzug meinst, dann kann (und sollte) ich das ja wohl für den Almeria32 alleine nicht ändern, weil ja ALLE Mephisto-Modelle diesen Computerzug blinkend anzeigen. Grüße, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
also 'unsittlich' ist Dein Wunsch natürlich nicht und 'schamvoll' zurückziehen brauchst Du ihn auch nicht ;), aber leider ist er auch unerfüllbar, und zwar aus dem gleichen Grund, den ich in meinem Posting zu möglichen Wünschen schon erwähnt habe: Es ist praktisch unmöglich, einem Gerät den gespielten Zug des anderen Gerätes (d.h. den gegnerische Zug) 'mitzuteilen' - das wäre zwar theoretisch möglich (theoretisch geht beim Programmieren alles!), wäre aber extrem schwierig und würde für jedes Modul viele Tage dauern (jedenfalls bei den beiden Lösungsmehoden, die mir dazu einfallen) und bei mehr als 150 Modulen kannst Du Dir den nötigen Aufwand und die Dauer dafür ja ausrechnen. Diese UCI-Emulationen, die Du erwähnst, stammen ja aus einer völlig anderen (uralten) MESS-Version, die speziell dafür komplett umgeschrieben wurde (und zwar auch nicht von mir), sodaß ich die dortige Methode auch nicht einfach in CB-Emu übernehmen kann. Also ist und bleibt dieser Wunsch nach automatischem Spiel verschiedener Module gegeneinander leider unerfüllbar, genauso wie z.B. auch eine Anbindung eines externen elektronischen Schachbretts (was ja auch schon an mich herangetragen wurde) - all das betrifft das gleiche Problem, das ich oben schon geschildert habe, und ist von MIR leider nicht lösbar. Grüße, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi Franz
First of all many thanks again for all your hard work. I don't know if you remember but I built my own chess board that communicates with your software via a Teensy USB Development Board that was programmed especially for me by my good friend from Barcelona, Berger. With all this talk about The King module here and on the Hiarcs forum, I have this morning started to reprogram the Mephisto Montreux cfg file to enable me to play against it with my board. This will enable me to appreciate the programming skills of Johan de Koning and compare it to the games of The King module. Without you and everyone else connected with this project I thank you all. Regards from England Bryan |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
yes, I remember that I've read about this long time ago (IIRC you even posted a picture of your board here). I don't know anymore, how exactly you've built this communication between CB-Emu and your board (especially without changing the CB-Emu code at all), but I think you used special keycodes (in the cfg-file) for the board fields in CB-Emu, right? But the thing I would be most curious about, is how you could 'send' the moves (which you make on the external board) to CB-Emu??? Regards, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Franz,
vielen Dank für deine Mühen,der Emu macht mir sehr viel Spaß! Keine Wünsche... Auch mir kannst du jetzt die Rechnung schicken ;) Gruß,Stefan |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hello Franz,
I also would like to praise and thank you for the excellent job of building and expanding CB-Emu to what it has become now. It's one of the most fun chessprograms I have and I use it a lot! No special wishes left on my part, so if there's a bill I will take my part! Just one small problem now that I think of it: The program does not work on my EEE PC netbook. It used to work under Windows XP without any problem, but I 'upgraded' to Windows 7 (32 bit) and after that it won't budge. Any explanation for that? Anyway, thanks again! Greetings, Henri |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hello Henri,
Zitieren:
Zitieren:
I guess the CB-Emu GUI itself is still starting and showing the list of the modules, and you only get a problem when starting any device, right? And what's the problem then? Do you get any (Windows) error message, or just a black screen without showing the selected chess computer? Or is it any other problem? Regards, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Franz,
ich habe mir das auch mal angeschaut und ich denke, ich verstehe, was Agep meint. Zitieren:
Einfach gesagt, blitzen beim Alm32 die LEDs nur kurz auf. Zitieren:
Beim Vancouver32 ist der Blinkrythmus im vergleich zum Vancouver16 schneller, aber die oben genannte Verteilung von 50 zu 50 hat er auch, der Alm32 aber halt 20 zu 80. Ok, hat mich bislang nicht sonderlich gestört (ist auf meinem relativ großen Screen immer noch ausreichend erkennbar), aber wenn sich das ohne großen Aufwand ändern lässt, würde ich Ageps Anliegen befürworten. Viele Grüße Robert PS: Danke für das letzte Update! Der umgekehrte Weg (also Stellungseingabe per fen) ist mir auch sofort in den Sinn gekommen, aber ich habe mir schon gedacht, dass das kaum realisierbar sein dürfte... |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Robert,
Zitieren:
Ich hab mir das nochmals im Sourcecode angesehen: die Hardware-Treiber für Alm32 und Van32 sind absolut identisch, und die einzige Zeile, die für dieses LED-Blinken verantwortlich ist, ist folgende: Code:
MCFG_TIMER_DRIVER_ADD_PERIODIC("int_timer", polgar_state, timer_update_irq6, attotime::from_hz(785))Da sonst nirgendwo im Treiber irgendein Code steht, der Wirkung auf die LEDs hat, muß dieses Verhältnis 1:4 meiner Meinung nach direkt im Programmcode vom Alm32 (d.h. im ROM) festgelegt sein, und das kann ich natürlich auch nicht ändern (jedenfalls nicht ohne den ROM-Code zu disassemblieren, aber 68020-Assembler ist leider nicht meine Programmiersprache). Was übrigens noch dafür spricht, daß das am ROM-Programm des Alm32 liegt, ist das unterschiedliche Verhalten beim ersten Anklicken einer Figur bei einem EIGENEN Zug: beim Alm32 blinkt dann dieses Feld, beim Van32 leuchtet es aber dauernd - und das wie gesagt trotz völlig identischem Code im Treiber! Daß dieses kurze Aufblitzen beim Alm32 tatsächlich so stattfindet, könnte natürlich nur jemand mit einem echten Almeria 32 bestätigen - ich kann das leider nicht ändern (aber zum Glück wird der Zug bei diesen Modellen ja auch im LCD-Display angezeigt). Grüße, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
Henri |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
1) start CB-Emu 2) right-click on any engine in the list and select 'Properties' in the popup menu 3) now open the tab 'Display': under 'Videomode' on the right side there is 'Auto' predefined, and I guess your Windows doesn't automatically select the correct video mode for your netbook 4) so try all 4 modes in this video submenu, i.e. select a mode, click 'Ok' to exit, and then start this module. If any of these 4 modes is working for you, then let me know and I'll give you instructions how to change this automatically for ALL modules (else you would have to use the same procedure for each of them). Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
Cheers, Henri |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
1 Anhang/Anhänge
Zitieren:
Regards, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
Und schon hast Du wieder einen sehr zufriedenen Kunden mehr. Deine grosse Arbeit müsste gesponsert werden :) OK, würde dann vielleicht nicht mehr so viel Spass machen wie eine allsamt hoch geschätzte freiwillige Leistung. Gruss Kurt |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
ihm hier zu beschreiben, wie er das unter CB-Emu machen müßte, hätte wesentlich länger gedauert. ;) Grüße, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
Greetings, Henri |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
But the N270 Atom CPU was too slow for most of the emulations (IIRC 6502 with 6 MHz was the limit, everything with faster CPUs had slow running clocks), so i removed it some years ago. At least i can confirm, that it is working with Win 10 on the EeePC! ;) best regards Robert |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
For Direct3D and OpenGL you need special Windows drivers and/or support from the graphic card (I've never heard of BGFX before), on my notebook here (Windows 10 64bit) all 4 options are working. Regards, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
The Teensy USB Development Board that I use and Berger coded for me just emulates a keyboard. First you have to untick the read only attribute in the Montreux cfg properties (Screenshot 1). Then you change the Steadykey to zero in the Core Input Option of the Montreux ini file (Screenshot 2). Now you have to try and work out which square corresponds to the Unamed Key in the Root (Screenshot 3). First on your keyboard, change all the Named keys (New Game etc) to none. Then input a1 (Kbd A Kbd 1) into any Unnamed Key then return to machine and press the a1 square on your physical board. What happens then is that although you have programmed the Unnamed Key to the a1 square it probably indicates another square on the PC graphical board. You now go back into the Root and change the wrong programmed Unnamed Key (a1) to the actual PC board square. Now you have found your first correct square you continue doing this for all the 64 squares. Final screenshot of my board working with the Montreux program. I hope this helps you in understanding how it communicates. Regards Bryan https://solusmessboard.yolasite.com/resources/cfg.JPG https://solusmessboard.yolasite.com/resources/ini.JPG https://solusmessboard.yolasite.com/...C0s800x495.JPG https://solusmessboard.yolasite.com/...rd%20Input.JPG https://solusmessboard.yolasite.com/...C0s800x600.jpg |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hello Bryan,
Zitieren:
I've also already experimented with this method long time ago (when I tried to allow entering moves with the PC keyboard instead of the mouse), but the problem is, that you always have to press 2 keys at the same time on the keyboard (e.g. A and 2 for a mouseclick on a2), and that's not really comfortable. But for your external board this is indeed a very clever method. Since your way to find out the correct square for these 'Unnamed Key' entries in the Tab menu is very time-consuming, I've now added the right square names to the board sensors in ALL devices, i.e. now you see "Square A1", "Square A2" etc. instead of 'Unnamed Key' in the Tab menu. Of course you still have to make these assigment manually, but at least you see now the board square in the list and can immediately enter the right keys. So it will be much easier for you to add more CB-Emu modules to your external board. Here is this new Update3: https://www89.zippyshare.com/v/V8LRJfR4/file.html (apart from these new square labels nothing has changed, so you can just use these new EXEs without having to change anything in your existing configuration). Now I have one more question: With your method moves made on your external board are sent to CB-Emu on the PC, but the other direction is not possible, right? IOW, when the chess module in CB-Emu makes a move, you still have to look at the PC screen to see this move, i.e. the board LEDs on your external board do NOT show this move, right? Or have you even found any additional trick, so that your external board 'gets' the moves from CB-Emu? In principle this should be possible, especially now with the new PGN feature in the last versions, because whenever CB-Emu writes a move into 'gamelog.pgn', it could also send this move to any other target (file, console, screen, USB etc.). So in fact a 'full' communication (only for moves of course) between an external board and CB-Emu should be possible - only the direction 'CB-Emu to external board' would have to be solved. Regards, Franz |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
Through the MAME plugin chessengine created by Sandro Ronco, at least in Linux Ubuntu. And, of course, save the games in pgn format. A couple of examples: https://i.imgur.com/2jhAFm0.jpg https://i.imgur.com/j4DkeTz.jpg And if you want to see it in action you can see the following video: https://www.youtube.com/watch?v=eLgB...channel=CTFF16 Saludos, Luis |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi Luis
The question is, is this plugin also available for windows or only for Linux? I guess most of us don't want to install a second system on their computer. And some of us might also not be able to do that. |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
It should work on windows too, but I did not find any gui where it works.
But it is not necessary to install another operating system on your computer, with VirtualBox you can emulate it with already created disks. Ubuntu is not a problem, they are some details. I had never used it and I started using it for the chessengine autoplayer. I'm preparing a "tutorial" explaining the details. Regards, Luis |
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Zitieren:
But Franz, believe me, I am a very happy man already if CB-Emu should stay as it is! Greetings, hyppyp |
| Alle Zeitangaben in WEZ +1. Es ist jetzt 02:52 Uhr. |
Powered by vBulletin (Deutsch)
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
©Schachcomputer.info