• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Two PNGS to one .pal

  • 16
    Posts
    336
    Days
    • Seen Jun 26, 2024
    how would i do this by using graphics gale i can get the front of littens sprite working correctly cool but the back is very discolored and the same goes for if i get the back working his front is messed up! its really hard to figure out this is using prets pokemon decomp and some litten sprites i found online
     

    Attachments

    • [PokeCommunity.com] Two PNGS to one .pal
      Screenshot_2024-06-10_14_52_10.png
      39.9 KB · Views: 3
    • [PokeCommunity.com] Two PNGS to one .pal
      Screenshot_2024-06-09_21_13_27.png
      45 KB · Views: 2
    how would i do this by using graphics gale i can get the front of littens sprite working correctly cool but the back is very discolored and the same goes for if i get the back working his front is messed up! its really hard to figure out this is using prets pokemon decomp and some litten sprites i found online
    I don't know if graphics gale can do it but some image editors allow you to export and import the palette, which can be used to transfer the correct palette from one file to another. I know at least Irfanview can do that.

    Another way is to just make a copy of the image file containing the correct palette, and then copy-paste the desired image into that file with an image editor.
     
    I don't know if graphics gale can do it but some image editors allow you to export and import the palette
    It can do that, yeah.
    [PokeCommunity.com] Two PNGS to one .pal
     
    alright i figured a bit out now the front sprite has a backround color that i cannot get rid of btw this color only shows up in game what i did was open the 2 pngs in gimp combined them slapped it into GG and saved its pallet then i used that pallet on the frount and back png and now even though they BOTH do not have a backround a navy blue backround shows up in game for the front sprite @Lunos
     
    alright i figured a bit out now the front sprite has a backround color that i cannot get rid of btw this color only shows up in game what i did was open the 2 pngs in gimp combined them slapped it into GG and saved its pallet then i used that pallet on the frount and back png and now even though they BOTH do not have a backround a navy blue backround shows up in game for the front sprite @Lunos
    I'm not really sure what's going on here, and it's going to be a bit hard to help you without looking at the sprite.

    What I can tell you is that you have to make sure that your sprite has no more than 16 colors in its palette, and that the very first color of said palette is the same color that you decided to use as the background color of your sprite, because that's the color that the GBA will interpret as a transparent color.
    Also, you have to make sure that your Litten's front and back sprite both use the exact same palette. Same order of colors and everything.
    You'll want the regular sprites of Litten, its front and back, to use Litten's normal colors, and similarly, the shiny palette has to be properly compatible with both, the front and the sprite.
     
    @Lunos it doesnt have more then 16 because i decrased the color depth im just tryiing to make a working litten why is this so hard ill upload my src code and pngs to github and ping you when its ready
     
    I'm not really sure what's going on here, and it's going to be a bit hard to help you without looking at the sprite.

    What I can tell you is that you have to make sure that your sprite has no more than 16 colors in its palette, and that the very first color of said palette is the same color that you decided to use as the background color of your sprite, because that's the color that the GBA will interpret as a transparent color.
    Also, you have to make sure that your Litten's front and back sprite both use the exact same palette. Same order of colors and everything.
    You'll want the regular sprites of Litten, its front and back, to use Litten's normal colors, and similarly, the shiny palette has to be properly compatible with both, the front and the sprite.
    BTW i havent even dared to touch the shiny pallet 💀
     
    @Lunos MY BAD the repo was private it is fixed now https://github.com/GreatNateDev/CoolBlue
    It looks like the transparent pixels in your image are getting converted to use some color other than the first color in the palette causing them to not appear transparent in game. I don't know why it happens but an easy fix is to fill the image's background with the palette's first color instead of transparency, since that color appears transparent in game.
     
    It looks like the transparent pixels in your image are getting converted to use some color other than the first color in the palette causing them to not appear transparent in game. I don't know why it happens but an easy fix is to fill the image's background with the palette's first color instead of transparency, since that color appears transparent in game.
    ended up just stealing sprites and stuff from emerald expansion so thats all good
     
    Back
    Top