Skip to content

BUG: Extracted Roblox assets fail to be read due to recent versions of Roblox on Windows using zstd compression on cache. #42

@nerdydumbykier

Description

@nerdydumbykier

Hello! As of recently, I have been encountering errors with the extracted audio files (sounds only). Something like CRC mismatch shows up on FFmpeg and mpv when reading the audio files. I assume that this is caused by a recent Roblox update on PC that likely changed how the rbx-storage.db database is stored.

UPDATE: This issue has been caused by Roblox using zstd compression on the cache files on Windows, leading to corrupted extracted files. There are temporary workarounds:
the first is use Sober on Linux and extract files from its cache in RoExtract:
~/.var/app/org.vinegarhq.Sober/cache/sober/http
~/.var/app/org.vinegarhq.Sober/cache/sober/rbx-storage
~/.var/app/org.vinegarhq.Sober/data/sober/appData/rbx-storage.db
the second is to use a tool that grabs the cache files and checks for the zstd magic byte 28 B5 2F FD and extracts them into a folder, then let RoExtract combine the decompressed files together, or do it manually but tediously.

The main solution is to implement a function in RoExtract which decompresses the zstd compressed cache files before combining those into usable files.

No errors show up on the log. I am on the development build (2025-11-22) by the way, but still reproducible on release v1.02.

2025-12-03 04:16:09  INFO:  An update is available. [src\updater.rs:66:5]
2025-12-03 04:16:09  INFO:  RoExtract v1.02 (Minor Update) [src\updater.rs:67:5]
2025-12-03 04:16:09  INFO:  - Fixed windows defender (And other AVs) false positive
  - Remove opt-level 3 on dependencies
  - Remove symbol stripping
  - Switch LTO to thin
  - Add more file info

**Full Changelog**: https://github.com/AeEn123/RoExtract/compare/v1.0.1...v1.02 [src\updater.rs:68:5]
2025-12-03 04:16:09  INFO:  C:\Windows\Fonts\msgothic.ttc: valid [src\gui.rs:296:21]
2025-12-03 04:16:42  INFO:  username exited GUI [src\updater.rs:81:22]
2025-12-03 04:16:42  INFO:  C:\Windows\Fonts\msgothic.ttc: valid [src\gui.rs:296:21]

How to replicate issue:

  1. Open Roblox and launch any game (leaving is optional).
  2. Extract sounds to any folder.
  3. Try to open any of the sounds extracted with any media player.
  4. Error will happen (CRC mismatch or unreadable file).

Extra: I tried using the rbx-storage.db that comes from Sober (Roblox on Linux) and the extracted audio files still work just fine—no errors. However, this will likely stop working once the Roblox Android client updates.

Irrelevant, but thank you so much for creating this tool. It has been a huge help to me with extracting audio assets that would otherwise be impossible without this tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions