Jump to content

Need help on mini helmets for an NCAA rom


jjkaliff

Recommended Posts

Creating an NCAA football rom and need some assistance on the mini helmets.  Things that need fixed are the facemask of my FSU mini helmet to a red color,  my UCLA should look like the notre dame helmet with the blue UCLA logo, and my Lousiville helmet needs some help. I'd like it to be white with a white facemask.  Any assistance would be greatly appreciated  I'll upload the rom i'm working with.NCAA 2013_2copy.nes


Link to comment
Share on other sites

  • 4 weeks later...

I will put some information in here, since I had the same problem when I first tried to make my College Rom.
This will help when you want to modify the MINI HELMET TILES from a NES 32-base rom.
MINI HELMETS are MAINLY shown on 3 screens:  PRESEASON/TEAM CONTROL, TEAM DATA and NFL STANDINGS.

The ORIGINAL 28-ROM had its MINI HELMET-TILES assignment at offset x23BC6, (32 teams rom as well, BUT only for the 28 first teams)

post-9389-0-52938000-1380931240_thumb.pnpost-9389-0-74550200-1380931284_thumb.pn
In order to see this pattern TABLE, just open a TILE VIEWER program, (I reccommend YY-char, load rom into it and scroll down till you find the Mini helmets.)

Another way is with the PPU Viewer feature, from the FCEUX emulator (>/Debug>/PPU viewer)

post-9389-0-86476600-1380931384_thumb.pn

Here, just roll your mouse over a tile you want to know its name,
post-9389-0-20244700-1380931429_thumb.pnand its name will be shown in here.

Now, at offset x23BC6 is allocated the first team's TILE-SETUP. EACH TEAM HAS A 5-BYTE-SETUP.

post-9389-0-47685000-1380931477_thumb.pn

THE First 4 bytes are for the GRAPHIC TILES that form the minihelmet onscreen. The last 5th Byte is to assign its SPECIAL-SETUP/PALETTE.

post-9389-0-90662000-1380931533_thumb.pnpost-9389-0-24387600-1380931550_thumb.pn

 

