# Goalkeeper 3D Kit Manager

This mod lets you replace the 3D goalkeeper kits in Football Manager 26. FM has always let you
change outfield 3D kits but never the keeper's. Now you can, per team, for home, away and third.

## Install

1. Close Football Manager.
2. Open your Football Manager 26 folder. In Steam, right-click Football Manager 26, choose Manage,
   then Browse local files. This is the folder with `Football Manager 26.exe` in it.
3. Open the `Goalkeeper 3D Kit Manager` folder from this download and copy everything inside it (the
   `BepInEx` and `dotnet` folders, `version.dll`, `doorstop_config.ini` and the rest) into your
   Football Manager 26 folder.
4. When Windows asks, choose to merge and replace.
5. Start the game once. The first launch takes a bit longer than usual while it sets up. That is
   normal.

To remove the mod later, delete `BepInEx`, `dotnet`, `version.dll`, `doorstop_config.ini` and
`.doorstop_version` from your Football Manager 26 folder.

## Adding goalkeeper kits

Goalkeeper kits live with your other kits, in:

```
Documents\Sports Interactive\Football Manager 26\graphics\Kits\3d
```

If you have a goalkeeper kit pack, install it the way you install any kit pack: copy its folders
into that `3d` folder and let them merge. Start a match and the keeper wears the kit.

The keeper wears the kit that matches what his team is wearing that match. If the team lines up in
its away strip, the keeper wears the away goalkeeper kit. If there is no goalkeeper kit for that
strip, the keeper keeps the game default.

## Making your own

A goalkeeper kit is one texture plus one line in the team folder's `config.xml`.

1. Save the texture in the team's kit folder, named for the team ID and the slot:
   `1250_gk_home.png`, `1250_gk_away.png`, or `1250_gk_third.png`.
2. Add one line to that folder's `config.xml`, inside the `<list id="maps">` block:

   ```xml
   <record from="1250_gk_home" to="graphics/pictures/team/1250/kit_textures/gk_home"/>
   ```

Use the same texture layout as an outfield 3D kit. The quickest start is to copy an existing
`_kit_texture.png`, repaint it, and rename it.

## If a kit does not show

Open `BepInEx\LogOutput.log` in your Football Manager 26 folder and search for `GKKit`. On startup
it lists how many goalkeeper kits it found. During a match it logs each keeper it changes. If it
found zero, check the texture file name and the `config.xml` line.
