How much does whole haven map weigh?

Forum for alternative clients, mods & discussions on the same.
pbbllt
Posts: 83
Joined: Fri Feb 01, 2019 7:01 pm

How much does whole haven map weigh?

Post by pbbllt »

Dear jorb or loftar,

can you please provide total size in gigabytes map of w14 has?
User avatar
ATHF
Posts: 80
Joined: Thu Jan 02, 2014 6:17 pm

Re: How much does whole haven map weigh?

Post by ATHF »

Jorb n' Loftar, head thy words, tell us size of this wonderwurst!
User avatar
vatas
Posts: 5255
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: How much does whole haven map weigh?

Post by vatas »

Other than tilemap, other variable data includes the characters and items, objects and livestock. No idea how much it all totals.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Re: How much does whole haven map weigh?

Post by Nightdawg »

I wonder if the map is split into small files for each tile, totalling in millions of files the server needs to read and write, rather than a single database, which probably also causes the hiccups we experience every few seconds that we all got used to.
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"
User avatar
vatas
Posts: 5255
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: How much does whole haven map weigh?

Post by vatas »

Nightdawg wrote:I wonder if the map is split into small files for each tile, totalling in millions of files the server needs to read and write, rather than a single database, which probably also causes the hiccups we experience every few seconds that we all got used to.
Considering how rollbacks can simultaneously result in both dupes and deletions due to "in case live server failed to save" -backup being chunks taken in different times, that is not nearly as stupid as it sounds. (Another option would be reverting to last full server save, that could be a whole week old.)

At minimum, I assume each minimap grid is to some degree handled individually.

This isn't necessarily a bad idea for a server architecture, as it allows the dynamic unloading and reloading of parts of the map as players move within it.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: How much does whole haven map weigh?

Post by loftar »

Currently, the map files themselves take up about 3 GB of disk space, so it isn't a whole lot. Much of that is because they compress very well, though; if not for compression, I'd estimate they'd use 150-200 GB or so.

And yes, the maps are certainly split into individual files for being able to be loaded and unloaded individually, but it's handled at a significantly coarser granularity than minimap tiles. The main overworld is on the order of thousands of files, not millions.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “The Wizards' Tower”