To see how this SPECIAL SETUP ASSIGNMENT works. I WILL PUT THE EXAMPLE OF THE DOLPHINS HELMET (from dataSteve's tutorial).
NOTE This Helmet only ADDS 1 SPECIAL GRAPHIC TILE. SOME OTHER SETUPS ADD THE WHOLE 4 TILES OVER/UNDER. IT ALL DEPENDS ON WHICH SETUP EACH TEAM HAS ASSIGNED TO THEM.

post-9389-0-44146000-1380931638_thumb.pn

So, to modify your FSU (Seminoles) and put it their RED FACEMASK, you will:
First, locate the FSU Helmet setup (9th team =Steelers) which setup is allocated at x23BEE:

post-9389-0-71217300-1380931732_thumb.pn
B9 CB 82 83 2A (5 bytes). Here, you will see the special Setup byte (2A)

YOU WILL HAVE TO CHECK WHAT DOES 2A STANDS FOR. HERE:
post-9389-0-11005000-1381009484_thumb.pn(2A) means Sp-Setup 28 + Sp-palette 02  (28hex + 02hex = 2Ahex)
Now, This means the $2A Special setup (or.the VIKINGS) is assigned in this ROM for the 9th team (or.the STEELERS)
*A SPECIAL SETUP CAN BE ASSIGNED MORE THAN ONCE (different teams may have the same Sp-setup)

post-9389-0-62279600-1380932192_thumb.pnpost-9389-0-46592300-1380932134_thumb.pn
So, go to offset x23CAD (where "2A" Special setup is located). YOU WILL NOTICE THIS IS a COMPLETE-4-TILE-SPECIAL-SETUP (so it is easier)
REMEMBER: *The 4 bytes for these design tell: 1.(y: location coords), 2.(Tile #),  3.(Palette # and lay type), and 4.(x: location coords).

00 FD 00 00  TILE1 - "FD"
00 D1 23 08  TILE2 - "D1"
08 D1 23 00  TILE3 - "D1"
08 D1 23 08  TILE4 - "D1"   but *23 means BACK LAYER/palette3

post-9389-0-81729000-1380931948_thumb.pn

 

(But let's suppose you only had a 1-TILE-SETUP, you would then have to MOVE your x:y-coords, to those corresponding a TILE4=facemask, which are: x:y=08:08)
but your Helmet still WONT MATCH EXACTLY )

Now, to add a RED FACE MASK to your FSU helmet (TILE4=facemask), go to the PPU viewer and locate a Tile having a RED FACEMASK.
REMEMBER that ALMOST every PPU VIEWER Shows TILES applying the default (first) palette. For this particular example, the RED color
happens to be a part of the 1st palette. If the facemask from FSU was PURPLE (2nd color from your 3rd palette), you would have to find a GRAY FACEMASK then
(because Gray is the 2nd color from the DEFAULT palette). Or you can "click" the Right button from your mouse over the FCEUX's PPU VIEWER to switch from
every palette available in there.

post-9389-0-47202500-1380932269.pngpost-9389-0-48701900-1380932287.png
The RED MASK is "A3" (Purple would be "87"), so at the Sp-setup-TILE4 from the 2A-Sp-setup (at x23CB9: 08 D1 23 08). Change the "D1" (corresponding the graphic tile) to "A3" (RED MASK), and change the "23"(BACK Layer/palette3) to "00" (front layer/palette00)

post-9389-0-88551900-1380932368_thumb.pn

You will end up having your FSU helmet like this:

post-9389-0-18832500-1380932421_thumb.pn
But as you can see part of the BlackMASK from the background layer is still there. (That would be all you could do if you had only a 1-TILE-SETUP, but since you have a complete-4-tile-setup, you can fix that). What you dont have, are the Tiles needed to add "THE REST" of the RED facemask.
To see which tiles you are missing, I will add them, although they are not the correct color: RED=1st color from 1st palette:

post-9389-0-90201700-1380932576_thumb.pnpost-9389-0-00951000-1380935080_thumb.pnpost-9389-0-42567500-1380935109_thumb.pn

You just need to MAKE (CREATE/DRAW) those tiles (RED, 1st default color) and change them at their corresponding allocation (for TILE2, and TILE 3) which are these:
post-9389-0-37350000-1380932560_thumb.pn

Edited by pambazos88
Link to comment
Share on other sites

ALL MINI HELMETS HAVE THE SAME SETUP PROCEDURE "GRAPHICALLY", but the 32-team rom has a different palette assignement depending on the screen it is shown.

For Example, for the second Helmet you want to modify, LOUISVILLE (24th team = or.Tampa Bay):

post-9389-0-23906800-1380933444_thumb.pnpost-9389-0-19584000-1380933178_thumb.pn

So go to offset: x23c39, but this time you DO NOT need any special setup, since each part of the Louisville's helmet can be formed with the SAME PALETTE (palette00).and input the corresponding tiles which will form the graphic tiles from your helmet. Then input the 5th byte for the setup/palette):

post-9389-0-15940500-1380933261_thumb.pn

But you will see that helmet now is all Black& Yellow (eventhough you input the palette00). YOUR TILE SETUP IS CORRECT, dont worry, PALETTE ASSINGMENT DOES NOT APPLY THE SAME FOR ALL THE SCREENS SHOWING YOUR MINI HELMETS in a 32 TEAMS ROM.
BUT HOW CAN YOU KNOW IF YOUR SETUP IS CORRECT??, just open your STANDINGS menu: (this screen has the correct setup)

post-9389-0-66432600-1380933326.pngpost-9389-0-15496000-1380933334.png

Now, having a correct setup on this screen. You will need to change the Palette assignment on the other screens showing the Mini-helmets (PRESEASON/TEAM CONTROL and TEAM DATA)
These values are allocated starting at offset x425A. You will see a "50" at that offset.
Again from dataSteve Tutorials, NES PPU Viewer can only apply 4 palettes to a Tile. (00), (55), (AA) or (FF)
(hex:00 = 00000000:bin),(hex:55 = 01010101:bin),(hex:AA = 10101010:bin), and (hex:FF = 11111111:bin)
So a "50" is "01010000:bin". To make a very simple explanation on this "binary" palettes by blocks(APPLIED FOR THIS PARTICULAR SECTION OF THE ROM):

post-9389-0-85849100-1380933516_thumb.pn

*ALWAYS MAKE an 8-bits-binary-palette (ADD ZEROS IN FRONT of the first bit, IF NECESSARY), First 2 bits (1byte) correspond to BLOCK #1,
Second 2 bits (1byte) correspond to BLOCK #2.... BUT BLOCK#1 is the LOWER RIGHT BLOCK, BLOCK#2 is the LOWER LEFT BLOCK, BLOCK#3 is the UPPER RIGHT BLOCK and BLOCK#4 is the TOP LEFT BLOCK.

Now for your Rom: go to offset x427C, and you will find "AA" (hex:AA = 10101010:bin) Which means the WHOLE block has the 10:bin palette assigned. You will need to change it to a 00:bin palette (because it contains the Red and White colors needed for your helmet). 00000000:bin = 00:hex, so input "00" at offset x427C.

post-9389-0-14050400-1380933649_thumb.pnpost-9389-0-62946000-1380933660_thumb.pn

This has changed your helmet correctly (Team Data screen, at least), but you will need to modify the palette assigned for the PRESEASON screen.
Go to offset x42BC and input 00 again.

post-9389-0-25439900-1380933884_thumb.pn

Now you have ALL SCREENS setup correctly.
 

Link to comment
Share on other sites

Holy crow, pambazos, those are some damn fine looking logos. Color me impressed.

Well thanks, coming from you, that is a real compliment!

 

I forgot to mention, where are the LAST 4 MINI HELMET SETUP. The TILES are located starting at offset x3F6C3, but it has a different setup. Every 2 BYTES correspond to the UPPER part of those 4 Helmets. This means 3F6C3-3F6C4 belong to the 29th TEAM's UPPER HELMET,  (3F6C5-3F6C6 belong to the 30th TEAM's UPPER HELMET,  and so on until you reach byte at offset x3F6CB. From there Every 2 bytes correspond to the LOWER PART of the MINI HELMETS for those last 4 teams.

But Every HELMET HAS A SPECIAL SETUP. (the 5th byte after the 4 graphic TILES). These SPECIAL SETUPs are allocated at offset x3F6D3. This is the 5th byte that assigns the

SP-SETUP/palette.

Taking your Rom again as an example: Input "01", to all 4 Special setups. (01= 2nd palette and NO SPECIAL TILES).

post-9389-0-63050100-1380996714_thumb.pnpost-9389-0-75810800-1380997342_thumb.pn

But again, YOU WILL ONLY SEE THE ACTUAL CHANGES on the STANDINGS SCREEN.

post-9389-0-20099000-1380996742_thumb.pn

THE SETUP IS NOW ALRIGHT, the TILES- SETUP at least (assuming that for this example those 4 helmets were those colors). BUT THE PALETTE ASSIGNMENT FOR THE PRESEASON and the TEAM DATA are located where the rest of the Mini helmets are. This because those 2 screens were setup completely by all of their blocks.

Then again, go to offset x425A (where the first palette of the block of helmets is located for the TEAM DATA).

post-9389-0-98380400-1380997032_thumb.pn

At offset x4270 is the palette for the 29th team. The 30th-31st Teams are a block, which palette is at x4278. And 32nd helmet's palette is at offset x4280.

So, as an example, the last 4 helmets all were applied with a 2nd-Palette in their SETUP. So here you will apply that same palette too.

Remember that the second palette is "55" for this particular area (that came from the binary: 01010101).

post-9389-0-34262200-1380996977_thumb.pn

Now you will have your TEAM DATA like this:

post-9389-0-21487200-1380997013_thumb.pnThat MATCHES correctly with the EXAMPLE-Special setup (as on the STANDINGS screen).

Now just apply the 2nd-palette to your last 4 helmets on your PRESEASON/TEAM CONTROL.

Do this at offsets x42B0, x42B8 and x42C0. In order to have all your screens with the same pattern:

post-9389-0-04833100-1380997117_thumb.pn

 

Edited by pambazos88
Link to comment
Share on other sites

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