smozoma

Game Stitcher

Recommended Posts

Attached is a program I made that stitches together 3 nhl94 savestates.

NHL94_game_stitcher1.4.zip

It's for use when you're playing a game and get disconnected/desynched.

You can use 3 savestates to make one savestate that represents your full real game, so all your stats are preserved.

Most Recent Update:

Version 1.4, November 3, 2011

  • Gets correct +/- data
  • Gets correct Time On Ice data (well, close to correct)
  • Gets correct Peak Crowd Level

The Idea:

The "formula" is this:

stitched_save = save1 + (save3 - save2)

save1: a savestate from when your game desynched.

save2: a savestate from the replayed game that has the

same score as save1 and approximately the same

time left.

save3: the savestate from the end of the replayed game.

stitched_save: a new savestate you can upload to the

website.

So, if you had 10 checks when the game was disconnected, then replayed the game, but had only 5 checks at the point where yiu started playing for real again, and ended up with 25 checks, this program will output a savestate where you have 30 checks (10 + (25-5) = 30). It will also fix up the scoring summary so you get all the right assists, etc.

Instructions/process:

1. Oh no! My game got disconnected when it was 5-4 half-way through the 2nd

period, whatever will I do?

2. MAKE A SAVESTATE when the game desynchs. Take note of the current score,

time remaining, and who had the puck (which coach).

Hit the F7 key to set gens to the next saveslot, so you don't save over this

savestate. Better yet, go and make a copy of the savestate for safekeeping.

3. Replay the game up to the time it got disconnected last time, scoring the

appropriate number of goals.

Don't worry about who scores them -- the stitcher will take care of it! But

you have to have the same score as when the game was disconnected.

4. Make another savestave -- this will be the reference

point for stitching the games together. DON'T SAVE

OVER THE ORIGINAL!

Hit the F7 key to set gens to the next saveslot, so

you don't save over this savestate. Better yet,

go and make a copy of the savestate for safekeeping.

5. Once the time is approximately what it was when the

game disconnected last time, start playing for real

and finish the game! Give the puck to the coach who

had it when the game disconnected.

6. At the end of the game, make yet another savestate.

DON'T SAVE OVER THE OTHER ONES!

7. Put Gamestitcher1.4.exe in the same folder as your

savestates

8. Doubleclick GameStitcher1.4.exe

9. Enter the length of periods you are using, in minutes. For example, 5.

10. Enter the names of the three savestates, one at a time

11. Enter a name for the output file, such as "out.gs0"

12. The games should get stitched together and output.

13. Load the stitched savestate in gens just to verify

that it stitched properly.

14. If all is good, upload to the website!

---

This game was stitched with version 1.4: http://www.blitz94.com/boxscore.asp?gameid=3860

Download:

NHL94_game_stitcher1.4.zip

Old version: NHL94_game_stitcher1.3.zip

Share this post


Link to post
Share on other sites

What a find smo! Hopefully it will be bug free.

Share this post


Link to post
Share on other sites

The program has been updated to fix a bug (penalty summary wasn't quite right).

Should be all good now!

Share this post


Link to post
Share on other sites

great job. i've never been disconnected, wonder if it has anything to do with the fact that i am never ahead.

Share this post


Link to post
Share on other sites
great job. i've never been disconnected, wonder if it has anything to do with the fact that i am never ahead.

Hahahahaha. That's awesome.

Share this post


Link to post
Share on other sites

Version 1.2 released to support the "hidden" check stat. Please upgrade.

Also, this version now allows spaces in the file names.

Share this post


Link to post
Share on other sites

Nice! This is really great for preserving the true stats.

Share this post


Link to post
Share on other sites

Important Update!!

v1.3

v1.2 had a bug that ruined the Attack Zone stat (it maxed out at 256 seconds, so if you had 257 seconds of attack zone, it started over at 1 second!)

From what I can tell, this bug was caused by a bug in the old microsoft compiler, which let me do a calculation I shouldn't have been able to do.. once I started using a proper compiler, it stopped working of course, with disastrous results :)

Edited by smozoma

Share this post


Link to post
Share on other sites

Amazing work smoz once again. Is there anything you cant do?

Keep up the good work, cant wait for your next find smoz.

Share this post


Link to post
Share on other sites
What is your programming language of choice, smo?

c++

the source is in the zip file, actually

Share this post


Link to post
Share on other sites

Been three years since the last post -- is this program still valid for Blitz 6?

Share this post


Link to post
Share on other sites

Been three years since the last post -- is this program still valid for Blitz 6?

Good question. It probably doesn't support the plus-minus stat, since I added that to the ROM in 2010. I'll have to update it.

Share this post


Link to post
Share on other sites

Version 1.4 released. See first post.

This version introduces support for +/-, Time on Ice, and Peak Crowd Level

Thanks KingRaph for cluing me in to the fact it was missing the new stats!

Share this post


Link to post
Share on other sites

bumping this thread for GDL 09! This is a great tool to preserve the game stats in case you desynch. I recommend anyone who is in a stats league to download and learn how to use it.

Share this post


Link to post
Share on other sites

I'll pin this to the top so its easy to find.

Share this post


Link to post
Share on other sites

Just a reminder to the community that this tool exists. The instructions may look a little confusing if you have never worked through the process before but the main thing is making sure to grab the 3 save files as described above. Once the program is opened it stitches the files together in an extremely user friendly interface.

Great work smoz, your program saved the stats in a crashed classic game I had last night. Hopefully everyone is using this tool.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now