Skip to content

File conversion

Example

MyModule source -> Package.build -> MyModule instance

Danger

Because Rostruct runs code, and Rojo syncs code to Roblox Studio, some key differences exist in functionality.

Not supported

  • Rojo project files
    • Project files structure your codebase around the game object, which would expose your project to the client.

Differences

  • .rbxm and .rbxmx files are fully supported, but the former is buggy in Rojo.

Known issues

  • *.model.json files do not support Rojo's custom properties like Instance.Tags and LocalizationTable.Content.
  • *.meta.json files infer property types differently than Rojo meta files.

Rostruct file conversion mirrors Rojo's sync details.

Concepts on the table below will redirect you to their respective Rojo pages.

Supported Rojo concepts

Concept File Name Supported
Folders any directory
Server scripts *.server.lua
Client scripts *.client.lua
Module scripts *.lua
XML models *.rbxmx
Binary models *.rbxm
Localization tables *.csv
Plain text *.txt
JSON modules *.json
JSON models *.model.json
Projects *.project.json
Meta files *.meta.json