Skip to content

Latest commit

 

History

History
236 lines (172 loc) · 8.76 KB

FAQ.md

File metadata and controls

236 lines (172 loc) · 8.76 KB

FAQ

How does Nightcap run Roblox, and is it safe?

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.

How do I turn Discord RPC off?

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: false

Save the file and restart Nightcap. Set enabled back to true to turn RPC on again.

Can Discord count Nightcap as Roblox play time or quests?

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.

Where does the server location come from?

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.

Where can I find logs for a bug report?

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.

The update says it could not resolve a host

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.com

No 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.

The update cannot reach the download server

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.com

The 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.

Some textures are black

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.

How do I use Fleasion?

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.

  1. Start Fleasion and leave it running.
  2. 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.
  3. 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
}

Can I use mitmproxy or another proxy instead of Fleasion?

Yes. Roblox has to trust the proxy's certificate, so give Nightcap a CA bundle that holds it. For mitmproxy on its default port:

  1. Start mitmproxy once so it creates ~/.mitmproxy/mitmproxy-ca-cert.pem.

  2. 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
  3. In Settings → Network, set Fixed proxy to 127.0.0.1:8080 and 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.

Can I run multiple Roblox instances?

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.

Can I play in VR?

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 -j4

Start WiVRn or SteamVR/ALVR, connect your headset, then run:

./build/mocktail --vr

That branch's README and docs/VR.md have the details, including how to try it without a headset.

Why does the window flash coloured lines when I go fullscreen?

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