Kassoon

April 19 - Resolute

Hi. Kind of a small update this week because I'm doing a massive overhaul of... basically the entire underlying foundation of the game, and wouldn't you know it ripping up the foundation and changing it takes a little more than a week. I was hopeful that maybe I'd get it done, but I didn't.

Why am I doing such a thing? Well it's because I read your feedback. The feedback I get the most in reverse order, like a top 7 starting at #7 would be: a map, ability to rebind the mouse buttons, romance options, survival is too hard, night is too dark, tutorial is too vague, and #1 by a much larger margin is low fps / game crashes with an out of memory error. So, performance is the primary issue right now. I have plans and a to-do list for all these things, and the performance one involves reducing memory.

Computer Memory

See right now when you load your game the entire map is shoved into memory. This makes it really fast to read and modify the terrain, but it also means the bigger the map gets the more RAM gets used up to hold it all. This is one of those things that's been on my list since the beginning, since it's a necessary thing to change in order to have an impressively large world. The typical solution is to only load the parts of the map that you need and keep the rest sitting in a file on the harddrive. In order to keep saves smaller I compressed everything together, so I also need to change the save format to make it faster and easier to load bits and pieces as they're needed. I'm also making some optimizations here to reduce the overall filesize, like not saving things that don't actually need to be saved and letting them be re-generated as needed.

Right now the world is 1024x256x1024, which is a grand total of 268,435,456 blocks. Each block takes up 2 bytes of memory, so that's a grand total of 512 megabytes of memory for the map data alone and doesn't include things like entities (trees, furniture, people). I would like to end up with a map that's around 18000x512x18000, roughly 300 square miles, or 165,888,000,000 (165 billion) blocks. If I were to store all that on disk or in memory that would be over 300 gigabytes. My computer has 16 gigs of RAM, and that's pretty good. I'd like to target under 4 gigs. So, streaming the map instead of loading it all at once is ultimately necessary. I knew this even way back at the beginning, I had just been putting it off for more features. I've finally hit the 4 gig memory limit though, and it's affecting some users, so it's time to do a hard sweep of performance and get it all stable and running fast while also reducing memory and increasing maximum world size.

Options Screen

Anyway, for this week I've added resolution options and shadow quality options. If you were having performance issues before I'd recommend playing with all the visual settings in options, as you should be able to make a good impact on performance with them.

Continue Reading in the Dev Forums >>

<< Return to Devlogs

This website exists thanks to the contribution of patrons on Patreon. If you find these tools helpful, please consider supporting this site. Even just disabling your adblocker will help (it's only text and plain image ads I promise). Becoming a patron will upgrade your account to premium, giving you no ads and more features.

Shout outs: Stacey, Phillip Brewer, Thoueris Zanzibar, Emma Holloway, Ashley Sullivan, Ghostfang1337, Gillian Tolbert, David R Abbott, S.T. Jenkins, Schoxmania Werks, Eli Cartwright, Vanda Leipold, Brittany DeNicholas, Phillip Hash, Ly Anton-Blake, Amanda Kettles, Anthony Brown, Lou Bliss, Treighton, Pythor Sen, myrontheotter, Kassie Nicovara, Nat, Cory Evans, Krueger82, BestWorseCaseScenario, Damian Steele, Icarus Unleashed, Mark L, Price Webb, Lj Nielson, Conall Reilly, Alex, Violet Floyd, keith oneal rogers, Moss, William Bamann, Merissa, Patrick Natale, Cam Largent, Thaddeus Johnson, Siren, Donavan Guay, Jack Stevens, Sam Davis, Chandlor Desper, Lizzie, Masca Boom, Jordan, Rincewind, Michael Hamilton, Rob Hale, Vedie V, Mylon Schroder, Nathan, Conrad Carlson, Tiffany Mathis, Joseph Mitchell, Jordan Florez, Robert Rich, TheFiendSaint, Robin Ellis-Foster, Deanna Pyle, Jess, Meme Pitt-Melton, E.D.F., Devon Bickel, Zee Livezey, Kevin, ryan scott, Christianna Schommer, Kerry Melton, Mary Kieser, SallySparrow132, Lunesolace, DJ_Kelf, paige anderson, Cassandra Keyes, Naomi B, Millergendraft, charles phillips, Nick Soucy, Ellen Mitchell, Melanie Warga, Jeremiah Walker, Bryan Kempka, chris wilson, Max Hops, Sarah Holland, Joshua David Maddox, Jennifer Smith, Ray Bissonnette, Joe Dalby, Nicholas Zamora, Yuki, ShortyMcgibble, mtnman1979@aol.com, KFB_Patreon, eric sun, Bruce Willison, Gundar Wez, Ken Shapiro, Matthew payne, Jacob Plummer, Nahellion, Serena Verden, bilbens baggo, Stuart, Brysen Packer, Galygious, Tim Mason, Maxwell Mayer, Gannon Dubay, Thobek, Aaron Teupe, Celso R Garcia III, Felix Schmäche, XMrMonkyx ., John, Miss Zilla M, RRare, Jordan Brazeal, Kyle Clark, Jake Lane, Adam Ruiz, Phillip P Torchia, Natalie Luttrell, Stefan Gottschalk's, Royce Dillard, Remora's Jewel, Dawnwolf, Buffonturtle, Christina Majchrzak, jeremy baisch, Ivee Quinn, Zealot23, Shane Andrews, CJMAXP, Chevy Jones, KingHavok1217, Keaton Permenter, Shazear, Curran Vallejo, Steve Rosenlund, Leanna Orr, Ezzela1891, John Nazario, Gary, Gordon Alexander Fallon, Jason Clark, Trey Vickory
Their contribution stands as a beacon of hope for all adventurers!

Become a patron
 
[-] Login▾

Make campaigns and save encounters / combats / dice rolls and more. One step!

Username:
Password:
Forgot?

Register

Username:
Password:
Recovery / Patron Email (Optional):

Gift Premium

Donate