Jump to content

NES TSB Play Editor BETA3 release


Recommended Posts

For background information, see: http://www.tecmobowl.org/forum/viewtopic.php?t=4307

TSB Playbook Editor Beta 3 is available.


Updates since the second release:
* BUGFIX: blitz byte (hopefully) saved correctly
* Added more information to various command codes
* Sequence data is reordered upon saving (*Nukes CPU AI*)
* Added "Safe Save" option

The purpose of this release is to correct a problem that was brought to my attention regarding the blitz byte not being saved properly. It should be resolved now, but you'll have to see for yourself if it works.

Other than that, there is no additional useful functionality. The editor does load the squences more accurately than Beta 2, but this doesn't translate into any practical applications.

If you want to use the editor to swap plays around, use the Safe Save option. It only saves the play slot information. Doing a Full Save will damage the ROM in that all offensive CPU AI will be corrupted.

The discovery that TSB stores CPU play logic within the sequences threw a monkey wrench into the route I was taking. To make a useful play editor, a completely high level editor would be necessary - ie, one that would essentially "compile" the playbooks into the NES format. This editor does not do that, and will likely only remain a debugging tool.


Link to comment
Share on other sites

  • 2 months later...

Can you explain a little more about why this tool isn't that useful?

If it corrupts the CPU Offensive AI, does normal hex editing and manually moving plays around do that as well, or is it just this program?

Or does this program just not work for creating entirely new plays?

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

I understand how to make user defined plays, all the way down to the routes, etc. There is still some unknown information, but it's nothing that couldn't be figured out.

The kicker is that embedded in the route information is the CPU logic. The CPU is not smart, it just does what the logic tells it to per route. In other words, if you create a play you also have to tell the CPU how to use the play.

What happens in the play sequence is at the end, a "take control" byte command is issued. If you are a human then you can now control the player and the play sequence is halted. However, if you are a CPU, the play sequence continues according to the logic that immediately follows it. (The last beta of my editor did not even attempt to load CPU data and thus, when saving the playbook, all CPU logic is overwritten with garbage.)

The logic for a QB might look like:

1) Drop back for pass.

2) If random number is A then pass to a player

3) If random number is B then move to a location (scramble)

4) While scrambling, if random number is C then pass to a player

5) Run with ball.

I never had time to completely look into this, but to me it looked like the best way to create a usable playbook editor would be to actually create a program that lets you draw plays up, and then press a "compile" button that creates the NES byte code needed for TSB.

In other words the program would not be able to extract information from the TSB ROM, it would only be able to export a playbook to it.

The method my playbook "editor" uses would have only worked if things were a bit more structured in the TSB ROM.

Link to comment
Share on other sites

  • 3 years later...
  • 6 years later...

Trying to run this on windows 8 and having problems... giving me an error code mscomctl.ocx and i downloaded the "fix" from microsoft website... https://support.microsoft.com/en-us/kb/896559


any suggestions?


I might have found the solution but it might not work without a reboot, which I'm not ready to do at the moment. Will let you know

Link to comment
Share on other sites

I might have found the solution but it might not work without a reboot, which I'm not ready to do at the moment. Will let you know


Actually it would help if I could spell.

There are two missing files. I've added them to the zip.

Download again and try running now.

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.

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