Editing The Bin File

» Back to Editing Bin Homepage

How To Edit Ice Logos For Sega Genesis Tutorial
by Evan

I figure the best way to explain this is to actually edit a team's logo with this tutorial. Before continuing, please make sure you have the programs Tile Layer Pro, the Gens emulator, and the Bin file open and ready to use in Tile Layer Pro. Having Hex Workshop is a plus too!

Lets start by opening up the nhl94.bin file found through this website or one you have. You can switch the format to Genesis under View->Format->Genesis. You can also zoom in on the Bin file by clicking the zoom button at the top if you like.

Scroll down the file using the page down key to get to the offset around 000EDA88 (92%). The offset can be read from the status bar at the bottom of the program. You should also see the format, and the size of the file there as well.

You can leave the Palette Editor on the colors it's currently showing. The logos will seem to have wrong colors, but this really doesn't matter once you start the game up in the emulator. The logo colors will be fine in the game.

At this point, you should be seeing the ice logos, but they probably look all broken up. By using the plus and minus keys on the keyboard, you can shift the rows of tiles until a logo lines up correctly in their respective rows (I chose Calgary's logo to lineup).

Ice logos are 6 tiles across and 4 tiles down, giving each ice logo a total of 24 tiles. Each tile is 8x8 pixels. This means that each ice logo is 48x32 total pixels.

Let's focus on Calgary's logo. That is the 3rd logo down from the beginning of them. Line it up so it looks something like this by using the arrow keys, and the plus and minus keys:

Once you have it to this point, here's how you edit Calgary's logo. Left-click the first Calgary tile and then right-click it on the Tile Arranger as shown below:

Continue to do this process, putting the tiles in the Tile Arranger as you would to view the logo correctly and eventually you should end up with the following image:

Now you know what the Calgary logo looks like together in Tile Layer Pro. That is the entire ice logo for Calgary, being a total of 48x32 pixels.

From this point, you can create what I call a "palette test". Left-click the first Calgary tile in the Tile Arranger and then Left-click the first color in the Palette Editor (it is usually black). Now "draw" the black into every pixel of the first tile by Left-clicking within the first tile in the Tile Editor. Now Left-click the 2nd tile in the Tile Arranger, left-click the 2nd color in the Palette Editor, and "draw" the green into the 2nd tile in the Tile Editor. Continue this process until you have something like the screenshot below:

Now save the Bin file as something new, so you can see what this test looks like in the game. Start up the Gens emulator and load up the file you just saved. Select Calgary as the home team. The reason for doing this is to learn which colors become which in the actual game. You will see that the first black = transparent/ice color, the 2nd black = light grey, etc.

Write down or type somewhere what each color represents in the Palette Editor. This is an example of what I usually write down: (Remember, the left column is the colors from Tile Layer Pro, and the right column is the actual colors in the game.)

Palette Color
(RGB color in Tile Layer Pro)
Ice Color (for Calgary in this example taken straight from the palette test above)
Black 1 (0,0,0)
Transparent/equal to ice color (0EE8) - same for every team
Green 1 (99,207,99)

Dark Grey (0222)

Blue 1 (57,51,255)
Black (0000)
Off White (220,255,255)
Maroon (0006)
Blue 2 (51,0,134)
Dark Red (0008)
Tan (191,115,0)
Red (000A)
Blue 3 (0,207,255)
Pink (088C) - same for every team
Cream (239,235,180)
Darker Pink (066A) - same for every team
Maroon (147,0,0)
Darker Orange (008C)
Green 2 (81,255,0)
Orange (00AE)
Orange (255,172,0)
Red (000A)
Purple 1 (188,17,164)
Grey (0CCC)
Black 2 (0,0,0)
Light Grey (0EEE)
Blue 4 (89,140,242)
Darker Grey (0AAA)
Purple 2 (182,0,159)
Darker Orange (048C) - same for every team
Green 3 (131,220,0)
Turquoise (0A84) - same for every team

These colors come from the team uniform colors. You will notice patterns with each team's colors, like every team will have a black, a white, pinks, etc. Every team will have pinks for the skin color, every team will have black for the gloves and skates color, etc. If you change a team's uniform colors, the ice logo will use those colors depending on which ones you changed.

You can find these hex values for each color if you goto the team's uniform colors area in the hex editor. Compare this chart with the editing section on uniform colors (I used Calgary for both), and it should help you understand how it works. You could do a palette test for each team, take a screenshot of it, and keep it for reference if that helps.

Now, lets open up the original Bin file and change Calgary's ice logo from having a red "C" to having a black "C". We can look at our chart above to see that "blue 1" will give us black. All we have to do is open the Bin in Tile Layer Pro, and replace the "tan" with the "blue 1" Palette Editor color as shown below:

Now let's save this file as something new, like cal-black.bin, and open the Bin up in Gens. Choose Calgary as the home team, and this is what the ice logo should now look like:

So now you should be able to edit ice logos using Tile Layer Pro by drawing on tiles.

There is also an import BMP function in the program. I have used this, but didn't get the results I was looking for. Basically, what you would do is create an image in a program like Photoshop, Paint, etc., and make the image size 48x32. Then, break up your image into 4 rows, each being 48x8 pixels in size. This equals 1 row of tiles in Tile Layer Pro. Then you import each row image into Tile Layer Pro (one at a time), and move it to the corresponding spot in the Bin by dragging it with the mouse. When you're happy with it's location, you click off the image and it will inherit that location.

back to top

 

This site created by goldparalax © 2003-2012
Home | About | Downloads | Videos | Game Editing | Game Bugs | Resources | Community | Contact