Getting the best N64 experience on a Pi 4
-
@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.
-
@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.iniFrom 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:
But even with the correct ROM name in this case, it doesn't look like you can adjust gamma at a per-game level.
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?
-
@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.
-
@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
-
@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.
-
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.
-
@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.
-
@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). -
@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?
-
@Zering
Hope im right ;)
Just Try it and see ... -
@shavecat Could you specify which path that file is supposed to be under? I can't seem to find the correct one.
-
-
@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. -
@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.
-
@AdamBeGood Is that still in retroarch.cfg?
-
@Zering Nope mupen64plus.cfg, you are using the non Libretro core aren't you?
-
@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 <3EDIT 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.
-
@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 <3EDIT 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.
-
@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. -
@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.
I know I'm late to the party here, but this runs really well with lr-mupen64plus. Seems to run perfectly.
If you couldn't find "Sin and Punishment" on my compatibility chart, it's because I used the optimized name "Tsumi to Batsu". I've since added the subtitle if people begin to search for the American name.
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.