Skip to content

Commit

Permalink
Snes default shaders settings
Browse files Browse the repository at this point in the history
- Set RA audio_resampler_quality to 1 (Lowest)
- Enable performance governor with 1.4Ghz min/ 1.8Ghz max freq speeds for SNES
- Remove scanlines from the max ratio overlay
- Add "zfast_crt" shader with lower the scanline dark low - 3 and scanline dark high to 4
- Add "sharp-shimmerless" shader (ideal when not in pixel perfect mode)
- Add "crossmix - snes.glslp" for easy access to other cores
  • Loading branch information
cizia64 committed Jul 14, 2024
1 parent 79556b1 commit 5fdc03d
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Emus/SFC/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"launch": "snes9x.sh",
"rompath": "../../Roms/SFC",
"imgpath": "../../Imgs/SFC",
"useswap": 1,
"useswap": 0,
"shortname": 0,
"extlist": "sfc|smc|fig|bs|st|zip|7z",
"hidebios": 1,
Expand Down
5 changes: 3 additions & 2 deletions Emus/SFC/cpufreq.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1008000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1416000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1800000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
13 changes: 0 additions & 13 deletions Emus/SFC/launch.sh

This file was deleted.

11 changes: 0 additions & 11 deletions Emus/SFC/launch_snes9x.sh

This file was deleted.

11 changes: 0 additions & 11 deletions Emus/SFC/launch_snes9x2005_plus.sh

This file was deleted.

11 changes: 0 additions & 11 deletions Emus/SFC/launch_snes9x2010.sh

This file was deleted.

6 changes: 6 additions & 0 deletions RetroArch/.retroarch/config/ChimeraSNES/ChimeraSNES.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
chimerasnes_bsx_bios = "skip"
chimerasnes_frameskip = "disabled"
chimerasnes_frameskip_threshold = "33"
chimerasnes_overclock_cycles = "disabled"
chimerasnes_overclock_superfx = "10 MHz (SNES clock, Default)"
chimerasnes_reduce_sprite_flicker = "disabled"
3 changes: 3 additions & 0 deletions RetroArch/.retroarch/config/ChimeraSNES/SFC.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fps_show = "true"
input_overlay = "./.retroarch/overlay/SFC_pixel-perfect.cfg"
video_scale_integer = "false"
18 changes: 18 additions & 0 deletions RetroArch/.retroarch/config/Snes9x/SFC.glslp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
shaders = "2"
feedback_pass = "0"
shader0 = "../../shaders/shaders_glsl/Sharp-Shimmerless/shaders/sharp-shimmerless.glsl"
filter_linear0 = "true"
wrap_mode0 = "clamp_to_border"
mipmap_input0 = "false"
alias0 = ""
float_framebuffer0 = "false"
srgb_framebuffer0 = "false"
shader1 = "../../shaders/shaders_glsl/crt/shaders/zfast_crt.glsl"
filter_linear1 = "true"
wrap_mode1 = "clamp_to_border"
mipmap_input1 = "false"
alias1 = ""
float_framebuffer1 = "false"
srgb_framebuffer1 = "false"
LOWLUMSCAN = "3.000000"
HILUMSCAN = "4.000000"
Binary file modified RetroArch/.retroarch/overlay/SFC_max-ratio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions RetroArch/.retroarch/shaders/crossmix - snes.glslp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
shaders = "2"
feedback_pass = "0"
shader0 = "shaders_glsl/Sharp-Shimmerless/shaders/sharp-shimmerless.glsl"
filter_linear0 = "true"
wrap_mode0 = "clamp_to_border"
mipmap_input0 = "false"
alias0 = ""
float_framebuffer0 = "false"
srgb_framebuffer0 = "false"
shader1 = "shaders_glsl/crt/shaders/zfast_crt.glsl"
filter_linear1 = "true"
wrap_mode1 = "clamp_to_border"
mipmap_input1 = "false"
alias1 = ""
float_framebuffer1 = "false"
srgb_framebuffer1 = "false"
LOWLUMSCAN = "3.000000"
HILUMSCAN = "4.000000"
2 changes: 1 addition & 1 deletion RetroArch/retroarch.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ audio_out_rate = "48000"
audio_rate_control = "true"
audio_rate_control_delta = "0.005000"
audio_resampler = "CC"
audio_resampler_quality = "2"
audio_resampler_quality = "1"
audio_sync = "true"
audio_volume = "0.000000"
auto_overrides_enable = "true"
Expand Down

2 comments on commit 5fdc03d

@xsilas43
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to note, setting min freq with performance governor is useless, performance governor locks the freq to max.

For locking the min it would be better to leave as ondemand.

@cizia64
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, I know, the performance mode is a real choice here, scaling_min_freq is here for nothing ;)

Please sign in to comment.