Jump to content
NHL'94 Forums

Extracting Stats


Recommended Posts

it appears to be correct. i just have to write up a small readme file tomorrow (the 17th) then i'll send anyone a copy who wants to test it. right now i've got it spitting out 4 textfiles, one for the teamstats, one for playerstats, one for penalty summary, and one for the scoring summary. i'm looking for suggestions too.

I would suggest spitting out the boxfile all in one file. It might make more sense once you have many games played. You might even append to the boxfile so there is only one. When I write file parsers, it's always nice not to have to open many files.

Another suggestion is to output the files in XML format...even easier to read into a database.

Chris

Link to comment
Share on other sites

I would suggest spitting out the boxfile all in one file. It might make more sense once you have many games played. You might even append to the boxfile so there is only one. When I write file parsers, it's always nice not to have to open many files.

Another suggestion is to output the files in XML format...even easier to read into a database.

Chris

i will add an option to spit it all in one file. i dont have much experience with xml, but i'll see what i can do. maybe you can show me exactly what you want?

Link to comment
Share on other sites

Another suggestion is to output the files in XML format...even easier to read into a database.

Even easier...? if the database tools you're working with support XML scripting... and even then... surely not always easier than CSV?

Yes, no doubt XML is potentially more adaptable for this scenario with the different types of data being captured... but in terms of pure simplicity, and backward compatibility with older databases and associated tools/applications, its best CSV is always keep as an option aswell IMO.

Link to comment
Share on other sites

  • 5 months later...
ok looks like i found scoring summary too. its just before the penalty summary.

each goal is described by 6 bytes from what i can tell.

59627 gives # of bytes, same as for penalties, then each goal follows consecutively with 6 bytes

-first 2 bytes give you the period and time, same as the penalties.

-3rd byte(team and pp/sh)--home team is 00 for sh2, 01 for sh, 02 for even, 03 for pp, 04 for pp2; or for away team is 80 for sh2, 81 for sh, 82 for even, 83 for pp, 84 for pp2

-4th byte is player position(roster slot) who scored the goal

-5th and 6th bytes are the player positions who scored assists, if any. FFFF if none

one other thing i can think of, is there a reference to the teams anywhere besides home and away? i havent found that yet

Note: The byte count is actually a 16-bit value with the high byte stored at 59626(decimal) and the low byte at 59627.

It maxes out at a value of 0x0168(hex) or 360(decimal), which is 60 goals (60=360/6). If more than 60 goals are scored in a game, the first 59 goals are recorded and the very last goal is recorded in the final position.

For example, in a game with 74 total goals, 59626-59627 holds the value 360(dec), so 60 goals are recorded (60=360/6). The goals recorded are goals 1-59 and goal 74. Goal 74 is recorded in the 60th position.

For the penalty summary, the value has a max of 0xF0(hex) = 240(decimal) = 60 penalties (60=240/4). It's a 16-bit value stored at 59988-59989, but it can be interpretted as an 8-bit value at 59989, since it never actually uses byte 59988. The scoring summary, however, can potentially use both bytes.

Link to comment
Share on other sites

Crowd Meter:

The peak crowd meter level is stored in bytes 59276-59277 (E78C-E78D).

However, for some unknown reason, about 20% of the games do not have a non-zero number stored at this location. I couldn't find the peak crowd level in these other games. Any ideas?

Link to comment
Share on other sites

  • 1 month later...
Crowd Meter:

The peak crowd meter level is stored in bytes 59276-59277 (E78C-E78D).

However, for some unknown reason, about 20% of the games do not have a non-zero number stored at this location. I couldn't find the peak crowd level in these other games. Any ideas?

thanks for this info, somehow i missed this post.

does anyone have offsets for the SNES version (for everything, not just crowd meter)?

Link to comment
Share on other sites

  • 5 months later...
i never found them. i just calculate the stars for the draft league with a simple formula.

thanks for the quick response...

is it something like if the goalie gets a shutout, they get first star, and then the next 2 players from either team that lead in points?? :)

Link to comment
Share on other sites

  • 1 month later...

SNES offsets:

