News:

RIP GoReds

Main Menu

New RBI Baseball

Started by achildprodigy, 04/05/07, 12:23:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

achildprodigy

New Rbi Baseball '09 based on Nightwulf's.
The doc. also from nightwulf rbi-romoffsets doc. + ?
Thank you, Nightwulf.

0010-0A0F: Batter and pitcher data
==================================

10 teams, numbered 00 (default Angels) through 09 (default Yankees)
100 bytes of data per team
 - team 00 at 0010-010F
 - team 01 at 0110-020F
 ...
 - team 09 at 0910-0A0F

Batter data stored in the following format:
 - 00: player number (00-0B)
 - 01-06: player name
 - 07: R/L/S handed (00=R, 01=L, 02=S)
 - 08: batting average 1
 - 09: home runs
 - 0A: contact
 - 0B-0C: power (2 bytes, high/low bytes reversed)
 - 0D: speed
 - 0E: batting average 2
 - 0F: Unused

Pitcher data stored in the following format:
 - 00: player number (0C-0F)
 - 01-06: player name
 - 07: left nibble= sinker ability
       right nibble= R/L handed (00=R, 01=L), +04 for sidearm pitchers
 - 08: ERA 1
 - 09: sinker speed
 - 0A: curve speed
 - 0B: fastball speed
 - 0C: left nibble= curve ability towards left side of screen
       right nibble= curve ability towards right side of screen
 - 0D: stamina
 - 0E: Com L/R curve use rate: 00=L curve a lot,  FF=R curve a lot
 - 0F: Com sinker/fast ball use rate: 00=sinker a lot, FF=fast ball a lot

***FE10-FF4F: Pitcher's Batting data & ERA 2  stored

8028-8045: Player palette data
==============================

3 bytes of data stored for each team (numbered 00-09)
 - 8028-802A: team 00
 - 802B-802D: team 01
 ...
 - 8043-8045: team 09

First byte: palette color used for helmet, bat, parts of uniform
Second byte: palette color used for skin color
Third byte: palette color used for most of uniform


3D81-3DD0: "End of game" newspaper headline team names
======================================================

8 bytes per team
 - 3D81-3D88: team 00
 - 3D89-3D90: team 01
...
 - 3DC9-3DD0: team 09

Capital letters, the space, and the period can be used
 - 40: A
 - 44: B
...
 - A4: Z
 - A8: space
 - D4: period


3D60-3D7D: Newspaper Player palette data
==============================

EF9E-EFA7: Team error rate
==============================
 - 00: Good > FF: Bad 

F779-F7FF + EEDD-EF1B (various bytes): "Attract mode" team names
====================================================

Turd

So are you saying they are the same as nightwulf's? I'll match it up and confirm. If so, the old editor I wrote will work. I'll check it out.

Also, can you post the code for your switch hitter hack? That's freaking awesome.

TβG

thank you so much, achildprodigy!  the rbi universe is nearing completion.  this is so awesome.

also, on this new rom he posted, the 10th team is a HOF squad (blacked out on the selection screen).
Quote from: Nacho on 03/15/16, 10:17:08 AMWe've had babe drafts. We've had a sandwich draft. We can have our babes and eat sandwiches, too.

TβG

Batter data stored in the following format:
- 00: player number (00-0B)
- 01-06: player name
- 07: R/L/S handed (00=R, 01=L, 02=S)
- 08: batting average 1
- 09: home runs
- 0A: contact
- 0B-0C: power (2 bytes, high/low bytes reversed)
- 0D: speed
- 0E: batting average 2
- 0F: Unused

that's not the switch hitter code??
Quote from: Nacho on 03/15/16, 10:17:08 AMWe've had babe drafts. We've had a sandwich draft. We can have our babes and eat sandwiches, too.

Turd

Yes, but that won't work by itself if I want to use it in a another ROM. I need the code that processes what to do with the switch value.

TβG

please come back, achildprodigy and share with us the switch hitter code.  oh, great oracle of rbi.
Quote from: Nacho on 03/15/16, 10:17:08 AMWe've had babe drafts. We've had a sandwich draft. We can have our babes and eat sandwiches, too.

