Creating a Mod File - Gorzontrok/Bro-Maker GitHub Wiki

Mod Files

Since v2.3.0, BroMaker uses mod files. A mod file is a JSON file that shows BroMaker where all of your custom bros and abilities are. The file must end with .mod.json. Example from Bronobi:

{
    "Name": "Bronobi",
    "Version": "1.0.0",
    "BroMakerVersion": "0.0.0",
    "Author": "Gorzontrok",

    "CustomBros":[
        "Bronobi.json"
    ],
    "Assemblies": [
        "Bronobi.dll"
    ],
    "Abilities":[
        "BronobiForceWave.json"
    ]
}

"Name": The name of the mod.
"Version": Version of the mod.
"BroMakerVersion": Minimum version of BroMaker required to load the mod.
"Author": The author of the mod.
"Assemblies": Custom Assemblies (.dll files), needed for the mod to work. Must be a file path that starts at the folder of the mod file.
"CustomBros": Custom Bro JSON files which are going to be loaded. Must be a file path that starts at the folder of the mod file.
"Abilities": Ability JSON files to load. Must be a file path that starts at the folder of the mod file.

Bronobi's File Hierachy is:

Bronobi/
- gz.bronobi.mod.json
- Bronobi.dll
- Bronobi.json
- ...