I wouldn't have figured these out if it wasn't for swos, as you can see I've just copied his text and put in the SNES offsets (decimal). Although I'm more curious in finding out what the offsets for the "Game Stats" are, hits and all that, I thought I might just note these as I stumbled across 'em. I figure the other stats ought a be around the player stats (ahead of?) but I'm not sure, I've been trying to search for some of the numbers but haven't found anything useful. Well...

Home Team:

Goals

9473: xx : # of goals scored for the 1st player in the team roster (if player)

: xx : # of goals conceded for the 1st player in the team roster (if/when goalie)

9474: xx : # of goals scored for the 2nd player in the team roster (if player)

: xx : # of goals conceded for the 2nd player in the team roster (if/when goalie)

9475: xx : # of goals scored for the 3rd player in the team roster (if player)

: xx : # of goals conceded for the 3rd player in the team roster (if/when goalie)

9476: xx : # of goals scored for the 4th player in the team roster

9477: xx : # of goals scored for the 5th player in the team roster

9478: xx : # of goals scored for the 6th player in the team roster

9479: xx : # of goals scored for the 7th player in the team roster

9480: xx : # of goals scored for the 8th player in the team roster

9481: xx : # of goals scored for the 9th player in the team roster

9482: xx : # of goals scored for the 10th player in the team roster

9483: xx : # of goals scored for the 11th player in the team roster

9484: xx : # of goals scored for the 12th player in the team roster

9485: xx : # of goals scored for the 13th player in the team roster

9486: xx : # of goals scored for the 14th player in the team roster

9487: xx : # of goals scored for the 15th player in the team roster

9488: xx : # of goals scored for the 16th player in the team roster

9489: xx : # of goals scored for the 17th player in the team roster

9490: xx : # of goals scored for the 18th player in the team roster

9491: xx : # of goals scored for the 19th player in the team roster

9492: xx : # of goals scored for the 20th player in the team roster

9493: xx : # of goals scored for the 21st player in the team roster

9494: xx : # of goals scored for the 22nd player in the team roster

9495: xx : # of goals scored for the 23rd player in the team roster

9496: xx : # of goals scored for the 24th player in the team roster

9497: xx : # of goals scored for the 25th player in the team roster

Assists

9525: xx : # of assists for the 1st player in the team roster (goalies too)

9526: xx : # of assists for the 2nd player in the team roster (goalies too)

9527: xx : # of assists for the 3rd player in the team roster (goalies too)

9528: xx : # of assists for the 4th player in the team roster

9529: xx : # of assists for the 5th player in the team roster

9530: xx : # of assists for the 6th player in the team roster

9531: xx : # of assists for the 7th player in the team roster

9532: xx : # of assists for the 8th player in the team roster

9533: xx : # of assists for the 9th player in the team roster

9534: xx : # of assists for the 10th player in the team roster

9535: xx : # of assists for the 11th player in the team roster

9536: xx : # of assists for the 12th player in the team roster

9537: xx : # of assists for the 13th player in the team roster

9538: xx : # of assists for the 14th player in the team roster

9539: xx : # of assists for the 15th player in the team roster

9540: xx : # of assists for the 16th player in the team roster

9541: xx : # of assists for the 17th player in the team roster

9542: xx : # of assists for the 18th player in the team roster

9543: xx : # of assists for the 19th player in the team roster

9544: xx : # of assists for the 20th player in the team roster

9545: xx : # of assists for the 21st player in the team roster

9546: xx : # of assists for the 22nd player in the team roster

9547: xx : # of assists for the 23rd player in the team roster

9548: xx : # of assists for the 24th player in the team roster

9549: xx : # of assists for the 25th player in the team roster

Shots

9577: xx : # of shots on goal for the 1st player in the team roster (if player)

: xx : # of shots against for the 1st player in the team roster (if/when goalie)

9578: xx : # of shots on goal for the 2nd player in the team roster (if player)

: xx : # of shots against for the 2nd player in the team roster (if/when goalie)

9579: xx : # of shots on goal for the 3rd player in the team roster (if player)

