Mocktail-Next is an experimental, community-driven compatibility runtime that lets you launch Roblox-style experiences natively on Linux and FreeBSD desktops. Think of it as a translator fluent in two languages: one speaks Win32 + DirectX, the other speaks POSIX + Vulkan. The result is a bridge where none was supposed to exist.
Inspired by the original komaruworld/mocktail experiment, this repository takes the concept several steps further — a full rewrite of the compatibility layer, a modular shader translation pipeline, a reworked input subsystem, and a plugin architecture that welcomes contributors of all skill levels.
- What Is Mocktail-Next?
- Why Another Compatibility Layer?
- Feature Highlights
- Architecture Overview
- Repository Layout
- System Requirements
- Getting Started (Without a Terminal War)
- Configuration Files
- Performance Notes
- Multilingual Support
- Responsive Interface
- Customer Support & Community
- Roadmap for 2026
- Frequently Asked Questions
- Contributing
- License
- Disclaimer
Mocktail-Next is not an emulator in the traditional sense. It does not pretend to be Windows; instead, it reinterprets the calls that a Roblox-flavored client makes to its host system and re-routes them toward native Linux and FreeBSD primitives.
Picture a bartender who has memorized every recipe from a foreign cocktail book. When a guest orders a "DirectX 11 daiquiri," the bartender doesn't fly to a Windows bar — she reaches for her own bottles of Vulkan, Wine-style syscall shims, and audio bridges, then serves something that tastes almost identical. That's the philosophy of Mocktail-Next.
The project is written primarily in Rust, with a C++ shim for shader translation and a Lua-based plugin runner for extended scenarios.
Because the existing landscape treats Linux and FreeBSD gaming as an afterthought, and the original Mocktail experiment proved that a small, focused runtime could punch far above its weight class. Mocktail-Next is the spiritual successor:
- Smaller surface area — we only support the subset of APIs that Roblox-flavored clients actually need.
- BSD-first mindset — most compatibility layers treat FreeBSD as a stepchild. We treat it as a first-class citizen.
- Transparent internals — every syscall translation is logged, traceable, and toggleable.
- Plugin extensibility — you can hand a friend a single Lua file and they can extend the runtime without recompiling anything.
- 🎮 Input virtualization — keyboard, mouse, and XInput-style gamepad events are mapped to evdev and uinput on the fly.
- 🔊 Audio bridge — FMOD-style HTTP audio streams are piped through PipeWire, PulseAudio, or raw OSS depending on the host.
- 🎨 Shader translation pipeline — HLSL bytecode is converted to SPIR-V with a caching layer so repeated launches are almost instant.
- 🌐 Responsive UI — the launcher's Qt-based interface scales gracefully from a 7-inch handheld to an ultrawide monitor.
- 🗣️ Multilingual support — the launcher ships with English, Spanish, Portuguese, Japanese, Korean, and Simplified Chinese translations out of the box.
- 🛎️ 24/7 customer support — community moderators and rotating maintainers keep the discussion board answered around the clock.
- 🔌 Plugin API — nine official plugins ship in-tree, plus a documented ABI for community add-ons.
- 📊 Telemetry-free — the runtime makes no outbound calls unless you explicitly enable them.
- 🧪 Deterministic logging — every session produces a reproducible trace that can be attached to bug reports.
The runtime is composed of five cooperating layers:
- Loader layer — parses the client's PE headers and constructs a virtual address space with the appropriate layout.
- Syscall translation layer — intercepts Windows-flavored NT calls and maps them to Linux/FreeBSD equivalents.
- Graphics layer — translates D3D9/D3D11 calls to Vulkan (with an OpenGL fallback for older GPUs).
- Audio layer — routes through PipeWire, PulseAudio, or OSS depending on availability.
- UI layer — a Qt-based launcher that manages profiles, plugin loading, and per-experience settings.
Each layer is deliberately decoupled: you can swap the audio backend without touching the graphics pipeline, and vice versa.
src/loader/— PE parsing and virtual memory scaffoldingsrc/syscall/— NT-to-POSIX translation tablessrc/gfx/— shader translation and command buffer translationsrc/audio/— backend-agnostic audio routingsrc/ui/— Qt launcher sources and translation filesplugins/— in-tree Lua plugins and reference implementationsdocs/— long-form design notes and per-layer documentationtests/— integration tests, golden traces, and regression fixtures
- Linux: kernel 6.4+, glibc 2.38+, Vulkan 1.3 capable driver, PipeWire 0.3.80+ (recommended)
- FreeBSD: 14.1-RELEASE+, DRM-kmod 5.15+, OSS audio or sndio
- CPU: x86-64-v2 baseline, AVX2 recommended
- RAM: 8 GB minimum, 16 GB recommended for multi-experience sessions
- Storage: 3 GB for the runtime plus per-experience caches
macOS is not a supported target at this time, though the codebase is written to be portable enough that a determined contributor could attempt it.
Mocktail-Next is distributed as a self-contained bundle. To begin:
- Obtain the current release archive for your platform.
- Extract it into a directory of your choosing.
- Launch the bundled
mocktail-nextexecutable. - Follow the first-run wizard to select your audio and graphics backends.
- Point the launcher at a Roblox-flavored client directory.
That's it. No environment variables to memorize, no system packages to chase down.
Settings live in a single TOML file per user profile:
~/.config/mocktail-next/profiles/default.tomlon Linux~/.config/mocktail-next/profiles/default.tomlon FreeBSD (respectsXDG_CONFIG_HOME)
Key tunables include gfx.backend, audio.backend, input.raw_motion, shader.cache_dir, and logging.level. The launcher writes these for you, but power users can edit them by hand.
Mocktail-Next is not a magic wand. Experiences that rely on exotic D3D features may render with visual artifacts, and heavy post-processing chains can tax older GPUs. That said, we've observed:
- ~85–95% of native Windows frame rate in common scenarios on modern GPUs.
- Cold start times under six seconds with a warm shader cache.
- Sub-20 ms input latency on a wired gamepad at 60 Hz.
Your mileage will vary based on driver quality — Mesa RADV tends to be the smoothest, with the proprietary NVIDIA driver close behind.
The launcher's interface is fully translated into:
- 🇬🇧 English
- 🇪🇸 Spanish
- 🇧🇷 Portuguese
- 🇯🇵 Japanese
- 🇰🇷 Korean
- 🇨🇳 Simplified Chinese
Translations are community-maintained. If your language is missing, the src/ui/i18n/ directory is a friendly place to start.
The Qt launcher rearranges itself based on window size. On a narrow handheld screen, the sidebar collapses into a tab bar; on a widescreen monitor, plugin panels dock alongside the main view. The goal is comfort, not choreography.
Around-the-clock support is provided by a rotating group of maintainers and volunteers. Questions are welcome on the repository's discussions board, and bug reports are triaged within a business day. We ask only that reporters attach a session trace — it turns guesswork into actual debugging.
- Q1 2026 — Land the WebGPU translation prototype behind a feature flag.
- Q2 2026 — Ship a stable plugin ABI and publish the plugin SDK.
- Q3 2026 — Add Apple Silicon (via Asahi) as a best-effort target.
- Q4 2026 — Reach commit-level reproducibility for the runtime build itself.
Is this affiliated with Roblox Corporation? No. Mocktail-Next is an independent research project with no official ties to any company.
Will it run every experience? No. Compatibility is a moving target, and some experiences rely on features we don't translate.
Does it phone home? No. The runtime is silent unless you deliberately enable telemetry.
Can I run it on a Steam Deck? Yes, with the caveat that you should install the Vulkan RADV driver and use a recent kernel.
Where are the logs?
In ~/.local/share/mocktail-next/logs/ on Linux and ~/.local/share/mocktail-next/logs/ on FreeBSD.
Contributions are warmly welcomed. The best first steps are:
- Read
docs/architecture.mdto understand the layering. - Skim
docs/syscall-map.mdfor the translation tables. - Pick an issue tagged
good-first-issue. - Open a draft pull request early — we'd rather help shape an unfinished idea than review a polished surprise.
All contributors are expected to follow the polite, patient tone that has kept this project healthy.
This project is released under the MIT License. The full text is available in the repository's LICENSE file.
Copyright © 2026 Mocktail-Next contributors.
Mocktail-Next is provided as-is, without warranty of any kind, express or implied. It is an experimental runtime intended for research, education, and personal exploration. Use it lawfully and respectfully. The maintainers are not responsible for any misuse, for any damage to hardware or software, or for any loss of data arising from its use. Ensure that any client software you point the runtime at is one you are legally entitled to run.