Sign in to follow this  
wboy

How to change menu defaults...

Recommended Posts

After noticing how teams where stored when I stumbled across the playoff matchup data, I decided to take another look for the bytes which control what teams where seleted when you start up NHLXX.

The good news is not only did I find it, but it only took about 5 minutes this time round! :)

The better news is the surrounding bytes found control all the default options on the main menu screen allowing you to set things like penalties on by default when you start up the game.

For the NHL94 ROM, the menu data offset is 0x00017C8E

Each two bytes relate to the menu items as shown from top to bottom.

0000 - Play Mode: 0000 for Regular season, 0001 for Continue Playoffs, 0002 for New Playoffs etc.

0001 - Players: One - Home by default... etc

000B - Team 1: Montreal..... 0000 for Anaheim thru 001B for for ASW.

000A - Team 2: LA ... same rule as above

0001 - Per. Length: 0000 for 5 min, 0001 for 10 min, 0002 as 20 min (or as hacked)

0000 - Goalies: 0000 Manual, 0001 Auto

0001 - User Records: 0000 On, 0001 Off

0000 - Penalties: 0000 Off; 0001 On; 0002 On, Except Off-Sides (sorry, 0003 doesn't = "On, with fighting" unfortunately! :P)

0001 - Line Changes.... sure you can work it out by now! ;)

Same logical works in NHL91 thru NHL95. Hex offsets are as follows:

NHL91 ROM 0x0000E698

NHL92 ROM 0x0000EA7E

NHL93 ROM 0x00014438

NHL95 ROM 0x00086700

NHL94 ISO 0x0004C920

will look at NHL96-98 another time, unless someone does it for me *hint* ;)

Hopefully Evan can make a beautiful looking, more descriptive web page to add to his other hacking pages that details this find.

post-11-1117551154_thumb.jpg

Share this post


Link to post
Share on other sites

Great discovery man. Again I wish you were around here years ago bud. I almost have the itch to start hacking again. Today's hockey games suck. I can't play more than a game of 2004 or 2005. I do enjoy my HITZ Pro for PS2. Best goalie AI ever.

Share this post


Link to post
Share on other sites

excellent wboy!!

I'm speechless!

I have no words.. :)

have you found anything useful from the disassembled code yet?

Share this post


Link to post
Share on other sites

This is excellent, great work wboy!

I'm glad to see someone is active in nhl94 editing right now. I will certainly add any new finds to the editing pages.

-Evan

Share this post


Link to post
Share on other sites
have you found anything useful from the disassembled code yet?

No I still haven't got around to looking at that. As I have no former knowledge of ASM, I decided to concentrate my free time on the editor and implementing what I can find with a simple hack and test procedures.

I'm sure all that knowledge attained doing this will help me when I decide to look at the disassembled code, and should hopefully allow me to find more goodies.

Share this post


Link to post
Share on other sites

Whoa, good work, all I can say is that the NHL 94 gods are grateful. :) And of course, all of us here as well.

Share this post


Link to post
Share on other sites

I thought we were the 94 gods. :)

Share this post


Link to post
Share on other sites

The offsets below store the value for the default home/vistior teams for NHL 96/7/8.

The values are only referred to the first time the rom is loaded and the initial battery backup save is made.

If you edit the value at a later time, be sure to also delete the <rom filename>.srm (battery backup save file) that by default exists in the emulator (gens/fusion) folder or you won't effectively see the change (or alternatively, rename the rom).

==========

= NHL 96 =

==========

Offset : Value

0002409E : 0006 (Default Home/Right Team)

000240A4 : 000C (Default Visitor/Left Team)

0000 for Anaheim

.. etc ..

0019 for Winnipeg

==========

= NHL 97 =

==========

Offset : Value

000295E4 : 0009 (Default Home/Right Team)

000295EA : 0005 (Default Visitor/Left Team)

0000 for Anaheim

.. etc ..

0019 for Winnipeg

001A for ASE / EA Sports (hidden team)

001B for ASW / Renegades (hidden team)

001C for Canada

.. etc ..

001E for Europe

==========

= NHL 98 =

==========

Offset : Value

00029ABC : 0011 (Default Home/Right Team)

00029AC2 : 0008 (Default Visitor/Left Team)

0000 for Anaheim

.. etc ..

0019 for Winnipeg

001A for ASE / EA Sports (hidden team)

001B for ASW / Angry Legions (hidden team)

001C for Canada

.. etc ..

001E for Europe

Share this post


Link to post
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.

Sign in to follow this  

  • Who's Online   0 Members, 0 Anonymous, 12 Guests (See full list)

    There are no registered users currently online