: xx : # of shots against for the 3rd player in the team roster (if/when goalie)

9580: xx : # of shots on goal for the 4th player in the team roster

9581: xx : # of shots on goal for the 5th player in the team roster

9582: xx : # of shots on goal for the 6th player in the team roster

9583: xx : # of shots on goal for the 7th player in the team roster

9584: xx : # of shots on goal for the 8th player in the team roster

9585: xx : # of shots on goal for the 9th player in the team roster

9586: xx : # of shots on goal for the 10th player in the team roster

9587: xx : # of shots on goal for the 11th player in the team roster

9588: xx : # of shots on goal for the 12th player in the team roster

9589: xx : # of shots on goal for the 13th player in the team roster

9590: xx : # of shots on goal for the 14th player in the team roster

9591: xx : # of shots on goal for the 15th player in the team roster

9592: xx : # of shots on goal for the 16th player in the team roster

9593: xx : # of shots on goal for the 17th player in the team roster

9594: xx : # of shots on goal for the 18th player in the team roster

9595: xx : # of shots on goal for the 19th player in the team roster

9596: xx : # of shots on goal for the 20th player in the team roster

9597: xx : # of shots on goal for the 21th player in the team roster

9598: xx : # of shots on goal for the 22th player in the team roster

9599: xx : # of shots on goal for the 23th player in the team roster

9600: xx : # of shots on goal for the 24th player in the team roster

9601: xx : # of shots on goal for the 25th player in the team roster

Penalties

9629: xx : # of penalty minutes for the 1st player in the team roster (goalie cannot get penalty)

9630: xx : # of penalty minutes for the 2nd player in the team roster (goalie cannot get penalty)

9631: xx : # of penalty minutes for the 3rd player in the team roster (goalie cannot get penalty)

9632: xx : # of penalty minutes for the 4th player in the team roster

9633: xx : # of penalty minutes for the 5th player in the team roster

9634: xx : # of penalty minutes for the 6th player in the team roster

9635: xx : # of penalty minutes for the 7th player in the team roster

9636: xx : # of penalty minutes for the 8th player in the team roster

9637: xx : # of penalty minutes for the 9th player in the team roster

9638: xx : # of penalty minutes for the 10th player in the team roster

9639: xx : # of penalty minutes for the 11th player in the team roster

9640: xx : # of penalty minutes for the 12th player in the team roster

9641: xx : # of penalty minutes for the 13th player in the team roster

9642: xx : # of penalty minutes for the 14th player in the team roster

9643: xx : # of penalty minutes for the 15th player in the team roster

9644: xx : # of penalty minutes for the 16th player in the team roster

9645: xx : # of penalty minutes for the 17th player in the team roster

9646: xx : # of penalty minutes for the 18th player in the team roster

9647: xx : # of penalty minutes for the 19th player in the team roster

9648: xx : # of penalty minutes for the 20th player in the team roster

9649: xx : # of penalty minutes for the 21th player in the team roster

9650: xx : # of penalty minutes for the 22th player in the team roster

9651: xx : # of penalty minutes for the 23th player in the team roster

9652: xx : # of penalty minutes for the 24th player in the team roster

9653: xx : # of penalty minutes for the 25th player in the team roster

Away Team:

Goals

9499: xx : # of goals scored for the 1st player in the team roster (if player)

: xx : # of goals conceded for the 1st player in the team roster (if/when goalie)

9500: xx : # of goals scored for the 2nd player in the team roster (if player)

: xx : # of goals conceded for the 2nd player in the team roster (if/when goalie)

9501: xx : # of goals scored for the 3rd player in the team roster (if player)

: xx : # of goals conceded for the 3rd player in the team roster (if/when goalie)

9502: xx : # of goals scored for the 4th player in the team roster

9503: xx : # of goals scored for the 5th player in the team roster

9504: xx : # of goals scored for the 6th player in the team roster

9505: xx : # of goals scored for the 7th player in the team roster

9506: xx : # of goals scored for the 8th player in the team roster

9507: xx : # of goals scored for the 9th player in the team roster

