Sign in to follow this  
Jkline3

Palette issues with startup logos

Recommended Posts

So I've been plugging away with Tile Molester and making some slow but steady progress.  I've got the banners down and thought that I was having some success with the startup logos but ran into an unexpected issue with team logos changing colors depending on opponent?  Apologies in advance if this has been covered elsewhere but there is a LOT of info out there and it is spread out among many threads whose titles may not really clue you in to the tips and tricks within.  Couple questions:

1. Any idea what could be causing color changes in the startup logos?  Logos are fine in many cases but colors sometimes change depending on who the opponent is. 

2. Is there any shortcut to capture the colors in the original logo and transpose them into the palette or is that a manual process?  I'm importing 48x48, 16-color bmp files.

I have watched Slapshot's videos and am using Wboy's screenshots.  I feel like I'm missing something when it comes to palettes however...

Share this post


Link to post
Share on other sites

You're probably changing colors 1-7 on the palette.  Don't, those are reserved for the Home/Visitor banners (which is why your colors change with each team change).  So when changing any team logos, colors 6 and 7 are white/black, and you really have 8-16 (9 other unique colors) to use for the logo.

There are two things I'd recommend if you are using new logos for your ROM.  1st is to use Smozoma's ditherer program to get the image down to 16 (or in this case 9 plus black and white) colors - http://forum.nhl94.com/index.php?/topic/14421-tool-genesis-image-ditherer-to-16-colours/.  It's an amazing tool.

One of the choices is to create a darker version of the picture and the program spits out the palette in a text file.  You still have to enter it manually, but it's pretty slick.

Another option is to use the color sniper in NOSE.  This is a useful tool to get the nearest matching color of a picture to something that TM / Genesis can use.  sniper.png

Finally, if you're copying/pasting a logo from an existing ROM, you can simply copy/paste the hex values from one ROM to another.  You have to make sure you have the offsets correct for each ROM, but for startup logos, this is the way I do it myself as it's super quick.  The palette length for each team is 20 hex (32 decimal) and the size of each logo is 4D6 (1238 decimal).  Here is a handy list of the offsets:

Tm	Logo(H)	Logo(D)	Pal(H)	Pal(D)
1	1C85B8	1869240	1C81EE	1868270
2	1C8A8E	1870478	1C820E	1868302
3	1C8F64	1871716	1C822E	1868334
4	1C943A	1872954	1C824E	1868366
5	1C9910	1874192	1C826E	1868398
6	1C9DE6	1875430	1C828E	1868430
7	1CA2BC	1876668	1C82AE	1868462
8	1CA792	1877906	1C82CE	1868494
9	1CAC68	1879144	1C82EE	1868526
10	1CB13E	1880382	1C830E	1868558
11	1CB614	1881620	1C832E	1868590
12	1CBAEA	1882858	1C834E	1868622
13	1CBFC0	1884096	1C836E	1868654
14	1CC496	1885334	1C838E	1868686
15	1CC96C	1886572	1C83AE	1868718
16	1CCE42	1887810	1C83CE	1868750
17	1CD318	1889048	1C83EE	1868782
18	1CD7EE	1890286	1C840E	1868814
19	1CDCC4	1891524	1C842E	1868846
20	1CE19A	1892762	1C844E	1868878
21	1CE670	1894000	1C846E	1868910
22	1CEB46	1895238	1C848E	1868942
23	1CF01C	1896476	1C84AE	1868974
24	1CF4F2	1897714	1C84CE	1869006
25	1CF9C8	1898952	1C84EE	1869038
26	1CFE9E	1900190	1C850E	1869070
27	1D0374	1901428	1C852E	1869102
28	1D084A	1902666	1C854E	1869134
29	1D0D20	1903904	1C856E	1869166
30	1D11F6	1905142	1C858E	1869198

So let's say I wanted to take the team logo from the 5th team in one ROM and make that my first team in my new ROM.  I would go to offset 1C9910 of the existing ROM, select a block size of 4D6 and copy.  Then I'd go to offset 1C85B8 in my new ROM and paste over.  Then do the same for the palette 1C826E, block of 20, paste to new ROM offset 1C81EE.  Boom, team logo copied over.

