Colour Palette Tool

User avatar
Digital_Dragon
Posts: 16
Joined: Sun Aug 12, 2018 3:36 pm

Colour Palette Tool

Post by Digital_Dragon » Wed Sep 26, 2018 10:51 am

Hey guys, as one of the things Joshua Fallon is adding to 4.1 is the ability to change the RGB values of the NES's 54ish colours I decided to make a tool to help. While you could just 'eyeball' the RGB values it would be better to try and match them to an existing palette. This little tool i've made can be used to help match the in tool palette to the palette of whichever emulator you are using for example. So here's how to use the tool;

1 - Ensure you have the palette you want. You may choose to use the default palette of your emulator or download a new one. You can go to http://www.firebrandx.com/nespalette.html to download some good ones, for this example i'll be using the wavebeam palette.

2 - Set your emulator to use this palette. Again unnecessary if you want to use the default palette, but if you downloaded one as in step 1 then you need to select it. I'd recommend FCEUX for this as it's easy to swap palettes, there should be plenty of guides online on how to swap palettes in FCEUX so i won't describe it here, just google it.

3 - Run the colour tool in the emulator. You will see every colour the NES can produce, spread across 5 screens (due to per screen colour limits) in the order they appear in NESmaker. Screenshot the first screen. Open the screenshot in any image editing program, if you don't have one i'd recommend paint.net. Use the colour picker tool on each of the colours to get each ones RGB value (should be three numbers 0-255).

