New CRT shader from Guest + CRT Guest Advanced updates

Hello this is some example of my settings… 1080p …

really this shader is awesome!

thx guest

9 Likes

Hello ckf92, congratulations for your settings, what I see I consider very beautiful. Could you please share your parameters? I’d like to try your customization. A thousand thanks.

1 Like

Thx you it’s very simple.

load xbr2 (scale4) in the second “stock pass” of guest advance shader and “voila” ! no special tweak needed! (don’t forget to put all necessary shader in the same guest advance folder)

This is my *.slangp (preset) :

shaders = 12

shader0 = shaders/guest/advanced/stock.slang
filter_linear0 = false
scale_type0 = source
scale0 = 1.0

shader1 = shaders/xbr-lv2-standalone.slang
filter_linear1 = false
scale_type1 = source
scale1 = 4.0
alias1 = StockPass

shader2 = shaders/guest/advanced/afterglow0.slang
filter_linear2 = false
scale_type2 = source
scale2 = 1.0
alias2 = AfterglowPass

shader3 = shaders/guest/advanced/pre-shaders-afterglow.slang
filter_linear3 = false
scale_type3 = source
mipmap_input3 = true
scale3 = 1.0
alias3 = PrePass

textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4"
SamplerLUT1 = shaders/guest/advanced/lut/trinitron-lut.png
SamplerLUT1_linear = true
SamplerLUT2 = shaders/guest/advanced/lut/inv-trinitron-lut.png
SamplerLUT2_linear = true
SamplerLUT3 = shaders/guest/advanced/lut/nec-lut.png
SamplerLUT3_linear = true
SamplerLUT4 = shaders/guest/advanced/lut/ntsc-lut.png
SamplerLUT4_linear = true 

shader4 = shaders/guest/advanced/avg-lum.slang
filter_linear4 = true
scale_type4 = source
scale4 = 1.0
mipmap_input4 = true
alias4 = AvgLumPass

shader5 = shaders/guest/advanced/linearize.slang
filter_linear5 = true
scale_type5 = source
scale5 = 1.0
alias5 = LinearizePass
float_framebuffer5 = true

shader6 = shaders/guest/advanced/gaussian_horizontal.slang
filter_linear6 = true
scale_type_x6 = absolute
scale_x6 = 800.0
scale_type_y6 = source
scale_y6 = 1.0 
float_framebuffer6 = true

shader7 = shaders/guest/advanced/gaussian_vertical.slang
filter_linear7 = true
scale_type_x7 = absolute
scale_x7 = 800.0
scale_type_y7 = absolute
scale_y7 = 600.0
float_framebuffer7 = true
alias7 = GlowPass

shader8 = shaders/guest/advanced/bloom_horizontal.slang
filter_linear8 = true
scale_type_x8 = absolute
scale_x8 = 800.0
scale_type_y8 = absolute
scale_y8 = 600.0 
float_framebuffer8 = true

shader9 = shaders/guest/advanced/bloom_vertical.slang
filter_linear9 = true
scale_type_x9 = source
scale_x9 = 1.0
scale_type_y9 = source
scale_y9 = 1.0
float_framebuffer9 = true
alias9 = BloomPass

shader10 = shaders/guest/advanced/crt-guest-advanced.slang
filter_linear10 = true
float_framebuffer10 = true
scale_type10 = viewport
scale_x10 = 1.0
scale_y10 = 1.0

shader11 = shaders/guest/advanced/deconvergence.slang
filter_linear11 = true
scale_type11 = viewport
scale_x11 = 1.0
scale_y11 = 1.0

Enjoy

3 Likes

Hi ckf92, thank you very much for your sharing, it was just the kind of customization I was looking for, and from the images you already shared I love it. Unfortunately I won’t be able to test it in the field for a few days since I’m away from home, but I still wanted to go ahead by asking you two questions. The shader “xbr-lv2-standalone” I have to copy in the folder “shader_slang/crt/shaders,”, right? Then I take your text, copy it to a Notepad file that I will rename with the “.slanp” extension and upload it ? Thanks for your help and thanks for sharing.

yes you need to copy the “xbr-lv2-standalone” and all dependant file in the same folder as “crt guest advance” shader folder :slightly_smiling_face:

Yes just a notepad file to copy the settings and rename :wink:

you can change the number of scale (“4”) to make the result sharper or smoother… decrease scale will smoot and increase will sharp.

IMO in 1080p scale 4 is good :slight_smile:

maybe for people the result is a little bit to clean and modern for purist but i think it nice to play old game like this :slight_smile:

1 Like

