the cutting room mirror

NHL Breakaway 99 (Nintendo 64)

NHL Breakaway 99 is a lot like its predecessor, with only some superficial new stuff added and teams swapped around.

Source Code Fragments#

Developer Texts#

There are loads of error and debug texts scattered throughout. They can be found at the locations listed below in the US ROM.

0x5EDB8:

Assertion failed: file "%s", line %d
common.c
Player %d (%d) status == injured, but not in team %d injured list!
Player %d (%d) in team %d injured list, but not injured status!
Looking for roster player
Error finding line replacment

0x5F800:

 File type error, want: %x, found %x
 Want: (%c%c%c...%c) found (%c%c.%c%c)
 File version error, want: %x, found %x
 CHKFILE: Structure size mismatch, want: %d, found %d
 Task stack overflow
 **Stack overflow detected
 **Task alloc overflow
 Thing list full
 ERROR - Load_debug_font: VRAM allocation failed
 Loading DEBUG font @%d,%d
 DONE
 [ %d %d %d ].[ %d %d %d ].[ %d %d %d ].(%d, %d, %d)
 [ %d %d %d ].[ %d %d %d ].[ %d %d %d ]
 ERROR: Out of OT slots
 ERROR trying to allocMem in Init_font_driver!!!
 Error using Font_position, fontopen == NULL
 Error using Font_position_actor, fontopen == NULL
 Random Seed: $%x
 Files Loaded %d
 *ERROR MDF error
 MEM: ERROR! Unrecognized fit method
 MEM: ERROR! No Region Handles left
 MEM: ERROR! No Internal Memory Handles left
 MEM: ERROR! Total Allocs %lu - HeapLeft %lu
 MEM: Alloc: %lu
 MEM: freeMem Failed - Addr OOR (%08x)
 MEM: freeMem Failed - Addr Not Allocated (%08x)
 MEM: ERROR! freeMem Failed - Addr OOR (%08x)
 MEM: ERROR! freeMem Failed - Addr Not Allocated (%08x)
 MEM: ERROR! Memory Overrun 0x%08x - 0x%08x (0x%08x)
 MEM: Free Memory: %lu of %lu Free Handles %d
 MEM: Region: %08x - %08x
 MEM: AllocList: Total %lu Largest %lu
 MEM: A %08x - %08x -- %06lu
 MEM: FreeList: Total %lu Largest %lu
 MEM: F %08x - %08x -- %06lu
 MEM: Free: %lu Biggest: %lu Free Handles: %d
 ERROR: Display list full
 [%s:%d] file (%d) not in range(0..%d)
 cdrom.c.name:0x%x
 *** ERROR in _loadFromRom [%s:%d] could not alloc %d bytes for compressed data
 loader_.c
 *** ERROR in loadFile [%s:%d] could not alloc %d bytes for dest_buffer

0x61DC0:

Making CAMERA3D object
Making CAMERA2D object
global_flag 0x%x %d
ERROR gosub too deep
ERROR endsub without gosub

0x62540:

ERROR: Actor allocation failed
Out of Viewports
Devapor_buffer: Couldnt malloc out buffer!
Devapor_buffer: Mem corrupted

Sound Test#

A sound test menu can be accessed by pressing R + A buttons while over a main menu option when the below code is active.

Version

GameShark code

US

D1064584 8010
8113AB06 0033

Europe

D10645C4 8010
8113AB46 0033

(Source: Original TCRF research)

Unused Cheat Menu Text#

Stored among the cheat menu text at D79C9 are a few unused options:

Sound Test Menu
Credits
Tickerbar Frequency

This needs some investigation.
Discuss ideas and findings on the talk page.
Specifically: Can any of the above be accessed?