Skip to content

Perfect Database

Calcitem edited this page Dec 25, 2023 · 31 revisions

How to Download and Use the Perfect Database

English German Hungarian Spanish Portuguese Russian Chinese Chinese

Introduction

This Wiki is tailored to guide users through the process of downloading and employing the perfect database for Nine Men's Morris and Twelve Men's Morris, with support extended to Android, Windows, and Linux versions. It should be noted that the database is optimized for the standard rules of the game; applying it to non-standard rule sets may result in diminished playing strength.

Downloading the Database

Database Download Link: Click the link below for the torrent file to download the perfect database.

Download the File: Use the downloaded torrent file to complete the download and access the database files.

Configuration Steps

For Android

Transfer to Device: Copy the downloaded .secval, .statistics and .sec2 files to the Android\data\com.calcitem.sanmill\files\strong directory on your Android device's storage. Ensure that the copied files are placed directly within the strong directory, which should be named exactly as strong (NOT Strong) if it does not already exist. Additionally, ensure that there are no subdirectories within the strong directory itself.

Warning: The Android\data\com.calcitem.sanmill directory will be deleted if you uninstall the app. Consider backing up the strong directory before uninstalling. However, this directory will not be deleted if you are only upgrading the app version.

For Windows

File Transfer: Copy the downloaded .secval, .statistics and .sec2 files to the strong folder located in the "Documents" directory. If the strong folder does not exist, create one, ensuring the name is exactly strong (NOT Strong), and make sure there are no subdirectories within the strong folder.

Handling Insufficient Space with Symbolic Links: If the disk space where your "Documents" folder resides is insufficient, you can create the actual strong folder on another disk and create a symbolic link to it in the "Documents" directory.

For example:

  1. Create a folder on another drive (such as E: drive), with the path E:\Std_DD_89adjusted.

  2. Place the .secval, .statistics, and .sec2 files in E:\Std_DD_89adjusted.

  3. Open Command Prompt (as an administrator).

  4. Assuming the actual path of your "Documents" is D:\users\user\Documents, execute the following command:

    mklink /D "D:\users\user\Documents\strong" "E:\Std_DD_89adjusted"

    This command creates a symbolic link named strong in D:\users\user\Documents, pointing to the strong folder on the E: drive at E:\Std_DD_89adjusted.

For Linux

  • Locate Mill: Find the Mill application in the folder where you installed the Mill game.
  • Move the Database File: Place the downloaded files in the same directory as Mill.

Partial File Usage for Limited Storage

If you have limited disk or storage space, you can opt to copy only a part of the .sec2 files to the directory. The game will use data from the .sec2 files if they are found. If the .sec2 files are not present, the game will revert to using traditional AI.

Using the Perfect Database

Once you've completed the above steps, the Mill game will automatically load the perfect database, enhancing your gameplay experience with higher precision.

When the AI selects a move from the database, the advantage indicator will be displayed in a semi-transparent manner.

Gameplay Settings

When the game successfully loads data from the Perfect Database, the following settings in Settings become inactive:

General Setting
    Difficulty level
    AI thinking time
    Algorithm
    Draw on the human experience
    Consider mobility of pieces
    Passive

If the game fails to load the data, these configurations will be active and applicable.

Notes

  • Ensure the database files are in the correct directory.
  • If the game does not load the database, please verify your file path.

Developer Acknowledgment

The perfect database was developed by third parties, specifically Gábor Gévay and Gábor Danner.

Conclusion

By following these instructions, you can effectively utilize the perfect database, significantly enhancing your gameplay experience.

For any questions or further assistance, please feel free to contact us.

Clone this wiki locally