Maybe lower flicker power if I understood properly.
-edit-
Or just turn interlacing emulation off, set the following to 0.
Hi, is there any chance for a new handheld psp preset?
I think GBA one can be used for Psp as well, provided one swaps the background picture.
It is just a matter of finding a licensed realistic picture.
It was not just a matter of finding the picture
Indeed, I’ve faced several stoppers, finding the picture was easy, since there is a free CC licensed one in svg format from Tokyoship.
- koko-aio was unable to scale bg picture and content in a uniform manner when the picture was offsetted, that has been fixed in the dev repo.
- psp core can upscale the content, so i reverted to screen space rgb mask, instead of a core-resolution space one.
- How bad is psp core on retroarch?
Slow like a crawl, ppsspp on my phone is faster(!) Also unstable: tried Gods of war: freeze, tried out run coast to coast: freeze
Btw Juiced 2 works:
Core set to 2x scaling: PSP.slangp
Core set to 2x scaling: PSP-Overlay-Night-Small.slangp
Core set to 1x scaling: PSP-Overlay-Night-Small.slangp
Core set to 2x scaling: PSP-Overlay-Night-Big.slangp
…is there some special recipe to make PSP Core to work reliably, I’m feeling like i’ve wasted time.
Hard to say. It seems that ppsspp core is compatible with upstream, although it has many bugs.
Certainly also requiring a good PC.
But never mind that. Your PSP presets look great as always!
My favorite is small. Great job, it certainly wasn’t wasted
Thanks, spent some time and learned the tools a little better. Even with interlacing totally off, I still got a couple weird rolling flickering lines in a 30hz game like Arch Rivals (on an old 1080p 60hz, non-VRR monitor w/ Vsync on). So I guess this is just an FYI that the 30hz hires games may sometimes need special treatment compared to 60hz hires. I went back to a tweaked set of Duglim’s N100 presets that avoid the couple flicker lines for the 30hz games, but I haven’t diff’d the presets to figure out the feature actually causing the rolling flicker.
It would be helpful to know, since I cannot reproduce myself!
Sorry, I must have gotten confused from the different versions I created. Setting Consider Hi-Res above… to 0 does work. In fact it’s the only thing that works for me…even if I set all the other interlacing options to 0, I still got that rolling flicker.
I noticed that when interlace emulation is enabled, the overral brightness is lower, so I’ve added another parameter named:
“Interlaced scanlines brighness push (less is more)”
it is here:
By lowering it from 1.0 to something around 0.9, the brightness is preserved here.
However, rethinking of it, it may be possible that the issue I’m trying to solve is not due to the shader itself, but to the slowness of the LCD panels to flip from close state to the open one.
So I’m asking to someone with a faster response display (OLED anyone?) to try the following:
- Use a preset like presets-ng/Base.slangp
- Load an hires game like a 640x480 one (flycast core is a good candidate)
- pause the game via “p” key (not “k”)
- Open the shader parameters and set “Interlaced scanlines brighness push (less is more)” to 1.0 to void its effect
- Set the parameter: “Consider HI-Resolution above # lines” back and forth from/to 0/1
Do you see lower brightness when setting “Consider HI-Resolution above # lines” to 1.0 on your OLED?
Since we’re here, if you notice lower brightness, does “Interlaced scanlines brighness push (less is more) = 0.9” help?
Thanks!
-edit-
Ok, I managed to find a way to try on an OLED and indeed no brightness reduction can be observed there.
I think I will take the parameter as is, set to 0,9 with a small note beside.
Also, I think there are cheap TN panels with bad colors but good response times, maybe they are unaffected too.
Currently exploring the possibility of adapting the scanline inflation concept widely as a generic “Warp glow” feature (it would be named that way because it is based on the Warpsharp concept). Thet way, it would not be tied to the scanlines and it could be applied to the X dimension too:
New wannabe:
Old:
New wannabe:
Old:
With a different preset that toes no input smoothing, the image is still round near high contrasted edges.
New wannabe:
Old:
However, this would cost about 2-3fps on my haswell@1080p.
-EDIT-
Since it works by shrinking dark zones near bright ones, it greatly helps fxaa to stay sharp:
Please go for it ! The Outrun example is clearly better.
The last 2 screens look indeed sharp. Nice work
Ok, just merged.
Commit:
Implemented Warpsharp like algorithm that superseedes scanlines inflation.
Since it can be applied to X dimension too, it also helps FXAA to stay sharp.
So, Inflation is gone and the Warped glow appeared under Glow/Blur section:
Warped glow (X,Y):
Embolden bright pixels near dark ones using a warpsharp like algorithm.
This is a cheap way to emulate phosphor glowing.
The Y parameter will also allow scanlines to be higher.
It will also help (if coupled with) FXAA to stay sharp.
Warped Dynamics:
Change the amount of warpsharp applied based on the contrast between
nearby pixels, thereby altering their "Warped" shape.
I’m trying and failing to get the dither/dedithering of checkerboard patterns heavily used on some DOS EGA games right. Here’s an example with Loom.
Loom EGA, Original image, no shaders:
Loom EGA, tv-NTSC-1-classic_take
The shader certainly improves things a lot, but there are still some noticeable checkerboard patterns on the rocks and houses. I tried messing with some parameters, specially “Dedither enable?”, but even after cranking the sensitivity to the max it didn’t make a difference. NTSC color artifacts also didn’t do anything in this case. Other presets gave me similar results.
However, with guest_r CRT shaders I was able to get the effect somewhat right, but with compromises. If I set the “NTSC Resolution Scale” parameter to 0.50 the dithering patterns will blend better. Of course, everything will be a little bit less sharp, since I’m halving the resolution.
Here’s an example with sonkun’s “10-1080p-crt-guest-advanced-ntsc-slot-mask-u-warm-composite-standard” preset, which is based on guest_r’s:
The “tvout+ntsc-320px-composite” also handles dithering well, but the final result is too blurry for my tastes:
Here’s another example, this time with Quest for Glory II:
Original:
Koko:
Sonkun:
Tvout:
I know koko-aio shaders can handle dither on most systems perfectly - they’re my shaders of choice when playing Sega Mega Drive games, which relied heavily on the technique. But for some reason I can’t get them to look right with DOS EGA games. Is there any parameter I can change to get better results?
Probably/Maybe
The dedithering is mutually exclusive with NTSC artifacts, enabling the latter disables the former (docs are wrong, stating the opposite, will fix them asap).
So you can try to disable artifacts and see if dedithering works better (don’t expect miracles, it is a fast/dumb algorithm)
Btw, thanks for the detailed explaination, it will be certainly helpful, will check in a few days to tweak Ntsc artifacts parameters for EGA resolution.
Meanwhile, could you please post naked source resolution (1:1) EGA screens? I’ve no MsDos emulator setup nor games to try, so I’d rely on yours.
PS: Were EGA games supposed to be seen via NTSC composite signal at all?
That’s a good point I didn’t consider at all. I know CGA graphics used a composite connection, but it seems EGA was actually RGB, like the later VGA standard. Which begs the question, how did dithering work on games with EGA graphics?
Did it? I Honestly ignore it.
Not to my knowledge at all. All my life gaming on MS-DOS computers dithering was there but never blended. Sharp pixels were par for the course.
This is what I know.
There’s a recent thread which talks about this in detail.
Apparently folks did some wild stuff with CGA graphics back in the day. Getting more colours and stuff through composite.
If you still want to experiment you can try some Blargg Video Filter presets as well. Included with RetroArch are some “Blargg_NTSC_SNES_Custom_pseudo…” presets and I have a more comprehensive and updated filter preset pack called CyberLab Custom Blargg NTSC Video Filter Presets on my thread.
Those patterns essentially get lost in the mask/scanline interaction. You still see them on a VGA monitor /31 kHz. Alternatively, you could use TV-Out, but this is non-standard for EGA and probably not common on typical VGA cards used with DOS either. Common feature ofc with later Windows cards, but then, you’d probably mostly use it with S-Video.
I already tried that, didn’t make a difference. But I think I found the problem, which was of my own making: I was using the ScummVM core, which for some reason or another doesn’t play nice with the dithering effect. Even trying to use dedicated dithering shaders like mdapt didn’t do a thing. But now I switched to the DOSBOX Pure core and. suddenly, everything works flawlessly. The results are stunning. Here’s an example with Loom.
Raw, naked source resolution (PAR), with uncorrected aspect ratio:
Monitor-New_aperturegrille_gm
Monitor-FXAA_sharp-aperturegrille
Monitor-VGA-DoubleScan
In all examples, I enabled dedithering and changed the strength to 1.
Sure thing!
The checkerboard patterns suit some games, but specially for a lot of Sierra adventures I’d rather the colors blended.

Apparently folks did some wild stuff with CGA graphics back in the day. Getting more colours and stuff through composite.
They sure did, and I was able to emulate a lot of the crazy things they did with shaders. Here’s the raw CGA input of Agent USA vs what I was able to accomplish with the artifact-colors shader:
Koko’s shaders are actually quite capable of replicating some of these effects. Here’s what I was able to do with the B&W version of Borrowed Time (Apple II) after fiddling with the NTSC Color Artifacts parameters a bit: