• smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Must be, if there’s no real limit then why would they bother?

    • FeelzGoodMan420@eviltoast.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      Most games never hit anywhere near that, but some large open world rpgs like Skyrim track the location of every single object in the game world. Like you can drop a piece of cheese on the bottom left corner of the map, come back 500 hours later, and it’ll still be there. now imagine all of the objects you’re buying and selling and manipulating over those hundreds of hours. Now add in a shit ton of script mods and other stuff that may add even more objects. And add in all of the quest data and interaction data that gets saved etc etc, and your save file can easily hit multiple gigabytes, with each file approaching 200mb.

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 months ago

        It still feels like it should be orders of magnitude less. For example, if each piece of cheese has an ID number that maps to cheese, an ID for what area it’s in, three coordinates for where exactly it is, and maybe a few more variables like how much of it you’ve eaten. Each of those variables is probably only a couple of bytes, so each item is probably only 20B or so, which means that even if you interacted with a million different items and there was no compression going on then that’s still only 20MB of save data.

        • tehevilone@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          Save bloat is more often related to excess values not being properly discarded by the engine, if I remember right. So it’s not that the objects themselves take up a lot of space, but the leftover data gets baked into the save and can end up multiplying if the same scripts/references/functions get called frequently.

          It was a lot worse with Skyrim’s original engine, and got better in Fallout 4 and Skyrim SE. The worst bloat happens with heavy modlists, of course, as they’re most likely to have poor data management in some mod.

        • vithigar@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Bold of you to assume the data in save files is packed binary and not something like JSON where { “x”: 13872, “y”: -17312, “z”: -20170 } requires 40 bytes of storage.

        • wax@feddit.nu
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Each object also needs the orientation, possibly also velocity and angular rates.

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Of course! But wouldn’t it save space if these variables used zeroes instead of ones?

        • They would remain 0 until flipped. They did say heavily modded, so like if you added more quests to the game, these all need some way of knowing what legs have been completed. The more modded quests completed, the bigger the save. And that’s just for one thing that a save would keep track of.