Folgende 5 Benutzer sagen Danke zu fhub für den nützlichen Beitrag: | ||
Agep (27.11.2019), germangonzo (27.11.2019), Hartmut (27.11.2019), MikeChess (27.11.2019), Robert (28.11.2019) |
|
|||||||||||
AW: MessChess und Arena - Fragen und Antworten
Franz, Du bist "simply the best". Danke erneut für Deine Mühe
__________________
Mein Profil beim ICCF (International Correspondence Chess Federation) https://www.iccf.com/player?id=89948&tab=3 |
|
|||||||||||
AW: MessChess und Arena - Fragen und Antworten
Außerdem hab ich die Tonsignale vor der Level-Änderung aus- und danach wieder eingeschaltet, weil diese Novags ziemlich lange Töne von sich geben und sogar jeweils 2 bei jedem Tastendruck, sodaß das bei der Level-Einstellung ziemlich nervt (vielleicht weiß ja 'hap' eine bessere Methode als die 'Sound'-Taste des jeweiligen Modells?).
__________________
Mein Profil beim ICCF (International Correspondence Chess Federation) https://www.iccf.com/player?id=89948&tab=3 |
|
|||||||||||
AW: MessChess und Arena - Fragen und Antworten
Aber bei Deinen Turnieren (vor allem bei höheren Geschwindigkeiten) wäre es ja ohnehin besser, die Option 'sound' in allen INI-Dateien bei MessChess von 'auto' auf 'none' zu ändern. |
|
|||||||||||
Re: MessChess und Arena - Fragen und Antworten
I expect it is possible to mute the sound. But honestly, I have never progammed anything LUA (let alone with MAME). So I don't know how.
|
|
|||||||||||
AW: Re: MessChess und Arena - Fragen und Antworten
If yes, then maybe I could find a way, so that LUA calls or excutes this MAME command. |
|
|||||||||||
Re: MessChess und Arena - Fragen und Antworten
I think something like set_input_gain or set_output_gain. But it would differ per driver depending on sound hardware used.
I also had a look at luaengine.cpp and see this: * sound:system_mute() - turns on/off system sound |
Folgender Benutzer sagt Danke zu hap für den nützlichen Beitrag: | ||
fhub (27.11.2019) |
|
|||||||||||
AW: Re: MessChess und Arena - Fragen und Antworten
I've tried it in many different variations, but as soon as I include this command in the plugin, it simply doesn't work anymore (but without any error message). I guess only Sandro could tell us, how this command can be used in a plugin (if at all), or what requirements would be needed. |
|
|||||||||||
Re: MessChess und Arena - Fragen und Antworten
Like this?
manager:machine():sound():system_mute(1) manager:machine():sound():system_mute(0) |
|
|||||||||||
AW: Re: MessChess und Arena - Fragen und Antworten
If I put the 1st line at the beginning of the function interface.setlevel(), I get this error message: "...: attempt to index a nil value (global 'manager')". If I put this command a few lines below (where it is only excuted when I change the level), then absolutely nothing happens if I actually (try to) change the level, also no error message in this case - it looks at if the setlevel() function would just be exited when this line is reached. This LUA is really a crap ... |
|
|
Ähnliche Themen | ||||
Thema | Erstellt von | Forum | Antworten | Letzter Beitrag |
MessEmu: MessChess und Winboard | fhub | Mess Emu & andere Emulationen / Mess Emu and other Emulations | 33 | 13.10.2019 14:16 |
Frage: Oldies auf modernem PC installieren: Fragen über Fragen | Mythbuster | Oldie & Retro Schachprogramme / Chess Programs | 103 | 22.04.2019 01:13 |
Frage: Ein paar fragen zu Arena Engines. | marsias | Die ganze Welt der Schachcomputer / World of chess computers | 4 | 06.10.2016 21:45 |
Info: Excalibur Fragen und Antworten | spacious_mind | Die ganze Welt der Schachcomputer / World of chess computers | 23 | 26.10.2008 22:57 |