Configuring the EOP launcher and settings

Configure the UI

Note: Remember that JSON does not allow comments so do not copy these examples directly

eopData/uiCfg.json

{
    "hideLauncher": false, // Hide the launcher completely and just load the mod directly
    "modCfgFile": "", // The default config file to use (e.g TATW.cfg)
    "musicVolume": 15, // The volume level of the background music
    "playBackgroundMusic": false, // Whether music should play automatically when starting the launcher
    "useM2TWEOP": true, // Whether EOP should be enabled when running the mod
    "useVanillaCfg": true, // Don't read the modCfgFile but just read medieval2.preference.cfg
    "modTitle": "Divide and Conquer: AGO", // Sets the title of the launcher window and the "Run" button and helps aid detection of your mod for the Discord Rich Presence features
    "runButtonColor": "123,40,145,185", // Color of the run button in this format (red(0-255), green(0-255), blue(0-255), alpha(0-255))
    "runButtonHoverColor": "145,40,145,175" // Hover/highlight color of the run button in this format (red(0-255), green(0-255), blue(0-255), alpha(0-255))
}

Configure the Battles

eopBattles/battlesCfg.json

{
    "enableAutoGeneration": false, // Whether we should automatically generate the details of a battle to play online when we load into a battle
    "enableResultsTransfer": false // Whether we should automatically prompt the player to transfer the results of a battle to the campaign map
}

Configure the Game

eopData/gameCfg.json

{
    "isBlockLaunchWithoutEop": false, // Should we stop the mod running if EOP is not enabled (Read more about this option in the FAQ)
    "isDiscordRichPresenceEnabled": true // Should we enable Discord Rich Presence
}

Configure the Game

eopData/discordRichPresenceCfg.json

If Discord Rich Presence is enabled, EOP will write information about your campaign to this file which is then read and used to update your Discord Rich Presence status. It is recommended not to write manually to this file.

{
    "factionName": "Kingdom of Gondor",
    "turnNum": "55",
    "status": "On the campaign map 🗺️"
}