========================================================================
DXLog.net – Konfigurace pro MOON Contest (50 / 144 / 432 / 1296 MHz)
Autor definice: OK2WO
(English version below / Anglicka verze nize)
========================================================================

1. INSTALACE SOUBORU
--------------------
Zkopirujte soubory z baliku do prislusnych slozek:

  a) Do uzivatelskeho adresare DXLog.net
     (v programu: File -> Open configuration folder):
       - MOON_CONTEST.txt -> slozka \Contest\
       - QTH_db.txt       -> slozka \Database\

  b) (Volitelne) Do slozky, kam ukladate vysledne .edi soubory:
       - pomocna utilita pro porovnani .edi deniku s databazemi
         (napr. diff_moon_db.exe)

Po nakopirovani souboru do adresaru DXLog.net program restartujte.


2. NASTAVENI ZAVODU (File -> New)
---------------------------------
1. Vyberte zavod: MOON_CONTEST (skupina VHF/UHF/SHF).
2. V okne konfigurace zavodu povinne vyplnte:
   - Grid (Locator): vas 6znakovy WWL lokator (napr. JN89XX)
   - Exchange: vase vlastni QTH (napr. Brno) – program toto pole
     vyzaduje a vklada ho do CW makier ($EXCHANGE).
3. Jednotliva kola zavodu (kazdou stredu v mesici od 19:00 do 21:00 UTC,
   rotace pasem 2 m, 70 cm, 6 m a 13 cm) se v dialogu zvlast nevybiraji;
   DXLog.net urcuje prislusne pasmo pro export do EDI podle aktualniho
   kmitoctu z radia (CAT) / nastaveneho pasma v programu.


3. PREPINANI MODU A LOGOVANI DIGITALNICH MODU
---------------------------------------------
V zadavacim radku (napsanim nazvu modu do pole znacky + Enter) lze
primo prepinat techto 5 nativnich modu DXLog.net:

  - CW
  - SSB
  - FM
  - PSK
  - RTTY

Dulezite pro ostatni digitalni mody (HELL, SSTV, C4FM, D-STAR, FT8/FT4):
DXLog.net nepodporuje zadani techto nazvu primo v poli znacky. Pro
zapsani spojeni libovolnym jinym digitalnim modem prepnete DXLog
prikazem PSK nebo RTTY. Pri exportu do soutezniho deniku (.edi) se
vsechna spojeni v modech PSK i RTTY ulozi pod jednotnym REG1TEST
kodem 7 (DIGI).

Poznamka pro hlasove digitalni mody (C4FM, D-STAR):
Pri logovani pres PSK/RTTY predvyplni DXLog vychozi report 599.
U fonickych digitalnich modu C4FM a D-STAR opravte v deniku report
rucne na dvouciferne hodnoceni (napr. 59).

Prehled mapovani modu pri exportu do EDI:
  - SSB        -> kod 1
  - CW         -> kod 2
  - FM         -> kod 6
  - PSK / RTTY -> kod 7 (DIGI)


4. PRAVIDLA SPOJENI, KONTROLA DUPLICIT A BODOVANI
-------------------------------------------------
- Automaticka kontrola duplicit je v DXLog.net zapnuta a vyhodnocuje
  se samostatne pro 3 skupiny modu (CW, PHONE, DIGITAL).
- S kazdou stanici lze v jednom kole navazat maximalne 3 bodovana
  spojeni – po jednom v kazde ze 3 skupin modu:
    1) CW
    2) PHONE (SSB nebo FM – druhe spojeni v ramci PHONE se oznaci
       jako DUPE)
    3) DIGITAL (PSK nebo RTTY – vcetne ostatnich digitalnich modu;
       druhe spojeni v ramci DIGITAL se oznaci jako DUPE)
- Povinne predavane udaje v zadavacim radku:
  Znacka | RST | Rcv Nr (cislo QSO) | Grid (WWL) | QTH
- Bodovani: 1 km = 1 bod (QRB), spojeni ve stejnem 6znakovem WWL = 1 bod.


5. EXPORT DENIKU A POROVNANI S DATABAZEMI PO ZAVODE
----------------------------------------------------
1. Exportujte soutezni denik ve formatu REG1TEST (.edi) pres menu:
     File -> Export -> EDI
2. (Volitelne) Porovnani deniku s databazemi pro rucni doplneni:
   - Spustte pomocnou utilitu (napr. diff_moon_db.exe) a vyberte
     exportovany .edi soubor (nebo jej pretahnete na spustitelny
     soubor / zadejte z prikazoveho radku).
   - Utilita porovna spojeni se soubory v \Database\ (QTH_db.txt a
     vhf_uhf_r1_db.txt) a zapise nove znacky a zmeny ve tvaru
     ZNACKA=HODNOTA do souboru diff_db.txt ve slozce s .edi souborem.
   - Zkontrolovane radky pak muzete rucne zkopirovat do prislusnych
     databazi.
