News:

RIP GoReds

Main Menu

Recent posts

#61
RBI Baseball / Re: Learning how to dig into t...
Last post by chicobo329 - 09/05/25, 03:03:13 PM
Quote from: BeefMaster on 09/05/25, 01:56:06 PMInteresting that it appears that the ball/strike call is based on where the ball is caught, regardless of the trajectory it came in on (I also don't know how it'd track that, since a pitch can curve in flight). I guess I KIND OF assumed that but was not really sure - pitches that barely catch the corner I usually think of as strikes.

Nightwulf had figured out the points on the bat at which the contact penalty was applied, but I don't know if he ever figured out trajectory, if that's something you're also looking into.



I put up a quick video showing through frame advance that at least on the surface, it's tracking the position of the ball the entire time of the pitch and as soon as the ball is caught by the catcher, the determination is made. The first pitch was at $0109, a ball. When I rewound a bit and altered the trajectory, I got it caught at $010C, a strike. I guess you can see as I'm advancing frames how the ball position is changing as I muck with its direction. The two bytes next to those interest me and I wonder if it's the vertical ball position as these numbers consistently tick down until they reach the catcher and tick back up and stop at once the ball is thrown back to the pitcher.

As far as ball trajectory, that's not my primary objective although I'm sure I can eventually go down that direction. For now, I'm trying to see where in all these highlighted offsets is the batter's power and how else a pinch-hit bonus could be determined since it's clearly not reading the player stats the same way as the NES.
#62
RBI Baseball / Re: Learning how to dig into t...
Last post by BeefMaster - 09/05/25, 01:56:06 PM
Quote from: chicobo329 on 09/05/25, 12:38:25 PM*At offset $0620 - 7th and 8th bytes are the ball position. It ranges from $009x-$01Ax. A pitch down the middle seems to be $0111. A strike is called if the ball is anywhere between $010A-$012A by the time the ball is caught.

Interesting that it appears that the ball/strike call is based on where the ball is caught, regardless of the trajectory it came in on (I also don't know how it'd track that, since a pitch can curve in flight). I guess I KIND OF assumed that but was not really sure - pitches that barely catch the corner I usually think of as strikes.

Nightwulf had figured out the points on the bat at which the contact penalty was applied, but I don't know if he ever figured out trajectory, if that's something you're also looking into.
#63
News / Re: Going down boys
Last post by Gantry - 09/05/25, 01:21:42 PM
Couldn't look at it, anymore
#64
News / Re: Going down boys
Last post by fknmclane - 09/05/25, 12:51:05 PM
HE'S BACK
#65
RBI Baseball / Re: Learning how to dig into t...
Last post by chicobo329 - 09/05/25, 12:38:25 PM
I'm not 100% confident that the pinch-hit bonus doesn't apply to Genesis RBI 3, even though the player stats in the RAM aren't updating. But in order to fully understand everything, I need to figure out how Genesis RBI 3 calculates hits in the first place. Based on my suspicions earlier and fiddling with frame advance/rewind/save states, I found the offsets that seem to at least handle the ball positions. The screenshot below is the moment Steve Finley registers a hit against a pitch from Chuck Finley (no relation).

The primary offsets I found are $05F0-0670, note that this is all in the 68K Genesis RAM. So far I've at least deduced a few things about stuff in the middle...

*At offset $0620 - 7th and 8th bytes are the ball position. It ranges from $009x-$01Ax. A pitch down the middle seems to be $0111. A strike is called if the ball is anywhere between $010A-$012A by the time the ball is caught.

*At offset $0630 - 8th and 16th bytes seem to be pitcher position. Leftmost is $0C, rightmost is $25 (this shifts slightly when the pitcher is spitting chewing tobacco/throwing pitches)

*At offset $0640 - This seems to be the batter position. The 10th byte is the vertical position of the batter and the 16th byte is the horizontal position. There are other bytes around these offsets that are slightly before and after the horizontal position of the batter but they just seem to be for animations (the batters will adjust their feet/hands/bat)

Vertical position ranges from $F0 (up)-$10 (down) and horizontal position ranges from $2A (left)-$3D (right) for a lefty. For right-handed hitters, horizontal ranges from $E3 (left)-$F6 (right).

Genesis RBI 3 allows you to properly bunt unlike NES by pressing C which will keep you in that position until you press C again. When you lay down a bunt, your horizontal position is pushed forward by 7. For example a right-handed batter laying down a bunt as close to the plate as possible is at $FD instead of $F6. But also, the hitbox for bunting is shorter than a regular swing.

As an example, I started with these same Finleys and tried to see what ball positions will register the bunt. I moved Steve all the way up ($F0). The ball position needs to be between $0112-$0124 to register the bunt. Meanwhile, I was able to get a foul tip by making contact with a regular swing with the ball at $010E, which a bunt wouldn't reach.

I should note that exactly one frame before the screen transitions to the field (which is when I took this screenshot), the first seven bytes of offset $0600 will clear and the first four bytes of offset $05F0 will change a bit. The second attachment (just the RAM contents alone with highlighted bytes) show what was there before they were cleared. I still really don't have much clue over how to figure out where power and hit index are calculated, but figuring out the positions of things is at least a good step towards this.

I should also note, Steve Finley's Power is 750 ($02EE) but I don't see this anywhere else in the RAM other than where the team rosters are copied (in Steve's case, offset $0240).
#66
News / Re: Going down boys
Last post by Gantry - 09/05/25, 11:58:06 AM
Think I fixed it, apparently if you have an apostrophe in your little quote under your pic you can't change your pic.  
#67
RBI Baseball / Re: RBI arcade cab available
Last post by Gantry - 09/05/25, 09:49:57 AM
Quote from: TheSunshineFund on 09/05/25, 05:06:35 AMYou can just ship the monitor chassis, they don't need the tube to do a recap.  Lots of folks on KLOV.com do monitor board repairs I reckon.  I haven't looked into it in a long time as I only have one cabinet left but look for any stickies on klov message board for monitor repairs, likely has its own section.  This of course requires you to remove the anode cap, etc, but plenty of vids around to disassemble.

GL 
Ah didn't think about that, chassis only.  

#68
RBI Baseball / Re: RBI arcade cab available
Last post by Big Hath - 09/05/25, 08:29:03 AM
#69
RBI Baseball / Re: RBI arcade cab available
Last post by TheSunshineFund - 09/05/25, 05:06:35 AM
You can just ship the monitor chassis, they don't need the tube to do a recap.  Lots of folks on KLOV.com do monitor board repairs I reckon.  I haven't looked into it in a long time as I only have one cabinet left but look for any stickies on klov message board for monitor repairs, likely has its own section.  This of course requires you to remove the anode cap, etc, but plenty of vids around to disassemble.

GL 
#70
RBI Baseball / Re: RBI arcade cab available
Last post by Gantry - 09/05/25, 04:43:44 AM
I don't, but in general you shouldn't ship CRTs so it should be someone local.