Sonkun’s crt-guest-advanced-hd presets thread

Welcome to the crt-guest-advanced presets thread. Here I’ve taken @guest.r’s amazing crt advanced shader combined with a variation of @Dogway’s grade shader and created Shadow Mask, Slot Mask and Aperture Grille crt shader presets for you all to enjoy.

Installation Guide:

  1. Change your driver to “vulkan” in Settings/Drivers/Video if you haven’t already, if by chance you get a black screen while using my shaders then use the “glcore” driver instead. Exit RetroArch and then reopen it to make sure your new driver settings stick.

  2. Make sure your slang shaders are up to date by going to Online Updater/Update Slang Shaders.

  3. Download the shader pack below and extract it (In some cases you will also have to download guest.r’s latest shader pack as well as sometimes new features get added that I may take advantage of that are not yet available upstream by just updating your slang shaders. I’ll always include a link to get it under my shader pack download if needed to do so).

  4. Move the “sonkun” folder over to your “shaders_slang” folder so that it looks like this:

And that’s it. You can now load up the shaders just like you would any other.

Download link: https://www.mediafire.com/file/3nvlwrih3tscv6e/sonkun-crt-guest-advanced-hd-presets-03-27-2023.zip/file

Read notes about this latest release here.

For this update you will also need guest.r’s latest shader update for my presets to display properly, you can grab it here.

Installation Guide for guest.r updated shaders:

  1. Download and extract the pack.

  2. Go to wherever you have your RetroArch shaders folder and then go to shaders_slang/crt then delete the 5 guest advance shaders in that folder which are “crt-guest-advanced-fast.slangp”, “crt-guest-advanced-fastest.slangp”, “crt-guest-advanced-hd.slangp”, “crt-guest-advanced-ntsc.slangp” and “crt-guest-advanced.slangp” and replace them with the 5 from the downloaded pack.

  3. From the same crt folder go inside the “shaders” folder at the top and then look for a “guest” folder, delete that then replace it with the one from the downloaded pack that’s also in the “shaders” folder and that’s it, you’re done. You’ve now successfully updated guest.r shaders.

Features:

3 shader preset folders for 3 monitor types: 1080p, 1440p and 4k so whichever monitor you have, you can choose the right shader resolution for your monitor type. Disclaimer - These presets were designed to be used on the three resolution types I’ve mentioned above only, not OLED, 720p or other random resolutions. If you use it on any type of display besides those 3 standard displays I may not be able to help if you run into any issues. If they end up looking ok to you on your display regardless then game on.

64 shader presets to choose from per folder with 3 different phosphor types for USA, Japan and Pal that come in both warm

and cool

white point temperature types.

Multiple cable types to choose from

Included are shader presets representing 4 cable types to choose from: rf, composite, s-video and rgb.

I’ve created two different types of rf/composite connections, one for ntsc 2-phase and one for ntsc 3-phase. Most systems used the 2-phase output but a few systems used the 3-phase output as well. I’ve created a list of the common retro systems on RetroArch to choose the right connection for the right system.

Systems that used the ntsc 2-phase output:

Amstrad GX4000
Atari 5200
Atari 7800
Atari Jaguar/CD
Commodore CDTV
Commodore Amgia CD32
Fairchild Channel F
Magnavox Odyssey 2
Mattel Intellivision
Nintendo 64/DD
Nintendo GameCube
NEC PC Engine(Turbo Grafx)/CD
NEC SuperGrafx
Panasonic 3DO
Philips CD-i
SNK Neo Geo AES
SNK Neo Geo CD
Sega Megadrive(Genesis)/CD/32X
Sega Dreamcast
Sega Pico
Sega Saturn
Sony PlayStation
Sony PlayStation 2

Systems that used the ntsc 3-phase output:

Atari 2600
ColecoVision
Nintendo Famicom/Nintendo Entertainment System
Sega Master System
Sega SG-1000
Super Famicom/Super Nintendo Entertainment System