Turd

Yeah, come back. I'd love to chat with you about things. I sent you a personal message.

achildprodigy

Switch Hitters for Rbi Original

Pitcher
#$00=RHP, #$01=LHP, #$04=RSP, #$05=LSP
Batter
#$00=RHB, #$01=LHB, #$02=switch
 
Original
0000A57E:           A005      LDY #$05
0000A580:           B125      LDA ($25),Y
0000A582:           4A            LSR A
0000A583:           B004      BCS $04
0000A585:           A96E      LDA #$6E
0000A587:           D002      BNE $02
0000A589:           A96F      LDA #$6F

Switch Hitters
0000A57E:           204A EF JSR $EF5A
0000A581:           EA           NOP
0000A582:           EA           NOP
0000A583:           EA           NOP
0000A584:           EA           NOP
0000A585:           EA           NOP
0000A586:           EA           NOP
0000A587:           EA           NOP
0000A588:           EA           NOP
0000A589:           EA           NOP
0000A58A:           EA           NOP
 
0000B78C:           2902       AND #$02

0000B78C:           2904       AND #$04
 
0000B969:           A005      LDY #$05
0000B96B:          B123      LDA ($23),Y

0000B969:           2035EF  JSR $EF45
0000B96B:           EA           NOP
 
0000B9C4:        A007   LDY #$07
0000B9C6:        B123   LDA ($23),Y
V
0000B9C4:           2035EF  JSR $EF45
0000B9C7:           EA           NOP
 
0000BEF5:            AE1501 LDX $0115
0000BEF8:           BD2506 LDA $0625,X

0000BEF5:            20CC EE JSR $EEDC
0000BEF8:           EA           NOP
0000BEF9:           EA           NOP
0000BEFA:            EA           NOP
 
0000C384:            2903       AND #$03
0000C386:            F008       BEQ $08
0000C388:            C902      CMP #$02

0000C384:            2981       AND #$05
0000C386:            F008       BEQ $08
0000C388:            C980      CMP  #$04
 
0000C83B:            AE1501   LDX $0115       
0000C83E:            BD2706   LDA $0627,X
V
0000C83B:            20CC EE JSR $EEDC
0000C83E:            EA           NOP
0000C83F:            EA           NOP
0000C840:            EA           NOP

0000EEDC:            FF

