From f1d4a050516aa784b5ab23a910fac5e36668aa2b Mon Sep 17 00:00:00 2001 From: komaruworld Date: Sun, 16 Aug 2026 00:45:59 +0300 Subject: [PATCH] Add sounds fix docs Close #5 and thx @TheRealUwie for docs --- packaging/freebsd/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/packaging/freebsd/README.md b/packaging/freebsd/README.md index f610973..267f5f3 100644 --- a/packaging/freebsd/README.md +++ b/packaging/freebsd/README.md @@ -47,5 +47,36 @@ You can simply run the Mocktail AppImage from the [nightly build](https://github.com/komaruworld/mocktail/releases/tag/continuous) inside the Fedora userspace. +## Audio + +Install the ALSA OSS plugin inside the Fedora userspace. + +```sh +dnf install -y alsa-lib alsa-plugins-oss +``` + +On the FreeBSD host, use `cat /dev/sndstat` to find the correct audio device. +The number is system-specific: it may be `/dev/dsp0`, `/dev/dsp1`, +`/dev/dsp2`, or another device. Replace `/dev/dsp3` below with yours. + +```sh +cat << 'EOF' > /etc/asound.conf +pcm.!default { + type oss + device /dev/dsp3 +} +ctl.!default { + type oss + device /dev/dsp3 +} +EOF +``` + +Launch Mocktail with the ALSA audio driver. + +```sh +SDL_AUDIO_DRIVER=alsa ./Mocktail-x86_64.AppImage +``` + Mocktail cannot override this check because Roblox reads `/proc` directly. The Linuxulator patch fixes the value before Roblox sees it.