9508: xx : # of goals scored for the 10th player in the team roster

9509: xx : # of goals scored for the 11th player in the team roster

9510: xx : # of goals scored for the 12th player in the team roster

9511: xx : # of goals scored for the 13th player in the team roster

9512: xx : # of goals scored for the 14th player in the team roster

9513: xx : # of goals scored for the 15th player in the team roster

9514: xx : # of goals scored for the 16th player in the team roster

9515: xx : # of goals scored for the 17th player in the team roster

9516: xx : # of goals scored for the 18th player in the team roster

9517: xx : # of goals scored for the 19th player in the team roster

9518: xx : # of goals scored for the 20th player in the team roster

9519: xx : # of goals scored for the 21st player in the team roster

9520: xx : # of goals scored for the 22nd player in the team roster

9521: xx : # of goals scored for the 23rd player in the team roster

9522: xx : # of goals scored for the 24th player in the team roster

9523: xx : # of goals scored for the 25th player in the team roster

Assists

9551: xx : # of assists for the 1st player in the team roster (goalies too)

9552: xx : # of assists for the 2nd player in the team roster (goalies too)

9553: xx : # of assists for the 3rd player in the team roster (goalies too)

9554: xx : # of assists for the 4th player in the team roster

9555: xx : # of assists for the 5th player in the team roster

9556: xx : # of assists for the 6th player in the team roster

9557: xx : # of assists for the 7th player in the team roster

9558: xx : # of assists for the 8th player in the team roster

9559: xx : # of assists for the 9th player in the team roster

9560: xx : # of assists for the 10th player in the team roster

9561: xx : # of assists for the 11th player in the team roster

9562: xx : # of assists for the 12th player in the team roster

9563: xx : # of assists for the 13th player in the team roster

9564: xx : # of assists for the 14th player in the team roster

9565: xx : # of assists for the 15th player in the team roster

9566: xx : # of assists for the 16th player in the team roster

9567: xx : # of assists for the 17th player in the team roster

9568: xx : # of assists for the 18th player in the team roster

9569: xx : # of assists for the 19th player in the team roster

9570: xx : # of assists for the 20th player in the team roster

9571: xx : # of assists for the 21st player in the team roster

9572: xx : # of assists for the 22nd player in the team roster

9573: xx : # of assists for the 23rd player in the team roster

9574: xx : # of assists for the 24th player in the team roster

9575: xx : # of assists for the 25th player in the team roster

Shots

9603: xx : # of shots on goal for the 1st player in the team roster (if player)

: xx : # of shots against for the 1st player in the team roster (if/when goalie)

9604: xx : # of shots on goal for the 2nd player in the team roster (if player)

: xx : # of shots against for the 2nd player in the team roster (if/when goalie)

9605: xx : # of shots on goal for the 3rd player in the team roster (if player)

: xx : # of shots against for the 3rd player in the team roster (if/when goalie)

9606: xx : # of shots on goal for the 4th player in the team roster

9607: xx : # of shots on goal for the 5th player in the team roster

9608: xx : # of shots on goal for the 6th player in the team roster

9609: xx : # of shots on goal for the 7th player in the team roster

9610: xx : # of shots on goal for the 8th player in the team roster

9611: xx : # of shots on goal for the 9th player in the team roster

9612: xx : # of shots on goal for the 10th player in the team roster

9613: xx : # of shots on goal for the 11th player in the team roster

9614: xx : # of shots on goal for the 12th player in the team roster

9615: xx : # of shots on goal for the 13th player in the team roster

9616: xx : # of shots on goal for the 14th player in the team roster

9617: xx : # of shots on goal for the 15th player in the team roster

9618: xx : # of shots on goal for the 16th player in the team roster

9619: xx : # of shots on goal for the 17th player in the team roster

9620: xx : # of shots on goal for the 18th player in the team roster

9621: xx : # of shots on goal for the 19th player in the team roster

9622: xx : # of shots on goal for the 20th player in the team roster

9623: xx : # of shots on goal for the 21th player in the team roster

9624: xx : # of shots on goal for the 22th player in the team roster

