# Hey, what's with all that loading?!

**URL:** <https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973>\
**Category:** The Garage\
**Created:** [February 5, 2014, 4:19am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973 "2014-02-05T04:19:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [February 5, 2014, 4:19am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/1 "2014-02-05T04:19:44Z")

</div>

Have you noticed your game loading and saving again when you load up your save in the latest experimental?

That’s thanks to [Kevin’s map-handling upgrade](https://github.com/CleverRaven/Cataclysm-DDA/pull/5840), which just landed.

It takes those ginormous map files that eventually imploded your game (no matter what you did) and breaks them down into digestible chunks that are dynamically loaded as necessary. This isn’t any easier on your hard drive, but keeps RAM usage down.

Theoretically Cata-worlds can now be far more infinite than they used to be: the only limitation is your HD space.

I’d like to specially thank Erratum on the IRC, without whose [Pine Grove world (.rar compressed)](https://www.dropbox.com/s/9doo6fewfnnpj8n/Pine%20Grove%20140202.rar) we’d have been unable to test it. [Here’s a .zip fresh from right before the merge-build](https://dl.dropboxusercontent.com/u/59294317/Pine%20Grove.zip). Much appreciated, Erratum.

That said, I was only able to test it so much. If something goes wrong, here’s as good a place as any to let us know!

---

<div class="post-metadata">

**Author:** ![dwarfkoala](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dwarfkoala/32/9_2.png) [@dwarfkoala](https://discourse.cataclysmdda.org/u/dwarfkoala)\
**Post date:** [February 5, 2014, 4:58am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/2 "2014-02-05T04:58:52Z")

</div>

Looks like the delete and reset world code is not working correctly. It’s not actually deleting or resetting the submaps in folders, only acting upon the files in the root save folder.

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/5973>

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [February 5, 2014, 8:55am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/3 "2014-02-05T08:55:54Z")

</div>

Yup, very happy to see it in-game. Can’t download the experimental right now, but will do it ASAP.

---

<div class="post-metadata">

**Author:** ![Poetich77](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/poetich77/32/824_2.png) [@Poetich77](https://discourse.cataclysmdda.org/u/Poetich77)\
**Post date:** [February 5, 2014, 2:32pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/4 "2014-02-05T14:32:44Z")

</div>

The game stops when appears pop up message "Please wait at the map saves"  
Does it work with old saves?

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [February 5, 2014, 3:51pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/5 "2014-02-05T15:51:53Z")

</div>

[quote=“Poetich77, post:4, topic:4973”]The game stops when appears pop up message "Please wait at the map saves"  
Does it work with old saves?[/quote]

Yes, it does. How big is your world?

---

<div class="post-metadata">

**Author:** ![Poetich77](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/poetich77/32/824_2.png) [@Poetich77](https://discourse.cataclysmdda.org/u/Poetich77)\
**Post date:** [February 5, 2014, 4:04pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/6 "2014-02-05T16:04:36Z")

</div>

A little less than Pine Grove world…

[My saves](https://www.dropbox.com/s/xa612d93yaxfh44/save.rar)

---

<div class="post-metadata">

**Author:** ![dwarfkoala](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dwarfkoala/32/9_2.png) [@dwarfkoala](https://discourse.cataclysmdda.org/u/dwarfkoala)\
**Post date:** [February 5, 2014, 8:38pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/7 "2014-02-05T20:38:13Z")

</div>

> [@Poetich77](#):
>
> The game stops when appears pop up message “Please wait at the map saves”

When, exactly, does the message appear? During autosave or immediately on loading a world?

---

<div class="post-metadata">

**Author:** ![Poetich77](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/poetich77/32/824_2.png) [@Poetich77](https://discourse.cataclysmdda.org/u/Poetich77)\
**Post date:** [February 5, 2014, 9:14pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/8 "2014-02-05T21:14:32Z")

</div>

> [@dwarfkoala](#):
>
> [quote=“Poetich77, post:4, topic:4973”]The game stops when appears pop up message “Please wait at the map saves”

When, exactly, does the message appear? During autosave or immediately on loading a world?[/quote]

At the beginning, when I’m trying to load my world

---

<div class="post-metadata">

**Author:** ![dwarfkoala](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dwarfkoala/32/9_2.png) [@dwarfkoala](https://discourse.cataclysmdda.org/u/dwarfkoala)\
**Post date:** [February 6, 2014, 1:56am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/9 "2014-02-06T01:56:23Z")

</div>

BevapDin has found the bug and a PR is in the works to fix it.

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/5984>

After that lands, test it and report back.

---

<div class="post-metadata">

**Author:** ![dwarfkoala](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dwarfkoala/32/9_2.png) [@dwarfkoala](https://discourse.cataclysmdda.org/u/dwarfkoala)\
**Post date:** [February 6, 2014, 3:51am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/10 "2014-02-06T03:51:28Z")

</div>

Merged!  
It’s working fine on my end. If it doesn’t work fine on yours, please report back.

---

<div class="post-metadata">

**Author:** ![ChristopherWalken](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@ChristopherWalken](https://discourse.cataclysmdda.org/u/ChristopherWalken)\
**Post date:** [February 6, 2014, 7:44am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/11 "2014-02-06T07:44:16Z")

</div>

Holy crap this is amazing.  
My 50.000 save turned into ~400/800 quick saves!

Now the only limit is the horizon!

---

<div class="post-metadata">

**Author:** ![Poetich77](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/poetich77/32/824_2.png) [@Poetich77](https://discourse.cataclysmdda.org/u/Poetich77)\
**Post date:** [February 6, 2014, 9:31am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/12 "2014-02-06T09:31:22Z")

</div>

It`s working in the latest build #802! Thanks for your help, guys!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [February 6, 2014, 12:30pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/13 "2014-02-06T12:30:04Z")

</div>

[quote=“ChristopherWalken, post:11, topic:4973”]Holy crap this is amazing.  
My 50.000 save turned into ~400/800 quick saves!

Now the only limit is the horizon![/quote]  
Or your hard drive space.

---

<div class="post-metadata">

**Author:** ![ChristopherWalken](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@ChristopherWalken](https://discourse.cataclysmdda.org/u/ChristopherWalken)\
**Post date:** [February 6, 2014, 12:52pm UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/14 "2014-02-06T12:52:30Z")

</div>

[quote=“gtaguy, post:13, topic:4973”][quote=“ChristopherWalken, post:11, topic:4973”]Holy crap this is amazing.  
My 50.000 save turned into ~400/800 quick saves!

Now the only limit is the horizon![/quote]  
Or your hard drive space.[/quote]

I’ve got about a full Terabyte free, I think I’m safe.

---

<div class="post-metadata">

**Author:** ![dwarfkoala](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dwarfkoala/32/9_2.png) [@dwarfkoala](https://discourse.cataclysmdda.org/u/dwarfkoala)\
**Post date:** [February 7, 2014, 4:28am UTC](https://discourse.cataclysmdda.org/t/hey-whats-with-all-that-loading/4973/15 "2014-02-07T04:28:27Z")

</div>

As of now, the only problem that still needs fixing is [https://github.com/CleverRaven/Cataclysm-DDA/issues/5973](https://github.com/CleverRaven/Cataclysm-DDA/issues/5973), the delete and reset world code is not working correctly. If you have worlds full of interesting stuff, continue to playtest and find bugs. That’s how we get them fixed.
