GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 22
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,473 posts
8.5 Years
GoGoJJTech's Palette Converter


Hello all, I have a simple, useful and straight-forward palette converter. All you have to do is drag and drop your palette file(s), configure them, then have them exported. Takes about 1 second on average to do ;)




Palette files you can convert are:
  1. Irfanview
  2. Advance Map 1.92
  3. Advance Map 1.95
  4. GIMP
  5. Adobe Palette Table (ACT)
  6. RIFF Format (VBA/TileMolester Alternate)

You can convert to/from each of these. That's about all there is to it. The tool supports the maximum pal sizes each format has to offer as well.



Head to http://www.gogojjtech.com/tools/ to pick up the download. Not tested on MAC or Linux since I don't have those.



Questions:
  1. What do I need for this to work? You need the .NET 2.0 Framework or above and any of the above palette file types
  2. Does this work outside of Windows computers? ~ http://www.pokecommunity.com/showpost.php?p=9315257&postcount=10
  3. Can this be run on the console? Yes, do "PaletteConverter thingy1.pal thingy2.pal thingy3.pal"
  4. Will you add APE support? ~ I have no clue how that format works since it's not in an easy-to-understand..format. Hackmew outdid himself there
  5. Why are you so awesome? ~ Long story
  6. Can I suggest extra formats or features? ~ Yes, of course, but I'll need sample palettes :)
  7. Can I drag/drop multiple palettes at once? ~ Yes, but you need to sit and configure each one-by-one. IDK how I'd make this 100% automatic really
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 22
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,473 posts
8.5 Years
It's a great idea, but hasn't this tool already been created? Not to mention it has support for APE :/
Something has been created similarly to this before, but it was Windows-only, didn't support AMap 1.95, and the owner ignored me when I asked questions about source code so I could add it. So here I have this, where I kindly will answer my followers. :)
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue

PokéMew

Pokémon Fuchsia

Male
Refresh
Seen December 1st, 2020
Posted April 8th, 2017
490 posts
7.7 Years
Something has been created similarly to this before, but it was Windows-only, didn't support AMap 1.95, and the owner ignored me when I asked questions about source code so I could add it. So here I have this, where I kindly will answer my followers. :)
I see. How unfortunate that he didn't respond to you, as the APE fuction works well. I'm sure you'll figure it out in the future though. :P

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 22
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,473 posts
8.5 Years
I see. How unfortunate that he didn't respond to you, as the APE fuction works well. I'm sure you'll figure it out in the future though. :P
It's just a file with text that represents the GBA colors, but I have no idea:
1: Why there are negative values
2: What the negative values are
3: How to change those negative into regular ones

It's almost as if Hackmew wanted to keep literally everything he did a secret for no reason.
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue

BluRose

blu rass

Age 20
Male
michigan tech
Seen 8 Hours Ago
Posted February 16th, 2021
802 posts
7.1 Years
y-you mean i don't have to copy the rgb values of every color from tool-to-tool anymore?
w-what will i ever do with all of this free time?
i'm totally unaware of anything like this ever having existed ever btw but apparently something has so \_(?)_/

nice tool, i see myself using this a lot in the future lol
heyo check out my github:

BluRosie

also on discord: BluRose#0412

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 22
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,473 posts
8.5 Years
y-you mean i don't have to copy the rgb values of every color from tool-to-tool anymore?
w-what will i ever do with all of this free time?
i'm totally unaware of anything like this ever having existed ever btw but apparently something has so \_(?)_/

nice tool, i see myself using this a lot in the future lol
:)
If there are any issues or suggestions, just let me know :)
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue

Rasen

ASM is very cool!

Age 25
Male
Poland
Seen 14 Hours Ago
Posted April 3rd, 2020
71 posts
10.1 Years
Something has been created similarly to this before, but it was Windows-only, didn't support AMap 1.95, and the owner ignored me when I asked questions about source code so I could add it. So here I have this, where I kindly will answer my followers. :)
I haven't received any message from you so that's not fair from your side... But anyways let's go to the point.
Will you add APE support? ~ I have no clue how that format works since it's not in an easy-to-understand..format. Hackmew outdid himself there.
I'm surprised because APE format is very easy to understand. I can't provide you with the source code because I formatted the HDD and forgot to copy the files.
Here's the algorithm for APE as an output (I'll use FFFFFF color as an example):

Spoiler:
1. Reduce your hex color to 15-bit: FFFFFF --> 7FFF.
2. Swap the first 2 bytes with the last (little endian): 7FFF --> FF7F.
3. Convert the result to DEC: FF7F --> 65 407.

The output is simply signed short int with two's complement signed number representation. You can read about it here.

4. So if your number is greater than 32 767 then you have to subtract 216 = 65 536 (ex. 65407 - 65536 = -129). If it's less or equal to 32767 then you leave it as it is.
5. Of course in the APE file there are only 16 colors and 240 zeros but that's not hard to figure out.

If you want to convert APE as an input then you just do everything backwards :)
Check out my tutorials:Next tutorials coming soon!

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 22
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,473 posts
8.5 Years
I haven't received any message from you so that's not fair from your side... But anyways let's go to the point.

I'm surprised because APE format is very easy to understand. I can't provide you with the source code because I formatted the HDD and forgot to copy the files.
Here's the algorithm for APE as an output (I'll use FFFFFF color as an example):

Spoiler:
1. Reduce your hex color to 15-bit: FFFFFF --> 7FFF.
2. Swap the first 2 bytes with the last (little endian): 7FFF --> FF7F.
3. Convert the result to DEC: FF7F --> 65 407.

The output is simply signed short int with two's complement signed number representation. You can read about it here.

4. So if your number is greater than 32 767 then you have to subtract 216 = 65 536 (ex. 65407 - 65536 = -129). If it's less or equal to 32767 then you leave it as it is.
5. Of course in the APE file there are only 16 colors and 240 zeros but that's not hard to figure out.

If you want to convert APE as an input then you just do everything backwards :)
http://www.pokecommunity.com/converse.php?u=266488&u2=354635

Thanks
why couldn't hackmew just put the values in normally instead of making it all stupid and complex, surely just writing it to the file is easier than doing this stuff
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue