Jump to content

TSB with both 34 and 43 defenses


jstout

Recommended Posts

I setup TSB to allow specific teams to be set as 34 or 43 defenses. Only gameplay on the field and the Defensive Starters page have been edited. The roms have been tested fairly well but let me know if any glitch happens or if any of the plays (offense or defense) vs the 43 need adjustments.

The 43 teams on the original rom are:

CHI, DAL, HOU, MIN, NYJ, PHI, RAI, SEA, WAS

The 43 teams on the 32 team rom are:

ARZ, ATL, BUF, CAR, CHI, CIN, DET, GB, HOU, JAX, KC, MIA, MIN, NO, NYG, OAK, PHI, SEA, STL, TB, WAS, and both the AFC and NFC Pro Bowl teams

post-2320-13413725605167_thumb.png

TSB_2D.zip

TSB32_2D.zip

Link to comment
Share on other sites

Edit: JS, did you just create a new Defensive Starter screen? And now the ROM is referencing a 3 / 4 screen and a 4 / 3 screen?

Yeah, it is basically a new screen. Where the game loads the Defensive Starter screen, I changed the code to if set to 34 then load the original screen info else load the new 43 screen info.

Link to comment
Share on other sites

This is awesome EXCEPT... I tried to edit the NFC West Teams (SF/SEA/AZ) and when I do it and load up the game and go to the team roster page they get all jumbled. It doesn't update and the screen is all pixelated. I tried doing a couple different things and the bottom line is it won't let you edit those teams. It won't even let you edit a player's name without it being jumbled.

Also GB runs a 3-4 now. This is such an awesome update. Anyway you can figure out what's up with editing the NFC West Teams? I'd love to use this ROM as a base roster from now on to do my own updated rosters.

Thanks for all your work!

Link to comment
Share on other sites

This is awesome EXCEPT... I tried to edit the NFC West Teams (SF/SEA/AZ) and when I do it and load up the game and go to the team roster page they get all jumbled. It doesn't update and the screen is all pixelated. I tried doing a couple different things and the bottom line is it won't let you edit those teams. It won't even let you edit a player's name without it being jumbled.

Yeah, I didn't want to modify any of the teams on the roms strictly for ease.

Because of the rom expansion, the location of the NFC West teams is in a different location. I haven't checked TSBTool but odds are if you copy x3F000-x4000F and paste it at x7F000-x8000F then it will fix your problems.

Edit: Verified that this will fix the NFC West after rom editing with TSBTool

Link to comment
Share on other sites

so, how/where (0x) do you set each team to a value?

On the original rom:

For the defensive starters page:

x33FC0-x33FDD where x00 = 34 and x01 = 43

For the game field:

x400E0-x400FD where x02 = 34 and x22 = 43

Team order is BUF-ATL, AFC PRO BOWL, NFC PRO BOWL

On the 32 team rom:

For the defensive starters page:

x33FBE-x33FDF where x00 = 34 and x01 = 43

For the game field:

x400DE-x400FF where x02 = 34 and x22 = 43

Team order is BUF-CAR, AFC PRO BOWL, NFC PRO BOWL, SF-ARZ

Link to comment
Share on other sites

Awesome! I wish people like you had unlimited free time to fix everything with TSB. :)

I sound like a jerk but why did you use a rom from 2007? At least I think that was the year.

Any way you can make a General Manager program that would work with the 32 team rom?

Greedy I am. (Others were thinking this too but didn't say it!)

Link to comment
Share on other sites

I went ahead and already transferred the rosters from a 2009 ROM and put them into this one. It works great (thanks again Jstout for the help in making the AFC West Teams Work).

By the way. Here are the base defenses for all NFL Teams. Since Jstout was nice enough to show me how to change the defenses using the hex editor I'm going to go ahead and try to change the teams that need their base defenses changed around.

X = Wrong in the ROM

* = Has it Correct in the ROM

Team: Defense in Real Life

*Bills: 4-3

XDolphins: 3-4

*Patriots: 3-4

*Jets: 3-4

*Ravens: 3-4

*Bengals: 4-3

*Browns: 3-4

*Steelers: 3-4

*Texans: 4-3

XColts: 4-3

*Jaguars: 4-3

XTitans: 4-3

*Broncos: 3-4

XChiefs: 3-4

*Raiders: 4-3

*Chargers: 3-4

*Cowboys: 3-4

*Giants: 4-3

*Eagles: 4-3

*Redskins: 4-3

*Bears: 4-3

*Lions: 4-3

XPackers: 3-4

*Vikings: 4-3

*Falcons: 4-3

*Panthers: 4-3

*Saints: 4-3

*Buccs: 4-3

XCardinals: 3-4

*Rams: 4-3

*49ers: 3-4

*Seahawks: 4-3

So in summary: the Cardinals, Packers, Chiefs, Dolphins should all be changed to a 3-4 and the Titans, Colts should be changed to 4-3

Link to comment
Share on other sites

I am in the midst of teaching myself, but I'm too green at it yet...I can write C# or whatever with my eyes closed, but this is a different world...I know about opcodes and addressing modes and whatnot, I'm just stuck on some of the layout of ROMs and what can and can't be written to and all that shit. jstout has explained it a billion times, but I'm still not getting it...someday though!

In the meantime, whenever he does an NES hack, I try to get the SNES version as well, considering it's very similar code, usually it ports pretty well...

Link to comment
Share on other sites

What's all the code on the original rom version at 0x33F30? Mine are all FF's. Does that need to be written in to make this new code work? :)

