Jump to content

Hacking Tecmo Bowl for the NES / TB NES Hacks - Team Introduction, Part 2


svb_1029

Recommended Posts

Helmets

Color Palettes for Helmet Logos (TEAM - Hex Location of Palette Reference - Palette Reference):

INDIANAPOLIS - Unknown - (Uses palette 1 [0000] but location of reference is unknown [at least to me].)
MIAMI - $6B1E - 4411
CLEVELAND - $6BB6 - 8822
DENVER - $6C5A - 0000
SEATTLE - $6CFE - 4411
LOS ANGELES - $6DA2 - 8822
WASHINGTON - $6E46 - CC33
SAN FRANCISCO - $6EEA - 0020
DALLAS - $6F8E - CC33
NEW YORK - $7032 - CC33
CHICAGO - $70D6 - 0000
MINNESOTA - $717A - 0000

 

Palette Colors (Hex Location of Palette - Colors):

$10671 - 0F (black; also used for the screen background) 11 (blue*) 26 (tan; also used as the color for the facemask) 30 (white; used for the color of the helmet and the roster text)

$10675 - 0F (black*) 16 (dark red*) 21 (lighter blue*) 30 (white*)

$10679 - 0F (black*) 15 (pink*) 19 (green*) 30 (white*)

$1067D - 0F (black; screen background) 11 (blue*) 15 (pink) 30 (white; roster text)

* - indicates color is available to use for helmet logos

 

Palette References:

(Caveat for what follows: This may

     a) not be 100% accurate, and/or

     b) just a really bad way of explaining it,

so any input those with more knowledge of Assembly than I might have would be much appreciated here. I have successfully tested it, however, so there's at least that...)

 

There are two ways these logo color palettes are being referenced in the ROM:
1. Using the last digit of their hex address
2. Their ordinal position in the list of palettes

 

The addresses of the palettes are as follows (same as above):
1. $10671
2. $10675
3. $10679
4. $1067D

 

The ROM is subtracting 1 (one) from the last digit in the hex address, and using the result as the first palette reference type; i.e.:
1. 1 - 1 = 0
2. 5 - 1 = 4
3. 9 - 1 = 8
4. D - 1 = C

 

The other way the ROM is referring to the palette is by its ordinal position in the list of palettes, starting with 0; i.e.:
1. 0
2. 1
3. 2
4. 3

 

The ROM is applying the palette to the helmet logo using a quadrant system (see first screenshot below).
The first digit in the four-digit palette application uses the address reference, and is applied to the bottom-left quadrant of the logo.
The second digit in the palette application also uses the address reference, and is applied to the top-left quadrant.
The third digit in the palette application uses the position reference, and is applied to the bottom-right quadrant.
The last digit in the palette application also uses the position reference, and is applied to the top-right quadrant.

 

As an example, "0020" is used to assign the color palettes to SAN FRANCISCO. This means palette 1 is being applied to the two left and upper right quadrants, and palette 3 is being applied to the bottom left quadrant.

 

Tile Arrangement (Helmet and Logo):

Helmet

With the exception of INDIANAPOLIS, the arrangement of tiles for each team's helmet is the same:

0102*
[02 0C 08] 00 C8 C9 CC CD D8 00 00
[02 0C 08] D2 D3 {XX XX XX XX**} D6 00
[02 0C 08] D7 01 {XX XX XX XX**} F1 DD
[02 0C 08] D9 01 {XX XX XX XX**} 01 DC
[02 0C 08] F5 01 {XX XX XX XX**} CA CB
[02 0C 08] CE 01 CF DA DB DE 00 00
[02 0C 08] 00 00 DF E0 E1 E4 E5 F0
[02 0C 08] 00 00 00 E2 E3 E6 E7 F2
0102*

* - Not sure what this is doing, exactly; perhaps references a section (?).

** - Represents the team's logo tiles; more on this below.

Sample: [02 0C 08] D7 01 {XX XX XX XX*} F1 DD

"02 0C" signifies the position on the screen where the tile arrangement should begin.

"08" signifies the number of tiles that should be arranged on this row.

The remainder are tile references.

(NOTE: INDIANAPOLIS is different in that midway through the helmet design the following hex values appear: 0E 15 and 05 5E 86; I've yet to understand what these do/reference.)

 

Where each team's helmet and logo arrangement begins:

INDIANAPOLIS - $6A8B
MIAMI - $6B28
CLEVELAND - $6BCC
DENVER - $6C70
SEATTLE - $6D14
LOS ANGELES - $6DB8
WASHINGTON - $6E5C
SAN FRANCISCO - $6F00
DALLAS - $6FA4
NEW YORK - $7048
CHICAGO - $70EC
MINNESOTA - $7190

 

Logos

Each team's logo is constructed within a 32x32 pixel grid (or a 4x4 grid of 8x8 tiles), the arrangement of which is included in the arrangement of the helmet (see above for where the logo arrangement is included in each team's helmet design).

 

Tile Location: $35010 through $36000

 

I've played around with importing the helmet from TSB to give them a less-goofy look, and change the shell color to something other than white. Mixed results thus far. 

helmetLogosTilesheet.png

tlp_helmetTileArrangement.PNG

tlp_logoTileArrangements.PNG

new_helmet_shell.PNG

tlp_helmetTiles.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...