this post was submitted on 14 Nov 2023
81 points (95.5% liked)
Gaming
19960 readers
6 users here now
Sub for any gaming related content!
Rules:
- 1: No spam or advertising. This basically means no linking to your own content on blogs, YouTube, Twitch, etc.
- 2: No bigotry or gatekeeping. This should be obvious, but neither of those things will be tolerated. This goes for linked content too; if the site has some heavy "anti-woke" energy, you probably shouldn't be posting it here.
- 3: No untagged game spoilers. If the game was recently released or not released at all yet, use the Spoiler tag (the little ⚠️ button) in the body text, and avoid typing spoilers in the title. It should also be avoided to openly talk about major story spoilers, even in old games.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No one properly optimizes games anymore. Devs used to have to work with extreme limitations, and make the absolute best of what little they had.
Now with tech advancing quicker than people can keep up with and get accustomed to, and megacorporations like Microsoft prioritizing deadlines rather than overall quality (or the mental health of their developers), that doesn't really happen any more.
Far too reductive of an assessment. We simultaneously had a massive leap in resolution (higher quality textures needed) and a massive step back in dollar per gigabyte for storage, as we could no longer get acceptable read speeds from hard drive technology. At the same time, for better or worse, open world games are what a lot of these developers are making, which compounds that texture problem. Massive file sizes are what you get when games are optimized; they're just optimizing for performance and not storage space.
I have a problem with that last sentence. Because larger files do take longer to load from storage into main memory, and then longer to load into VRAM from main memory. Also, with larger files, you can't keep them cached and ready to be reused, because you have to free that memory for other large files.
Your argument might be true if computers generally had RAM and/or VRAM larger than the entire game. But when games are 200+GB and typical main memory is 16-32GB for most folks, and only 64-128GB at the higher end, you know data will have to be shuffled around. VRAM situation is more dire: typical is 6-8GB, high end is 12-16GB and absolute max is 20-24GB.
Yes, faster storage and faster RAM help, but all those loads and unloads of huge chunks of data do take up time, cause stutters, or absurdly long loading screens despite the high performance components.
OPTIMIZE YOUR GAMES. Lossy compression is fine, and uncompressed assets should be optional downloads.
Decompressing an asset so that it can be used is an operation that takes processor cycles as well. It's why Titanfall 1 came in so high on storage requirements at the time, because in order to meet CPU performance targets, they had to leave audio uncompressed. In this case, huge texture asset files are often LODs, high detail versions for when you're up close and low detail versions for when you're far away, so that the machine is always loading the right size version of the asset rather than just always using the best quality one in a worst case like you seem to be implying. This takes up a lot of storage space, but it means they aren't wastefully using high detail assets for a mountain a mile and a half away.
Uncompressed WAV files, lol I'll never get over that
It doesn't even make sense. Simple compression algorithms like in use by FLAC or AAC are pretty much free to decompress on CPUs from this century and the cpu cycles you save by not doing wasteful IO of huge files from storage easily makes up for that.
I'm sure game devs can make some argument to not use 'expensive' compression, but not using any is just wasteful.
...sounds good though, i guess??