Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Why do so many game take so much space?  (Read 7086 times)

0 Members and 1 Guest are viewing this topic.

Jim70

  • Newbie
  • *
  • Posts: 23
    • View Profile
Why do so many game take so much space?
« on: September 14, 2015, 10:42:58 am »
Don't know about you, ive made a decently complex game with plenty of sprites and a lua saving system but its still less than 10 MB, Why do most games take 1-4 gigs then?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10159
    • View Profile
    • development blog
    • Email
Re: Why do so many game take so much space?
« Reply #1 on: September 14, 2015, 11:21:40 am »
Mostly because of assets. If you work with high-res textures you'll quickly end up with many MiB of image data. Now add some high quality sound and tons of sound effects and you can easily get into the GiB.
If you look at the executable they often aren't that big either.

But it varies from game to game a lot.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

GraphicsWhale

  • Full Member
  • ***
  • Posts: 131
    • View Profile
Re: Why do so many game take so much space?
« Reply #2 on: September 14, 2015, 02:10:58 pm »
There are a myriad of good games out there that are <50MB.

and a lua saving system
Lua is like 200kb-ish.

Hapax

  • Hero Member
  • *****
  • Posts: 3050
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Why do so many game take so much space?
« Reply #3 on: September 14, 2015, 05:45:22 pm »
As eXpl0it3r said, it's mainly assets.
Large and many textures is one thing type that can start to inflate the game.
Sounds (especially lots of dialogue and many musics) can really increase size.
Videos (tutorial videos or cut scenes, for example) can also make a massive difference in size.
Even extremely large map definitions, animation definitions, and lots of complicated AI formulae can push up the bulkiness.

Why do most games take 1-4 gigs then?
Which games are you referring to?
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

zmertens

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Why do so many game take so much space?
« Reply #4 on: September 14, 2015, 06:51:41 pm »
Definitely the assets. I think the big Blizzard games are like 10GB each or so (at least SC2 was last I checked).
The truth will set you free but first it will piss you off.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6274
  • Thor Developer
    • View Profile
    • Bromeon
Re: Why do so many game take so much space?
« Reply #5 on: September 14, 2015, 11:29:26 pm »
Don't know about you, ive made a decently complex game with plenty of sprites and a lua saving system but its still less than 10 MB, Why do most games take 1-4 gigs then?
The games using multiple gigabytes of disk memory are usually AAA games or at least games who are very asset-intensive. Indie games are typically smaller.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Jim70

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Why do so many game take so much space?
« Reply #6 on: September 22, 2015, 05:17:47 pm »
Definitely the assets. I think the big Blizzard games are like 10GB each or so (at least SC2 was last I checked).

probably, considering I'm very used to procedural content.

K.F

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Email
Re: Why do so many game take so much space?
« Reply #7 on: September 23, 2015, 06:01:17 pm »
Bigger games are usually 3d games, it is rare to see a 2d game get very large. 3d games are large for several reasons, but here are the big 2:

1- The 3d mesh nowadays can be VERY detailed, it is actually getting ridiculous, we are reaching "triangle smaller than the rendered pixel" kind of ridiculous, so you would need larger space to store them, not to mention that you will need multiple level of detail copies for each object, at least until tessellation become more popular.

2- Textures in 3d is much, much worse than the 2d ones for 2 reasons:

      a - In 3d you can get closer and farther away from objects, so the texture on them would need to be much bigger than the screen to not be pixelated, unlike 2d where you rarely need texture bigger than the screen other than the backgrounds, in 3d you need large textures every where.

      b - In 3d, textures are not used just for color - called diffuse map -, textures are also used for bump, normal, reflection, refraction, lighting, wet, specular, opacity... and many other types of maps, and almost every object uses multiple of these if not animated ones so the size can get bloated very very easily.

I sill will take mario 64 - 6MB - over most    all of these 30 GB games  ::) . Games used to be fun, not fakely epic, and boring :P

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Why do so many game take so much space?
« Reply #8 on: September 24, 2015, 03:05:18 pm »
Well, first Elite was less than 48Kb. =)

Klaim

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Re: Why do so many game take so much space?
« Reply #9 on: September 27, 2015, 03:53:42 pm »
Well, first Elite was less than 48Kb. =)

Well Elite games didn't take much space because of their massive use of procedural content, and they didn't take much in ram because the generated content was not as detailed as something you will display on hd monitors today, so yeah.

Mr_Blame

  • Full Member
  • ***
  • Posts: 192
    • View Profile
    • Email
Re: Why do so many game take so much space?
« Reply #10 on: October 20, 2015, 09:34:16 pm »
also some games contain video files - that are huge

Serapth

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Why do so many game take so much space?
« Reply #11 on: October 30, 2015, 03:46:59 pm »
Sounds (especially lots of dialogue and many musics) can really increase size.

Sound is increasingly the culprit these days.  Many AAA engines such as Unreal allow for some pretty complex realtime audio processing, but the catch is the source waveforms are often uncompressed.  This results in a massive amount of disk space being burned.

Mesh data, even with extremely high levels of detail, doesn't really contribute all that much to the size of a game, but the textures for those meshes certainly do.  Especially in this day and age where you dont just have a diffuse (color) texture, but often several...  for lighting, normals, shadows, etc.

And yeah, movies are still a big pig for space, although I see less and less FMV in games, although it does seem to be making a bit of a revival.

Yatan vesh

  • Newbie
  • *
  • Posts: 17
  • Get busy livin',or get busy dyin'
    • View Profile
Re: Why do so many game take so much space?
« Reply #12 on: December 21, 2015, 07:20:46 pm »
Sounds, HD cutscenes , textures and high res models take up 90% of space. The compiled instructions, in comparison take nothing more than a 'speck of dust's' space

Hapax

  • Hero Member
  • *****
  • Posts: 3050
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Why do so many game take so much space?
« Reply #13 on: December 22, 2015, 12:34:35 am »
Sounds, HD cutscenes , textures and high res models take up 90% of space. The compiled instructions, in comparison take nothing more than a 'speck of dust's' space
Not sure why you resurrected an old thread to repeat what has been said already a number of times :P
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter