Nightcap runs Roblox's official Android app. Its files stay exactly as Roblox ships them; Nightcap never edits them on disk.
The Android app is built for Android, not Linux, so Nightcap loads it with its own loader and gives it Linux versions of the Android parts it calls: the system library, graphics, audio, input and the Java side of the app. Every project that runs the Android client on Linux has to work this way, Sober included.
By default Nightcap changes nothing inside Roblox's code. A few optional features change how the client looks, and they do it in memory while it runs:
- A font or sky picked in Settings → Appearance.
- Custom assets (cursors, fonts and sky from the asset folder).
- System cursor and Desktop-drawn game cursor in Settings → Input.
Each one first checks that the code matches the exact Roblox build it was made for, and does nothing if it doesn't. None of them give an advantage in a game.
Flags in the FFlag editor go through Roblox's own flag settings, the same way Bloxstrap sets them on Windows.
RPC is on by default. It never signs in to Discord and never reads an account token.
The quick way: open Settings (right-click Nightcap in the app menu, or run
mocktail --settings), go to Discord, and switch off "Show activity in
Discord". Then restart Nightcap.
To do it by hand, launch Nightcap once to create the config, then close
it. Open config.yaml:
- Native / AppImage:
~/.config/mocktail/config.yaml - Flatpak:
~/.var/app/io.github.CoderDayton.nightcap/config/mocktail/config.yaml
For native installs, a custom $XDG_CONFIG_HOME replaces ~/.config.
Set enabled to false under integrations.discord_rpc. If the block is
missing, add it under the existing integrations section:
integrations:
discord_rpc:
enabled: falseSave the file and restart Nightcap. Set enabled back to true to turn
RPC on again.
No. Discord only credits play time and quests to games its own scanner detects, and Rich Presence never counts. On Linux the scanner only matches games with a Linux entry in Discord's list. Roblox has none, so no process name Nightcap could use would be detected. Only Roblox or Discord can change that.
When the server location popup is on, Nightcap asks Roblox which data center
the session landed in whenever the host knows which server it joined, and the
popup then names the data center's own code, such as IAD. When that is not
known, the game server's address goes to ipinfo.io once per new server, and
the popup names the city, its region and the country. Only the server's
address is sent, never yours. With the popup off, nothing is looked up, even
with the frame rate or ping shown.
Nightcap saves logs automatically. Reproduce the issue, close Nightcap, and
attach latest.log:
- Native / AppImage:
~/.local/state/mocktail/logs/latest.log - Flatpak:
~/.var/app/io.github.CoderDayton.nightcap/.local/state/mocktail/logs/latest.log
For native installs, a custom $XDG_STATE_HOME replaces ~/.local/state.
Your DNS server could not find the download server. To check, look up the host named in the error, for example:
getent hosts api.pureapk.comNo output means DNS is failing. Switch to a public DNS server such as
Cloudflare (1.1.1.1) or Google (8.8.8.8).
With NetworkManager (most desktops; nmcli is installed), find your
connection's name, then set its DNS:
nmcli -t -f NAME connection show --active
nmcli connection modify "NAME" ipv4.dns "1.1.1.1 8.8.8.8" ipv4.ignore-auto-dns yes
nmcli connection up "NAME"Replace NAME with the name from the first command. To undo it, run
nmcli connection modify "NAME" ipv4.dns "" ipv4.ignore-auto-dns no, then
nmcli connection up "NAME" again.
With systemd-resolved and no NetworkManager, set DNS=1.1.1.1 8.8.8.8 under
[Resolve] in /etc/systemd/resolved.conf, then run
sudo systemctl restart systemd-resolved.
Run the getent check again, then relaunch Nightcap.
Nightcap downloads Roblox from APKPure. Some internet providers, schools and workplaces block it. To check, run:
curl -sSI https://api.pureapk.com
curl -sSI https://data.winudf.comThe first is where Nightcap checks for updates, the second is where the
download comes from. Each should print an HTTP/ line; any status, even
403, means the server is reachable. If either prints a curl error instead, or
only works with a VPN, your network is blocking it. Connect
a VPN or another network and launch Nightcap once to download Roblox. After
that, Nightcap starts without it and keeps your installed Roblox until the next
update.
Open Settings (mocktail --settings), turn off Smooth Texture Loading
under Graphics, and restart Nightcap. New textures may stutter briefly while
they load. If textures are still black, turn off Compress Textures too;
that uses more video memory, and Nightcap still compresses new textures while
the GPU is low on it.
Install Sober first, even if you don't play through it. On Linux, Fleasion stops its proxy in both Env Proxy and Hosts mode when it finds no Sober install to add its certificate to.
- Start Fleasion and leave it running.
- In Nightcap's Settings, turn on Use Fleasion and Clear Roblox cache on launch. Without the cache clear, Roblox keeps showing assets it already downloaded.
- Start Nightcap.
If the Fleasion badge in Settings says Needs Sober, Sober isn't installed. Older builds say Not running instead.
Also add this flag in Advanced → FFlag overrides (see FFLAGS.md). Without it, Roblox 2.746 rejects Fleasion's certificate and no replaced assets load. Newer builds set it for you, and having it in your overrides as well does no harm.
{
"DFFlagHttpUseEmbeddedCaCerts": false
}Yes. Roblox has to trust the proxy's certificate, so give Nightcap a CA bundle that holds it. For mitmproxy on its default port:
-
Start mitmproxy once so it creates
~/.mitmproxy/mitmproxy-ca-cert.pem. -
Add its CA to a copy of your system bundle:
cat /etc/ssl/certs/ca-certificates.crt ~/.mitmproxy/mitmproxy-ca-cert.pem \ > ~/.config/mocktail/cacert.pem
-
In Settings → Network, set Fixed proxy to
127.0.0.1:8080and CA bundle (PEM) to the full path of that file, for example/home/you/.config/mocktail/cacert.pem. Leave Use Fleasion off.
Older builds also need "DFFlagHttpUseEmbeddedCaCerts": false in
Advanced → FFlag overrides. Without it Roblox ignores the bundle and shows
a Connection Error.
No. Nightcap won't add multi-instance launching. It would mean working around Roblox's restrictions on running several clients. The Roblox Terms of Use prohibit bypassing technical protections, and violating the terms can get your account suspended.
Bloxstrap brought the option back in v2.9.0 with a "use at your own risk" warning, then removed it in v2.10.0 after Roblox added measures against running multiple clients.
Yes, as an experiment. VR lives on Nightcap's vr branch and is not in the
releases yet. It works on Roblox 2.742.1059 (build 3222), not yet on 2.746.
Install the build dependencies, then switch to that
branch and build:
git fetch origin
git switch vr
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DMOCKTAIL_ENABLE_VR=ON
cmake --build build -j4Start WiVRn or SteamVR/ALVR, connect your headset, then run:
./build/mocktail --vrThat branch's README and docs/VR.md have the details, including how to try it without a headset.
Only if your display is running a non-native mode. It is a compositor artifact, not a Nightcap one, and the fix is on your display's side.
Set the output to its native resolution:
kscreen-doctor output.<name>.mode.<n> # kscreen-doctor output to list them