Einzelnen Beitrag anzeigen
  #6802  
Alt 15.11.2025, 10:51
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 3.014
Abgegebene Danke: 655
Erhielt 7.612 Danke für 1.699 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss3014
AW: Mess Emulator für diverse Schachcomputer ist fertig!

Hi,

ich hab jetzt nochmal ein CB-Emu_Update hochgeladen, weil ich dieses 'Help > Open Chess Manual' wesentlich komfortabler gestaltet habe.

Es wird nämlich jetzt ein im Dateidialog geöffnetes, lokal gespeichertes Manual automatisch in der Datei 'Manuals.txt' eingetragen, sodaß man selber nun gar nichts mehr tun muß, damit bei zukünftigen Aufrufen dieses Manual automatisch geöffnet wird.

Dabei wird jetzt in 'Manuals.txt' mit jedem Dateinamen auch der komplette Dateipfad gespeichert, sodaß eine bereits existierende 'Manuals.txt' (falls überhaupt jemand eine solche schon erzeugt hat) nicht mehr funktioniert (z.B. hat [MANUAL_PATH] am Anfang jetzt eine andere Funktion).
Daher ist in diesem Update eine solche Datei 'Manuals.txt' enthalten, damit eine evt. vorhandene alte Version überschrieben wird - in zukünftigen CB-Emu-Versionen dann aber nur mehr eine Datei 'Manuals.lst', sonst wären ja frühere Einträge wieder verloren.

Kurz gesagt: mit diesem Update (für die EXEs und das Verzeichnis 'manual') braucht man sich um diese Datei 'Manuals.txt' nicht mehr kümmern.
Nur wenn man eine falsche PDF-Datei für eine Engine geöffnet hat, dann muß man sie auch selber wieder aus 'Manuals.txt' entfernen (Strafe muß sein! )

Hier noch die Beschreibung der genaueren Funktionsweise wie in der Datei 'manual\Readme.txt' beschrieben:
Code:
To automatically open a locally stored manual (*.pdf or *.txt) for the current
chess engine, use the menu option 'Help > Open Chess Manual' in the engine window.

This option works as follows:
-----------------------------
1) It looks for a file 'Manuals.txt' in the folder 'CB-Emu\manual' - if this file
   does not exist, it will be recreated from the template 'Manuals.lst'.
2) This file is then searched for the name of the current chess engine (#engine#) -
   if the engine name is not found, then a new entry '#engine#' is added at the end.
3) If the name (including path) of an existing manual is found in the following line,
   then this file will be opened automatically.
   If no such entry exists or if the file cannot be found, a file dialog will open
   where you can search for the desired manual yourself - the name of this manual file
   (including path) will then be automatically added to 'Manuals.txt'.

Important remarks:
------------------
1) In the 2nd line of 'Manuals.txt' (after [MANUAL_PATH]) you can optionally enter the
   full path to your chess manuals folder as starting directory in the file dialog.
2) If you accidentally selected a wrong manual for a chess engine in the file dialog,
   you have to delete this incorrect entry in 'Manuals.txt' yourself, otherwise this
   wrong manual will be automatically loaded again in the future.
3) In future CB-Emu updates, you should copy an existing 'Manuals.txt' file from the
   previous CB-Emu version into the new 'CB-Emu\manual' directory to avoid losing
   existing entries for chess manuals.

Grüße,
Franz
__________________
Meine Webseite: https://fhub.jimdofree.com/

Geändert von fhub (16.11.2025 um 10:47 Uhr)
Mit Zitat antworten
Folgende 19 Benutzer sagen Danke zu fhub für den nützlichen Beitrag:
achimp (15.11.2025), Agep (17.11.2025), Chessguru (15.11.2025), DirkS (18.11.2025), germangonzo (15.11.2025), Hartmut (15.11.2025), Jo (15.11.2025), kamoj (15.11.2025), M.Z (17.11.2025), Mapi (15.11.2025), Mark 1 (15.11.2025), Michael (19.11.2025), MikeChess (15.11.2025), Mychess (06.12.2025), Robert (17.11.2025), Tibono (15.11.2025), Tintenfisch (15.11.2025), udo (17.11.2025), Wandersleben (15.11.2025)