Coach file hacking in Backyard Football

This is a guide on how to edit coach files in *Backyard Football*, either for personal use or to make an offline league. (like the rBBL). As of now, there isn't any plans to adapt this into the patched online mode.

## Disclaimers

* If viewing this article on mobile, change your viewing setting to "Desktop view" or else the article's formatting won't work.
* Changing these teams can corrupt your save file forever. It is recommended that you do this with a new coach file, not your existing one. Otherwise, change these at your own risk.
* This article only applies to the 1999 version of the game. The 2002 version has a different way of saving custom files
* You are free to add to or edit this article in case of any improvements or further discoveries.
* Apparently scrimmages with generics are broken because you have to score 70 pts to win.
* Needed documentation:
	+ Custom characters
	+ Stability during normal season play

## .sg1

*Backyard Football*'s coach files are identified by the file name "bfl#.sg1" with "#" being the coach number. Unlike coach files in *Backyard Baseball*, these are not made up in plain text and therefor cannot be opened in Notepad or Notepad++. Instead, you must open these files in a hex editor such as HxD.

Once you opened it up in the hex editor, it is recommended that you change the Bytes per Row from 16 to 82 to make editing it more easier. After that, open the Backyard Football resources spreadsheet to reference character hex codes.

### Team string

If changed to 82 bytes per row, your player controlled team string is located, starting on the `000000F6` offset, in column 0A to the end of the offset, then, on the `00000148` offset, until column 09. The above image is colour coded.

### `**0A**`: Team type

The column 0A represents what player is controlled. There are two values that this can take:

* 01: Player controlled;
* 02: Computer controlled.

Despite not having a built in spectator mode, you can play a CPU vs CPU scrimmage by simply changing the 01 into a 02 with your player.

### `**0B-0E**`: Team name

There are 43 adjectives, held in the `**0C**` column in Backyard Football: 10 "backyard" adjectives, 31 NFL city adjectives,one for the hidden "Taclking" and one (Erroneous) placeholder. Additionally, there are 42 nouns, held in the `**0E**` column. 41 work normally: 9 "backyard" nouns, 31 NFL nouns and one hidden "Dummies" noun. There is also a "Blunders" noun, however this crashes the game.

You can mix up these adjectives and nouns, creating 1,763 usable team name combinations.

An MLB team in Backyard Football. The adjective is 22 and the noun is 10.Dan Marino and Steve Young playing for the St Louis Cardinals.
### `**0F-12**`: Color

There are 9 primary colors (`**0C**`) and 9 secondary colors (`**0E**`) typically chosen via the main team select screen. Also, there is one more color set, if the hex is 00, that is cyan and lime. Also, many NFL teams have custom colors. **TO DO: Document these colors**

### `**22**`: Division

There are 4 divisions of 4 in the league. Column 22 denotes the division.

* **Backyard Conference**
	+ 01: Parks Division (note: you can only play in the Parks Division, trying to change divisions by swapping with another team won't work.)
	+ 02: Skyway Division (crashes)
* **Frontyard Conference**
	+ 03: Metro Division (crashes)
	+ 04: Highland Division (crashes)

## Rosters

Columns `22-51` in the top row and `00-07` in the bottom row denote the rosters. There are technically 28 total spots for your team however in reality there are only 7 players draftable, and are repeated in each spot. However, if you want to dominate your season with 28 different backyard and NFL pros, then you can. Here, you must use the spreadsheet above to reference hex IDs.

### `**23-30**`: Offense

1. Quarterback - 24
2. Running Back - 26
3. Center - 28
4. Wide Receiver - 2A
5. Wide Receiver - 2C
6. Reserve - 2E
7. Reserve - 30

Note: The offense roster is the only roster to appear in the statistics and the team photo. For example, if you load your offense up with 7 Pablos, then fill the other 21 spots with different players, Pablo Sanchez will only appear in the statistics.

### `**31-3E**`: Defense

1. Linebacker - 32
2. Safety - 34
3. Center - 36
4. Defensive Linesman - 38
5. Defensive Linesman - 3A
6. Reserve - 3C
7. Reserve - 3E

### `**40-4C**`: Kicking

Used in kickoff and punts.

1. Kicker - 40
2. Holder - 42
3. Center - 44
4. Blocker 1 - 46
5. Blocker 2 - 48
6. Reserve - 4A
7. Reserve - 4C

### `**4E-50**`; `**00-08**`: Kick Returning

Used in kickoff returning and punt returning.

1. Kick Receiver - 4E
2. Kick Receiver - 50
3. Blocker - 00
4. Blocker - 02
5. Blocker - 04
6. Reserve - 06
7. Reserve - 08