SM64 Exposed Colours

For the N64 Version by James S.

PAL=UK version

NTSC=USA version

JAP ORG=Original Japanese

JAP SE=Japanese Shindou Edition

Coin Colours

(Updated: 23/6/9)

The coin texture is actually grey but coloured by the game using the colour values that are stored along with the corner positions that make up the billboarding (always face the camera) square that the coin tetxure fits into. Although normally each corner is the same colour, the corners can be different colours thus creating a sort of rainbow effect, as I did in one of my codes.

The colour values are in RGBA (Red, Green, Blue, Alpha) format, with 8 bits for each colour channel. Strangely, the alpha value which controls the transparency of the coin colour only seems to work as it should, on certain emulators, not on a real N64.

Here are the usual colour values for the yellow coins for the PAL (UK) game as they are in the RAM, for the NTSC (USA) version add 0xA940 to each address:

800AED3C FFFF00FF Bottom left corner colour (RGBA)

800AED4C FFFF00FF Bottom right corner colour (RGBA)

800AED5C FFFF00FF Top right corner colour (RGBA)

800AED6C FFFF00FF Top left corner colour (RGBA)

These values are linked to the main yellow coin polygon data which is referenced by the yellow coin graphic structure (geometry layout).

The following are the RAM addresses for the blue and red coins along with the default colour values for the PAL (UK) game, add 0xA940 to each address to get the NTSC (USA) addresses:

Blue coin

800AED7C 7878FFFF

800AED8C 7878FFFF

800AED9C 7878FFFF

800AEDAC 7878FFFF

Red coin

800AEDBC FF0000FF

800AEDCC FF0000FF

800AEDDC FF0000FF

800AEDEC FF0000FF

Mario colours

(Updated: 6/1/10)

Stored in the RAM at the same address for all levels is a list of colour values for the different parts of Mario's body and clothing. What is interesting about these colour values is that it hints that Nintendo planned to make it simple to change Mario's colours, i.e. to that of Luigi, but it may not mean that.

To help you with making Mario colour codes, what follows is a list of colour codes for the different versions of the game, with the default colours. The format seems to be RRGGBB?? where ?? is unknown or unused.

Overalls

PAL

810742E0 0000

810742E2 7F00

810742E4 0000

810742E6 7F00

810742E8 0000

810742EA FF00

810742EC 0000

810742EE FF00

NTSC

8107EC20 0000

8107EC22 7F00

8107EC24 0000

8107EC26 7F00

8107EC28 0000

8107EC2A FF00

8107EC2C 0000

8107EC2E FF00

JAP ORG and JAP SE

8107BDC0 0000

8107BDC2 7F00

8107BDC4 0000

8107BDC6 7F00

8107BDC8 0000

8107BDCA FF00

8107BDCC 0000

8107BDCE FF00

Cap, arms and shirt

PAL

810742F8 7F00

810742FA 0000

810742FC 7F00

810742FE 0000

81074300 FF00

81074302 0000

81074304 FF00

81074306 0000

NTSC

8107EC38 7F00

8107EC3A 0000

8107EC3C 7F00

8107EC3E 0000

8107EC40 FF00

8107EC42 0000

8107EC44 FF00

8107EC46 0000

JAP ORG and JAP SE

8107BDD8 7F00

8107BDDA 0000

8107BDDC 7F00

8107BDDE 0000

8107BDE0 FF00

8107BDE2 0000

8107BDE4 FF00

8107BDE6 0000

Gloves

PAL

81074310 7F7F

81074312 7F00

81074314 7F7F

81074316 7F00

81074318 FFFF

8107431A FF00

8107431C FFFF

8107431E FF00

NTSC

8107EC50 7F7F

8107EC52 7F00

8107EC54 7F7F

8107EC56 7F00

8107EC58 FFFF

8107EC5A FF00

8107EC5C FFFF

8107EC5E FF00

JAP ORG and JAP SE

8107BDF0 7F7F

8107BDF2 7F00

8107BDF4 7F7F

8107BDF6 7F00

8107BDF8 FFFF

8107BDFA FF00

8107BDFC FFFF

8107BDFE FF00

Shoes

PAL

81074328 390E

8107432A 0700

8107432C 390E

8107432E 0700

81074330 721C

81074332 0E00

81074334 721C

81074336 0E00

NTSC

8107EC68 390E

8107EC6A 0700

8107EC6C 390E

8107EC6E 0700

8107EC70 721C

8107EC72 0E00

8107EC74 721C

8107EC76 0E00

JAP ORG and JAP SE

8107BE08 390E

8107BE0A 0700

8107BE0C 390E

8107BE0E 0700

8107BE10 721C

8107BE12 0E00

8107BE14 721C

8107BE16 0E00

Face

PAL

81074340 7F60

81074342 3C00

81074344 7F60

81074346 3C00

81074348 FEC1

8107434A 7900

8107434C FEC1

8107434E 7900

NTSC

8107EC80 7F60

8107EC82 3C00

8107EC84 7F60

8107EC86 3C00

8107EC88 FEC1

8107EC8A 7900

8107EC8C FEC1

8107EC8E 7900

JAP ORG and JAP SE

8107BE20 7F60

8107BE22 3C00

8107BE24 7F60

8107BE26 3C00

8107BE28 FEC1

8107BE2A 7900

8107BE2C FEC1

8107BE2E 7900

Hair

PAL

81074358 3903

8107435A 0000

8107435C 3903

8107435E 0000

81074360 7306

81074362 0000

81074364 7306

81074366 0000

NTSC

8107EC98 3903

8107EC9A 0000

8107EC9C 3903

8107EC9E 0000

8107ECA0 7306

8107ECA2 0000

8107ECA4 7306

8107ECA6 0000

JAP ORG and JAP SE

8107BE38 3903

8107BE3A 0000

8107BE3C 3903

8107BE3E 0000

8107BE40 7306

8107BE42 0000

8107BE44 7306

8107BE46 0000

All content of this and related pages is copyright (c) James S. 2009 to 2010

New: Added Japanese Mario Colour Codes

Coin Colours

You can email me at james.boshikoopa@gmail.com