News:

RIP GoReds

Main Menu

New RBI Rom

Started by jggames, 02/13/05, 07:46:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nightwulf

Quote from: jggames on 02/23/05, 09:53:58 PM
I have attached a screenshot showing the RBI CHAMPION screen. On that screen it shows Boston with a blue logo. I need to find the palette to that logo. Nightwulf I'm sure you can help me with that if you get time. It's probably like the other palette you helped me with.

Actually, this palette is a little different. Note that the team logo you're referring to is a sprite, and not part of the name table (which makes no sense, but hey, I didn't code the game). All of the previous palette questions I've answered have pertained to the name table (background) palette. Also, the data stored at some of the locations mentioned below differs between the original FS'90 and RBI_League.nes. The default data I list comes from your modified (RBI_League.nes) ROM.

The palette starts from this location:

     No>  0  1  2  3   4  5  6  7   8  9  A  B   C  D  E  F
0x1453B> 0B 30 30 30  0B 20 0F 36  0B 27 0F 36  0B 21 0F 2B

This (sprite) palette is loaded from that location long before the "RBI champions" screen. Modifications are made "on-the-fly" as needed. Next, the following data is used:

0x18010> 0F 20  16 10  03 16  0B 20  0F 21  01 10  03 00  16 20
0x18020> 01 20  28 16  0F 26  02 11  00 16  00 01  28 20  00 0F

There are two bytes of data here for each of sixteen teams. Palette value 0x1 is overwriten by the first byte. Next, bytes 0x0, 0x4, 0x8, and 0xC (the background color for the palette) is changed to whatever the background color of the name table palette is. At this particular time, it's changed to 0x00.

Next, the following data is used:

0x180CF> 26 44  16 48  11 4C  19 54  28 50  11 5C  11 70  16 60
0x180DF> 16 68  19 64  27 6C  11 74  14 58  26 78  28 7C  0F 40

Palette value 0x3 is overwritten by the first byte of the pairing appropriate to the team displayed. Finally, value 0x2 is overwritten by the value at 0x11DB4 (default 0x20).

Whoo. So, for example, if team 1 (0-15) is the winning team, the following sprite palette will be passed to the PPU:

00 16 20 16  00 20 0F 36  00 27 0F 36  00 21 0F 2B

Nightwulf

Scroope

I like this ROM someone should put new teams in.
RBI Fundamentalist League: http://www.angelfire.com/games5/rbi/

jggames

Here's the latest. I added 2 more teams since there was two more spots in the game. I added the White Sox and Padres because they were the next two best teams. The kicker is that these 2 new teams can only be used in league mode. I'll probably switch them with the AL and NL all stars when I get around to it.

I switched the ID column to "Dif" thinking that it could mean difficulty but I don't think that has anything to do with it. In that column you can change the first letter to 3 different options and then you can change the number to 1-9(not "0") so if anybody has an idea on what this should be then let me know.

I've messed with the words on the 7th inning stretch screen but couldn't get it to work right. I really don't know where they are stored. nightwulf, if you have time and can locate where the tiles are for the 7th inning stretch screen then let me know.

Other then those issues the only things left (I think) are the following....

-distance(feet) issue, getting asm code to show feet instead of meters on homeruns

-palette for AL and NL logos. I still can't find that damn thing.

-Rosters. I'm not very good at doing rosters nor do I have the patience. Hopefully somebody can take the info that nightwulf provided on previous posts and update the rosters. All the rosters are stored in the same place so once they are done they can be cut and pasted to new/updated roms.

As you can see there is not much left, which is good because I'm finding that I have less and less time to work on it.

nightwulf

Quote from: jggames on 02/27/05, 04:54:26 PM
I've messed with the words on the 7th inning stretch screen but couldn't get it to work right. I really don't know where they are stored. nightwulf, if you have time and can locate where the tiles are for the 7th inning stretch screen then let me know.
The larger word on the top (three characters, a dash, a seven, one more character, then an exclamation point) is stored in the same stupid format used by what you saw as "EGAC" on the end-of-game screen. The tiles are formatted as such:

9C 9E 7C 7E B0 B2 44 46 B4 B6 B8 BA 4C 4E
9D 9F 7D 7F B1 B3 45 47 B5 B7 B9 BB 4D 4F