I just tried to apply the changes to my retro rom and graphics got jumbled everywhere. Helmets and players on the field were glitchy.

Jstout, can you post all the locations where the new code needs to written in? ;)

Link to comment
Share on other sites

I see what you did now. I was wondering why none of the original offensive and defensive sections were being read and then I realized you moved it to a completely different location. Very cool stuff.

Could you post the code for just the defensive starters image hack?

Link to comment
Share on other sites

jstout, could you make a "patch" or just give the straight code?

So I made an ips patch using this "32_2D rom" and "cxrom's 32 v 1.05", applied the patch to my current 2009 rom.

The offensive formations and most of my plays have been altered - seems like it reverted to the original formations and some of the original plays...very messed up. :)

does your new defensive code effect any offensive code? maybe the 1.05 versions we have are different?

Link to comment
Share on other sites

jstout, could you make a "patch" or just give the straight code?

So I made an ips patch using this "32_2D rom" and "cxrom's 32 v 1.05", applied the patch to my current 2009 rom.

The offensive formations and most of my plays have been altered - seems like it reverted to the original formations and some of the original plays...very messed up. :)

does your new defensive code effect any offensive code? maybe the 1.05 versions we have are different?

I downloaded the 1.05 rom a day or two ago from the website and just pasted all my code into the rom so it definitely isn't altered heavily other than expanding the rom. The 43 defense and offense against are the original plays in a different part of the rom (2 sections of play code for each offense/defense). Buck, load a game with both 34 defense teams and see if all the plays are yours as the suspected revert is likely the new "default" 43 play section which your rom didn't have.

I'll post the code you guys wanted when I get a chance and make an IPS.

Link to comment
Share on other sites

Could you post the code for just the defensive starters image hack?

Here is the code for the defensive starters screen

x32412:
; GOTO DRAW SCREEN BACKGROUND
4C 60 9F JMP $9F60
EA NOP

x33F70: ($9F60)
A6 6E LDX $006E ; GET TEAM NUMBER
BD AE 9F LDA $9FAE,X ; GET TEAM DEFENSE
F0 07 BEQ :+
; 43 DEFENSE
A9 1D LDA #$1D ; POINTER LOCATION
A2 2F LDX #$2F ; BANK NUMBER
4C 06 84 JMP $8406
; 34 DEFENSE
A9 1D : LDA #$1D ; POINTER LOCATION
A2 0F LDX #$0F ; BANK NUMBER
4C 06 84 JMP $8406

x32425:
; GOTO DRAW NUMBERS ON FORMATION
4C 20 9F JMP $9F20
EA NOP

x33F30: ($9F20)
A6 6E LDX $006E ; GET TEAM NUMBER
BD AE 9F LDA $9FAE,X ; GET TEAM DEFENSE
F0 2F BEQ :++
; 43 DEFENSE
A0 00 LDY #$00
A2 00 LDX #$00
B9 E6 9F : LDA $9FE6,Y ; NUMBER LOCATION Y
9D 10 02 STA $0210,X
9D 14 02 STA $0214,X
B9 E7 9F LDA $9FE6+1,Y ; NUMBER LOCATION X
9D 13 02 STA $0213,X
18 CLC
69 08 ADC #$08
9D 17 02 STA $0217,X
A9 00 LDA #$00
9D 12 02 STA $0212,X
9D 16 02 STA $0216,X
C8 INY
C8 INY
8A TXA
18 CLC
69 08 ADC #$08
AA TAX
E0 58 CPX #$58
90 D8 BCC :-
4C 41 84 JMP $8441
; 34 DEFENSE
A0 00 : LDY #$00
A2 00 LDX #$00
4C 19 84 JMP $8419

