From 3c8c77fcff874b2d931af4ff962f46552ea896b9 Mon Sep 17 00:00:00 2001 From: Monroe88 Date: Fri, 21 Apr 2017 23:22:48 -0500 Subject: [PATCH] Add tvout presets with nes-color-decoder --- ...tvout+nes-color-decoder+interlacing.slangp | 32 +++++++++++++ .../tvout+ntsc-nes+interlacing.slangp | 46 +++++++++++++++++++ presets/tvout/tvout+nes-color-decoder.slangp | 31 +++++++++++++ presets/tvout/tvout+ntsc-nes.slangp | 45 ++++++++++++++++++ 4 files changed, 154 insertions(+) create mode 100644 presets/tvout+interlacing/tvout+nes-color-decoder+interlacing.slangp create mode 100644 presets/tvout+interlacing/tvout+ntsc-nes+interlacing.slangp create mode 100644 presets/tvout/tvout+nes-color-decoder.slangp create mode 100644 presets/tvout/tvout+ntsc-nes.slangp diff --git a/presets/tvout+interlacing/tvout+nes-color-decoder+interlacing.slangp b/presets/tvout+interlacing/tvout+nes-color-decoder+interlacing.slangp new file mode 100644 index 0000000..db3d1fa --- /dev/null +++ b/presets/tvout+interlacing/tvout+nes-color-decoder+interlacing.slangp @@ -0,0 +1,32 @@ +#tvout preset for 480p CRTs + +shaders = "4" +shader0 = "../../misc/nes-color-decoder.slang" +shader1 = "../../crt/shaders/tvout-tweaks.slang" +shader2 = "../../misc/image-adjustment.slang" +shader3 = "../../misc/interlacing.slang" + +scale_type0 = source +scale0 = 1.0 +filter_linear0 = false + +scale_type_x1 = "viewport" +scale_x1 = "1.000000" +scale_type_y1 = "source" +scale_y1 = "1.000000" + +parameters = "TVOUT_RESOLUTION;TVOUT_COMPOSITE_CONNECTION;TVOUT_TV_COLOR_LEVELS;target_gamma;monitor_gamma;overscan_percent_x;overscan_percent_y;saturation;contrast;luminance;bright_boost;R;G;B" +TVOUT_RESOLUTION = "320.000000" +TVOUT_COMPOSITE_CONNECTION = "0.000000" +TVOUT_TV_COLOR_LEVELS = "0.000000" +target_gamma = "2.200000" +monitor_gamma = "2.200000" +overscan_percent_x = "0.000000" +overscan_percent_y = "0.000000" +saturation = "1.000000" +contrast = "1.000000" +luminance = "1.000000" +bright_boost = "0.000000" +R = "1.000000" +G = "1.000000" +B = "1.000000" \ No newline at end of file diff --git a/presets/tvout+interlacing/tvout+ntsc-nes+interlacing.slangp b/presets/tvout+interlacing/tvout+ntsc-nes+interlacing.slangp new file mode 100644 index 0000000..1a9184f --- /dev/null +++ b/presets/tvout+interlacing/tvout+ntsc-nes+interlacing.slangp @@ -0,0 +1,46 @@ +shaders = 6 +shader0 = ../../misc/nes-color-decoder.slang +shader1 = ../../ntsc/shaders/ntsc-pass1-composite-3phase.slang +shader2 = ../../ntsc/shaders/ntsc-pass2-3phase.slang +shader3 = ../../crt/shaders/tvout-tweaks.slang +shader4 = ../../misc/image-adjustment.slang +shader5 = ../../misc/interlacing.slang + +filter_linear0 = false +filter_linear1 = false +filter_linear2 = false + +scale_type0 = source +scale0 = 1.0 + +scale_type_x1 = absolute +scale_type_y1 = source +scale_x1 = 1024 +scale_y1 = 1.0 +frame_count_mod1 = 2 +float_framebuffer1 = true + +scale_type2 = source +scale_x2 = 0.5 +scale_y2 = 1.0 + +scale_type_x3 = "viewport" +scale_x3 = "1.000000" +scale_type_y3 = "source" +scale_y3 = "1.000000" + +parameters = "TVOUT_RESOLUTION;TVOUT_COMPOSITE_CONNECTION;TVOUT_TV_COLOR_LEVELS;target_gamma;monitor_gamma;overscan_percent_x;overscan_percent_y;saturation;contrast;luminance;bright_boost;R;G;B" +TVOUT_RESOLUTION = "512.000000" +TVOUT_COMPOSITE_CONNECTION = "0.000000" +TVOUT_TV_COLOR_LEVELS = "0.000000" +target_gamma = "2.200000" +monitor_gamma = "2.200000" +overscan_percent_x = "0.000000" +overscan_percent_y = "0.000000" +saturation = "1.000000" +contrast = "1.000000" +luminance = "1.000000" +bright_boost = "0.000000" +R = "1.000000" +G = "1.000000" +B = "1.000000" diff --git a/presets/tvout/tvout+nes-color-decoder.slangp b/presets/tvout/tvout+nes-color-decoder.slangp new file mode 100644 index 0000000..c80123e --- /dev/null +++ b/presets/tvout/tvout+nes-color-decoder.slangp @@ -0,0 +1,31 @@ +#tvout preset for 240p CRTs + +shaders = "3" +shader0 = "../../misc/nes-color-decoder.slang" +shader1 = "../../crt/shaders/tvout-tweaks.slang" +shader2 = "../../misc/image-adjustment.slang" + +scale_type0 = source +scale0 = 1.0 +filter_linear0 = false + +scale_type_x1 = "viewport" +scale_x1 = "1.000000" +scale_type_y1 = "source" +scale_y1 = "1.000000" + +parameters = "TVOUT_RESOLUTION;TVOUT_COMPOSITE_CONNECTION;TVOUT_TV_COLOR_LEVELS;target_gamma;monitor_gamma;overscan_percent_x;overscan_percent_y;saturation;contrast;luminance;bright_boost;R;G;B" +TVOUT_RESOLUTION = "320.000000" +TVOUT_COMPOSITE_CONNECTION = "0.000000" +TVOUT_TV_COLOR_LEVELS = "0.000000" +target_gamma = "2.200000" +monitor_gamma = "2.200000" +overscan_percent_x = "0.000000" +overscan_percent_y = "0.000000" +saturation = "1.000000" +contrast = "1.000000" +luminance = "1.000000" +bright_boost = "0.000000" +R = "1.000000" +G = "1.000000" +B = "1.000000" \ No newline at end of file diff --git a/presets/tvout/tvout+ntsc-nes.slangp b/presets/tvout/tvout+ntsc-nes.slangp new file mode 100644 index 0000000..ad00dd2 --- /dev/null +++ b/presets/tvout/tvout+ntsc-nes.slangp @@ -0,0 +1,45 @@ +shaders = 5 +shader0 = ../../misc/nes-color-decoder.slang +shader1 = ../../ntsc/shaders/ntsc-pass1-composite-3phase.slang +shader2 = ../../ntsc/shaders/ntsc-pass2-3phase.slang +shader3 = ../../crt/shaders/tvout-tweaks.slang +shader4 = ../../misc/image-adjustment.slang + +filter_linear0 = false +filter_linear1 = false +filter_linear2 = false + +scale_type0 = source +scale0 = 1.0 + +scale_type_x1 = absolute +scale_type_y1 = source +scale_x1 = 1024 +scale_y1 = 1.0 +frame_count_mod1 = 2 +float_framebuffer1 = true + +scale_type2 = source +scale_x2 = 0.5 +scale_y2 = 1.0 + +scale_type_x3 = "viewport" +scale_x3 = "1.000000" +scale_type_y3 = "source" +scale_y3 = "1.000000" + +parameters = "TVOUT_RESOLUTION;TVOUT_COMPOSITE_CONNECTION;TVOUT_TV_COLOR_LEVELS;target_gamma;monitor_gamma;overscan_percent_x;overscan_percent_y;saturation;contrast;luminance;bright_boost;R;G;B" +TVOUT_RESOLUTION = "512.000000" +TVOUT_COMPOSITE_CONNECTION = "0.000000" +TVOUT_TV_COLOR_LEVELS = "0.000000" +target_gamma = "2.200000" +monitor_gamma = "2.200000" +overscan_percent_x = "0.000000" +overscan_percent_y = "0.000000" +saturation = "1.000000" +contrast = "1.000000" +luminance = "1.000000" +bright_boost = "0.000000" +R = "1.000000" +G = "1.000000" +B = "1.000000"