RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    NES Custom Palette Preferences?

    Scheduled Pinned Locked Moved Ideas and Development
    nespalettespalette
    27 Posts 6 Posters 12.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Used2BeRXU
      Used2BeRX @lilbud
      last edited by

      @lilbud said in NES Custom Palette Preferences?:

      @used2berx Nah, the palette closest to my tv is the sony-cxa2025as-us one.

      0_1522325188079_893f635a-6bfd-49c7-99d4-09d9cfdb7065-image.png

      Oh... My mistake. I didn't even try that one. He doesn't even mention it on his page, so I figured it was something he just abandoned. Those colors do look nice for the SMB title screen, at least on my PC monitor. I'm going to test those out and add them to the compare list for everyone for the games I tested. Thanks for pointing that out. :)

      1 Reply Last reply Reply Quote 0
      • Used2BeRXU
        Used2BeRX @lilbud
        last edited by Used2BeRX

        @lilbud Well.... now that's very strange.

        I used Sony CXA in MednafenX and got a very different color scheme than yours. (See edited OP above). I don't like the way my Snapshot of Sony CXA looks at all compared to yours. It's pretty much exactly like the PVM Style D93 (FBX) palette looked for me.

        Which emulator were you using to get that screenshot?

        Anybody know why different emulators might give differing output with the same palette?

        Whoops... Nevermind. I had "Autogenerate NTSC Pallete: " set to Yes. So it was using a default Tint value of 56 and Hue value of 72 on top of the palettes. It seems as though whenever you load a new palette for a game that this field automatically gets set to "Yes" for some reason. (I'll have to mention that to the guy in charge).

        I'm going to re-take all of them and re-up them in the OP.

        Please stand by. :)

        1 Reply Last reply Reply Quote 0
        • Used2BeRXU
          Used2BeRX @lilbud
          last edited by

          @lilbud All sorted out bud. I do believe my output is exactly the same as yours was now.

          This is great. Not only do you say that Sony CXA is the best match to your CRT Television, but I happen to think that it is the best looking palette by a wide margin. :)

          Looks like the "bug" that forced that auto-palette correction wasn't intentional and even known until now. Developer is going to look into it. Thanks for inadvertently being a part of catching a "problem" that has been a part of the code for well over a decade that nobody noticed before. :)

          mediamogulM 1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator @Used2BeRX
            last edited by mediamogul

            @used2berx said in NES Custom Palette Preferences?:

            Not only do you say that Sony CXA is the best match to your CRT Television, but I happen to think that it is the best looking palette by a wide margin.

            It's amazing how drastically these palettes can differ. I use sony-cxa2025as-us as well.

            0_1522342902336_9d531505-c776-479b-8671-14ba881a2d95-image.png

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            Used2BeRXU 1 Reply Last reply Reply Quote 0
            • Used2BeRXU
              Used2BeRX @mediamogul
              last edited by

              @mediamogul Yeah man. I can't believe in all of my time working with emulation that I've never really paid any attention to this fairly crucial aspect of it.

              I don't see the Sony CXA on that picture though. Is it one of them there, or were you just posting that to show how crazy the differences are?

              Also, both you and @lilbud are calling the palette something different than the one I got in the zip file at firebrandx's website. If you wouldn't mind, could you check that out and let me know that we're both talking about the same file? I see it in the zip as only Sony CXA.pal in the zip file called Novemeber-2017-Palettes.zip.

              http://www.firebrandx.com/nespalette.html

              THANKS!!!!

              mediamogulM 2 Replies Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator @Used2BeRX
                last edited by mediamogul

                @used2berx said in NES Custom Palette Preferences?:

                I don't see the Sony CXA on that picture though.

                'Unsaturated V5' was renamed to 'sony-cxa2025as-us' at some point in time.

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @Used2BeRX
                  last edited by mediamogul

                  @used2berx said in NES Custom Palette Preferences?:

                  Also, both you and @lilbud are calling the palette something different than the one I got in the zip file at firebrandx's website.

                  I believe the palettes I'm using were obtained directly from the online updater through RetroArch itself.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  Used2BeRXU 1 Reply Last reply Reply Quote 0
                  • Used2BeRXU
                    Used2BeRX @mediamogul
                    last edited by Used2BeRX

                    @mediamogul @lilbud

                    Any chance one of you guys could get me the CRC value of that file?

                    The Sony CXA.pal is a CRC of C5929D66, which is a match of the file simply titled Sony.pal in a downloadable zipfile with many palettes in it found here: https://emulation.miraheze.org/wiki/Famicom_Color_Palette

                    I'm just about 100% sure we're all using the same one, but I just want to verify the CRC.

                    mediamogulM lilbudL 2 Replies Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @Used2BeRX
                      last edited by mediamogul

                      @used2berx

                      I may be wrong about the online updater, as I can't find a download option, directory, or even a reference to palettes in retroarch.cfg. I'm beginning to think these palettes may be baked into the core itself and not directly accessable.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • lilbudL
                        lilbud @Used2BeRX
                        last edited by

                        @used2berx CRC is the same for my file.

                        Here are the pictures of my screen (pics aren't the best quality)
                        alt text

                        Very similar to the Sony palette but only with darker oranges and browns

                        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                        Backlog: http://backloggery.com/lilbud

                        mediamogulM 1 Reply Last reply Reply Quote 1
                        • mediamogulM
                          mediamogul Global Moderator @lilbud
                          last edited by

                          @lilbud said in NES Custom Palette Preferences?:

                          CRC is the same for my file

                          For future reference, where are these files located?

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          lilbudL 1 Reply Last reply Reply Quote 0
                          • lilbudL
                            lilbud @mediamogul
                            last edited by

                            @mediamogul On firebrandx's website

                            http://www.firebrandx.com/downloads/Novemeber-2017-Palettes.zip

                            Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                            Backlog: http://backloggery.com/lilbud

                            mediamogulM 1 Reply Last reply Reply Quote 0
                            • mediamogulM
                              mediamogul Global Moderator @lilbud
                              last edited by

                              @lilbud

                              I mean within a Retroarch installation.

                              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                              lilbudL 1 Reply Last reply Reply Quote 0
                              • lilbudL
                                lilbud @mediamogul
                                last edited by

                                @mediamogul In the system folder if the docs are to be believed: https://docs.libretro.com/library/fceumm/#custom-color-palettes

                                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                Backlog: http://backloggery.com/lilbud

                                mediamogulM 1 Reply Last reply Reply Quote 0
                                • mediamogulM
                                  mediamogul Global Moderator @lilbud
                                  last edited by mediamogul

                                  @lilbud said in NES Custom Palette Preferences?:

                                  if the docs are to be believed

                                  I read that too and also found a 'palettes' directory in the system folder, but it was empty on mine, despite multiple options being available in the core options. I guess a certain amount of them are baked in, leaving the actual 'palettes' directory for custom files.

                                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                  1 Reply Last reply Reply Quote 0
                                  • Used2BeRXU
                                    Used2BeRX
                                    last edited by

                                    Just for future reference for me, how do you select a palette for the NES, and would it then automatically work on all of the games you've already set up without it?

                                    Does the palette work with all 3 NES cores? Most of the games on my Pi Zero run with quicknes. Quite a few of them use Nestopia and the few that won't work with those two use fceumm. Would I have to set the palette up for each emu, or do I just do it once and it works on all of them?

                                    mediamogulM 1 Reply Last reply Reply Quote 0
                                    • mediamogulM
                                      mediamogul Global Moderator @Used2BeRX
                                      last edited by

                                      @used2berx said in NES Custom Palette Preferences?:

                                      how do you select a palette for the NES

                                      In RetroArch, the various palettes are selectable from the core options menu.

                                      Does the palette work with all 3 NES cores?

                                      A selection has to be made in each core. Not too long ago, the exact same palette might be named differently between them, but there seems to have been an effort to consolidate the names over the past year.

                                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                      Used2BeRXU 1 Reply Last reply Reply Quote 1
                                      • Used2BeRXU
                                        Used2BeRX
                                        last edited by

                                        Thanks for your help guys. :)

                                        And thanks for those screenshots @lilbud . I didn't need any more selling on Sony CXA, but it looks like you're right about how close they are. Also, thanks for checking that CRC for me so we know we're all using and talking about the same palette.

                                        I'll give your instructions a shot when I get my Pi up and running again @mediamogul . Had to unplug it today to print up some tax time stuff. My power strip has only one non-essential plug, so sadly my Pi has to share it with my printer, and this is just about the only time all year that I need to use the printer. :)

                                        Figured that I'd ask you about that now since we're on the subject though. All of the stuff I've been doing with this palette debate was on the XBox and I hadn't even considered how I was going to pull it off on the RP until you guys were talking about it.

                                        1 Reply Last reply Reply Quote 0
                                        • Used2BeRXU
                                          Used2BeRX @mediamogul
                                          last edited by

                                          @mediamogul

                                          I finally got around to working on this on the Pi. Good news for most games for Pi 3 users, but bad news for Pi Zero users, I'm afraid.

                                          Because you really have to default to Quicknes for the Pi Zero for compatibility and only use the other two when the games won't boot up, most of the games seem to be stuck with whatever palette is baked into Quicknes. But for Nestopia and Fceumm it's a fairly easy process to change the default palette. I'm sure there are other ways of doing it, but this is how I managed it.

                                          Open up the file /opt/retropie/configs/all/retroarch-core-options.cfg

                                          Change the following two lines in that file from whatever they were before to read as follows:

                                          nestopia_palette = "cxa2025as"

                                          fceumm_palette = "sony-cxa2025as-us"

                                          There doesn't seem to be any way to change it for Quicknes that I can tell. When you go into the Quick Menu/Options screen while inside a game in the RetroArch menu, instead of seeing the various options such as a palette selection like in Nestopia and Fceumm, all it says is "No Core Options Available".

                                          I'm going to tinker around a bit more with it.

                                          Good news is that there seems to be an "Overclock" feature in Nestopia. I don't know if it will do the trick, but there are a handful of games that wouldn't work in Quicknes that have some audio stutter in Nestopia. Maybe I can fix these by making individual game options for them.

                                          In case anyone cares, those individual game options settings are saved in the following directories after you create them:
                                          /opt/retropie/configs/all/retroarch/config/FCEUmm/
                                          /opt/retropie/configs/all/retroarch/config/Nestopia/

                                          zefolhadelaZ 1 Reply Last reply Reply Quote 1
                                          • matchamanM
                                            matchaman
                                            last edited by

                                            I'm getting obsessed with this. The closest to the real NES via composite (NES can't do RGB without replacing the PPU chip on the board) is the PVM style. The brown on SMB is more "alive" than smooth or composite direct.

                                            As a reference I'm using an NTSC console connected to 21" a curved Sony Trinitron, recapped and on totally default values. Pictures are useless I'm afraid, the comparison is only possible via naked eye.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.