9625: xx : # of shots on goal for the 23th player in the team roster

9626: xx : # of shots on goal for the 24th player in the team roster

9627: xx : # of shots on goal for the 25th player in the team roster

Penalties

9655: xx : # of penalty minutes for the 1st player in the team roster (goalie cannot get penalty)

9656: xx : # of penalty minutes for the 2nd player in the team roster (goalie cannot get penalty)

9657: xx : # of penalty minutes for the 3rd player in the team roster (goalie cannot get penalty)

9658: xx : # of penalty minutes for the 4th player in the team roster

9659: xx : # of penalty minutes for the 5th player in the team roster

9660: xx : # of penalty minutes for the 6th player in the team roster

9661: xx : # of penalty minutes for the 7th player in the team roster

9662: xx : # of penalty minutes for the 8th player in the team roster

9663: xx : # of penalty minutes for the 9th player in the team roster

9664: xx : # of penalty minutes for the 10th player in the team roster

9665: xx : # of penalty minutes for the 11th player in the team roster

9666: xx : # of penalty minutes for the 12th player in the team roster

9667: xx : # of penalty minutes for the 13th player in the team roster

9668: xx : # of penalty minutes for the 14th player in the team roster

9669: xx : # of penalty minutes for the 15th player in the team roster

9670: xx : # of penalty minutes for the 16th player in the team roster

9671: xx : # of penalty minutes for the 17th player in the team roster

9672: xx : # of penalty minutes for the 18th player in the team roster

9673: xx : # of penalty minutes for the 19th player in the team roster

9674: xx : # of penalty minutes for the 20th player in the team roster

9675: xx : # of penalty minutes for the 21th player in the team roster

9676: xx : # of penalty minutes for the 22th player in the team roster

9677: xx : # of penalty minutes for the 23th player in the team roster

9678: xx : # of penalty minutes for the 24th player in the team roster

9679: xx : # of penalty minutes for the 25th player in the team roster

Link to comment
Share on other sites

nice job. once everything else is found it should be easy to set up stats for snes leagues

I've got all the other stats figured out and it's documented. It's Just that the PSU on my other computer burned today, I'll be moving over the PSU from this one later on and I'll post what I've got then. I've got offsets for all stats in "Game Stats" and also "Period Stats". I will not dig up Penalty and Scoring Summary, at least not for the moment, as I have no real use for it.

:D

Hopefully someone might be able to create an extractor (I'll make a simple one for excel/database use), maybe convert one of the excisting genesis extractors (malachku's would be a dream come trough hehe).

Cheers

Err... Edit... My old psu only had atx 20 pin, while the mobo on my new com has atx 24 pin... Doh... Guess I won't get back with the rest for a week or so...

Link to comment
Share on other sites

Game Stats:

HOME

Offset (decimal)

9121: Score

9101: Shots

9173: Breakaways

9177: Breakaway goals

9193: One Timers

9197: One Timer Goals

9181: Penalty Shots

9185: Penalty Shot Goals

9125: Faceoffs Won

9161: Body Checks

9169: Passes

9165: Passes Recived

9061+9062: Attack Zone

-

9049: Power Play

9045: Power Play Goals

9069: Power Play Shots

9077: Shorthanded Goals

9053: Penalties

9057: Penalty time

9065+9066: Power Play Time

-

9085: Period 1 Shots

9089: Period 2 Shots

9093: Period 3 Shots

9097: Overtime Shots

-

9105: Period 1 Goals

9109: Period 2 Goals

9113: Period 3 Goals

9117: Overtime Goals

AWAY

9123: Score

9103: Shots

9175: Breakaways

9179: Breakaway goals

9195: One Timers

9199: One Timer Goals

9183: Penalty Shots

9187: Penalty Shot Goals

9127: Faceoffs Won

9163: Body Checks

9171: Passes

9167: Passes recived

9063+9064: Attack Zone

-

9051: Power Play

9047: Power Play Goals

9071: Power Play Shots

9079: Shorthanded Goals

9055: Penalties

9059: Penalty time

9067+9068: Power Play Time

-

9087: Period 1 Shots

