Schachcomputer.info Community

Schachcomputer.info Community (https://www.schachcomputer.info/forum/index.php)
-   Mess Emu & andere Emulationen / Mess Emu and other Emulations (https://www.schachcomputer.info/forum/forumdisplay.php?f=53)
-   -   Info: New emulation project (https://www.schachcomputer.info/forum/showthread.php?t=7336)

M.Z 16.09.2025 14:07

New emulation project
 
Taking inspiration from Rodent I wanted to create a more refined and realistic emulation
The project also extends to the emulation of a new version of The King 2.61 as a starting point

Personalities via JSON (e.g., Emu) example Capablanca:
HTML-Code:

{
    "name": "Jose Capablanca",
    "description": "A positional and strategic genius, known for effortless precision and flawless endgame technique.",
    "Personality": true,
    "Elo": 2877,
    "Elo_Note": "Suggested Elo: 2877",
    "PersonalityBook": true,
    "BookFile": "books/capablanca.bin",
    "BookWidth": 7,
    "BookDepth": 13,
    "evaluation": {
        "Aggressiveness": 12,
        "RiskTaking": 10,
        "KingSafety": 30,
        "PieceActivity": 38,
        "PawnStructure": 34,
        "KnightPair": 28,
        "BishopPair": 30,
        "Defense": 28,
        "CalculationDepth": 18,
        "EndgameKnowledge": 38,
        "PieceSacrifice": 18,
        "CenterControl": 42,
        "PositionClosure": 30,
        "PieceTrade": 28,
        "KingAttack": 20,
        "PositionalSacrifice": 14,
        "KnightVsBishop": -10,
        "PawnPush": 16,
        "OpenFileControl": 40,
        "RookActivity": 28,
        "PawnStorm": 10,
        "SacrificeFrequency": 10,
        "KingMobility": 24,
        "PieceCoordination": 44,
        "HumanImperfection": 8
    },
    "explanation": {
        "Aggressiveness": "Capablanca was a calm and precise player, preferring strategic advantages over direct attacks.",
        "RiskTaking": "He avoided unnecessary risks, relying on deep positional understanding.",
        "KingSafety": "Capablanca rarely exposed his king unnecessarily, always ensuring its safety.",
        "PieceActivity": "He placed his pieces optimally but did not seek hyperactivity.",
        "PawnStructure": "He played with a clean, well-structured pawn game, ensuring long-term advantages.",
        "KnightPair": "Knights were useful to him, but he didn't rely on them heavily.",
        "BishopPair": "Bishops played a key role in his precise positional style.",
        "Defense": "He was extremely solid, hard to beat, and rarely made blunders.",
        "CalculationDepth": "While not a deep calculator like Tal, he made highly effective moves.",
        "EndgameKnowledge": "His endgame technique was nearly perfect, making him one of the greatest in history.",
        "PieceSacrifice": "Unlike Tal, he rarely sacrificed material unless it guaranteed a clear advantage.",
        "CenterControl": "Capablanca always controlled the center with impeccable precision.",
        "PositionClosure": "He often played closed positions to outmaneuver opponents positionally.",
        "PieceTrade": "He had no problem trading pieces to simplify into winning endgames.",
        "KingAttack": "Unlike Tal, Capablanca attacked only when completely justified.",
        "PositionalSacrifice": "Sacrifices were rare, but he used them occasionally for positional advantages.",
        "KnightVsBishop": "He slightly favored bishops over knights due to their long-range power.",
        "PawnPush": "He advanced pawns carefully, favoring long-term positional benefits.",
        "OpenFileControl": "He expertly utilized open files for his rooks to maximize control.",
        "RookActivity": "His rooks supported centralization and open files, not tactical outbursts.",
        "PawnStorm": "Rarely used; he preferred calm buildup rather than flanks attacks.",
        "SacrificeFrequency": "Minimal sacrifices were always fully justified and positionally sound.",
        "KingMobility": "In endgames his king was highly active, always centralizing efficiently.",
        "PieceCoordination": "Excellent his pieces operated smoothly with maximum synergy.",
        "HumanImperfection": "Capablanca played with incredible precision, making very few mistakes. A low value ensures near-flawless decision-making."
    },
    "loss_streak": 0
}

Controlled HI (Human Imperfection): enabled also at ≤2100 Elo but clamped.

effectiveHI ≤ 12% at Elo ≤2100

cpTol for HI ≤ 30 at low Elo

HI only in roughly equal positions (winBand ±90cp at low Elo)

Stronger SafetyGuard at low Elo: rejects PVs that drop material immediately.

blunderTol = max(90, cpTolGuard + 10) when Elo ≤2100

Calibration: EloCalibOffset lets you realign effective strength to real matchups without changing the style.

Sample log:

https://outskirts.altervista.org/for...771b9d7fff.png

example game:
https://lichess.org/RFmQdtJl#5

Wandersleben 16.09.2025 14:17

AW: New emulation project
 
In Germany we say: "I understand only railway station!"

M.Z 16.09.2025 14:22

Re: AW: New emulation project
 
Zitieren:

Zitat von Wandersleben (Beitrag 134063)
In Germany we say: "I understand only railway station!"

no understand sorry

MichaelN 16.09.2025 15:07

AW: Re: AW: New emulation project
 
Zitieren:

Zitat von M.Z (Beitrag 134064)
no understand sorry

I think that as a less technically savvy reader, it's difficult to understand, based solely on your code snippets, what you intend to achieve with such a new emulation, or what the result of this new project should look like? For example, what do you mean by "I wanted to create a more refined and realistic emulation"? A new (King 2.61) engine or only an adjustment?
Some further information would be helpful :)

Best regards,
Michael

M.Z 16.09.2025 17:29

Re: AW: Re: AW: New emulation project
 
Zitieren:

Zitat von MichaelN (Beitrag 134067)
I think that as a less technically savvy reader, it's difficult to understand, based solely on your code snippets, what you intend to achieve with such a new emulation, or what the result of this new project should look like? For example, what do you mean by "I wanted to create a more refined and realistic emulation"? A new (King 2.61) engine or only an adjustment?
Some further information would be helpful :)

Best regards,
Michael

Hi Michael,
I haven't actually published any code snippets, but what you see in the first row is the json file that loads all the parameter values ​​for each character, such as Tal, Capablanca, Petrosian, Nakamura, and so on. The second row is the engine output, which returns all the information related to the engine's automatic real-time adjustments based on the initial settings and game progress.

Regarding The King, my project envisions an emulation style as close as possible to version 2.61, while maintaining a predominantly active and risky game.

Any questions will be appreciated.

Best regards,
Marco


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:11 Uhr.

Powered by vBulletin (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©Schachcomputer.info