Design logo with photoshop and import it to game

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Design logo with photoshop and import it to game
by on (#134312)
I am translating Captain Tsubasa Vol. II - Super Striker (J) [!].nes to Persian
I want to make a logo for its title screen

This is the original title screen :
Image

I design the logo with photoshop :
Image

As you can see I used only 4 colors to design it :
Image

I change it to Indexed Color :
Image

I save it as BMP 8bit :
Image

I open the logo with paint (on windows xp) and copy it :
Image

I open the game with YY-CHR.NET and past the logo in it :
Image

But the problem is that the colors of the logo aren't in their place
For example the color inside of A must be 17 (orange) and the background must be 0C (Blue)
So that the logo appears with the correct colors inside of the game
How can I import the logo into the game in a way that the colors match the colors of the original logo of the game?
Image

Thanks in advance
Re: Design logo with photoshop and import it to game
by on (#134313)
I don't know how to do it in Adobe® Photoshop® software, but in GNU Image Manipulation Program (GIMP), you can try this:
  1. Create a new image the same size as the image you want to convert.
  2. Fill the image with one of the four colors in the desired pattern.
  3. Using the pencil tool, draw at least one pixel of each of the three other colors.
  4. Image > Mode > Indexed.
  5. Colors > Map > Rearrange Colormap and drag the colors into the same order that they appear in the emulator's palette viewer.
  6. Copy the image you want to convert and paste it into the new image's window.
Re: Design logo with photoshop and import it to game
by on (#134314)
Alternatively, GraphicsGale lets you rearrange colors in the palette. Make sure to hold down Shift while dragging colors so the pixels remain the same color (i.e. the image is adapted to the new palette).
Re: Design logo with photoshop and import it to game
by on (#134321)
Thanks for the comment
After using a lot of hack tools and different options finally I found out how to do it!
Here it is :

I run the game with VirtuaNES and go to the screen where I want to edit
Then I make a State Save (S)
It makes a file with .st0 extension

I open the game with YY-CHR.NET and hit F12 (Load Emulator State) and select .st0 file
I select the correct palette set so that the colors are shown similar to ingame colors :
Image

I paste the logo into the YY-CHR.NET
But the colors are messed up!
Image

By using right click I select the area which I want to fix the colors then I hit Ctrl + R (Replace Color)
Image

I swap the colors and it looks perfect :beer: :
Image

Note : I used A just as a sample logo, and this is the final result :
Image
Re: Design logo with photoshop and import it to game
by on (#134780)
Who would know that Iran was so much into Captain Tsubasa :shock:
Keep up the good work :beer: