r/theydidthemath • • 1d ago

[Request] How much data would Leonida take up?

Post image
1.2k Upvotes

43 comments sorted by

•

u/AutoModerator 1d ago

General Discussion Thread


This is a [Request] post. If you would like to submit a comment that does not either attempt to answer the question, ask for clarification, or explain why it would be infeasible to answer, you must post your comment as a reply to this one. Top level (directly replying to the OP) comments that do not do one of those things will be removed.


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

986

u/1miguelcortes 1d ago edited 1d ago

The GTA 6 map is 175 km², Florida is ~170,000 km², so from that ill say 205.94 TB

GTA 6 has ~28% enterable buildings, so I'll multiply by 3.57 to account for that, giving me 735 TB

Though I should note, the game as a whole is 210 GB, we don't know how much of that is dedicated to the map and textures and how much is missions, NPC logic, dialogue, video, etc.

341

u/Facosa99 1d ago

Plus the level of detail. Florida, as many states must be like 90% empty wilderness. If you can use a single 3D model for all trees and low poligons for flat land, you could do that 90% of wilderness in a few gigs probably. Even less if you use a satelital heighmap as a displacement map on a procedural mesh.

If you need a 3D model for each three species, the file probably increseas a lot for the hundreds or thousands of vegetal species florida may have.

If you need each three to be place in the same coordinates as any real tree, and each individual one have an accurate 3D model (so that your pine and your neighbour pines both have a different 3D model ingame with idk, an accurate number or branches), the size would probably shoot into TBs or even beyond that

So yeah, level of detail. A minecraft map of the same size as Leonida might be waaaaay lighter in storage

77

u/clintCamp 1d ago

Well, they probably have a bunch of tree variety from the 200gb or an asset that is parameterizable, as well as general rocks and stuff so each tree and rock or terrain can be stored as a vector basically rather than real 3d assets. Most of Florida is or was swam and mostly impassible beyond the edge of the roads once you are in the middle of nowhere? So it can be simplified.

19

u/RazzmatazzUnusual843 1d ago

Trees could be generated on the fly to save disk space.

13

u/Ok_Computer_Science 1d ago

That is an interesting point. I never thought of using a location in a hyper realistic game with low biodiversity because you would have to use less models and textures.

19

u/RealFinePoint 1d ago

Now do the whole world please.
I want to know how far off we are from a true global life simulator.

25

u/1miguelcortes 1d ago

(using 408.88 TB as the size reference for Florida)

Just going off of pure area: Florida is 139km². The world is 57.51 million km². So if it scales up exactly, we would be looking at 169 EB.

But, this doesn't account for large swaths of the earth that are relatively empty.

this website lists exports for Open Street Map data. Florida is 632 MB. The world totals to 80.29 GB. So if we scale using this as a reference, we could say that a world map is 127x larger then a Florida map, giving us 51PB.

Pretty wide range, OSM might not be the best because I don't think it's US data is that extensive.

9

u/RealFinePoint 1d ago

So for a game to include all of that with the same level of detail as GTA6, I'm getting that we're not even close.

9

u/garathnor 1d ago

even the top end there of 169EB would only fill a small to medium room

its totally doable as a streaming only data center game right now

theres a lot we could do to shrink that number too if we wanted

3

u/1miguelcortes 1d ago

Yeah I'm sure you could compress it down lots. Something like a desert or the inside of a Walmart can probably be procedurally generated.

3

u/LurkersUniteAgain 1d ago

at the top end though, given gta6 took about 6 years development time (i THINK) for 212gb, it would take rockstar about 4,783,018,868 years to do it

2

u/thechampaignlife 1d ago

Pretty close to the age of life on Earth, isn't it?

2

u/LurkersUniteAgain 19h ago

No, about a billion years off, close to the age of the earth itself tho

2

u/thechampaignlife 9h ago

Eh, what's a billion years among friends? 😃

4

u/N3TW0RKX 1d ago