9091: Period 2 Shots

9095: Period 3 Shots

9099: Overtime Shots

-

9107: Period 1 Goals

9111: Period 2 Goals

9115: Period 3 Goals

9119: Overtime Goals

Hope someone finds it useful.

Cheers.

Link to comment
Share on other sites

Xstioph,

Excellent work! There is certainly the possibility of having all these stats included in the Classic '94 leagues that we've been running. The earliest season for this would be the Fall 2007 one.

Someone will have to test these offsets in a database to make sure they all come in properly.

-Evan

Link to comment
Share on other sites

My extraction tool is starting to work really well. Already outputting 56 for Excel use, that outputs a total of 83 stats, including calculating w/l/t/otw/otl etc. It's just a matter of pasting a string in Excel that my proggie produces

Not very advanced compared to what malachku has done, I know, but I didn't imagine I would get this far!

I'm trying to automatically output both team names used (it's pretty much done, it's only a matter of time).. Next step would be to log individual player stats. Unfortunately I'm not familiar with database use so I would have to take detours...

Link to comment
Share on other sites

Alright, I've been fooling around with the numbers dmitry has provided for the penalty summary... I think I've got it all sorted out, though these should not be considered final:

Penalty summary for snes can be found at (decimal) offset:

8785 : Penalty 1

8789 : Penalty 2

8793 : Penalty 3

8797 : Penalty 4

8801 : Penalty 5

8805 : Penalty 6

8809 : Penalty 7

8813 : Penalty 8

8817 : Penalty 9

8821 : Penalty 10

8825 : Penalty 11

8829 : Penalty 12

8833 : Penalty 13

8837 : Penalty 14

8841 : Penalty 15

8845 : Penalty 16

8849 : Penalty 17

8853 : Penalty 18

8857 : Penalty 19

8861 : Penalty 20

8865 : Penalty 21

8869 : Penalty 22

8873 : Penalty 23

8877 : Penalty 24

8881 : Penalty 25

8885 : Penalty 26

8889 : Penalty 27

8893 : Penalty 28

8897 : Penalty 29

8901 : Penalty 30

8905 : Penalty 31

8909 : Penalty 32

8913 : Penalty 33

8917 : Penalty 34

8921 : Penalty 35

8925 : Penalty 36

8929 : Penalty 37

8933 : Penalty 38

8937 : Penalty 39

8941 : Penalty 40

8945 : Penalty 41

8949 : Penalty 42

8953 : Penalty 43

8957 : Penalty 44

8961 : Penalty 45

8965 : Penalty 46

8969 : Penalty 47

8973 : Penalty 48

8977 : Penalty 49

8981 : Penalty 50

8985 : Penalty 51

8989 : Penalty 52

8993 : Penalty 53

8997 : Penalty 54

9001 : Penalty 55

9005 : Penalty 56

9009 : Penalty 57

9013 : Penalty 58

9017 : Penalty 59

9021 : Penalty 60

9025 : Penalty 61

9029 : Penalty 62

9033 : Penalty 63

9037 : Penalty 64

9041 : Penalty 65

For some reason they use a mixed up way to set up players/penalties (compared to gens). A penalty is the same either it's a home or away penalty.

What would have lookedlike "400C 1A97" on gens is (the whole Little Endian thing...):

0C40 971A, on the snes.

00C : 12 Secons

4 : Second period

97 : Away team player 24

1A : Slashing

//12 : Off-side ??? (0 min)

14 : Roughing

//16 : xxx

18 : Charging

1A : Slashing

1C : Roughing

1E : Cross Check

20 : Hooking

22 : Tripping

//24 : Penalty Shot ??? (1 min)

26 : Interference

28 : Holding

//30 : Penalty ??? (0 min)

Yes, as it seems there are two "roughings", found no fighting in this one on the other hand...

Players

Home

00 : Player 01 [Goalie]

01 : Player 02 [Goalie/Player]

02 : Player 03 [Goalie/Player]

03 : Player 04

04 : Player 05

05 : Player 06

06 : Player 07

07 : Player 08

08 : Player 09