Only a few systems used the 3-phase output but that output produced a different diagonal dithering color/artifact effect on the screen for those specific systems that the 2-phase output didn’t and I wanted to recreate those outputs with these two types of ntsc shader presets.

I’ve also created a rf/composite ntsc 2-phase preset strictly for Megadrive/Genesis that recreates the accurate rainbow dithering effects so you have two options for rf/composite dithering/rainbows that you can choose from.

Standard ntsc 2-phase preset:

Megadrive version:

My recommended case use with these shaders is rf/composite for all systems from the 4th generation consoles and below (nes, snes, genesis, atari, turbografx etc.), s-video for 5th and 6th generation consoles (ps1, saturn, n64, dreamcast, ps2, gamecube) and rgb for arcade.

RF sample pics:

Composite sample pics:

S-Video sample pics:

RGB sample pics:

Play with upscaled graphics

Play with smoother upscaled graphics on all the old classics if you wish by selecting shaders from the “scalefx-presets” folder. Works on 3D games as well.

Original pixel graphics:

Scalefx graphics:

Choose your preferred screen type

Choose from having a flat screen:

or curved screen:

Curvature presets are designed to fit right inside overlays from The Bezel Project.

The user @thingsiplay wrote an amazing article on my preset pack that goes more into detail with comparison pics and a video. You can read the article here.

Also YouTuber Retro Crisis has made a couple videos showcasing my presets with a installation guide along with showcasing the dithering and transparency effects from the composite and svideo presets, you can check them out here:

I have a YouTube channel as well, not much there but you can check out some of my personal favorite video game osts/bgms there if you want.

I’ve also made a “fast” preset of my Slot Mask preset using the “crt-consumer.glsl” shader. You can check that out here.

I hope you all enjoy.

21 Likes

is the defaut ntsc preset pal or usa

1 Like

I believe it’s USA. I’m trying to find the readme for Dogway’s grade shader that goes more in depth on the different type of phosphor settings the grade shader includes but not sure where to find it. I know there’s a thread that discusses the shader here though.

Hi sonkun, I am currently working on a comparison post of your Shader presets. While doing so, I encountered an oddity. It happens on all 3 resolutions with integer scale on and aspect ratio 4:3 (on my PC). And it only appears on the s-video variant of your preset. Look at the SONY sign in the middle of the cropped screenshots. BTW the game is Snatcher for Sega CD played with Genesis Plus GX core.

7 Likes

Welcome to the forum! I really enjoy your blog and shader comparisons!

Looking at the svideo shader preset, my first guess is that it is the Gdapt passes giving a false positive on the repeating vertical lines in the logo and blending them.

7 Likes

Yup, it’s more than likely what hyperspace said. I added gdapt into the s-video presets cause I liked that one the best out of the other dithering shader options but I’m also aware that shader sometimes give false positives. I may have to look into the s video presets next and find the best dithering shader option to use

4 Likes

Yeah, you may want to check out Hyllian’s checkerboard dedither, it does a really great job, it’s 3 passes.

It doesn’t address vertical lines, but my experience has been that as soon as you are looking for a solution to the vertical lines situations like the above can occur.

2 Likes

Thank you. I also enjoy this forum and all your guys postings. Reading here for a while and finally was forced to create an account. As for the Shader, I am curious if this can be solved by user settings in the Shader parameters. But it is not a big deal. I only managed to see it because I am cropping it systematically and after a few games, this is the only place I noticed.

3 Likes

I tell you what, I’m at work right now and won’t be home for another 6 hours or so, if you want to put your article on hold for a few hours then soon as I get home I’m going to find a suitable replacement for gdapt so that that logo shows properly and post up a new shader pack update. You’ve been helping me all week on the reddit forums to shape up my presets to what they are now and it looks like this is yet another another step to perfect my presets.

@HyperspaceMadness I want a dithering shader that take up at least 2 passes to replace the first two available stock passes on the guest advanced ntsc shader. Soon as I get home I’m gonna get right on this, wanna make sure I give @thingsiplay a good product for his article.

