Skip to content

Using custom AHK templates

Aaron Klaassen edited this page Sep 25, 2018 · 1 revision

Primarily for the purpose of hotfixing bugs, it's possible to set up your Winnitron to use a custom AHK script template by specifying it at the top level of winnitron_options.json file:

{
  "meta": {
    "comment": "This is a winnitron_options.json snippet."
  },
  "ahk": {
    "default": "/path/to/template.ahk.template"
  }
}

Note that these files aren't ready-to-compile AHK; they are templates that the Launcher uses to construct the final script that runs along with the game to handle keymap translation, etc. You can see the default template that the Launcher uses here. If you're going to use this feature, we strongly recommend you start by making a copy of this file and editing that.

Clone this wiki locally