Rust Wiki
Home
/
Edit Map Data
View
Edit
History
No Category
Getting Started
General
The World
Server Hosting
Other Topics
Getting Started
World Design
Skinning
Game Modes
Workshop
Cinematic Tools
Modding
Other Topics
Weapons
Construction
Items
Resources
Attire
Tools
Medical
Food
Ammo
Traps
Components
Electrical
Fun
Misc
Log in to edit
Map Data
<cat>Dev.World</cat> <title>Map Data</title> <upload src="2f4/8d81f8f565512fc.png" size="59650" name="image.png" /> All Rust maps (apart from ones that are made by Facepunch and saved as an Unity scene), are stored in a .map file. When first joining a server that is running a procedural map, Rust will generate the map from the following information: | | Size | Seed | Map Type | |---------------|-------------|-------------|-----------------------| | | 1000-6000 | 0-2147483647| Procedural Map | The map is then saved into a .map file, and can be found in the Rust install directory inside the maps folder. The map filename will be named MapType.Size.Seed.map Custom maps are essentially a pre-generated map, which is downloaded from an URL rather than being generated based on certain values. #Data Format Map files are stored in the format below, and compressed using a LZ4Stream. They first contain the World Serialization number, currently 9 and then the WorldData. The WorldData is stored in the following format: ```csharp public class WorldData { [ProtoMember(1)] public uint size = 4500; // The size of the Terrain, in Unity meteres. [ProtoMember(2)] public List<MapData> maps = new List<MapData>(); [ProtoMember(3)] public List<PrefabData> prefabs = new List<PrefabData>(); [ProtoMember(4)] public List<PathData> paths = new List<PathData>(); } ``` The MapData contains a layer (Ground, Biome, Heightmap etc) and the corresponding ByteMap. It is stored in the following format: ```csharp public class MapData { [ProtoMember(1)] public string name; // ByteMap name (terrain, water, ground, topology etc) [ProtoMember(2)] public byte[] data; // The bytemap data. } ``` The PrefabData contains info on the ID of the prefab, and it’s world space values. It is stored in the following format: ```csharp public class PrefabData { [ProtoMember(1)] public string category; // Decor, Monument etc [ProtoMember(2)] public uint id; // PrefabID [ProtoMember(3)] public VectorData position; // Vector3 of the position in world space. [ProtoMember(4)] public VectorData rotation; // Vector3 of the rotation in world space. [ProtoMember(5)] public VectorData scale; // Vector3 of the scale in world space. } ``` The PathData contains info on the Rivers and Roads of the map. It is stored in the following format: ```csharp public class PathData { [ProtoMember(1)] public string name; // River, Road or Rail [ProtoMember(2)] public bool spline; [ProtoMember(3)] public bool start; [ProtoMember(4)] public bool end; [ProtoMember(5)] public float width; [ProtoMember(6)] public float innerPadding; [ProtoMember(7)] public float outerPadding; [ProtoMember(8)] public float innerFade; [ProtoMember(9)] public float outerFade; [ProtoMember(10)] public float randomScale; [ProtoMember(11)] public float meshOffset; [ProtoMember(12)] public float terrainOffset; [ProtoMember(13)] public int splat; [ProtoMember(14)] public int topology; [ProtoMember(15)] public VectorData[] nodes; // List of the world spaces of the individual nodes. } ``` Information gathered provided by the [Rust Map Making](https://discord.com/invite/HPmTWVa) community.
Rust Wiki
Playing
Getting Started
0
General
5
Chat
Keybinds
Teams
Tool Cupboard, decay and building privilege
Useful Console Commands
The World
7
Animals
Building-terminology
Farming Basics
Fishing
Ore Nodes
Outpost
The Map
Server Hosting
15
Adding custom radios to Boombox
Centralized Banning
Creating a hidden, whitelisted server
Creating a server
Custom Server Icon
Getting started with your rust server
Hosting Custom Maps
Procedural Generation Customization
Receiving player reports
Rust+ Server
Server Browser Tags
Server Custom Emojis
Server DNS Records
Server Gamemodes
Server Wipe Timer
Other Topics
5
Graffiti Pack
Instruments
Sunburn
Twitch Drops
Weather
Developers
Getting Started
0
World Design
8
Custom Maps
FAQ and Troubleshooting
Map Data
Map Editors
Terrain
Topology
Utility Prefabs
Volume Prefabs
Skinning
2
Creating Skins
Creating Transparent PNGs
Game Modes
0
Workshop
2
Getting Your Skin Accepted
Workshop FAQ
Cinematic Tools
9
Cinematic Animations
CopyPaste
Debug Camera
Demos
Depth Of Field
MIDI Binding
Other Commands
Overview
Prefabs & Entities
Modding
10
Coroutines
CSharp Basics
CSharp Formatting
Entities
Hooks
Item Mods
Items Overview
Modding
Modding Overview
Modding Tools
Other Topics
0
Items
Weapons
52
16x Zoom Scope
8x Zoom Scope
Assault Rifle
Beancan Grenade
Bolt Action Rifle
Bone Club
Bone Knife
Butcher Knife
Candy Cane Club
Combat Knife
Compound Bow
Crossbow
Custom SMG
Double Barrel Shotgun
Eoka Pistol
F1 Grenade
Flame Thrower
Holosight
Hunting Bow
L96 Rifle
Longsword
LR-300 Assault Rifle
M249
M39 Rifle
M92 Pistol
Mace
Machete
MP5A4
Multiple Grenade Launcher
Muzzle Boost
Muzzle Brake
Nailgun
Paddle
Pitchfork
Pump Shotgun
Python Revolver
Revolver
Rocket Launcher
Salvaged Cleaver
Salvaged Sword
Semi-Automatic Pistol
Semi-Automatic Rifle
Silencer
Simple Handmade Sight
Snowball
Spas-12 Shotgun
Stone Spear
Thompson
Waterpipe Shotgun
Weapon flashlight
Weapon Lasersight
Wooden Spear
Construction
45
Armored Door
Armored Double Door
Barbed Wooden Barricade
Blueprint
Building Plan
Chainlink Fence
Chainlink Fence Gate
Code Lock
Concrete Barricade
Door Closer
Floor grill
Garage Door
High External Stone Gate
High External Stone Wall
High External Wooden Gate
High External Wooden Wall
Key Lock
Ladder Hatch
Large Water Catcher
Metal Barricade
Metal horizontal embrasure
Metal Shop Front
Metal Vertical embrasure
Metal Window Bars
Mining Quarry
Netting
Prison Cell Gate
Prison Cell Wall
Pump Jack
Reinforced Glass Window
Reinforced Window Bars
Sandbag Barricade
Sheet Metal Door
Sheet Metal Double Door
Shop Front
Small Water Catcher
Stone Barricade
Tool Cupboard
Watch Tower
Wood Double Door
Wood Shutters
Wooden Barricade
Wooden Door
Wooden Ladder
Wooden Window Bars
Items
75
Barbeque
Bed
Bota Bag
Camp Fire
Chair
Chinese Lantern
Chippy Arcade Game
Christmas Door Wreath
Christmas Lights
Christmas Tree
Composter
Double Sign Post
Dragon Door Knocker
Drop Box
Easter Door Wreath
Festive Doorway Garland
Festive Window Garland
Fridge
Furnace
Hitch & Trough
Huge Wooden Sign
Jack O Lantern Angry
Jack O Lantern Happy
Kayak
Landscape Picture Frame
Lantern
Large Banner Hanging
Large Banner on pole
Large Furnace
Large Planter Box
Large Wood Box
Large Wooden Sign
Locker
Mail Box
Medium Wooden Sign
One Sided Town Sign Post
Paper Map
Pookie Bear
Portrait Picture Frame
Reactive Target
Repair Bench
Research Table
Rug
Rug Bear Skin
Salvaged Shelves
Scarecrow
Search Light
Single Sign Post
Skull Door Knocker
Skull Fire Pit
Sleeping Bag
Small Oil Refinery
Small Planter Box
Small Stash
Small Stocking
Small Wooden Sign
Snowman
Spinning wheel
Stone Fireplace
SUPER Stocking
Survival Fish Trap
Table
Tall Picture Frame
Tuna Can Lamp
Two Sided Hanging Sign
Two Sided Town Sign Post
Vending Machine
Water Barrel
Water Purifier
Wood Storage Box
Work Bench Level 1
Work Bench Level 2
Work Bench Level 3
XL Picture Frame
XXL Picture Frame
Resources
31
Animal Fat
Battery - Small
Bone Fragments
CCTV Camera
Charcoal
Cloth
Coal :(
Crude Oil
Diesel Fuel
Empty Can Of Beans
Empty Tuna Can
Explosives
Gun Powder
High Quality Metal
High Quality Metal Ore
Human Skull
Leather
Low Grade Fuel
Metal Fragments
Metal Ore
Paper
Research Paper
Salt Water
Scrap
Stones
Sulfur
Sulfur Ore
Targeting Computer
Water
Wolf Skull
Wood
Attire
78
A Barrel Costume
Arctic Scientist Suit
Bandana Mask
Baseball Cap
Basic Horse Shoes
Bone Armor
Bone Helmet
Boonie Hat
Boots
Bucket Helmet
Bunny Ears
Bunny Onesie
Burlap Gloves
Burlap Headwrap
Burlap Shirt
Burlap Shoes
Burlap Trousers
Candle Hat
Clatter Helmet
Coffee Can Helmet
Crate Costume
Diving Fins
Diving Mask
Diving Tank
Dragon Mask
Frog Boots
Glowing Eyes
Hazmat Suit
Heavy Plate Helmet
Heavy Plate Jacket
Heavy Plate Pants
Heavy Scientist Suit
Hide Boots
Hide Halterneck
Hide Pants
Hide Poncho
Hide Skirt
Hide Vest
High Quality Horse Shoes
Hoodie
Improvised Balaclava
Jacket
Leather Gloves
Longsleeve T-Shirt
Metal Chest Plate
Metal Facemask
Miners Hat
Mummy Suit
Night Vision Goggles
Pants
Party Hat
Rat Mask
Reindeer Antlers
Riot Helmet
Road Sign Jacket
Road Sign Kilt
Roadsign Gloves
Roadsign Horse Armor
Saddle bag
Santa Beard
Santa Hat
Scarecrow Suit
Scarecrow Wrap
Scientist Suit
Scientist Suit
Shirt
Shorts
Snow Jacket
Surgeon Scrubs
T-Shirt
Tactical Gloves
Tank Top
Wetsuit
Wolf Headdress
Wood Armor Helmet
Wood Armor Pants
Wood Chestplate
Wooden Horse Armor
Tools
26
Binoculars
Birthday Cake
bucket.water
Camera
Chainsaw
Flare
Flashlight
Garry's Mod Tool Gun
Geiger Counter
Hammer
Handmade Fishing Rod
Hatchet
Jackhammer
Pickaxe
RF Transmitter
Rock
Salvaged Axe
Salvaged Hammer
Salvaged Icepick
Satchel Charge
Smoke Grenade
Stone Hatchet
Stone Pickaxe
Survey Charge
Timed Explosive Charge
Torch
Medical
5
Anti-Radiation Pills
Bandage
Blood
Large Medkit
Medical Syringe
Food
51
Apple
Black Raspberries
Blueberries
Burnt Bear Meat
Burnt Chicken
Burnt Deer Meat
Burnt Horse Meat
Burnt Human Meat
Burnt Pork
Burnt Wolf Meat
Cactus Flesh
Can of Beans
Can of Tuna
Candy Cane
Chocolate Bar
Cooked Bear Meat
Cooked Chicken
Cooked Deer Meat
Cooked Fish
Cooked Horse Meat
Cooked Human Meat
Cooked Pork
Cooked Wolf Meat
Corn
Corn Clone
Corn Seed
Farming & Genetics
Granola Bar
Hemp Clone
Hemp Seed
Minnows
Mushroom
Pickles
Pumpkin
Pumpkin Plant Clone
Pumpkin Seed
Raw Bear Meat
Raw Chicken Breast
Raw Deer Meat
Raw Fish
Raw Horse Meat
Raw Human Meat
Raw Pork
Raw Wolf Meat
Rotten Apple
Small Trout
Small Water Bottle
Spoiled Chicken
Spoiled Human Meat
Spoiled Wolf Meat
Water Jug
Ammo
24
12 Gauge Buckshot
12 Gauge Incendiary Shell
12 Gauge Slug
40mm HE Grenade
40mm Shotgun Round
40mm Smoke Grenade
5.56 Rifle Ammo
Bone Arrow
Explosive 5.56 Rifle Ammo
Fire Arrow
Handmade Shell
High Velocity Arrow
High Velocity Rocket
HV 5.56 Rifle Ammo
HV Pistol Ammo
Incendiary 5.56 Rifle Ammo
Incendiary Pistol Bullet
Incendiary Rocket
Nailgun Nails
Pistol Bullet
Rocket
SAM Ammo
Smoke Rocket WIP!!!!
Wooden Arrow
Traps
7
Flame Turret
Homemade Landmine
SAM Site
Shotgun Trap
Snap Trap
Tesla Coil
Wooden Floor Spikes
Components
20
Armored Cockpit Vehicle Module
Bleach
Duct Tape
Electric Fuse
Empty Propane Tank
Gears
Glue
Metal Blade
Metal Pipe
Metal Spring
Rifle Body
Road Signs
Rope
Semi Automatic Body
Sewing Kit
Sheet Metal
SMG Body
Sticks
Tarp
Tech Trash
Electrical
37
AND Switch
Audio Alarm
Auto Turret
Blocker
Cable Tunnel
Ceiling Light
Counter
Deluxe Christmas Lights
Door Controller
Electrical Branch
Flasher Light
HBHF Sensor
Igniter
Large Rechargable Battery
Large Solar Panel
Laser Detector
Medium Rechargable Battery
Memory Cell
OR Switch
Pressure Pad
RAND Switch
RF Broadcaster
RF Pager
RF Receiver
Root Combiner
Simple Light
Siren Light
Small Generator
Small Rechargable Battery
Splitter
Switch
Tesla Coil
Test Generator
Timer
Wind Turbine
Wire Tool
XOR Switch
Fun
28
Acoustic Guitar
Blue Boomer
Blue Roman Candle
Canbourine
Champagne Boomer
Cowbell
Firecracker String
Green Boomer
Green Roman Candle
Jerry Can Guitar
Junkyard Drum Kit
New Year Gong
Orange Boomer
Pan Flute
Plumber's Trumpet
Red Boomer
Red Roman Candle
Red Volcano Firework
Shovel Bass
Sousaphone
Violet Boomer
Violet Roman Candle
Violet Volcano Firework
Wheelbarrow Piano
White Volcano Firework
Wrapped Gift
Wrapping Paper
Xylobone
Misc
45
Blue Keycard
Bronze Egg
Coffin
Cursed Cauldron
Decorative Baubels
Decorative Gingerbread Men
Decorative Pinecones
Decorative Plastic Candy Canes
Decorative Tinsel
Door Key
Egg Basket
Fogger-3000
Giant Candy Decor
Giant Lollipop Decor
Gold Egg
Gravestone
Graveyard Fence
Green Keycard
Hab Repair
Halloween Candy
Large Candle Set
Large Loot Bag
Large Present
MC repair
Medium Loot Bag
Medium Present
Note
Painted Egg
Pumpkin Bucket
Red Keycard
Rustigé Egg - Blue
Rustigé Egg - Red
ScrapTransportHeliRepair
Sickle
Silver Egg
Small Candle Set
Small Loot Bag
Small Present
Snow Machine
Spider Webs
Spooky Speaker
Star Tree Topper
Strobe Light
Tree Lights
Wooden Cross