As before, only the top left tile in each "block" of four is stored as static data in the ROM. The other three are again calculated numerically (the tile directly to the right is (original tile number+2), and each tile in the second row is (tile number directly above it+1). The top left tiles used here are stored at the following location:

0x15C0F> 9C 7C B0 44 B4 B8 4C

The second row (team icon, followed by a space, followed by two japanese characters separated with a dash) is much easier. The tile placement looks like the following (note that 0xF4 is the "space"):

00 02 F4 F4 40 42 44 46 48 4A
01 03 F4 F4 41 43 45 47 49 4B

These are stored verbatim at the following locations:

0x3D5C> 00 02 F4 F4 40 42 44 46 48 4A
0x3D7C> 01 03 F4 F4 41 43 45 47 49 4B

Actually, much of the entire 7th inning stretch screen is drawn from data in that area. The NES display area (which isn't exactly what's displayed on-screen) is 32 tiles wide and 30 tiles high. Keeping that in mind, you can see the layout of a good portion of that screen here. The two full rows (including spacing, the little floating heads, and the text above) run from 0x3D50-0x3D6F and 0x3D70-0x3D8F.


Quote from: jggames on 02/27/05, 04:54:26 PM
-palette for AL and NL logos. I still can't find that damn thing.
On which screen are the logos you're having trouble with? The logos look fine on the "new league" screen, and I haven't played through the ROM enough to know where else they appear.

Nightwulf

ben seaver

Just wondering if those 2 teams you just created where teams that could be unlocked through something?  I played Family Stadium 91 and after playing 14 hr derby games, I unlocked a new team.  Could that be the purpose for those teams not showing up on exhibition mode?

Suggestion to maybe change the reporter on the recap screen to be someone else?  Bill Simmons?  Marianne Merciono?  Rich King? Svenghoulie?  Bozo?  Harold Reynolds?

jggames

Thanks nightwulf. I was going to change the palette of the logos. I think the colors are a light blue and a yellow. I was going to change them to blue and red so the AL and NL logos show up correct. I'll look into that and the 7th inning info tonight.

It very well could be that the two extra teams need to be unlocked. When it is complete, the teams to be unlocked will be the AL and NL All Stars.

Ryno23

If there is an "easy" way to do rosters, I can take on some of the load.

By easy, I mean easy like nightwulf's editor.  I can do rosters and settings (power etc).


nightwulf

Quote from: jggames on 02/28/05, 08:40:25 AM
Thanks nightwulf. I was going to change the palette of the logos. I think the colors are a light blue and a yellow. I was going to change them to blue and red so the AL and NL logos show up correct. I'll look into that and the 7th inning info tonight.

Ok, I see what you mean on those logos. Try this: change 0x11824 from 0x38 to 0x01, and change 0x11831 from 0x21 to 0x26. The results are attached, badly cropped and edited to show a close-up of the two logos.

Nightwulf

jggames

Yep, that's it. Thanks.

TempoGL

just tried playing it.  i'm using NNNesterJ, and after setting up a league, it returns to the league setup screen.
Quote from: Nacho on 02/15/24, 12:09:31 PMWho Let the Dogs Out is an underrated masterpiece.

nightwulf

Yeah, FS'90 uses some relatively obscure Japanese hardware in the cartridge. Evidently Nester (and Nesticle, and god knows what else) isn't supporting this hardware correctly. "Mapper 19" or "Namcot 106" support is what is needed.

Nightwulf

jggames

Here's the latest.

-changed White Sox and Padres to be on team selection screen, AL and NL are now hidden until league mode or they are some how unlocked.

-fixed 7th inning text.

RedBarron

are the players still japanese?

jggames


RedBarron

Quote from: jggames on 03/03/05, 08:03:24 AM
Yep.


are they stupid sexy japanese or just regular japanese?

TβG

i think they're turning japanese, i think they're turning japanese.  i really think so.
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.

Nails

Quote from: RedBaron on 03/03/05, 08:04:25 AM
are they stupid sexy japanese or just regular japanese?

Is there a difference?
I've been swimming in raw sewage ... I love it

TempoGL

did this ROM ever get completed?
Quote from: Nacho on 02/15/24, 12:09:31 PMWho Let the Dogs Out is an underrated masterpiece.

RedBarron

I'm wondering the same.

Once rosters get put in this ROM, I think it will be a very fun game.


nightwulf

If someone wants to come up with stats (note that power is now a one-byte field; see information about it .. somewhere in this thread) I'd be happy to squirt them into the ROM. Other than that, the only thing left to do that I know of is to change the homerun distance from meters to feet, but I've not had much time to continue working on a solution.

Nightwulf