3. Varovani k aktualizaci databazi:
   - Nepouzivejte funkci "Options -> Data files -> Update prefill
     database from log". Pri pouziti dvou databazi (vhf_uhf_r1_db.txt
     a QTH_db.txt) muze tato funkce nespravne prepsat existujici
     lokatory nebo ulozit chybne/nekompletni udaje.
   - Stejne tak nenechavejte zapnuty automaticky zapis do databazi
     (AUTO_UPDATE_DB=NO).
   - Pred kazdou upravou databazovych souboru si udelejte jejich zalohu.


========================================================================
DXLog.net – Configuration for MOON Contest (50 / 144 / 432 / 1296 MHz)
Definition author: OK2WO
========================================================================

1. FILE INSTALLATION
--------------------
Copy the files from the package into the appropriate folders:

  a) Into the DXLog.net user configuration folder
     (in DXLog.net: File -> Open configuration folder):
       - MOON_CONTEST.txt -> \Contest\ folder
       - QTH_db.txt       -> \Database\ folder

  b) (Optional) Into the folder where you save your exported .edi logs:
       - helper utility for comparing the .edi log against databases
         (e.g., diff_moon_db.exe)

After copying the files into the DXLog.net folders, restart the program.


2. CONTEST SETUP (File -> New)
------------------------------
1. Select the contest: MOON_CONTEST (VHF/UHF/SHF group).
2. In the contest configuration window, fill in the mandatory fields:
   - Grid (Locator): your 6-character WWL locator (e.g., JN89XX)
   - Exchange: your own QTH (e.g., Brno) – required by the program
     and inserted into CW macros ($EXCHANGE).
3. Individual contest rounds (every Wednesday evening of the month,
   19:00–21:00 UTC, rotating through 2m, 70cm, 6m, and 13cm) are not
   selected separately in the setup dialog; DXLog.net determines the
   correct band for EDI export from the current radio frequency (CAT)
   or the band selected in DXLog.


3. MODE SWITCHING AND LOGGING DIGITAL MODES
-------------------------------------------
In the entry line (by typing the mode name into the callsign field +
Enter), you can directly switch between these 5 native DXLog.net modes:

  - CW
  - SSB
  - FM
  - PSK
  - RTTY

Important for other digital modes (HELL, SSTV, C4FM, D-STAR, FT8/FT4):
DXLog.net does not recognize these names as direct entry-line commands.
To log a QSO in any other digital mode, switch DXLog using the PSK or
RTTY command. When exported to the REG1TEST (.edi) log, all QSOs logged
under PSK or RTTY are saved with the unified REG1TEST mode code 7 (DIGI).

Note for digital voice modes (C4FM, D-STAR):
When logging via PSK/RTTY, DXLog pre-fills a 3-digit default report (599).
For C4FM and D-STAR voice QSOs, manually edit the report in the log to
a 2-digit readability/strength report (e.g., 59).

Mode mapping overview for EDI export:
  - SSB        -> code 1
  - CW         -> code 2
  - FM         -> code 6
  - PSK / RTTY -> code 7 (DIGI)


4. QSO RULES, DUPLICATE CHECKING, AND SCORING
---------------------------------------------
- Automatic duplicate checking is enabled in DXLog.net and evaluated
  separately across the 3 mode groups (CW, PHONE, DIGITAL).
- Each station can be worked for points up to 3 times per round – once
  in each of the 3 mode groups:
    1) CW
    2) PHONE (SSB or FM – a second QSO within PHONE is flagged as DUPE)
    3) DIGITAL (PSK or RTTY – including all other digital modes; a
       second QSO within DIGITAL is flagged as DUPE)
- Mandatory exchange fields in the entry line:
  Callsign | RST | Rcv Nr (QSO number) | Grid (WWL) | QTH
- Scoring: 1 km = 1 point (QRB), same 6-character WWL = 1 point.


5. LOG EXPORT AND POST-CONTEST DATABASE COMPARISON
--------------------------------------------------
1. Export the contest log in REG1TEST (.edi) format via:
     File -> Export -> EDI
2. (Optional) Comparing the log with databases for manual updates:
   - Run the helper utility (e.g., diff_moon_db.exe) and select the
     exported .edi file (or drag and drop the .edi file onto the
     executable / pass it from the command line).
   - The utility compares QSOs against the files in \Database\
     (QTH_db.txt and vhf_uhf_r1_db.txt) and writes new callsigns and
     differences in CALLSIGN=VALUE format to diff_db.txt in the same
     folder as the .edi file.
   - After reviewing the entries, you can manually copy them into the
     target database files.
3. Database update warning:
   - Avoid using "Options -> Data files -> Update prefill database from
     log". When two databases are configured (vhf_uhf_r1_db.txt and
     QTH_db.txt), this function may incorrectly overwrite existing
     locators or write misplaced/incomplete fields.
   - Keep automatic database writes disabled (AUTO_UPDATE_DB=NO) as well.
   - Always back up both database files before making any edits.