HDMI Color to Emulator

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.
TheBoxGamePL
Posts: 158
Joined: Thu Aug 10, 2023 3:08 am

HDMI Color to Emulator

Post by TheBoxGamePL »

Hello, I have a question do nes emulators support more than 54 colors? because I'm talking about the color palette in the game ninja gaiden 3 the sky is half blue and half purple and in the game jackie chan in stage 3 the water is light blue when I connected the famiclon console to hdmi in the TV and in the emulator when I used the same sky color i.e. purple in ninja gaiden 3 the water in stage 3 in jackie chan is also purple and not light blue can someone tell me what it depends on
You do not have the required permissions to view the files attached to this post.
Oziphantom
Posts: 2001
Joined: Tue Feb 07, 2017 2:03 am

Re: HDMI Color to Emulator

Post by Oziphantom »

there is no real pallete. Its a bunch of analogue values that get passed through a bunch of random electronics that then go through some cable which changes the values depending on how good it is, to then go through a bunch of other random components with a random colour and tint or contrast dials on a monitor that is then fed into a some CRT tube with some turning with some various phosphors. And then it depends if you are running that through the PAL encoding or NTSC encoding version of the chips, but even then each revision of the PPU chip it self gives different results thanks to the process used or the mask layout see https://www.nesdev.org/wiki/PPU_palettes for example on how each version is different.

To which the Emulator will have to take a stab in the dark and then need to come up with some RGB values that will roughly give you what you think it possibly "should be". then your HDMI converter has a bunch of analogue voltages on a weird 240p image that it might not quite get and then is trying to treat it through some 480i type filtering to blend the frames to stop the interlace effect and then given these voltages and possible filter effects an a RGB value which is going to depend on what the internal brightness, colour, tint "dials" internally set on the device are and how well it was made in the first place.
TheBoxGamePL
Posts: 158
Joined: Thu Aug 10, 2023 3:08 am

Re: HDMI Color to Emulator

Post by TheBoxGamePL »

is there any way to manually assign a given color to the color palette in the emulator from my console because I set the colors from the photos I took on the TV or are these colors too light or too dark? I am providing a screenshot of the palette that I have managed to figure out so far, but something is not right here
You do not have the required permissions to view the files attached to this post.
Oziphantom
Posts: 2001
Joined: Tue Feb 07, 2017 2:03 am

Re: HDMI Color to Emulator

Post by Oziphantom »

take a photo and read the RGB values from the photo and try and set the colours using the RGB sliders in the emulator to get as close as you can with different screen and image encoding technologies.
TheBoxGamePL
Posts: 158
Joined: Thu Aug 10, 2023 3:08 am

Re: HDMI Color to Emulator

Post by TheBoxGamePL »

It will be hard because my phone takes pictures with light and it is hard for me to set the colors this is screenshots
You do not have the required permissions to view the files attached to this post.
TheBoxGamePL
Posts: 158
Joined: Thu Aug 10, 2023 3:08 am

Re: HDMI Color to Emulator

Post by TheBoxGamePL »

what color palette does he use if anyone has it send it to me
You do not have the required permissions to view the files attached to this post.
User avatar
Dwedit
Posts: 5263
Joined: Fri Nov 19, 2004 7:35 pm

Re: HDMI Color to Emulator

Post by Dwedit »

If you have an HDMI capture device, you can get the true RGB colors out of that.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
TheBoxGamePL
Posts: 158
Joined: Thu Aug 10, 2023 3:08 am

Re: HDMI Color to Emulator

Post by TheBoxGamePL »

only the problem is that I don't have such a device and the guy used a color palette on the emulator and I'm curious what palette it is
You do not have the required permissions to view the files attached to this post.