I get it, you copied the “shader_slang/xbr/shaders” folder inside the shader_slang/crt folder by merging them. You put your custom “*.slangp” file in the “shader_slang/crt” folder and upload it from there. I apologize for my redundancy but I’m still a noob on the subject, I try to learn as much as possible. I love your look because it keeps the retro style but at the same time gives a nod to a more modern, less raw look. It’s how I remember things, even if memories are deceiving and I’m getting old. What I love about this look is the clear definition of the silhouettes, I find it pleasing to the eye. I had tried the Super XBR Crt and Guest had kindly provided me with a preset, but your customization work seemed perfect in terms of cleanliness and colour. I thank Guest again for making his shader available to us and you for this beautiful customization you shared. I can’t wait to make it mine and test it in the field.

1 Like

Guest good evening, but if one wanted to search for an image with such a sharp and marked silhouette in the displayed image, without using an XBR scaler or similar, should one act on the two Smart Edge values? And if so, which of the two should you increase exactly? Thank you

1 Like

I’m asking for situations like “Marvel Vs. Capcom 2” and similar, where due to weird 2D pixel scaling compared to 3D, the scalers don’t work properly

1 Like

Some screenshots with 2 different presets.

GAMMA_INPUT = "2.200000"
interm = "0.000000"
bloom = "0.980000"
brightboost = "1.000000"
brightboost1 = "1.000000"
gsl = "-1.000000"
scanline1 = "17.500000"
scanline2 = "47.000000"
beam_min = "1.000000"
beam_size = "1.000000"
scans = "0.300000"
scangamma = "5.000000"
h_sharp = "4.400000"
s_sharp = "0.000000"
bsize1 = "0.000000"
shadowMask = "8.000000"
maskstr = "1.000000"
mcut = "1.000000"
maskDark = "0.000000"
maskLight = "1.000000"
mask_gamma = "1.000000"
slotmask = "1.000000"
slotmask1 = "1.000000"
slotwidth = "3.000000"
double_slot = "2.000000"
gamma_out = "2.200000"
deconrr = "-1.000000"
deconrb = "1.000000"
deconrry = "-1.000000"
deconrby = "1.000000"

and

GAMMA_INPUT = "2.200000"
interm = "0.000000"
bloom = "0.980000"
brightboost = "1.000000"
brightboost1 = "1.000000"
gsl = "-1.000000"
scanline1 = "17.500000"
scanline2 = "47.000000"
beam_min = "1.000000"
beam_size = "1.000000"
scans = "0.300000"
scangamma = "5.000000"
h_sharp = "10.500000"
s_sharp = "0.000000"
c_shape = "0.050000"
bsize1 = "0.000000"
sborder = "0.250000"
shadowMask = "11.000000"
maskstr = "1.000000"
mcut = "1.000000"
maskDark = "0.000000"
maskLight = "1.000000"
mshift = "-2.000000"
mask_gamma = "1.000000"
gamma_out = "2.200000"
9 Likes

I would still use the HD version for these games, but you can basically not hope for a decent low-res pixel scaling without a proper texture replacing project involved.

3 Likes

which CRT guest preset(s) have you used previously to set up those 2 preset options ?

1 Like

It was for crt-guest-advanced.slangp, but also works with NTSC version if you remove h_sharp and s_sharp. You can delete maskDark and maskLight, I was testing another mask.

Mask 13 can be used with those settings . :stuck_out_tongue:

Edit:

Ntsc sharpen (negative:adaptive) is a nice feature. If you push value to 10.0 with ntsc shape mode to the lowest value and blend mode to 0.0 while having artifacts to 5. It produces dark artifacts with a clear picture at 1.00 Ntsc resolution.

4 Likes

Imho Marvel vs Capcom 2 doesn’t look so bad if you pump up Flycast’s internal resolution, then also use that setting in Guest Advanced HD, while switching interlacing off.

By comparison, with the default 640x480:

That clash of low/high res comes off a bit weird even on crts imho, I find it especially misapplied with some of the RPG remakes that Square Enix has been put out in recent years.

3 Likes

Thank you !!! But it’s really good like this, as soon as I can I try, in the meantime with your advice I can solve this strange situation. To this day I still don’t understand why we opted for two-dimensional graphics with such low scaling … thanks anyway :grinning:

2 Likes

Hi Guest, I wanted to ask, if it was possible, if you could share the parameters to create a preset with your Advance shader together with ScaleFX, as you kindly did with the XBR preset. The ScaleFX is more accurate even if heavier and I would like to try it. Heartfelt thanks for the help.

3 Likes

Sure. Firs make sure you are using the latest shader versions. Then just follow these simple steps:

  • load the scalefx preset
  • optionally you can append the fxaa preset
  • append the crt-guest-advanced-hd preset
  • increase the ‘internal resolution’ parameter to your liking

If you don’t like scanlines then decrease the ‘Interlace Trigger Resolution’ until scanlines are gone.

7 Likes

I wanted to achieve full mask bloom while keeping visible mask on bright areas without altering grayscale values for dark colors. (8-16-24 —>224-232-240)

Problem with bloom strength at “-1.00” you lose mask details when colors are at 240 brightness.

So what I did is just limit max brightness to 232.

The trick is to use “keep mask effect with clipping” “0.15” and “bloom radius” “1.00” - “bloom sigma” “0.25”.

Only tested with my preset.

Some screenshots with different values (shape,sharpness,mask).

7 Likes

Some sexy looking pics here especially the Slot Mask ones, mind posting the settings to those? I like that you’ve brightened up the image a bit.

4 Likes

Thanks, here are the presets.

Also you can try -2.50 or 20.0 for scanline1.

GAMMA_INPUT = "2.100000"
interm = "0.000000"
SIZEHB = "1.000000"
SIGMA_HB = "0.250000"
SIZEVB = "1.000000"
SIGMA_VB = "0.250000"
bloom = "-1.000000"
brightboost = "1.000000"
brightboost1 = "1.000000"
scanline1 = "20.000000"
scanline2 = "49.000000"
beam_min = "1.000000"
beam_size = "1.000000"
scans = "-0.400000"
scangamma = "5.000000"
h_sharp = "10.500000"
s_sharp = "0.000000"
c_shape = "0.050000"
bsize1 = "0.000000"
sborder = "0.250000"
shadowMask = "6.000000"
maskstr = "1.000000"
mcut = "1.000000"
maskDark = "0.000000"
maskLight = "1.000000"
mask_gamma = "1.000000"
mclip = "0.150000"
gamma_out = "2.200000"
    GAMMA_INPUT = "2.000000"
    interm = "0.000000"
    SIZEHB = "1.000000"
    SIGMA_HB = "0.250000"
    SIZEVB = "1.000000"
    SIGMA_VB = "0.250000"
    bloom = "-1.000000"
    brightboost = "1.000000"
    brightboost1 = "1.000000"
    scanline1 = "-2.500000"
    scanline2 = "49.000000"
    beam_min = "1.000000"
    beam_size = "1.000000"
    scans = "-0.500000"
    scangamma = "5.000000"
    h_sharp = "10.500000"
    s_sharp = "0.000000"
    ei_limit = "0.000000"
    sth = "0.000000"
    c_shape = "0.050000"
    bsize1 = "0.000000"
    sborder = "0.250000"
    shadowMask = "11.000000"
    maskstr = "1.000000"
    mcut = "1.000000"
    maskDark = "0.000000"
    maskLight = "1.000000"
    mask_gamma = "1.000000"
    slotmask = "1.000000"
    slotmask1 = "1.000000"
    slotwidth = "4.000000"
    double_slot = "2.000000"
    mclip = "0.150000"
    gamma_out = "2.200000"
    deconrr = "-1.000000"
    deconrb = "1.000000"
    deconrry = "-1.000000"
    deconrby = "1.000000"

Ntsc.

quality = "-1.000000"
ntsc_fields = "1.000000"
ntsc_phase = "2.000000"
ntsc_ring = "1.000000"
ntsc_sharp = "10.000000"
ntsc_shape = "0.000000"
blendMode = "0.000000"
CCONTR = "0.000000"
CDETAILS = "0.000000"
interm = "0.000000"
HSHARPNESS = "1.000000"
SIGMA_HOR = "1.000000"
S_SHARP = "0.000000"
HSHARP = "0.000000"
HARNG = "0.000000"
SIZEHB = "1.000000"
SIGMA_HB = "0.250000"
SIZEVB = "1.000000"
SIGMA_VB = "0.250000"
bloom = "-1.000000"
brightboost = "1.000000"
brightboost1 = "1.000000"
scanline1 = "-2.500000"
scanline2 = "49.000000"
beam_min = "1.000000"
beam_size = "1.000000"
scans = "-0.500000"
scangamma = "5.000000"
bsize1 = "0.000000"
shadowMask = "11.000000"
maskstr = "1.000000"
mcut = "1.000000"
maskDark = "0.000000"
maskLight = "1.000000"
mask_gamma = "1.000000"
slotmask = "1.000000"
slotmask1 = "1.000000"
slotwidth = "4.000000"
double_slot = "2.000000"
mclip = "0.150000"
gamma_out = "2.200000"
deconrr = "-1.000000"
deconrb = "1.000000"
deconrry = "-1.000000"
deconrby = "1.000000"
5 Likes

Nice looking presets there. Thanks for sharing. Definitely worth a try or at least a closer look.

2 Likes