How Rove works
Replication
A Roblox server never sends a "map". It sends a stream of small edits to a tree of instances: create this Part under that Model, set its CFrame, fire this RemoteEvent, delete that Tool. The client applies them in order. Rove decodes the same stream and keeps the same tree, so a script asking for workspace.Map.Spawn.Position gets the answer the real client would.
#Be the server
The quickest way to understand replication is to cause some. Below are two copies of a small world: the server's, which you control, and Rove's. When the widget scrolls into view Rove joins, and the world arrives the way a real one does. After that, every change you make on the left becomes the item a Roblox server would send, with the same byte layout. It crosses the wire after the delay you choose, and Rove decodes it on the right. Rove's copy never looks at the server's; it only parses bytes.
Things to try: drag the crate and watch only the x and z floats change. Rotate it and one byte changes. Rename it and the item grows by the length of the name. Turn latency up and the two worlds disagree for exactly that long.
The class and property numbers (Part is 156, CFrame is 282) belong to this pretend server. A real one sends its own table first, which is the next section.
#The stream
Three top-level packets carry almost all of it:
| Packet | What's in it |
|---|---|
129 globals |
The top-level services (Workspace, Players, ReplicatedStorage …) and this client's scope. Always first. |
131 ID_DATA |
A list of replication items: new instances, property changes, events, deletions, streaming regions. Ends with item 0. |
161 ID_ISR |
Instance state: compact, frequently changing physics (positions, velocities) for many instances at once. |
Before any of that, 151 delivers the schema: a table that numbers every class, property, event and enum the server knows about. Item bytes refer to classes and properties by those numbers, so the schema has to arrive first and Rove decodes everything through it. A newer Roblox version can add properties without breaking Rove, because their numbers come from the server.
#Instances and references
Every instance has a Guid: a scope (varuint32) and an index (u32). Scope 0 means null. References between instances (a part's parent, an ObjectValue's value) are Guids, and the server may refer to an instance before it has sent it, so Rove keeps unresolved references and links them when the target arrives.
A new instance item (2) carries the Guid, the class number, two loops of properties (references and strings first, then everything else), and finally the parent. A property change item (3) carries the Guid, the property number and one value. Deletions come as single (1) or batched (27) items.
#Initial join data
The bulk of the world arrives in join data items (11 and 22): Zstandard-compressed batches of whole instances. Item 22 splits them into subtypes: shared strings first, then instance batches with skip ranges, then net assets. Shared and protected strings (46, 47) are sent once as a 16-byte Blake2b-128 key plus the bytes, then referenced by key, which is how a game's 2,500 scripts don't cost 2,500 copies.
When the server's done, a tag item (16) says so: 12 for top replication complete, 13 for join data complete. Scripts start at 13.
#Explore it
Every packet, item, property type and attribute type Rove decodes, with its exact byte layout. Filter by name or number; select a row for its layout.
These tables come straight from the IDA cross-check, where each one was verified against the Mac Roblox client.
#Physics state (ISR)
Positions change too often to send as property changes. ID_ISR packets carry them in groups by level of detail:
- A 13-byte header: the step number, the group count and a default scope.
- Per group: an object count, a level of detail (0–3) and a time delta.
- Per object: Guid, class, a bitmask of which properties are present, then just those properties.
Positions, rotations and velocities use the AdaptivePV encoding. A header byte says which parts are zero; each non-zero vector picks a bit width from 12 to 52 bits by magnitude, and rotations use 0, 4, 5 or 6 bytes from equal-area spherical tables. A slow, upright, nearby part costs a few bytes.
Each vector starts with a 4-bit bucket (the position's gets two more bits from the header). A vector in bucket b can reach ±2b, and the bucket decides the width: 12 bits per axis up to bucket 5, then 20, 28, 36, 44 and 52. The sender picks the smallest bucket that fits, so precision follows size. Move the sliders and the layout changes with them; what's shown under each vector is what Rove's decoder gets back from those exact bytes.
The rotation here is left upright (mode 0, no bytes). A tilted part adds 4, 5 or 6 bytes for it.
#Ownership
Each assembly of parts has a network owner. The server simulates its own parts; a client simulates its character and anything handed to it. Rove reads ownership from NetworkOwnerV3, comparing it to the session-local id of Terrain's owner (the server), not to the world scope. That distinction is why the character spawns and moves correctly.
For parts it owns, Rove runs its own physics and sends the results back (ID_ISR outbound and CFrame acks, item 10), which is what lets Humanoid:MoveTo walk 30 studs and have the server accept it. For parts it doesn't own, it applies the server's poses as they arrive (133 / 231, up to 256 per tick), keeping any local overrides a script made.
#Streaming
With StreamingEnabled, the server only sends regions near a replication focus. Rove sends a focus item (26) for each region it receives, 512 studs around it, plus one streaming resume once the first region lands. Some servers withhold the character until they've seen that resume. Regions come and go: stream data (13), region removal (14) and pin items (37) manage them.
#Storage
Replicated instances don't become full objects until a script touches them. Each one is a compact record: interned class name and parent, plus a 40-byte packed property block with 53 binary value tags (Vector3, CFrame forms, Color3, enum, references …). Hierarchy walks, FindFirstChild, tag queries and spatial queries read those records directly. In lightweight mode, pristine parts more than 384 studs from the character fold back into records every 250 ms.
That's how Grow a Garden, with 109,886 replicated instances, runs in 38 MB. Performance has the measurements.