• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Graphics] Palette Editing Manually

71
Posts
8
Years
    • Seen Aug 1, 2020
    I am working on adding intro sprites to replace oak, protagonist, and friend, and have done all steps except for replace the palette to get rid of the weird coloring. APE did not work for me, and destroyed my game, (luckily I had it backed up). I was told to edit the palette manually, but I honestly know nothing about spriting and such, so if somebody could tell me or direct me where I can learn how to manually edit my palette, or if they know of another way besides APE. Thanks in advance and sorry for being clueless.
     

    Uncommon

    Oozma Kappa
    192
    Posts
    8
    Years
  • I am working on adding intro sprites to replace oak, protagonist, and friend, and have done all steps except for replace the palette to get rid of the weird coloring. APE did not work for me, and destroyed my game, (luckily I had it backed up). I was told to edit the palette manually, but I honestly know nothing about spriting and such, so if somebody could tell me or direct me where I can learn how to manually edit my palette, or if they know of another way besides APE. Thanks in advance and sorry for being clueless.

    The palettes for those particular sprites are stored in a very strange, non-standard configuration. This tutorial should help you out.
     

    BluRose

    blu rass
    811
    Posts
    10
    Years
  • dang uncommon
    20-minute ninja, my post still applied for most palettes you'll find though (i know the battle backgrounds use the same method for palettes as the intro sprites apparently do
    Spoiler:
     
    71
    Posts
    8
    Years
    • Seen Aug 1, 2020
    The palettes for those particular sprites are stored in a very strange, non-standard configuration. This tutorial should help you out.

    That is the tutorial I used, and it worked up until I had to replace the palette on ape, where the colors didn't fix and the game got destroyed, so that tutorial got me to my current question, of a different way to change the palette, because the way in the tutorial didn't work, thanks anyways though!
     

    BluRose

    blu rass
    811
    Posts
    10
    Years
  • That is the tutorial I used, and it worked up until I had to replace the palette on ape, where the colors didn't fix and the game got destroyed, so that tutorial got me to my current question, of a different way to change the palette, because the way in the tutorial didn't work, thanks anyways though!
    can you post like 0x200 or so bytes starting at 0x4615FC?
    the string
    0E 53 9F 67 FB 4E 58 42 B2 2D 2D 21 93 46 F4 31 2E 19 0A 11 7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F
    should appear somewhere in there (probably at 0x4615FC+0x80, assuming no 0's). 0's may or may not be interspersed in there (like they are in battle backgrounds)
     
    71
    Posts
    8
    Years
    • Seen Aug 1, 2020
    can you post like 0x200 or so bytes starting at 0x4615FC?
    the string
    0E 53 9F 67 FB 4E 58 42 B2 2D 2D 21 93 46 F4 31 2E 19 0A 11 7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F
    should appear somewhere in there (probably at 0x4615FC+0x80, assuming no 0's). 0's may or may not be interspersed in there (like they are in battle backgrounds)

    71 C7 FA 07 F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7 6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 F0 01 E0 F0 01 F0 01 D0 01 00 00 00 0E 53 9F 67 FB 4E 58 42 B2 2D 2D 21 99 46 F4 31 2E 19 0A 11 7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F

    I started the offset at 4615FC, which is at 71, and directly 6 rows down was the beginning of the string you posted, and put in until the end of that string. What do I do from here?
     

    BluRose

    blu rass
    811
    Posts
    10
    Years
  • 71 C7 FA 07 F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7 6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 F0 01 E0 F0 01 F0 01 D0 01 00 00 00 0E 53 9F 67 FB 4E 58 42 B2 2D 2D 21 99 46 F4 31 2E 19 0A 11 7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F

    I started the offset at 4615FC, which is at 71, and directly 6 rows down was the beginning of the string you posted, and put in until the end of that string. What do I do from here?
    oh, this is going to be a lot easier than uncommon made me think it was
    Code:
              00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    004615F0                                      71 C7 FA 07
    00461600  F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 
    00461610  20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7
    00461620  6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 
    00461630  01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 
    00461640  0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 
    00461650  F0 01 E0 F0 01 F0 01 D0 01 00 00 00 [b]0E 53 9F 67[/b]
    00461660  [b]FB 4E 58 42 B2 2D 2D 21 99 46 F4 31 2E 19 0A 11[/b]
    00461670  [b]7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F[/b]
    now, what is boldfaced is the data for your palette that you want to edit
    screenshot from aspiring pokétrainer's video thing (taken on ipad so unnecessarily massive):
    Spoiler:
    if you can at the very least import your palette into ape and see the "changed palette" hex values, all you need to do is write those hex values exactly over 46165C-46167B
    so in pokétrainer's video, what he would theoretically put at 46165C would be 0E 53 09 1A 2A 5A 6F 29 9F 5B A6 45 EE 26 77 2E B5 56 1E 15 5A 6F FF 7F 00 00 FC 4E 8C 31 59 3A
    so his data would look like
    Code:
              00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    004615F0                                      71 C7 FA 07
    00461600  F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 
    00461610  20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7
    00461620  6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 
    00461630  01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 
    00461640  0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 
    00461650  F0 01 E0 F0 01 F0 01 D0 01 00 00 00 [b]0E 53 09 1A[/b]
    00461660  [b]2A 5A 6F 29 9F 5B A6 45 EE 26 77 2E B5 56 1E 15[/b]
    00461670  [b]5A 6F FF 7F 00 00 FC 4E 8C 31 59 3A[/b]
    boldfaced being what's changed, of course
     
    71
    Posts
    8
    Years
    • Seen Aug 1, 2020
    oh, this is going to be a lot easier than uncommon made me think it was
    Code:
              00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    004615F0                                      71 C7 FA 07
    00461600  F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 
    00461610  20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7
    00461620  6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 
    00461630  01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 
    00461640  0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 
    00461650  F0 01 E0 F0 01 F0 01 D0 01 00 00 00 [b]0E 53 9F 67[/b]
    00461660  [b]FB 4E 58 42 B2 2D 2D 21 99 46 F4 31 2E 19 0A 11[/b]
    00461670  [b]7B 6F D6 5A 10 42 4A 2D E7 20 FF 7F[/b]
    now, what is boldfaced is the data for your palette that you want to edit
    screenshot from aspiring pokétrainer's video thing (taken on ipad so unnecessarily massive):
    Spoiler:
    if you can at the very least import your palette into ape and see the "changed palette" hex values, all you need to do is write those hex values exactly over 46165C-46167B
    so in pokétrainer's video, what he would theoretically put at 46165C would be 0E 53 09 1A 2A 5A 6F 29 9F 5B A6 45 EE 26 77 2E B5 56 1E 15 5A 6F FF 7F 00 00 FC 4E 8C 31 59 3A
    so his data would look like
    Code:
              00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    004615F0                                      71 C7 FA 07
    00461600  F0 01 D0 01 3F 71 5C 27 4C 4C 00 01 4D 4D 1F 79 
    00461610  20 01 F0 28 FD F0 01 4F 77 F0 78 F0 01 F0 01 C7
    00461620  6D 5C 44 88 5F 4F 40 0F 4A 40 07 50 D7 F0 01 40 
    00461630  01 22 8E D9 00 7C 10 07 4F 03 F2 02 97 4A 4A 00 
    00461640  0F FF 20 CF 00 07 F0 CD F0 01 F0 01 F0 01 F0 01 
    00461650  F0 01 E0 F0 01 F0 01 D0 01 00 00 00 [b]0E 53 09 1A[/b]
    00461660  [b]2A 5A 6F 29 9F 5B A6 45 EE 26 77 2E B5 56 1E 15[/b]
    00461670  [b]5A 6F FF 7F 00 00 FC 4E 8C 31 59 3A[/b]
    boldfaced being what's changed, of course

    Ok so here is everything that happened

    So first, I did what you said, although it didn't work, so I kept going, and saw the protagonist was changed, and then realized you had given me the protagonist offset, and I didn't clarify so that's fine, but I am changing oak. I noticed only half of the protagonist was changed, so I did some poking around and found out that the palette on my rom started at that 71 C7, which was directly on the offset you had given me before, and when I checked ape, 4615FC palette started at 71 C7. I then went and got the oak offset from the tutorial with poketrainer, and tried to change the palette with hex the same way, except that didn't work, it changed the ground underneath the protagonist. I then went onto unlz and went to the oak, and the palette offset was 462D94. I then tried to change this palette in the same way, and when I went back, the screen was sorta destroyed, the same way it had been destroyed originally when I used ape, look at thumbnail attachment below. Any advice? I think I have a weird, different pallete offset for oak, just as the protagonist offset was slightly different. Do you know how I could find it? i will do some more poking around. Thanks for what you told me so far though! It gave me a big lead.
     

    Phantom Phoenix

    Lost on the road of life
    167
    Posts
    8
    Years
    • Age 27
    • ???
    • Seen Jul 1, 2020
    Ok so here is everything that happened

    So first, I did what you said, although it didn't work, so I kept going, and saw the protagonist was changed, and then realized you had given me the protagonist offset, and I didn't clarify so that's fine, but I am changing oak. I noticed only half of the protagonist was changed, so I did some poking around and found out that the palette on my rom started at that 71 C7, which was directly on the offset you had given me before, and when I checked ape, 4615FC palette started at 71 C7. I then went and got the oak offset from the tutorial with poketrainer, and tried to change the palette with hex the same way, except that didn't work, it changed the ground underneath the protagonist. I then went onto unlz and went to the oak, and the palette offset was 462D94. I then tried to change this palette in the same way, and when I went back, the screen was sorta destroyed, the same way it had been destroyed originally when I used ape, look at thumbnail attachment below. Any advice? I think I have a weird, different pallete offset for oak, just as the protagonist offset was slightly different. Do you know how I could find it? i will do some more poking around. Thanks for what you told me so far though! It gave me a big lead.

    when oaks sprite shows in intro open vba's palette viewer. I think 7th slot is oak's palette slot.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzI5ODYzOTU5MTgzMzYwLzEuUE5HIn0._y-o9q17bj4Qxl81rSJ36yDb1r8

    So , If u select each color of that slot u will see hex value like 1234 for each color.
    Here is my first and 2nd color value.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMwNDc4OTY1Nzg0NTc3LzIuUE5HIn0.WY59kp7cPGSz7ANBNR-zLVVmn54

    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxMTEzNjA1OTIyODE4LzMuUE5HIn0.tOzS6v33FVHJ8BQbmlOOrAdMD54


    Now reverse each color value . Like :
    My first color value was 530E then reversed will be 0E53 .
    Similarly 2nd color was 679F = 9F67
    Here is first four colors reversed value.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxNDg5MDcxNzU5MzYwLzQuUE5HIn0.Pc4LnVLJEbiNWVgaqCgorQGLuEQ

    Then write that reversed valued in notepad or any other similar software.
    Do this with first four color of 7th slot.

    Now, open your ROM in HxD . press Ctrl+f . When a window is opened select hex-values.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxNzk3Mjk0MzgzMTA0LzUuUE5HIn0.Nc05HT7e3Rdg4DsC2NTQYsSuv9M

    Then paste all four colors reversed value and search. Your search will match in a location.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxOTU3MDkzMDQwMTI4LzYuUE5HIn0.ukba5COikELMiGvQHy_onlceljg

    For me the location is 461CD4.
    That's oak sprie's palette offset.You can edit palette manually by changing those hex values with appropriate color value now.
     
    Last edited:
    71
    Posts
    8
    Years
    • Seen Aug 1, 2020
    when oaks sprite shows in intro open vba's palette viewer. I think 7th slot is oak's palette slot.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzI5ODYzOTU5MTgzMzYwLzEuUE5HIn0._y-o9q17bj4Qxl81rSJ36yDb1r8

    So , If u select each color of that slot u will see hex value like 1234 for each color.
    Here is my first and 2nd color value.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMwNDc4OTY1Nzg0NTc3LzIuUE5HIn0.WY59kp7cPGSz7ANBNR-zLVVmn54

    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxMTEzNjA1OTIyODE4LzMuUE5HIn0.tOzS6v33FVHJ8BQbmlOOrAdMD54


    Now reverse each color value . Like :
    My first color value was 530E then reversed will be 0E53 .
    Similarly 2nd color was 679F = 9F67
    Here is first four colors reversed value.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxNDg5MDcxNzU5MzYwLzQuUE5HIn0.Pc4LnVLJEbiNWVgaqCgorQGLuEQ

    Then write that reversed valued in notepad or any other similar software.
    Do this with first four color of 7th slot.

    Now, open your ROM in HxD . press Ctrl+f . When a window is opened select hex-values.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxNzk3Mjk0MzgzMTA0LzUuUE5HIn0.Nc05HT7e3Rdg4DsC2NTQYsSuv9M

    Then paste all four colors reversed value and search. Your search will match in a location.
    eyJ1cmwiOiJodHRwczovL2Rpc2NvcmQuc3RvcmFnZS5nb29nbGVhcGlzLmNvbS9hdHRhY2htZW50cy8yNjU3MjkxMjUyNDE3MTY3MzkvMjY1NzMxOTU3MDkzMDQwMTI4LzYuUE5HIn0.ukba5COikELMiGvQHy_onlceljg

    For me the location is 461CD4.
    That's oak sprie's palette offset.You can edit palette manually by changing those hex values with appropriate color value now.

    Ok, now I am very confused and thinking something must wrong with my rom base. I did everthing you said, and replaced all of Oak's palette with my persons. When I went to see if it worked, it didn't, and the colors were still distorted. I went to the palette viewer, and it had replaced that oak palette with the one I put in through HxD, although the colors were still distorted. I really don't even understand how it doesn't work at this point, everything I have tried should have worked and makes perfect sense.
     

    Phantom Phoenix

    Lost on the road of life
    167
    Posts
    8
    Years
    • Age 27
    • ???
    • Seen Jul 1, 2020
    Ok, now I am very confused and thinking something must wrong with my rom base. I did everthing you said, and replaced all of Oak's palette with my persons. When I went to see if it worked, it didn't, and the colors were still distorted. I went to the palette viewer, and it had replaced that oak palette with the one I put in through HxD, although the colors were still distorted. I really don't even understand how it doesn't work at this point, everything I have tried should have worked and makes perfect sense.

    give your palette .(pal) file to which you want to change
     
    Back
    Top