Scenes and Maps
RustEdit uses three kinds of file. You work in a scene, you export a map for Rust, and you keep each custom monument in a monument file. This page explains what each file keeps and why you keep the scene. For the steps, see Create, Open and Save and Export Map.
The three files
| File | What it is | You make it with |
|---|---|---|
.scene | Your working file. RustEdit's own file. It keeps everything you made. | and |
.map | The game file. Rust loads it. It has Rust's data, and RustEdit's own data unless you export with In the map. See What a map holds. | |
.asset | A custom monument. One monument: its prefabs, splines, terrain, blend map and settings. It never has an encryption key. See Custom Monuments. | while a monument is open |
A .scene file keeps:
- the terrain, and the live terrain changes on top of it
- every object with its name, group, lock and hide
- every spline with all its knots and settings
- placed monuments, as links to their files
- socket links
- painted custom topology maps
- loot and vending profiles
- map notes
- the Entities choice of your last export
With an encryption key, the whole .scene file is encrypted. See Map Encryption.
RustEdit also opens .prefab files, the custom prefabs of RustEdit 1, and never changes them. See RustEdit 1 Maps and Prefabs.
Other files
Some tools keep their own files:
| Type | What it is | More |
|---|---|---|
.terraingraph | A terrain graph | Graph Editor |
.terrainnode | A custom terrain graph node | Custom Nodes |
.palette | A prefab profile | Prefab Profiles |
.lprof | A loot profile | Loot Profiles |
.vprof | A vending profile | Vending Profiles |
A map keeps only the custom topology maps you painted on it. Your list of custom topology maps is shared by every map, in Configuration/custom_topology.json in the RustEdit folder. See Custom Topology Layers.
Why you keep the scene
The export makes a finished copy of your map for Rust. It flattens your work:
- Every terrain change goes into one finished terrain. The changes of prefabs, monuments and terrain splines are no longer live.
- Groups are gone. Each prefab is on its own.
- A placed monument becomes loose prefabs. The link to its file is gone.
- Roads, rivers and rails become Rust's paths: lists of points along the line, not your knots.
RustEdit can open the .map again, but it cannot bring all of this back. So keep the .scene file. Make your changes in it, and export again each time you want a new .map.
The workflow
| Step | What you do | What you get |
|---|---|---|
| 1. Work | Make or open a map, and edit it. | The map in RustEdit. |
| 2. Save | (Ctrl+Shift+S). The first save opens the Save Scene dialog. | mymap.scene |
| 3. Export | (Ctrl+E) | mymap.map next to mymap.scene |
| 4. Upload | Give mymap.map to your server. | The map on the server. |
| 5. Change | Open mymap.scene, not the .map. Edit, save, then export again. | A new mymap.map |
The export does not save the scene, so save it yourself too. See Export Map.
What a map holds
A .map file has two parts.
| Part | What is in it | Who reads it |
|---|---|---|
| Rust's data | The terrain, the water, the prefabs Rust places itself, and the roads, rivers, rails and power lines as Rust paths. | Every Rust server, and RustEdit. |
| RustEdit's data | Everything Rust cannot hold: game entities such as IO entities and loot containers with their settings and wires, custom data, trigger settings, APC and cargo paths, other splines, painted custom topology maps, and loot and vending profiles. | The RustEdit 2 server extension, and RustEdit. |
Rust itself reads only the first part. A server needs the RustEdit 2 server extension to use the second part. See RustEdit 2 Server Extension.
When you export with Entities set to In the map, the map has only the first part. See In the map or in RustEdit data. The full lists are in What goes into the map.
When you open a map
You can open any .map file: from Rust, from another editor, or from RustEdit. RustEdit reads Rust's data. When RustEdit exported the map with In RustEdit data, it also reads RustEdit's data back.
What comes back
| From the map | In RustEdit |
|---|---|
| The terrain | One finished terrain, with every change already in it. The prefabs' Terrain Modifier switches are off, so their changes are not made a second time. |
| The prefabs | Each prefab at its place, with its category. The parts of a placed monument are loose prefabs. |
| Roads, rivers, rails and power lines | One spline for each path, named after it, for example "Road 0". A road, river or rail has a knot at every point of the path, many more than you drew. See Splines Overview. |
| Game entities | Back with their settings and wires. |
| Custom data and trigger settings | Back on their prefabs. |
| APC paths, the cargo path and cargo stops | Made again from the exported points, with fewer knots. |
| Plain splines | Back with the same curves and names. Links between their knots, and lock and hide, are not kept. |
| Terrain splines | Back with Apply off. The terrain already has their changes. See Terrain Splines. |
| Prefab splines | Back, with their prefabs in their group. See Prefab Splines. |
| Custom topology maps, loot and vending profiles | Back. |
Maps from RustEdit 1 open too. See RustEdit 1 Maps and Prefabs.
What only the scene keeps
- Groups and the hierarchy. The prefabs come back at the top of the Hierarchy. The groups of prefab splines are the only groups in the map.
- Placed monuments as monuments, with their link to the file and their Apply switches.
- Live terrain changes. You cannot switch off or move a change that is in the finished terrain. This includes the ground of terrain chunks: the chunks themselves are not in the map.
- Your road, river and rail splines as you drew them, with the links between them and the side topology settings.
- Socket links.
- Names, lock and hide of the prefabs Rust places itself, and of roads, rivers, rails and power lines. Game entities, terrain splines and prefab splines keep theirs. Plain splines keep their names.
- Map notes.
- Prefabs that could not be loaded, such as prefabs a Rust update removed. The game cannot spawn them, so the export leaves them out. The Notifications panel says how many. See Rust Update Check.
Save a map you opened
Save opens the Save Scene dialog, with the map's folder and name as a .scene. Then the scene is your working file.
A scene with the map's name, in the same folder, exports over that map. See the warning in Export Map.
Encryption, auto save and multiplayer
- Map encryption. With RustEdit Plus or higher, an encryption key encrypts the scene. The exported map has its own key, which encrypts RustEdit's data in it. Rust's data stays readable. Monument files never have a key. See Map Encryption.
- Auto save. Auto save copies the map into scene files in the autosave folder, without encryption. Your own file does not change. See Auto Save.
- Multiplayer. People who join a session get a copy of the host's map, with no file name and no encryption key. If they save, they save their own copy. See Join a Session.
Monument files and other computers
A scene keeps only a link to each placed monument. To open the scene on another computer, copy the monument files into that computer's Custom Monuments folder too. The exported .map needs no monument files: the monuments' prefabs and terrain are in it. See Placed Monuments.