map is around 70-100GB total from the leaked xbox build files

3

u/Used-Drop8239 6h ago

This also implies the same level of detail.
I can fit Florida in a jpeg and it doesn't weigh 200TB
I could also collect photogrammetric data of every single surface, and it would be much more than 200TB.

12

u/Big_Boss_Bubba 1d ago

A lot of it’s probably the radio ngl. Uncompressed sounds takes up a ton of space

25

u/1miguelcortes 1d ago

this website says that the map + textures are 117.9GB. If we assume that's correct and scales the same, 408.88 TB

6

u/EmuReasonable3073 1d ago

Well I presume textures are the majority here, and textures can likely be reused

3

u/clintCamp 1d ago

But scaling will absolutely reuse many of the same assets and textures. Only a few others to add different area specifics like culture specific items, buildings, tundra and prairie and other terrains Florida isn't.

2

u/Hexmonkey2020 1d ago

Well if we count the physics engine of real life and simulating everything as tiny atoms coming together to form a single object the game of real life would take way more data, so I think we can ignore how much of the game is not the map as the real life game would be way bigger anyway.

1

u/Exp1ode 1d ago

According to this comment, the map part is a little over 46 GB. So using the same multipliers, it's 44.9 TB for the same level of detail, and 160 TB for 100% enterable buildings

1

u/MattGold_ 1d ago

The map is about ~36gb give or take

25

u/LakeSolon 1d ago

Much of GTA’s interior details are procedurally generated. Not unlike a fractal can have infinite detail but it can’t have arbitrary detail: if you want to change one location you’ll change many locations.

This works if you’re generating a world that doesn’t exist but doesn’t if you’re recording a world that does.

If you generated the entire map the storage to cache it would be, uh, more. That they went to the trouble to avoid this and still have a 200GB footprint should give some clue as to how much more.

63

u/cbigle 1d ago

Flight simulator has the entire world in real scale and is probably 100-150g total. God knows how big the server side info is, but the amount of data you stream at any given time to “play” in a 1:1 scale of Florida is less than your internet connection speed

24

u/zinfector 1d ago

msfs is 3pb = 3000 tb = 3,000,000 gb

9

u/cbigle 1d ago

Florida is about 1/1000 of total landmass, so around 3tb there we go. ~1tb if you include oceans but I assume they’d take up less space to store

56

u/Falk1708 1d ago

The game files got actually leaked so you can look what files are map files:
From just my guess you would need to calculate:
/data/ttdb/Props - ~5.7GB
/data/ttdb/Terrain - ~24GB
/data/ttdb/Interior - ~3.31GB
/data/ttdb/Maps - ~13.2GB - But I dont know what map files are in this case.

Now you can calculate it ;)

36

u/enderlh 1d ago

He didn't did the math 😂

19

u/Lexi_Bean21 1d ago

He didnt did the grammar

12

u/BoraxNumber8 1d ago

He didn’t did the punctuation.

8

u/Cespen99 1d ago edited 1d ago

Terrain data (3d topography + high definition ground imagery) can be pentabytes of storage, depending on how wide the area.

I wont be able to math out an answer because theres many levers that effect the final data size. Texture resolution, 3d resolution (which affects number of polygons) and straight up whichever software you use to generate the terrain. Assuming they use all the same tools and techniques, i would say just find the ratio of land mass and multiply that by the og terrain size

8

u/AziPloua 1d ago

there s this game Beamn.drive that has a mod, beamng.earth, it gives you the whole world at realistic scale,

I used it to drive from my home town to hungary (around 500 miles, the equivalent of miami to Tallahassee) and it consumed 18gb of cache storage

I m guessing if the need be for such a big map (that isn t generated as you drive) you could get some decent optimizations and not neet hundreds of terrabytes xd

2

u/BigCommieMachine 16h ago

I mean you could probably get the basic map data from MFS and it is a LOT of data. The game streams it live because it is so much data.