4 - In NESmaker 4.1 (once it's out) follow Joshua's instructions (hopefully he'll give some) on how to change the RGB values. Do this for all 12 colours you see on the first screen of the colour tool, then go back to the tool for the next screen. The character will scroll to the next screen, take another screenshot for the next 12 colours. Repeat steps 3 & 4 for all the screens and colours in the colour tool and you will have completely changed the colour palette of NESmaker.

As you can see, this Colour Tool is just a simple way to find out the RGB values of a palette, as while the .pal files are readily available, finding out the RGB values of each colour is more tricky. Hopefully someone finds this helpfull, any questions feel free to ask.

Edit: Updated to 2.0!
New Features;
The 'Player' no longer goes flying off the screen, Yay!
The Colours all have corresponding numbers.
It actually has the right colours now! And in the right order as well!

https://drive.google.com/open?id=1kPdT0 ... 1nO0B1VaTe
Last edited by Digital_Dragon on Fri Oct 12, 2018 10:01 pm, edited 1 time in total.
User avatar
Digital_Dragon
Posts: 16
Joined: Sun Aug 12, 2018 3:36 pm

Re: Colour Palette Tool

Post by Digital_Dragon » Wed Sep 26, 2018 11:22 am

By the way sorry about the awkward controlls for the 'player'. I couldn't get it to stop moving him once he started so it's kind of an auto scroll tool i guess.
User avatar
SuperNatetendo
Posts: 35
Joined: Wed Aug 08, 2018 4:51 pm

Re: Colour Palette Tool

Post by SuperNatetendo » Fri Sep 28, 2018 2:45 pm

Couldn't you just go to that site and just use the .pngs he posted for the RGB values?
NESMonty
Posts: 2
Joined: Fri Sep 28, 2018 10:57 pm

Re: Colour Palette Tool

Post by NESMonty » Fri Sep 28, 2018 10:58 pm

HELP: How do you save or export from NES maker to create the .nes file that you posted?
User avatar
Digital_Dragon
Posts: 16
Joined: Sun Aug 12, 2018 3:36 pm

Re: Colour Palette Tool

Post by Digital_Dragon » Mon Oct 01, 2018 11:21 am

SuperNatetendo - You could yes, but not all pallettes have PNG's online, and if they do, they may not have every colour in the order they are in NESmaker. Plus someone may be using an emulator with a palette they don't know the name of, and this will help them match the colours to it.

NESmonty - Um well while i wish NESmaker had a nice 'Export ROM' button, it seems what you have to do at the minute is go to the GameEngineData Folder and just copy game.nes to you desktop after exporting. Hope that answers your question.
User avatar
Mihoshi20
Posts: 441
Joined: Tue Mar 06, 2018 11:47 pm

Re: Colour Palette Tool

Post by Mihoshi20 » Wed Oct 03, 2018 12:06 am

This is going to come in handy as I plan (as soon as I can get my hands on 4.1.0) to make some pre-made palettes for popular emulators and FirebranX's custom ones for the community to use in NESmaker to better fit with their emulator or NTSC monitor of choice.
User avatar
Digital_Dragon
Posts: 16
Joined: Sun Aug 12, 2018 3:36 pm

Re: Colour Palette Tool

Post by Digital_Dragon » Wed Oct 03, 2018 11:01 am

Mihoshi20 - It would be cool if you (or anyone using this tool) could post the RGB values for whatever palette you run through the tool. It would save someone a lot of work screenshoting and colour picking for the same palette. Not sure there'll be any way to share the palettes with people beyond just posting numbers here and letting them manually input them into NESmaker.
User avatar
Mihoshi20
Posts: 441
Joined: Tue Mar 06, 2018 11:47 pm

Re: Colour Palette Tool

Post by Mihoshi20 » Wed Oct 03, 2018 6:00 pm

Digital_Dragon wrote:
Wed Oct 03, 2018 11:01 am
Mihoshi20 - It would be cool if you (or anyone using this tool) could post the RGB values for whatever palette you run through the tool. It would save someone a lot of work screenshoting and colour picking for the same palette. Not sure there'll be any way to share the palettes with people beyond just posting numbers here and letting them manually input them into NESmaker.
Yeah, I'd considered doing just that, releasing the files to just drop into NESmaker but also still post the RGP values. I just have to find some way to format them in a meaningful way. I wonder if lists work like tables and allow you to have several side be side. I may end up just doing them as images but that would be so tedious for each palette set, but I don't really plan to release it yet for obvious reasons as I don't have access to 4.1.0 until it releases to make the palette files. Though I may do the RGB charts ahead of time so long as this thread doesn't get buried.

Palettes I plan to make include: FCEUX default, Mesen default, FirebranX's Composite Direct and FirebranX's NES Classic. I may also do FBX's PVM Style D93 if it's frequently requested.
User avatar
Digital_Dragon
Posts: 16
Joined: Sun Aug 12, 2018 3:36 pm

Re: Colour Palette Tool

Post by Digital_Dragon » Thu Oct 04, 2018 10:09 am

OK, so here's the RGB values for FirebrandX's 'Smooth' palette. I woder if it differs from the original values he made as it's been run through fceux and paint.net (should be bit perfect though). One thing i wasnt sure of is how to order it, i went with 00-0F-10-1A etc but do you think theres a better order? Maybe 00 10 20 30 01 11 etc?

Edit: Warning! These values are wrong! Look further down for correct values and in a better format. Leaving this here for the record.

Hex | R | G | B |
00 | 106 | 109 | 106 |
01 | 0 | 19 | 128 |
02 | 30 | 0 | 138 |
03 | 57 | 0 | 122 |
04 | 85 | 0 | 86 |
05 | 90 | 0 | 24 |
06 | 78 | 16 | 0 |
07 | 61 | 28 | 0 |
08 | 37 | 50 | 0 |
09 | 0 | 61 | 0 |
0A | 0 | 64 | 0 |
0B | 0 | 57 | 36 |
0C | 0 | 46 | 85 |
0F | 0 | 0 | 0 |
10 | 185 | 188 | 185 |
11 | 24 | 80 | 199 |
12 | 75 | 48 | 227 |
13 | 115 | 34 | 214 |
14 | 149 | 31 | 169 |
15 | 157 | 40 | 92 |
16 | 152 | 55 | 0 |
17 | 127 | 76 | 0 |
18 | 94 | 100 | 0 |
19 | 34 | 119 | 0 |
1A | 2 | 126 | 2 |
1B | 0 | 118 | 69 |
1C | 0 | 110 | 138 |
20 | 255 | 255 | 255 |
21 | 104 | 166 | 255 |
22 | 140 | 156 | 255 |
23 | 181 | 134 | 255 |
24 | 217 | 117 | 235 |
25 | 227 | 119 | 185 |
26 | 229 | 141 | 104 |
27 | 212 | 157 | 41 |
28 | 179 | 175 | 12 |
29 | 123 | 194 | 17 |
2A | 85 | 202 | 71 |
2B | 70 | 203 | 129 |
2C | 71 | 193 | 197 |
30 | 255 | 255 | 255 |
31 | 204 | 234 | 255 |
32 | 221 | 222 | 255 |
33 | 236 | 218 | 255 |
34 | 252 | 214 | 245 |
35 | 252 | 214 | 245 |
36 | 253 | 219 | 207 |
37 | 249 | 231 | 181 |
38 | 241 | 240 | 170 |
39 | 218 | 250 | 169 |
3A | 201 | 255 | 188 |
3B | 195 | 251 | 215 |
3C | 196 | 246 | 246 |
Last edited by Digital_Dragon on Fri Oct 12, 2018 10:04 pm, edited 1 time in total.
User avatar
Mihoshi20
Posts: 441
Joined: Tue Mar 06, 2018 11:47 pm

Re: Colour Palette Tool

Post by Mihoshi20 » Thu Oct 04, 2018 8:33 pm

Digital_Dragon wrote:
Thu Oct 04, 2018 10:09 am
OK, so here's the RGB values for FirebrandX's 'Smooth' palette. I woder if it differs from the original values he made as it's been run through fceux and paint.net (should be bit perfect though). One thing i wasnt sure of is how to order it, i went with 00-0F-10-1A etc but do you think theres a better order? Maybe 00 10 20 30 01 11 etc?
Awesomes and handy as FBX's Smooth was one I didn't plan to convert.
Post Reply