Optimize ALL emulators: align with dArkOS performance settings

Flycast (Dreamcast):
- AutoSkipFrame: 1→2 (skip up to 2 frames when behind, matches dArkOS)
- Audio backend: pulse→auto (better compatibility)

Mupen64Plus (N64):
- Resolution: 427x320→480x320 (better aspect ratio for 640x480 screens)
- PRIMARY_BUFFER_SIZE: 8192→16384 (more stable audio, matches dArkOS)
- SECONDARY_BUFFER_SIZE: 2048→1024 (lower SDL latency, matches dArkOS)

PPSSPP (PSP):
- ForceMaxEmulatedFPS: 30→0 (remove artificial cap that limited 60fps games)

GZDoom:
- Add +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 flags (matches dArkOS)
  Forces OpenGL ES mode with preferred backend, uncapped FPS

RetroArch core options:
- mame2003-plus skip_warnings: disabled→enabled (faster arcade startup)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Douglas Teles
2026-04-18 13:35:14 -03:00
parent 7ff8f5bbd7
commit 70f42b992c
5 changed files with 8 additions and 8 deletions
@@ -127,7 +127,7 @@ mame2003-plus_mame_remapping = "enabled"
mame2003-plus_mouse_device = "mouse"
mame2003-plus_sample_rate = "48000"
mame2003-plus_skip_disclaimer = "disabled"
mame2003-plus_skip_warnings = "disabled"
mame2003-plus_skip_warnings = "enabled"
flycast_internal_resolution = "640x480"
flycast_alpha_sorting = "per-strip (fast, least accurate)"
flycast_enable_dsp = "disabled"
@@ -1,10 +1,10 @@
[audio]
backend = pulse
backend = auto
[config]
rend.Resolution = 480
pvr.rend = 0
pvr.AutoSkipFrame = 1
pvr.AutoSkipFrame = 2
pvr.RenderToTextureBuffer = 0
rend.TextureUpscale = 1
rend.Fog = 1
@@ -85,4 +85,4 @@ else
fi
cd "${RUN_DIR}"
echo ${params} | ${EMUPERF} xargs /usr/bin/gzdoom >/var/log/gzdoom.log 2>&1
echo ${params} | ${EMUPERF} xargs /usr/bin/gzdoom +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 >/var/log/gzdoom.log 2>&1
@@ -18,11 +18,11 @@ DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
SWAP_CHANNELS = False
# Size of primary buffer in output samples. This is where audio is loaded after it's extracted from n64's memory.
PRIMARY_BUFFER_SIZE = 8192
PRIMARY_BUFFER_SIZE = 16384
# Fullness level target for Primary audio buffer, in equivalent output samples. This value must be larger than the SECONDARY_BUFFER_SIZE. Decreasing this value will reduce audio latency but requires a faster PC to avoid choppiness. Increasing this will increase audio latency but reduce the chance of drop-outs.
PRIMARY_BUFFER_TARGET = 4096
# Size of secondary buffer in output samples. This is SDL's hardware buffer. The SDL documentation states that this should be a power of two between 512 and 8192.
SECONDARY_BUFFER_SIZE = 2048
SECONDARY_BUFFER_SIZE = 1024
# Audio resampling algorithm. src-sinc-best-quality, src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold, src-linear, speex-fixed-{10-0}, trivial
RESAMPLE = "trivial"
# Volume control type: 1 = SDL (only affects Mupen64Plus output) 2 = OSS mixer (adjusts master PC volume)
@@ -390,7 +390,7 @@ RspPlugin = "mupen64plus-rsp-hle.so"
[Video-General]
# Width of output window or fullscreen width
ScreenWidth = 427
ScreenWidth = 480
# Height of output window or fullscreen height
ScreenHeight = 320
# Use fullscreen mode if True, or windowed mode if False
@@ -108,7 +108,7 @@ AutoFrameSkip = True
FrameRate = -1
FrameRate2 = -1
FrameSkipUnthrottle = True
ForceMaxEmulatedFPS = 30
ForceMaxEmulatedFPS = 0
AnisotropyLevel = 0
VertexDecCache = True
TextureBackoffCache = True