You can copy/paste for everything as long as you know the offsets/length.  The trickiest ones are team strips and center ice logos as the offsets change with every change in player data, but you can jot down the offsets in NOSE for each ROM as a reference for future work. 

Good luck, hope this helped.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

This is exactly what I was looking for.  Figured it was something along those lines but didn't recall anything regarding 1-7 other than "don't change #1".  Now to put it to practice.  Dithering away...

  • Like 1

Share this post


Link to post
Share on other sites
On 3/17/2018 at 11:10 AM, kingraph said:

You're probably changing colors 1-7 on the palette.  Don't, those are reserved for the Home/Visitor banners (which is why your colors change with each team change).  So when changing any team logos, colors 6 and 7 are white/black, and you really have 8-16 (9 other unique colors) to use for the logo.

There are two things I'd recommend if you are using new logos for your ROM.  1st is to use Smozoma's ditherer program to get the image down to 16 (or in this case 9 plus black and white) colors - http://forum.nhl94.com/index.php?/topic/14421-tool-genesis-image-ditherer-to-16-colours/.  It's an amazing tool.

One of the choices is to create a darker version of the picture and the program spits out the palette in a text file.  You still have to enter it manually, but it's pretty slick.

Another option is to use the color sniper in NOSE.  This is a useful tool to get the nearest matching color of a picture to something that TM / Genesis can use.  sniper.png

Finally, if you're copying/pasting a logo from an existing ROM, you can simply copy/paste the hex values from one ROM to another.  You have to make sure you have the offsets correct for each ROM, but for startup logos, this is the way I do it myself as it's super quick.  The palette length for each team is 20 hex (32 decimal) and the size of each logo is 4D6 (1238 decimal).  Here is a handy list of the offsets:


Tm	Logo(H)	Logo(D)	Pal(H)	Pal(D)
1	1C85B8	1869240	1C81EE	1868270
2	1C8A8E	1870478	1C820E	1868302
3	1C8F64	1871716	1C822E	1868334
4	1C943A	1872954	1C824E	1868366
5	1C9910	1874192	1C826E	1868398
6	1C9DE6	1875430	1C828E	1868430
7	1CA2BC	1876668	1C82AE	1868462
8	1CA792	1877906	1C82CE	1868494
9	1CAC68	1879144	1C82EE	1868526
10	1CB13E	1880382	1C830E	1868558
11	1CB614	1881620	1C832E	1868590
12	1CBAEA	1882858	1C834E	1868622
13	1CBFC0	1884096	1C836E	1868654
14	1CC496	1885334	1C838E	1868686
15	1CC96C	1886572	1C83AE	1868718
16	1CCE42	1887810	1C83CE	1868750
17	1CD318	1889048	1C83EE	1868782
18	1CD7EE	1890286	1C840E	1868814
19	1CDCC4	1891524	1C842E	1868846
20	1CE19A	1892762	1C844E	1868878
21	1CE670	1894000	1C846E	1868910
22	1CEB46	1895238	1C848E	1868942
23	1CF01C	1896476	1C84AE	1868974
24	1CF4F2	1897714	1C84CE	1869006
25	1CF9C8	1898952	1C84EE	1869038
26	1CFE9E	1900190	1C850E	1869070
27	1D0374	1901428	1C852E	1869102
28	1D084A	1902666	1C854E	1869134
29	1D0D20	1903904	1C856E	1869166
30	1D11F6	1905142	1C858E	1869198

So let's say I wanted to take the team logo from the 5th team in one ROM and make that my first team in my new ROM.  I would go to offset 1C9910 of the existing ROM, select a block size of 4D6 and copy.  Then I'd go to offset 1C85B8 in my new ROM and paste over.  Then do the same for the palette 1C826E, block of 20, paste to new ROM offset 1C81EE.  Boom, team logo copied over.

You can copy/paste for everything as long as you know the offsets/length.  The trickiest ones are team strips and center ice logos as the offsets change with every change in player data, but you can jot down the offsets in NOSE for each ROM as a reference for future work. 

Good luck, hope this helped.

This is HUGE!  It will save me hours of time!  I am so stupid for the way I have been doing it!

Thanks KingRaph!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who's Online   0 Members, 0 Anonymous, 16 Guests (See full list)

    There are no registered users currently online