0000EEDC:            AD1501 LDA $0115   
0000EEDF:            D034      BNE $34
0000EEE1:            AD2706 LDA $0627
0000EEE4:            2903       AND #$03
0000EEE6:            C902      CMP #$02
0000EEE8:            F009       BEQ $09
0000EEEA:           B018      BCS $18
0000EEEC:           AE1501 LDX $0115
0000EEEF:            BD2706 LDA $0627,X
0000EEF2:           60           RTS
0000EEF3:            AD1706 LDA $0617
0000EEF6:           2901       AND #$01
0000EEF8:           D0F2      BNE $F2
0000EEFA:           AD2706 LDA $0627
0000EEFD:           18           CLC
0000EEFE:           6901       ADC #$01
0000EF00:            8D2706 STA $0627
0000EF03:            60           RTS
0000EF04:            AD1706 LDA $0617
0000EF07:            2901       AND #$01
0000EF09:            F0E1       BEQ $E1
0000EF0B:            AD2706 LDA $0627
0000EF0E:            38           SEC
0000EF0F:            E901       SBC #$01
0000EF11:            8D2706 STA  $0627
0000EF14:            60           RTS
0000EF15:            AD3706 LDA $0637?
0000EF18:            2903       AND #$03
0000EF1A:           C902      CMP #$02
0000EF1C:            F005       BEQ $05
0000EF1E:            B014      BCS $14
0000EF20:            4CDCEE JMP $EEEC
0000EF23:            AD0706 LDA $0607
0000EF26:            2901       AND #$01
0000EF28:            D0F6      BNE $F6
0000EF2A:           AD3706 LDA $0637
0000EF2D:           18           CLC
0000EF2E:            6901       ADC #$01
0000EF30:            8D3706 STA  $0637
0000EF33:            60           RTS
0000EF34:            AD0706 LDA $0607
0000EF37:            2901       AND #$01
0000EF39:            F0E5       BEQ $E5
0000EF3B:            AD3706 LDA $0637
0000EF3E:            38           SEC
0000EF3F:            E901       SBC #$01
0000EF41:            8D3706 STA $0637
0000EF44:            60           RTS
0000EF45:            A005      LDY #$07
0000EF47:            B123      LDA ($23),Y
0000EF49:            2904       AND #$04
0000EF4B:            F008       BEQ $08
0000EF4D:           B123      LDA ($23),Y
0000EF4F:            2905       AND #$05
0000EF51:            18           CLC
0000EF52:            6902       ADC #$02
0000EF54:            60           RTS
0000EF55:            B123      LDA ($23),Y
0000EF57:            2901       AND #$01
0000EF59:            60           RTS
0000EF5A:            A521      LDA $21
0000EF5C:            C90E      CMP #$0E
0000EF5E:            F01C      BEQ $1C
0000EF60:            AD9701 LDA $0197
0000EF63:            D007      BNE $07
0000EF65:            AD1501 LDA $0115
0000EF68:            F009       BEQ $09
0000EF6A:           D010      BNE $10
0000EF6C:            AD1501 LDA $0115
0000EF6F:            F00B      BEQ $0B
0000EF71:            D000      BNE $00
0000EF73:            A007      LDY #$07
0000EF75:            B125      LDA ($25),Y
0000EF77:            2903       AND #$03
0000EF79:            4C72EF  JMP $EF82
0000EF7C:            A007      LDY #$07
0000EF7E:            B125      LDA ($25),Y
0000EF80:            2901       AND #$01
0000EF82:            A8           TAY
0000EF83:            B977EF  LDA $EF87,Y
0000EF86:            60           RTS
0000EF87:            1B151CFD

A special thanks to MS.

Turd

Sweet! I'll look into adding this to my 2010 ROM.  Did you see my question that I PM'd you about the dirt graphics you made?  I was wondering if you were able to draw that continuous dirt basepaths on there as is, or did you have to hack some code to make it so that you could use more tiles for the dirt? I tried copying some of your tiles over, but it didn't quite fill in everything and left a lot of stray tiles...

achildprodigy

New Rbi Baseball '09 DH

2009 versions now...
-New Yankee Stadium
-Sidearm
-The New York Times
-National Anthem
-New York New York
-Switch Hitters
-Com Stronger
-DH

A special thanks to MS again.

Turd

Achildprodigy, any words on how you did the dirt thing?

achildprodigy

For changing the stadium,
I'm just using  Hex editor and NES graphic editor.

NES graphic editor
ttp://www.zophar.net/utilities/graphutil/yy-chr.html

I'm sorry it's hard to explain, please check the doc.
Thank you.

Turd

I know how to hack graphics, I just wasn't able to make the dirt fill in like you did, wondered if you had to write some code to make it happen, or if you were just able to do it without any coding tricks.

Any chance you could hve me the offsets on the tiles that need some changing?

kruze35

Used to be on these boards a few years back quite a bit as WClark, but I forgot my password. Registered again now since i seen this forum but can not find the rom with the stadiums.

If anyone can send me the Wrigley, Yankee Stadium and all the other stadium roms it would be greatly appreciated. I got back into it once i got a psp and put RBI on it. Please, if anyone can help send the roms to Kruze35@gmail.com

Thanks again

JEFF

kruze35

nevermind, since i registered i was able to download it, thanks

JEFF

TβG

Quote from: Nacho on 03/15/16, 10:17:08 AMWe've had babe drafts. We've had a sandwich draft. We can have our babes and eat sandwiches, too.

kruze35


TβG

strassy's your man then.
Quote from: Nacho on 03/15/16, 10:17:08 AMWe've had babe drafts. We've had a sandwich draft. We can have our babes and eat sandwiches, too.

arshak

any update on this?

Turd

Hahah. Hahahahaha! This is so old and the original creator has vanished.