x3246D:
; GOTO DRAW NAMES
4C 80 9F JMP $9F80
EA NOP
EA NOP
EA NOP
EA NOP
EA NOP
EA NOP
EA NOP
EA NOP

x33F90: ($9F80)
A6 6E LDX $006E ; GET TEAM NUMBER
BD AE 9F LDA $9FAE,X ; GET TEAM DEFENSE
F0 0E BEQ :+
; 43 DEFENSE
A5 8E LDA $008E
0A ASL
AA TAX
BC D0 9F LDY $9FD0,X ; NAME LOCATION LO
BD D1 9F LDA $9FD0+1,X ; NAME LOCATION HI
AA TAX
4C 68 84 JMP $8468
; 34 DEFENSE
A5 8E : LDA $008E
0A ASL
AA TAX
BC EF 84 LDY $84EF,X ; NAME LOCATION LO
BD F0 84 LDA $84EF+1,X ; NAME LOCATION HI
AA TAX
4C 68 84 JMP $8468

x33FE0: ($9FD0)
.BYTE B2,21, D2,21, 12,22, 48,22, 68,22, F2,21, 88,22, 0E,23, 2E,23, 4E,23, 6E,23
x33FF6: ($9FE6)
.BYTE 20,A0, 20,88, 20,50, 30,A8, 30,78, 20,68, 30,48, 38,D8, 38,18, 40,98, 40,60

x33FBE: ($9FAE)
.BYTE 01,01,00,00,01,00,00,00,00,01,01,00,00,01,01,00 ; AFC EAST-WEST
.BYTE 01,01,01,00,01,01,01,01,01,01,01,01 ; NFC EAST-CENTRAL
.BYTE 01,01 ; PRO BOWL
.BYTE 00,01,01,01 ; NFC WEST

; VALUES USED TO PUT BLANK SPACES ON SCREEN
x324B8,x324BA, x324BC,x324C0 ; LOCATION LO,LOCATION HI, Y LENGTH,X LENGTH
x324C7,x324C9, x324CB,x324CF ; LOCATION LO,LOCATION HI, Y LENGTH,X LENGTH
x324D6,x324D8, x324DA,x324DE ; LOCATION LO,LOCATION HI, Y LENGTH,X LENGTH

; IN EXPANDED AREA FOR 43 DEFENSE
x5E04A:
.BYTE 29,AA ; POINTER TO SCREEN TEXT and GRAPHICS
x5EA39-x5EB16 ; SCREEN TEXT and GRAPHICS (copied and edited from x1EA39-x1EB16)

Link to comment
Share on other sites

I downloaded the 1.05 rom a day or two ago from the website and just pasted all my code into the rom so it definitely isn't altered heavily other than expanding the rom. The 43 defense and offense against are the original plays in a different part of the rom (2 sections of play code for each offense/defense). Buck, load a game with both 34 defense teams and see if all the plays are yours as the suspected revert is likely the new "default" 43 play section which your rom didn't have.

So it sounds like there are 2 sections of offense and 2 sections of defense code. How is the offense code different from each other?

What do I need to copy (and where) to make this hack work on a modified playbooks rom?

Link to comment
Share on other sites

So it sounds like there are 2 sections of offense and 2 sections of defense code. How is the offense code different from each other?

What do I need to copy (and where) to make this hack work on a modified playbooks rom?

That is correct, 2 sections for both. The offense has altered blocking and less than 5 plays had the ballcarrier's route adjusted so they didn't run constantly into the OL.

If the plays are merely reordered with no design changes then nothing with the playbook needs to be copied. If there are design changes then the locations are x4010-xC00F and x44010-x4C00F. The offense is x4010-x500F and x8010-xA00F with the equivalent x44010-x4500F and x48010-x4A00F. The defense is x6010-x800F and xA010-xC00F with the equivalent x46010-x4800F and x4A010-x4C00F. Obviously you'd need to change the code in the 43 section to produce the 43 defense.

I'm still looking if there is an easy way to patch this for any rom with no play design changes. At the moment, I can get a generic IPS that would require one copy and paste with a hex editor but nothing too hard.

Attached is the info I used to create the 43 defense as well as the original play design. Using the included CC65 programs, a nes file gets created that is pasted into the rom. This also may be helpful to anyone that edits plays. I can help make some sense of the info if needed.

Play_Codes.zip

Link to comment
Share on other sites

Thanks to jstout, I have this on my Retro rom. :)

I can say, that I actually notice a big difference with the game play. So far I've seen no visible problems with anything, as I've already coached through two seasons with this hack. Running, passing, blocking and just about anything else seem spot on.

Link to comment
Share on other sites

  • 1 month later...

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