Skip to content

Extension "Lardoon"

Lardoon is another web-server-based application that provides a nice search interface for Tacview files. It is based on Jambon an ACMI parser.
You can use it more or less like Sneaker. It contains of a single server instance, that runs on a specific port, and it'll import all Tacview files from all your servers. You can access the gui with your browser.

Configuration

# config/nodes.yaml
MyNode:
  # [...]
  extensions:
    Lardoon:
      cmd: '%USERPROFILE%\Documents\GitHub\lardoon\lardoon.exe'
      bind: 0.0.0.0:3113            # IP and port the (single) Lardoon server is listening to
      url: https://myfancyhost.com  # Alternate hostname to be displayed in your status embed 
      minutes: 5                    # Number of minutes the Lardoon database is updated
      use_single_process: true      # Start one Lardoon process instead of one per instance (default: true) 
      master_only: true             # Cluster only: if you only want one lardoon instance on the master node (default: false)
      auto_affinity:                # Optional: set core affinity
        min_cores: 1                # Min. number of cores to be used
        max_cores: 1                # Max. number of cores to be used
        quality: 1                  # Core quality (0 = low (E-cores), 1 = normal, 2 = high)
  # [...]
  instances:
    DCS.dcs_serverrelease:
      # [...]
      extensions:
        Lardoon:
          enabled: true
          debug: true                   # Show the Lardoon console output in the DCSSB console. Default = false
          bind: 0.0.0.0:3113            # Optional: IP and port this Lardoon server is listening to (only needed if use_single_process is false)
          url: https://myfancyhost.com  # Optional: Alternate hostname to be displayed in your status embed (only needed if use_single_process is false)
          minutes: 5                    # Optional: Number of minutes the Lardoon database is updated (only needed if use_single_process is false)
          tacviewExportPath: 'G:\My Drive\Tacview Files'  # Alternative drive for tacview files (default: auto-detect from Tacview)
Remember to add some kind of security before exposing services like that to the outside world, with, for instance, a nginx reverse proxy.
If you plan to build Lardoon on your own, I'd recommend the fork of Team LimaKilo.

Important

If you want to start multiple Lardoon processes, set use_single_process to false and make sure that you add a "bind" parameter to each instance configuration.

Tip

You can rename the Lardoon extension in your server status embed by setting a "name" in the configuration like so:

extension:
  Lardoon:
    name: MyFancyName  # Optional: default is "Lardoon"


Configuration reference

Key Type Description Example
enabled bool Whether this extension is enabled on this node. true
name str Extension name shown in the server status embed. (range: min 1) Lardoon
use_single_process bool Start one Lardoon process instead of one per instance. true
master_only bool Run a single Lardoon instance on the master node when clustered. false
cmd str (required) Path to the Lardoon executable. (range: min 1) %USERPROFILE%\Documents\GitHub\lardoon\lardoon.exe
minutes int Minutes between updates of the Lardoon database. 5
bind str IP and port the Lardoon server is listening to. 0.0.0.0:3113
url url Alternate hostname shown in the server status embed. https://myfancyhost.com
auto_affinity map Optional core affinity settings for the Lardoon process. min_cores: 1
max_cores: 1
quality: 1
enabled bool Whether the Lardoon extension is enabled. true
name str Extension name shown in the server status embed. (range: min 1) Lardoon
debug bool Show the Lardoon console output in the DCSSB console. false
minutes int Minutes between updates; only used if use_single_process is false. 5
bind str IP and port this instance listens to; needed if not single process. 0.0.0.0:3113
url url Alternate hostname shown in the embed; needed if not single process. https://myfancyhost.com
tacviewExportPath str Alternative directory holding the Tacview files. (range: min 1) G:\My Drive\Tacview Files
auto_affinity map Optional core affinity settings for the Lardoon process. min_cores: 1
max_cores: 1
quality: 1

node_lardoon

Key Type Description Example
auto_affinity.min_cores int Minimum number of CPU cores to use. (range: min 1, max 1) 1
auto_affinity.max_cores int Maximum number of CPU cores to use. (range: min 1, max 2) 1
auto_affinity.quality int Core quality; 0 = low (E-cores), 1 = normal, 2 = high. (range: min 0, max 1) 1

instance_lardoon

Key Type Description Example
auto_affinity.min_cores int Minimum number of CPU cores to use. (range: min 1, max 1) 1
auto_affinity.max_cores int Maximum number of CPU cores to use. (range: min 1, max 2) 1
auto_affinity.quality int Core quality; 0 = low (E-cores), 1 = normal, 2 = high. (range: min 0, max 1) 1