3 Likes

Well in a case like this you can probably use Hyllian Checkerboard to address the checkerboard and you can use my Blargg_NTSC_Genesis_Composite_CyberLab_Special_Edition.filt aka Blargg_SNES_Custom_Psuedo_MD_Composite.filt or Blargg_NTSC_Genesis_S-Video_CyberLab_Special_Edition.filt aka Blargg_SNES_Custom_Psuedo_MD_S-Video.filt video filter presets to address the vertical lines as a sort of hybrid solution.

It sounds crazy but it just might work!

1 Like

Lol thank you but I’m trying to avoid any blargg video filters and just have the shaders do all the work, after all my end game is to just load the shaders up, set it and forget it so that it’s easy for all end users.

I’ll just head into the dithering folder later and play around with what’s there until something sticks. Maybe that sgenpt-mix shader but I’ll see

2 Likes

Many different dithering patterns were used during 8/16bit era. The most common pattern present in these games is known as checkerboard dithering, which as the name suggests, is basically an alternating color pixel pattern vertically and horizontally.

Another pattern present mainly in genesis games are the only vertical lines dithering. These patterns are blended by the analog crt display and ntsc/pal systems along the analog cable (composite) used to transmit the signal between the console and display.

Now, back to the shaders, it’s important to state that checkerboard dithering is easier to detect than vertical lines. For the latter, only the ntsc shaders/filters set to composite can perform a complete filtering of vertical lines without adding erratic artifacts (it adds some known artifacts as color bleeding and blurring, but not erratic artifacts).

Important: if you are using a ntsc-composite shader, you don’t need other dedither shader.

For Checkerboard Dithering some good shaders are: checkerboard-dedither, mdapt, jinc2-dedither.

For Vertical Lines, I recommend: mdapt, sgenpt-mix.

7 Likes

Yeah totally agree, sgenpt-mix is one that can deal with the most extreme examples, here’s a little experiment I did

No De-Dither

Sgenpt with some high strength

5 Likes

So either mdapt or sgenpt-mix, got it. I can’t wait to get home and put out this update, this should be the final major issue for now for a while. The composite and rgb presets are good to go it seems, it’s just s-video that needs a little love. I’m on it guys

2 Likes

Use them only if the game presents vertical lines dithering. The Sony screenshot doesn’t!

1 Like

Hmm, maybe I need to be home to go more in depth into this. So you’re saying it’s not good to use them as an all around shader? Once I add it to the pass I intend to just leave it there. I need to hurry up and finish this shift so I can test this all out

1 Like

That’s it. You probably need an special preset just to use Vertical Lines dedither, because only a few games need it and justify the artifacts it creates. A more general preset should use only a checkerboard dedither, which is much more artifacts free.

3 Likes

Exactly this,

I think the best all around thing which won’t cause problematic things like the Sony logo is the hyllian checkerboard.

2 Likes

Ok I’m home now and ready to play. So you’re saying I should skip mdapt and sgenpt-mix and just go with the checkerboard dedither shader? Main reason I added gdapt in was for Sega Saturn. I know games on that system didn’t handle dithering properly but I wanted to eliminate that issue with a dithering shader pass.

The next issue is going about adding that into the CRT-guest-advanced-ntsc shader chain and then I’m good to go. If I remember correctly in the past, after guest updated his advanced shader I was unable to add any additional passes to the chain or the whole shader will fail to load.

Is it possible to get a single pass version of that checkerboard dedither shader? Or two pass version that way I can just squeeze it into the first two passes where the stock shaders are? If not I’ll try to get it added in another way

1 Like

Yeah, that would be my suggestion

Yeah, the checkerboard by Hyllian works very well on the saturn dithering, he did a fair amount of testing specifically on saturn.

Yeah, it’s 3 passes and I think it’s unlikely it will change from 3 passes.

The chain was probably failing because there was alias which needed to be shifted to another pass.

4 Likes