Jump to content
Sign in to follow this  
konForce

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.

http://www.emuware.com/files/?tsbPBE-beta03.zip

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.

tsbPBE-beta03.zip

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


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

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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×