How to read create your own files - Chsbrgr/LiveSplit.Kaizo.USB2SNES GitHub Wiki

Welcome to the LiveSplit.Kaizo.USB2SNES wiki! If you want to build your own livesplit json definition files, here is a simple guide to them.

The files are written in a JSON format. If you're unfamiliar with JSON, Check out this guide on what JSON is: W3Schools What Is JSON. At it's core, it's a layered name/value pair notation.

Game Name and start definitions

The top of the file starts with the name, this must match the game title in Livesplit. Next is the Autostart definition. It is how the autosplit knows when to start the timer, based on memory values.

    "name": "Love Yourself",
    "autostart": {
        "active": "1",
        "address": "0x0100",
        "value": "0x07",
        "type": "eq",
        "next": [
            {
                "address": "0x0100",
                "value": "0x0a",
                "type": "gt"
            }
        ],
        "_comment": "Looks for file select screen, then any screen after 1p/2p start. This will autostart immediately on starting the game, and prevent the autostart from triggering while resetting splits before console"
    },