09 : Player 10

0A : Player 11

0B : Player 12

0C : Player 13

0D : Player 14

0E : Player 15

0F : Player 16

10 : Player 17

11 : Player 18

12 : Player 19

13 : Player 20

14 : Player 21

15 : Player 22

16 : Player 23

17 : Player 24

18 : Player 25

Away

80 : Player 01 [Goalie]

81 : Player 02 [Goalie/Player]

82 : Player 03 [Goalie/Player]

83 : Player 04

84 : Player 05

85 : Player 06

86 : Player 07

87 : Player 08

88 : Player 09

89 : Player 10

8A : Player 11

8B : Player 12

8C : Player 13

8D : Player 14

8E : Player 15

8F : Player 16

90 : Player 17

91 : Player 18

92 : Player 19

93 : Player 20

94 : Player 21

95 : Player 22

96 : Player 23

97 : Player 24

98 : Player 25

Edit.. Forgot to mention that the time and period is the same as gens, only the other endian. <copy><paste><edit>

0000 - ff3f will give you a first period penalty in seconds

0040 - ff7f will give a second period penalty in seconds

0080 - ffBf third period penalty

00C0 - ffff overtime penalty

Trying to figure out the scoring atm, just found the first offset for it..

Edit..

Scoring summary

Starts at: 15695

XX Time

XX Period / Time

XX

- Home team status: 00 = Shorthanded 2, 01 = Shorthanded, 02 = Even Strength, 03 = Power Play, 04 = Power Play 2

- Away team status: 10 = Shorthanded 2, 11 = Shorthanded, 12 = Even Strength, 13 = Power Play, 14 = Power Play 2

XX : Goal scorer

XX : Assist 1 (FF, if none)

XX : Assist 2 (FF, if none)

Both teams uses 00-18 player numbers, in hex, not the same as the penalty summary. No note on if a player scores on a penalty shot?

Seems as there's only place for 100 goals, I wonder what happen when you get the 101st goal, the first goal gets overwritten?

15695 : Goal 1

15701 : Goal 2

15707 : Goal 3

15713 : Goal 4

15719 : Goal 5

15725 : Goal 6

15731 : Goal 7

15737 : Goal 8

15743 : Goal 9

15749 : Goal 10

15755 : Goal 11

15761 : Goal 12

15767 : Goal 13

15773 : Goal 14

15779 : Goal 15

15785 : Goal 16

15791 : Goal 17

15797 : Goal 18

15803 : Goal 19

15809 : Goal 20

15815 : Goal 21

15821 : Goal 22

15827 : Goal 23

15833 : Goal 24

15839 : Goal 25

15845 : Goal 26

15851 : Goal 27

15857 : Goal 28

15863 : Goal 29

15869 : Goal 30

15875 : Goal 31

15881 : Goal 32

15887 : Goal 33

15893 : Goal 34

15899 : Goal 35

15905 : Goal 36

15911 : Goal 37

15917 : Goal 38

15923 : Goal 39

15929 : Goal 40

15935 : Goal 41

15941 : Goal 42

15947 : Goal 43

15953 : Goal 44

15959 : Goal 45

15965 : Goal 46

15971 : Goal 47

15977 : Goal 48

15983 : Goal 49

15989 : Goal 50

15995 : Goal 51

16001 : Goal 52

16007 : Goal 53

16013 : Goal 54

16019 : Goal 55

16025 : Goal 56

16031 : Goal 57

16037 : Goal 58

16043 : Goal 59

16049 : Goal 60

16055 : Goal 61

16061 : Goal 62

16067 : Goal 63

16073 : Goal 64

16079 : Goal 65

16085 : Goal 66

16091 : Goal 67

16097 : Goal 68

16103 : Goal 69

16109 : Goal 70

16115 : Goal 71

16121 : Goal 72

16127 : Goal 73

16133 : Goal 74

16139 : Goal 75

16145 : Goal 76

16151 : Goal 77

16157 : Goal 78

16163 : Goal 79

16169 : Goal 80

16175 : Goal 81

16181 : Goal 82

