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

    Getting the best N64 experience on a Pi 4

    Scheduled Pinned Locked Moved General Discussion and Gaming
    mupen64pluspi4 bnintendo 64
    365 Posts 41 Posters 243.5k 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.
    • R
      ReadyPlayaWon Banned @roslof
      last edited by

      @roslof said in Getting the best N64 experience on a Pi 4:

      It also shows that you can modify options on a per-game level. Not a bad thing.

      I can't figure out the correct code to increase the Gamma in Doom 64 (the game is really dark, even with the in game brightness level at Maximum) in the GLideN64.custom.ini

      I can change the GammaCorrectionLevel = 1.000000 in the mupen64plus.cfg to a higher level and it works great ... but of course that effects every game.

      the game is named DOOM64.n64 and have tried in the GLideN64.custom.ini

      [DOOM64]
      graphics2D\GammaCorrectionLevel=2.000000

      [DOOM64]
      generalEmulation\GammaCorrectionLevel=2.000000

      and both of those don't work :(

      Any chance you or anyone else know the correct syntax/code for changing gamma ?

      retropieuser555R roslofR 2 Replies Last reply Reply Quote 0
      • retropieuser555R
        retropieuser555 @ReadyPlayaWon
        last edited by

        @ReadyPlayaWon This might sound odd but have you tried the PAL version of the game? As I remember finding one version (NTSC or PAL can't remember which) has much brighter settings.

        Pi 5 4GB

        Retroflag GPI with raspberry pi zero 2 w/ wifi

        Retroachievements:- lovelessrapture

        R 1 Reply Last reply Reply Quote 0
        • roslofR
          roslof @ReadyPlayaWon
          last edited by roslof

          @ReadyPlayaWon said in Getting the best N64 experience on a Pi 4:

          I can't figure out the correct code to increase the Gamma in Doom 64 (the game is really dark, even with the in game brightness level at Maximum) in the GLideN64.custom.ini
          I can change the GammaCorrectionLevel = 1.000000 in the mupen64plus.cfg to a higher level and it works great ... but of course that effects every game.
          the game is named DOOM64.n64 and have tried in the GLideN64.custom.ini

          From what I can tell by looking at the plug-in source, there isn't a way to set gamma at a custom level.

          A few things, and I'm fairly junior here, so hope I'm getting this right (anybody with more experience, feel free to correct me and this post):

          First off, I don't think the ROM filename matters. I think the code is looking inside the ROM for the name. For DOOM, it should be [Doom64] (case sensitive). If you use a hex editor and open the ROM image, you can see this exact string on the 3rd line:

          How-to-find-N64-ROM-name.jpg

          But even with the correct ROM name in this case, it doesn't look like you can adjust gamma at a per-game level.

          Link to Source File

          Custom .ini code is between lines 233-387. Note that "gamma" doesn't appear in this area.

          You could see all of the prefixes as:
          video\
          texture\
          generalEmulation\
          graphics2D\
          frameBufferEmulation\
          textureFilter\

          Unfortunately, none of these include the two (2) gamma settings. The gamma settings appear in this same file, but it appears to be referencing the global gamma settings found in the mupen64plus.cfg.

          It may be possible to expose gamma by editing this file and recompiling, but I'm probably not the person to figure this out. :) The plug-in is being actively worked on, so maybe we can nicely request the change? Then figure out how to inject it into the emulator. I believe we would just need to replace \opt\retropie\emulators\mupen64plus\lib\mupen64plus\mupen64plus-video-GLideN64.so with a new version?

          1 Reply Last reply Reply Quote 0
          • R
            ReadyPlayaWon Banned @retropieuser555
            last edited by ReadyPlayaWon

            @retropieuser555 said in Getting the best N64 experience on a Pi 4:

            This might sound odd but have you tried the PAL version of the game?

            yes, i'm running the PAL version after reading it should be brighter ... it is, but not by much, even with the in game Brightness Level at the Maximum.

            I'm using a old LCD in my Arcade Cabinet which doesen't have the best viewing angles i'll admit ... but every other N64 game is nice and bright.

            I know Doom 64 is meant to be a "Dark" game ... but not that dark where it's difficult to see anything.

            roslofR 1 Reply Last reply Reply Quote 0
            • roslofR
              roslof @ReadyPlayaWon
              last edited by roslof

              @ReadyPlayaWon, I just tested out an idea... It might work out for you:

              • For Doom 64, instead of the stand-alone emulator, use lr-mupen64plus-next. (the intro fly-over will be slower, but gameplay seems just fine)
              • Launch Doom 64
              • Select Shaders from the RetroArch Quick Menu
              • Load Shader Preset
              • Choose either the "Brighter-with_Contrast.glslp" shader preset or if you have the shaders_glsl shaders installed, better to install presets/retro-v2+image-adjustment.glslp (after selecting, you can tune this one with the Shader Parameters option)
              • Return to game

              Note: There is a "Next" bug, where your game will probably run unthrottled and with no sound for a bit

              Otherwise, like the brightness?

              • Return to Shaders Menu
              • Select "Save"
              • Save Game Preset (careful not to overwrite core or content directory, or all games will be affected, and you'll have to remove the shader later)
              • Quit the game
              • Relaunch the game

              Still looks good? Win.

              Cheers

              R 1 Reply Last reply Reply Quote 0
              • R
                ReadyPlayaWon Banned @roslof
                last edited by ReadyPlayaWon

                @roslof said in Getting the best N64 experience on a Pi 4:

                For Doom 64, instead of the stand-alone emulator, use lr-mupen64plus-next

                Unfortunately, that is not an option for me.

                Performance is terrible and the game runs slow even at 320x240 and the graphics are corrupted (guns missing half the graphics, health and ammo indicators half way up the screen instead of being at the bottom)

                using the same ROM file ... with mupen64plus-GLideN64

                Performance is great, the game runs fine even at 1280x1024 and the graphics are not corrupted ... every is perfect except for it being too dark.

                1 Reply Last reply Reply Quote 0
                • Z
                  Zering
                  last edited by

                  Would anybody have any suggestions on how to stop the sound from scratching and screeching in mupen64plus-GlideN64?
                  I'm attempting to play Sin and Punishment (great game), it runs full speed but the sound is an absolute mess. I've tested most of the N64 library and it seems to be one of the few games that is still affected in my experience.

                  Thanks guys.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    AdamBeGood @Zering
                    last edited by

                    @Zering said in Getting the best N64 experience on a Pi 4:

                    Would anybody have any suggestions on how to stop the sound from scratching and screeching in mupen64plus-GlideN64?
                    I'm attempting to play Sin and Punishment (great game), it runs full speed but the sound is an absolute mess. I've tested most of the N64 library and it seems to be one of the few games that is still affected in my experience.

                    Thanks guys.

                    There is a setting that helps sound, I just can't remember what it is.

                    Sorry to bother you, @quicksilver - but you told me this setting if I remember, it sorted out my explosion sounds on SotE I believe, and Mario Kart I think. I've tried to go back through posts but I'm struggling to find it.

                    1 Reply Last reply Reply Quote 0
                    • shavecatS
                      shavecat
                      last edited by

                      @AdamBeGood said in Getting the best N64 experience on a Pi 4:

                      sound

                      in your retrorach file in the n64 folder config
                      u have those
                      audio_resampler = "sinc"
                      audio_resampler_quality = "2"
                      change them too whatever u wanna , audio quality = 1/5 (1lowest 5 best).

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        Zering @shavecat
                        last edited by

                        @shavecat I'll try that, thanks.

                        Let's assume I pump up the audio resampler quality to 5, how is that going to affect my emulation speed wise?

                        shavecatS 1 Reply Last reply Reply Quote 0
                        • shavecatS
                          shavecat @Zering
                          last edited by

                          @Zering
                          Hope im right ;)
                          Just Try it and see ...

                          Z 1 Reply Last reply Reply Quote 0
                          • Z
                            Zering @shavecat
                            last edited by

                            @shavecat Could you specify which path that file is supposed to be under? I can't seem to find the correct one.

                            shavecatS 1 Reply Last reply Reply Quote 0
                            • shavecatS
                              shavecat @Zering
                              last edited by

                              @Zering 88ecf443-216b-475f-b092-06970c3741df-image.png

                              Z 1 Reply Last reply Reply Quote 0
                              • Z
                                Zering @shavecat
                                last edited by Zering

                                @shavecat Thanks.
                                The sound still crackles despite a little bit of an improvement, but the change hasn't affected the speed in the least, so I'm putting that down as half a win. ^^
                                If anybody else has more suggestions I'm all ears!

                                PS. Has anybody managed to run Bangaii-O? It runs worse than any other game on my end.
                                Admittedly it works great on lr-flycast but I'd like to try the N64 version.

                                A roslofR 2 Replies Last reply Reply Quote 0
                                • A
                                  AdamBeGood @Zering
                                  last edited by

                                  @Zering said in Getting the best N64 experience on a Pi 4:

                                  @shavecat Thanks.
                                  The sound still crackles despite a little bit of an improvement, but the change hasn't affected the speed in the least, so I'm putting that down as half a win. ^^
                                  If anybody else has more suggestions I'm all ears!

                                  PS. Has anybody managed to run Bangaii-O? It runs worse than any other game on my end.
                                  Admittedly it works great on lr-flycast but I'd like to try the N64 version.

                                  Stand down, @quicksilver !

                                  The setting was RESAMPLE="trivial", that was the sound setting I changed.

                                  I've only briefly tried Bangaii-O but it seemed okay, not sure what emulator I used though, I'd have to check.

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    Zering @AdamBeGood
                                    last edited by

                                    @AdamBeGood Is that still in retroarch.cfg?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      AdamBeGood @Zering
                                      last edited by

                                      @Zering Nope mupen64plus.cfg, you are using the non Libretro core aren't you?

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z
                                        Zering @AdamBeGood
                                        last edited by Zering

                                        @AdamBeGood Of course.
                                        The only game I'm using the libretro for is Ogre Battle 64, as I can't get past the first few minutes of the game in standalone mupen64.

                                        EDIT : It worked! Thank you @AdamBeGood
                                        Now I can finally enjoy this Treasure masterpiece <3

                                        EDIT 2 : Can this 'trick' be applied to other systems that suffer from poor sound? I'm thinking of the Jaguar and the 3DO for example.

                                        A 1 Reply Last reply Reply Quote 1
                                        • A
                                          AdamBeGood @Zering
                                          last edited by

                                          @Zering said in Getting the best N64 experience on a Pi 4:

                                          @AdamBeGood Of course.
                                          The only game I'm using the libretro for is Ogre Battle 64, as I can't get past the first few minutes of the game in standalone mupen64.

                                          EDIT : It worked! Thank you @AdamBeGood
                                          Now I can finally enjoy this Treasure masterpiece <3

                                          EDIT 2 : Can this 'trick' be applied to other systems that suffer from poor sound? I'm thinking of the Jaguar and the 3DO for example.

                                          On Edit 2 - not that I'm aware, I think it is specific to this emulator and system unfortunately. It should be the default on the core, I think.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z
                                            Zering @AdamBeGood
                                            last edited by

                                            @AdamBeGood I agree, I find bad sound to be more of a deal breaker than slow gameplay.
                                            Shame about the other cares, while playing AvP on lr-virtual-jaguar I couldn't help but think it would be well served by a fix like that.

                                            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.