16187 : Goal 83

16193 : Goal 84

16199 : Goal 85

16205 : Goal 86

16211 : Goal 87

16217 : Goal 88

16223 : Goal 89

16229 : Goal 90

16235 : Goal 91

16241 : Goal 92

16247 : Goal 93

16253 : Goal 94

16259 : Goal 95

16265 : Goal 96

16271 : Goal 97

16277 : Goal 98

16283 : Goal 99

16289 : Goal 100

(don't worry, I used excel to generate that hehe)

Examples:

50 00 02 02 0E FF

0 : Period 1

050 : 1:20

02: Even Strength

Goal scorer: 02

Assist 1: 0E

Assist 2: 00

59 00 02 02 05 FF

0 : Period 1

059: 1:29

02 : Even Strength

02 : Goal scorer

05 : Assist 1

00 : Assist 2

Sorry if it's a bit messy, but there it is.. :blink:

Link to comment
Share on other sites

  • 5 months later...
  • 11 months later...
  • 2 months later...

You're not going to believe this (ok, you will), but the game actually tracks checks per player (like goals, assists, shots, PIM, and checks per player!). It just doesn't display the checks stat.

As was said before, the offset for the array holding the home team players' PIM counts is 60488.

If you just jump ahead another 26 bytes, you get to 60514, and the checks per player counts are stored there.

Home player checks: 60514 (array of 25 bytes, one for each player)

Away player checks: 61382 (array of 25 bytes, one for each player)

  • Wow 1
Link to comment
Share on other sites

Nice Find Smoz :D

I did so much work to add the check stat, then I stumbled across the fact it was already there all along :(

it's funny, though.

and i'll use what i learned to make a "times player got checked" stat instead :)

Link to comment
Share on other sites

hehe that sucks man.

I'm going to try to add it to my database right now.

That's awesome that new stats are still being found though. Keep up the great work.

I just finished adding the "checks against each player" stat. It's a hidden stat -- i put it where the original hidden Checks For stat was. my Checks For are written to the PIM area, so they show up in the Player Stats screen.

Link to comment
Share on other sites

Smoz,

Great find man. I always wanted to know how many checks certain players ended up with in a 280 check game using mainly weight bug guys. I'm positive 1 player has gotten over 100 checks in a game. Roenick is probably a good specimen.

-Evan

Link to comment
Share on other sites

Smoz,

Great find man. I always wanted to know how many checks certain players ended up with in a 280 check game using mainly weight bug guys. I'm positive 1 player has gotten over 100 checks in a game. Roenick is probably a good specimen.

-Evan

Hm that gives me an idea to make a very simple little hack that will just display the check stat in place of the PIM stat (no weight bug fix, etc). I think it could be done by just changing 4 bytes in 2 places... and changing "PIM" to "Chk". It could be put in the Classic league ROM or something (who cares about the PIM stat.. it's in the Pen.Summary anyway)

Link to comment
Share on other sites

  • 4 months later...

Where is the stat extractor located? Is there a place to download the version that can plug into a website database for storing and displaying league stats?

Is the extractor compatible with save states from other emulators like Kega Fusion? Is there a manual for it?

Thanks in advance for any help. I've looked through this topic for a download link and I've tried to find any mention of the extractor elsewhere, but I've come up empty.

Link to comment
Share on other sites

Where is the stat extractor located? Is there a place to download the version that can plug into a website database for storing and displaying league stats?

Is the extractor compatible with save states from other emulators like Kega Fusion? Is there a manual for it?

Thanks in advance for any help. I've looked through this topic for a download link and I've tried to find any mention of the extractor elsewhere, but I've come up empty.

Here is one online you can use (but not download): http://65.36.133.56/nhl94statextractor.aspx

Gens and Kega both save in the same format, so they are both compatible.

I wrote my own savestate parser in ASP/VBScript. It uses an MS Access database to store the data. I can give it to you, but I don't give out much help and my 'manual' is not complete... so there are some skill-testing questions to answer before I give it out :lol: (to see if you will be able to figure out how to set it up without too much help)

send me a private message through the forum system...

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...